Function at 0x43d7c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x90]
push 0xffffffffffffffff
push dword [0x8b4628]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x2cc], esi
mov word [ebp - 0x90], ax
call fcn.00409a40
mov dword [ebp - 4], 0
mov eax, dword [0x8b46b0]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp word [eax], 0
jne 0x43d910
test esi, esi
je 0x43d84b
push esi
lea ecx, [ebp - 0x94]
call fcn.00409910
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d899
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x43dabf
push eax
call fcn.0073bf11
add esp, 4
jmp 0x43dabf
push 0
push esi
call ebx
mov edi, eax
test edi, edi
je 0x43d870
push edi
mov dword [ebp - 0x2c8], 0
call fcn.004885e5
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x43da91
push ebx
call fcn.004885e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x43dab9
push eax
call fcn.0073bf11
add esp, 4
jmp 0x43dab9
push eax
lea ecx, [ebp - 0x94]
call fcn.00409910
cmp byte [0x8c91fc], 0
je 0x43d933
mov esi, dword [0x8c91f8]
mov dword [ebp - 0x2c8], esi
jmp 0x43d9b0
mov edi, dword [ebp - 0x94]
push 0x340
call fcn.004885a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x2d0], esi
test esi, esi
je 0x43d96b
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
jmp 0x43d96d
xor esi, esi
push 2
push 0
push edi
mov ecx, esi
call fcn.00450970
mov dword [0x8c9250], eax
test eax, eax
je 0x43d995
push 0x340
push esi
call fcn.005b9107
add esp, 8
jmp 0x43d870
push 8
call fcn.004885a7
add esp, 4
mov dword [ebp - 0x2c8], eax
mov dword [eax + 4], esi
mov esi, eax
mov dword [eax], 1
test esi, esi
je 0x43d870
mov edx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
mov ecx, esi
call fcn.00451310
add esp, 0xc
test eax, eax
jne 0x43d870
mov edi, dword [ebp - 0x98]
test edi, edi
je 0x43d870
push edi
call fcn.004885e5
add esp, 4
mov ebx, eax
cmp dword [esi], 1
je 0x43da09
mov dword [0x8c9250], 0x80000
jmp 0x43da2a
push ecx
mov ecx, dword [esi + 4]
push edi
push ebx
push dword [ebp - 0x2d0]
call fcn.00451120
mov dword [0x8c9250], eax
test eax, eax
je 0x43da4c
cmp eax, 0x600
je 0x43da4c
push ebx
call fcn.004885e0
add esp, 4
cmp byte [0x8c91fc], 0
jne 0x43d8e7
mov ecx, esi
call fcn.004514b0
jmp 0x43d8e7
cmp byte [0x8c91fc], 0
jne 0x43da91
cmp dword [esi], 1
je 0x43da66
mov dword [0x8c9250], 0x80000
jmp 0x43da91
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.00451220
push 0x340
push esi
mov dword [0x8c9250], eax
call fcn.005b9107
mov eax, dword [ebp - 0x2c8]
push 8
push eax
call fcn.005b9107
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x43dab1
push eax
call fcn.0073bf11
add esp, 4
test ebx, ebx
jne 0x43db3a
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43db36
push 0
push esi
call ebx
mov edi, eax
test edi, edi
je 0x43db36
push edi
mov dword [ebp - 0x2cc], 0
call fcn.004885e5
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x2cc]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x43db32
push ebx
call fcn.004885e0
add esp, 4
xor eax, eax
jmp 0x43db50
test ebx, ebx
jne 0x43db3a
xor eax, eax
jmp 0x43db50
push edi
push ebx
call fcn.0043db70
push 1
push ebx
mov esi, eax
call fcn.005b9107
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b937d
mov esp, ebp
pop ebp
ret 4