Function at 0x428850
Capabilities:
Check if file exists
Get file size
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x51c889
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf0]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xe8], ebx
push ebx
push 0x55ed30
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.004021f0
mov byte [esp + 0xe8], 1
mov eax, dword [esp + 0xf8]
mov esi, 8
cmp dword [esp + 0x10c], esi
mov byte [esp + 0xd8], bl
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x70], 0x67452301
mov dword [esp + 0x74], 0xefcdab89
mov dword [esp + 0x78], 0x98badcfe
mov dword [esp + 0x7c], 0x10325476
jae 0x428918
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428aed
cmp dword [esp + 0x10c], esi
mov eax, dword [esp + 0xf8]
jae 0x42893e
lea eax, [esp + 0xf8]
push ebx
push 0x80
push 4
push ebx
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
push ebx
jne 0x4289b7
mov edi, 7
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push 0x55ed30
mov esi, ebp
mov word [ebp + 4], bx
call fcn.004021f0
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x428990
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x428b43
mov ecx, dword [esp + 0xf8]
push ecx
jmp 0x428b3b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.0042c308
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x428a23
mov edx, 0x55ed30
mov eax, ebp
call fcn.00401b60
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x4289f8
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x428b43
mov eax, dword [esp + 0xf8]
push eax
jmp 0x428b3b
mov eax, dword [esp + 0x14]
add eax, 1
push eax
push ebx
push esi
call fcn.00433df0
mov edx, dword [esp + 0x20]
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x74]
call fcn.00410a90
push esi
call fcn.0042d60c
add esp, 4
lea edi, [esp + 0x1c]
lea eax, [esp + 0x70]
call fcn.00411500
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0xec], 2
call fcn.0040c9d0
add esp, 4
mov byte [esp + 0xe8], 4
cmp dword [esp + 0x34], 0x10
jb 0x428aa6
mov edx, dword [esp + 0x20]
push edx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jbe 0x428acc
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x40]
call fcn.004020b0
mov byte [esp + 0xe8], 1
cmp dword [esp + 0x6c], 8
jb 0x428ae8
mov eax, dword [esp + 0x58]
push eax
call fcn.0042d197
add esp, 4
mov esi, 8
push 0xffffffffffffffff
mov edi, 7
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
lea eax, [esp + 0x40]
mov ecx, ebp
mov word [ebp + 4], bx
call fcn.004020b0
cmp dword [esp + 0x50], esi
jb 0x428b1d
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0042d197
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x428b43
mov edx, dword [esp + 0xf8]
push edx
call fcn.0042d197
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0042d085
add esp, 0xd8
ret 0x20