13,6 → 13,12 |
|
|
start: |
pushfd |
pop eax |
or eax, 1 SHL 18 ; Alignment Check flag |
push eax |
popfd |
|
mcall 68, 11 |
|
stdcall dll.Load, @IMPORT |
35,7 → 41,7 |
|
redraw: |
mcall 12, 1 |
mcall 0, <0,900>, <0,150>, 0x34000000, 0x80000000, window_title |
mcall 0, <0,900>, <0,160>, 0x34000000, 0x80000000, window_title |
|
|
mcall 4, < 0, 0>, 0xc0ffffff, message, , 0 |
50,8 → 56,8 |
xor eax, eax |
mov ecx, 1024/4 |
rep stosd |
invoke crash.hash, [hid], hash, data_buffer, 0, update_data_buffer, msglen |
invoke crash.bin2hex, hash, hex, [hid] |
invoke crash.hash, [hid], data_buffer, update_data_buffer, ctx |
invoke crash.bin2hex, ctx, hex, [hid] |
mov ebx, [text_pos_y] |
mcall 4, , 0xc0ffffff, [hash_name], , 0 |
mov ebx, [text_pos_y] |
98,17 → 104,18 |
szZ message , 'hash sums of this file' |
|
hash_strings: |
md4 db 'md4 : ',0 |
md5 db 'md5 : ',0 |
sha1 db 'sha1 : ',0 |
sha224 db 'sha224 : ',0 |
sha256 db 'sha256 : ',0 |
sha384 db 'sha384 : ',0 |
sha512 db 'sha512 : ',0 |
sha3_224 db 'sha3-224 : ',0 |
sha3_256 db 'sha3-256 : ',0 |
sha3_384 db 'sha3-384 : ',0 |
sha3_512 db 'sha3-512 : ',0 |
db 'crc32 : ',0 |
db 'md4 : ',0 |
db 'md5 : ',0 |
db 'sha1 : ',0 |
db 'sha224 : ',0 |
db 'sha256 : ',0 |
db 'sha384 : ',0 |
db 'sha512 : ',0 |
db 'sha3-224 : ',0 |
db 'sha3-256 : ',0 |
db 'sha3-384 : ',0 |
db 'sha3-512 : ',0 |
|
f70_buf: |
funcnum dd 0 |
141,5 → 148,7 |
data_buffer rb BUFFER_SIZE |
this_file_name rb 4096 |
rb 0x800 ;stack |
align 16 ; should be enough |
ctx rb 0x1000 |
e_end: |
|