Function at 0x43d3df
Capabilities:
Get file size
Get system information on windows
Read file via mapping

Disassembly:
push 0x88
push 0x474550
call fcn.00472398
mov dword [ebp - 0x5c], edx
mov eax, ecx
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x58], ebx
test eax, eax
je 0x43d40d
mov eax, dword [eax + 0x1b4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x44], ebx
mov esi, ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x6c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp dword [ebp + 0x10], ebx
jne 0x43d44d
cmp dword [ebp + 0x14], ebx
jne 0x43d44d
xor eax, eax
inc eax
jmp 0x43d7db
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push 2
push ebx
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x43d4f4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push ebx
push dword [ebp - 0x7c]
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.00473100
or eax, edx
je 0x43d4c9
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ebp - 0x7c]
mov eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
sub eax, edx
mov dword [ebp - 0x44], eax
sbb edi, ebx
add edx, dword [ebp + 0x10]
mov dword [ebp - 0x40], edx
mov eax, ebx
adc eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
jmp 0x43d4cc
mov edx, dword [ebp - 0x40]
push edx
push dword [ebp - 0x44]
push edi
push 4
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x44], eax
xor ecx, ecx
inc ecx
test eax, eax
je 0x43d4f0
mov edi, ecx
mov dword [ebp - 0x28], edi
add eax, dword [ebp - 0x34]
jmp 0x43d4f9
mov edi, ebx
jmp 0x43d4f7
xor ecx, ecx
inc ecx
mov eax, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x43d513
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x2c], esi
jmp 0x43d77b
mov edx, ebx
cmp edx, dword [ebp + 0x14]
jg 0x43d77b
mov edx, dword [ebp - 0x3c]
jl 0x43d52c
cmp edx, dword [ebp + 0x10]
jae 0x43d77b
mov ecx, eax
mov dword [ebp - 0x50], ecx
add edx, 0x32
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x24]
adc edx, ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x70], edx
add eax, 0x32
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], eax
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x40]
jbe 0x43d560
mov edi, ebx
mov dword [ebp - 0x28], edi
push 0xd
pop esi
jmp 0x43d50b
cmp dword [0x475b8c], 0
jne 0x43d5b0
test byte [ecx + 7], 0x10
jne 0x43d5b0
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebp + 0xc]
jg 0x43d5a5
jl 0x43d581
mov eax, dword [ebp + 8]
cmp dword [ecx + 8], eax
ja 0x43d5a5
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
and eax, 0xffffff
add edx, dword [ecx + 8]
adc eax, dword [ecx + 0xc]
cmp eax, dword [ebp + 0xc]
jl 0x43d5ad
jg 0x43d5a2
cmp edx, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
jbe 0x43d5b0
jmp 0x43d5a5
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
jmp 0x43d515
mov edx, dword [ebp - 0x24]
mov al, byte [ecx + 7]
mov byte [ebp - 0x1d], al
test al, 0xc0
jne 0x43d5a5
test al, 1
je 0x43d5e1
mov edx, ecx
mov ecx, dword [ebp - 0x38]
call fcn.0043d964
test eax, eax
jne 0x43d5d6
mov edi, ebx
mov dword [ebp - 0x28], edi
jmp 0x43d503
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
jmp 0x43d515
add ecx, 0x1e
call fcn.0042f3da
test eax, eax
je 0x43d5f3
test byte [ebp - 0x1d], 0x10
je 0x43d5d6
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
call fcn.0043d964
mov ecx, eax
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x43d5cc
mov al, byte [ecx + 0xf]
test al, 0x10
je 0x43d6a8
mov edx, dword [ecx + 0x1c]
test dl, 1
je 0x43d6a8
mov eax, dword [ecx + 0xc]
and eax, 0xffffff
push ecx
push ecx
push eax
push dword [ecx + 8]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, dword [ebp - 0x38]
call fcn.0043afda
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
jns 0x43d5d6
push ecx
push 0x315
mov ecx, 0x407cec
call fcn.0043f87d
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jns 0x43d5d6
test ecx, 0x10000000
je 0x43d68c
push ecx
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
cmp eax, 0x13d
jne 0x43d67c
mov esi, dword [ebp - 0x30]
jmp 0x43d773
push dword [ebp - 0x30]
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov esi, eax
jmp 0x43d773
mov eax, ecx
and eax, 0x1fff0000
cmp eax, 0x70000
movzx esi, cx
je 0x43d773
mov esi, ecx
jmp 0x43d773
test al, 2
je 0x43d745
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x48]
push eax
mov edx, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x48]
call fcn.00420a5a
mov ecx, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jns 0x43d6e9
push ecx
push 0x329
mov ecx, 0x407cec
call fcn.0043f87d
mov ecx, dword [ebp - 0x30]
test ecx, ecx
js 0x43d65e
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
call fcn.00430b9b
test eax, eax
jne 0x43d737
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00411710
test eax, eax
jns 0x43d718
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00411710
mov ecx, eax
jmp 0x43d71d
mov ecx, 0x80004005
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jns 0x43d742
push ecx
push 0x330
mov ecx, 0x407cec
call fcn.0043f87d
mov ecx, dword [ebp - 0x30]
test ecx, ecx
js 0x43d65e
mov ecx, dword [ebp - 0x50]
push ecx
push 0x14
lea edx, [ecx + 0x28]
mov ecx, dword [ebp - 0x58]
call fcn.00434c9d
jmp 0x43d5c8
mov dword [ebp - 0x2c], esi
mov edi, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0043d7f5
mov ecx, dword [ebp - 0x38]
test edi, edi
je 0x43d7ce
call fcn.004301dc
xor edx, edx
inc edx
cmp ax, dx
ja 0x43d7b7
test ecx, ecx
je 0x43d7ad
cmp dword [ecx], 0xfeedf001
jne 0x43d7ad
mov edx, dword [ecx + 0x44]
cmp dword [ebp - 0x48], edx
je 0x43d7b7
push 0xd
pop esi
mov edi, ebx
test edi, edi
je 0x43d7ce
call fcn.0043d01d
mov edi, eax
test edi, edi
jne 0x43d7ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x43d7d9
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10