Function at 0x4205c0
Capabilities:
Check if file exists
Get file size
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eaa0
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x627a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], 0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x619488
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403d10
mov byte [ebp - 4], 1
mov byte [ebp - 0x5b], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xe4], 0x67452301
mov dword [ebp - 0xe0], 0xefcdab89
mov dword [ebp - 0xdc], 0x98badcfe
mov dword [ebp - 0xd8], 0x10325476
call fcn.00436010
test al, al
je 0x42068c
daa
imul ecx, dword [ecx + 0x49], 0x4b20970c
adc edi, dword [edi + 0x78]
mov ebx, 0x83d464f0
jge 0x4206ab
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or byte [ebp + 0x430f0845], cl
inc ebp
or byte [eax - 1], dl
adc eax, sym.imp.SHLWAPI.dll_PathFileExistsW
test eax, eax
je 0x42098a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
inc ebp
or byte [edx], ch
cmovae eax, dword [ebp + 8]
push 0x80
push 4
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0xe8], ebx
cmp ebx, 0xffffffff
jne 0x42071f
push 0x619488
mov ecx, edi
call fcn.004039f0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4206f8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404090
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x4209e6
inc ecx
push ecx
jmp 0x4209db
call fcn.00436160
test al, al
je 0x42073e
mov dl, byte es:[eax - 0x15bcf6b3]
add dword [eax], esp
fimul dword [edi]
mov edi, 0x8be17f95
mov ebp, 0xffffff0c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xec], eax
inc eax
push eax
mov dword [ebp - 0xf8], eax
call fcn.005713c7
add esp, 4
mov dword [ebp - 0xf0], eax
test eax, eax
jne 0x420788
push 0x619488
mov ecx, edi
call fcn.004039f0
lea ecx, [ebp - 0x28]
call fcn.00402d00
lea ecx, [ebp + 8]
call fcn.00402d00
jmp 0x4209e6
test dword [0x4d8dfffe], esp
or al, ch
jge 0x4207a6
invalid
call fcn.00436860
test al, al
je 0x4207ae
cld
push eax
les eax, [ebx + ecx + 0xd28fbbc]
sbb bl, byte [esi]
jno 0x420777
xchg ecx, eax
jg 0x420816
inc ebx
cld
scasb al, byte es:[edi]
mov ch, 0x99
out 0xc4, al
xor ah, ch
cdq
aaa
or al, 0xb9
call fcn.00435f30
test al, al
je 0x4207d5
push 0xd2039ddb
mov ebx, 0x5012662b
push esp
insd dword es:[edi], dx
out 9, eax
pop eax
mov edx, 0x8976aed8
aaa
inc esi
add byte [esi], cl
sbb dh, byte [esi + ecx - 0x15]
xchg ebx, eax
jecxz 0x4207d5
push dword [ebp - 0xf8]
mov esi, dword [ebp - 0xf0]
push 0
push esi
call fcn.00576f50
add esp, 0xc
lea eax, [ebp - 0x100]
push 0
push eax
push dword [ebp - 0xec]
push esi
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call fcn.00436780
test al, al
je 0x420828
mov ch, 8
invalid
shr dword [edi], cl
push edi
sbb al, 0xc4
pop edx
jne 0x42083f
invalid
call fcn.00436400
test al, al
je 0x420849
std
fadd st(3)
salc
adc al, 0xca
mov byte [edi - 0x68c8cba5], dh
xchg byte [ecx - 0x27], ch
cmc
fprem1
mov dword [0xb30d7da], eax
push esp
add bl, dl
call fcn.00435de0
test al, al
je 0x42086a
cmpsb byte [esi], byte es:[edi]
add dword [edi - 0x2f], ecx
out 0x32, al
rol dword [ebp - 0x68], 0x4d
inc ebx
mov edi, 0x103bd304
or byte [ebx + edi*4 - 0x288c7c], al
mov ch, 0x18
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xec]
mov ebx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xe4]
push ebx
call fcn.004062c0
push ebx
call fcn.00570efb
add esp, 4
call fcn.00436710
test al, al
je 0x4208b2
xchg edx, eax
mov bh, byte [ecx - 0x5f]
out dx, eax
and dh, byte [edi + 0x3f644e21]
outsd dx, dword [esi]
out dx, eax
mov ah, 0xf
fist word [ecx + 0x50c0458d]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00406d70
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00427e50
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4208e8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407760
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004366a0
test al, al
je 0x420917
cli
cmp edx, 0xffffffa8
inc esp
test dword [ebp - 0x43], eax
fadd qword [ebx]
out dx, al
inc eax
invalid
call fcn.00436400
test al, al
je 0x42093e
or eax, 0xa005d1c9
adc ebp, edx
dec eax
ljmp 0xf6fe
call fcn.004364e0
test al, al
je 0x420966
invalid
cmp dword [ebp - 0x48], 0
jbe 0x42097c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403e10
lea ecx, [ebp - 0x58]
call fcn.00402d00
mov edi, dword [ebp - 0xf4]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00403f30
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4209bd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404090
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x4209e6
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00404090
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570ea9
mov esp, ebp
pop ebp
ret