Function at 0x43bbd0
Capabilities:
Get system information on windows
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bca58
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x51c0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], edx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x43bc3e
mov edi, eax
mov dword [ebp - 0x20], edi
cmp eax, 0xffffffff
je 0x43bd6f
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43bd6f
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0
push 4
push ebx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x43bd6f
mov esi, ecx
mov eax, 0x5a4d
mov dword [ebp - 0x14], esi
cmp word [ecx], ax
jne 0x43bd2d
mov eax, dword [ecx + 0x3c]
add eax, ecx
push 0xf8
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x43bd24
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x43bd24
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], ecx
jae 0x43bd30
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x10]
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
lea ecx, [ebp - 0x14]
call fcn.0043d130
mov esi, dword [ebp - 0x14]
mov eax, 0x5a4d
cmp word [esi], ax
je 0x43bd01
mov dword [ebp - 0x10], 0xc1
jmp 0x43bd78
mov eax, dword [esi + 0x3c]
add eax, esi
push 0xf8
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x43bd24
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
je 0x43bd30
mov dword [ebp - 0x10], 0xc1
jmp 0x43bd78
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43bd3e
mov dword [ecx], esi
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x43bd4c
mov dword [ecx], edi
xor edi, edi
mov dword [ebp - 0x20], edi
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x43bd5d
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
mov dword [edx], ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43bd66
mov dword [ecx], eax
mov dword [ebp - 0x10], 0
jmp 0x43bd78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x43bd93
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x43bd93
push esi
call eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x43bdaf
test esi, esi
je 0x43bdaf
push ebx
call esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x43bdc8
test esi, esi
je 0x43bdc8
push edi
call esi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret