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

Disassembly:
push 0xffffffffffffffff
push 0x51e489
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x56b338]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b338]
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 0x560d38
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 0x42a618
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a7cd
cmp dword [esp + 0x10c], esi
mov eax, dword [esp + 0xf8]
jae 0x42a63e
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 0x42a6b7
mov edi, 7
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push 0x560d38
mov esi, ebp
mov word [ebp + 4], bx
call fcn.004021f0
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x42a690
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x42a823
mov ecx, dword [esp + 0xf8]
push ecx
jmp 0x42a81b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.0042e6e8
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x42a705
mov edx, 0x560d38
mov eax, ebp
call fcn.00401b60
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x42a6f8
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f3a5
add esp, 4
mov dword [esp + 0x50], 7
jmp 0x42a801
mov eax, dword [esp + 0x14]
add eax, 1
push eax
push ebx
push esi
call fcn.00436020
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.00411c40
push esi
call fcn.0042fb39
add esp, 4
lea edi, [esp + 0x1c]
lea eax, [esp + 0x70]
call fcn.004126b0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xec], 2
call fcn.0040d310
add esp, 4
mov byte [esp + 0xe8], 4
cmp dword [esp + 0x34], 0x10
jb 0x42a786
mov eax, dword [esp + 0x20]
push eax
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jbe 0x42a7ac
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 0x42a7c8
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042f3a5
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 0x42a7fd
mov edx, dword [esp + 0x3c]
push edx
call fcn.0042f3a5
add esp, 4
mov dword [esp + 0x50], edi
cmp dword [esp + 0x10c], esi
mov word [esp + 0x3c], bx
mov dword [esp + 0x4c], ebx
jb 0x42a823
mov eax, dword [esp + 0xf8]
push eax
call fcn.0042f3a5
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.0042f3aa
add esp, 0xd8
ret 0x20