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

Disassembly:
push 0xffffffffffffffff
push 0x51db91
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x56a338]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a338]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf0]
xor ebx, ebx
push ebx
push 0x55fd30
lea esi, [esp + 0x40]
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.004021f0
mov dword [esp + 0xe8], ebx
cmp dword [edi + 0x18], 8
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
lea esi, [edi + 4]
jb 0x42d613
mov eax, dword [esi]
jmp 0x42d615
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d76a
cmp dword [edi + 0x18], 8
jb 0x42d62c
mov esi, dword [esi]
push ebx
push 0x80
push 4
push ebx
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
push ebx
jne 0x42d66a
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push 0x55fd30
mov esi, ebp
mov word [ebp + 4], bx
call fcn.004021f0
jmp 0x42d786
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.0042de18
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x42d6a8
mov edx, 0x55fd30
mov eax, ebp
call fcn.00401b60
cmp dword [esp + 0x50], 8
jb 0x42d79a
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x42d792
mov eax, dword [esp + 0x14]
add eax, 1
push eax
push ebx
push esi
call fcn.00435740
mov eax, dword [esp + 0x20]
add esp, 0xc
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
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.00411880
push esi
call fcn.0042f33e
add esp, 4
lea edi, [esp + 0x1c]
lea eax, [esp + 0x70]
call fcn.004122f0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xec], 1
call fcn.0040d240
add esp, 4
mov byte [esp + 0xe8], 3
cmp dword [esp + 0x34], 0x10
jb 0x42d729
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jbe 0x42d74f
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x40]
call fcn.004020b0
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x6c], 8
jb 0x42d76a
mov edx, dword [esp + 0x58]
push edx
call fcn.0042eca7
add esp, 4
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
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], 8
jb 0x42d79a
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042eca7
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.0042eb95
add esp, 0xd8
ret 4