Function at 0x403426
Capabilities:
Get file size
Hash data with md5
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x420008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x84], edx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x8c], edi
cmp edi, 0xffffffff
je 0x403612
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x40360b
cmp esi, 0x400000
jae 0x4034e8
push esi
call fcn.0040665f
pop ecx
push ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4034da
cmp dword [ebp - 0x74], esi
jne 0x4034da
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x14]
push eax
mov edx, esi
call fcn.004033c9
mov esi, dword [ebp - 0x84]
pop ecx
movzx eax, byte [ebp + ebx - 0x14]
push eax
push str._02x
push 3
push esi
call fcn.00406735
add esp, 0x10
add esi, 4
inc ebx
cmp ebx, 0x10
jl 0x4034bb
push dword [ebp - 0x78]
call fcn.00406f88
pop ecx
jmp 0x40360b
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, eax
mov dword [ebp - 0x80], ecx
cmp ecx, 0xffffffff
je 0x403612
mov eax, esi
mov dword [ebp - 0x5c], ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
mov dword [ebp - 0x78], ebx
test eax, eax
je 0x40358e
push 0x10000
push edx
push ebx
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x403602
push 0x10000
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00402b62
pop ecx
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
add edx, 0x10000
mov ecx, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], eax
cmp eax, dword [ebp - 0x7c]
jb 0x403539
test si, si
je 0x4035be
push ebx
push edx
push ebx
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x403602
sub esi, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
push esi
mov edx, eax
call fcn.00402b62
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp - 0x14], bl
lea edi, [ebp - 0x13]
xor eax, eax
lea edx, [ebp - 0x70]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00402c1c
mov esi, dword [ebp - 0x84]
movzx eax, byte [ebp + ebx - 0x14]
push eax
push str._02x
push 3
push esi
call fcn.00406735
add esp, 0x10
add esi, 4
inc ebx
cmp ebx, 0x10
jl 0x4035dd
mov edi, dword [ebp - 0x8c]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406668
mov esp, ebp
pop ebp
ret