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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x43c3a250]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x18], ecx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, 0xffffffff
je 0x43bc5555
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x43bc554e
cmp esi, 0x400000
jae 0x43bc540d
push esi
call fcn.43bf8c5e
pop ecx
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
push ecx
push esi
push eax
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43bc53fe
cmp dword [esp + 0xc], esi
jne 0x43bc53fe
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x84]
push eax
mov edx, esi
call fcn.43bc52da
mov esi, dword [esp + 0x1c]
pop ecx
movzx eax, byte [esp + ebx + 0x84]
push eax
push str._02x
push 3
push esi
call fcn.43bfd0ef
add esp, 0x10
add esi, 4
inc ebx
cmp ebx, 0x10
jl 0x43bc53dc
push dword [esp + 0x10]
call fcn.43bf9bc0
pop ecx
jmp 0x43bc554e
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 0xffffffff
je 0x43bc5555
mov eax, esi
mov dword [esp + 0x3c], ebx
shr eax, 0x10
mov edx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
mov dword [esp + 0x10], ebx
test eax, eax
je 0x43bc54c0
push 0x10000
push edx
push ebx
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x20], eax
test eax, eax
je 0x43bc5544
push 0x10000
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.43bc4a73
pop ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add edx, 0x10000
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jb 0x43bc5468
test si, si
je 0x43bc54f4
push ebx
push edx
push ebx
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
je 0x43bc5544
sub esi, dword [esp + 0xc]
lea ecx, [esp + 0x28]
push esi
mov edx, eax
call fcn.43bc4a73
pop ecx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [esp + 0x84], bl
lea edi, [esp + 0x85]
xor eax, eax
lea edx, [esp + 0x28]
stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.43bc4b2d
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + ebx + 0x84]
push eax
push str._02x
push 3
push esi
call fcn.43bfd0ef
add esp, 0x10
add esi, 4
inc ebx
cmp ebx, 0x10
jl 0x43bc551e
mov edi, dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.43bfad82
mov esp, ebp
pop ebp
ret