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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e3cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.0041fd00
lea ecx, [ebp - 0x40]
call fcn.00424cb0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x43c79b
lea edx, [ebp - 0x40]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x60], edx
mov ecx, dword [ebp - 0x60]
call fcn.0041fd00
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
call fcn.00424860
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00424ad0
mov eax, dword [ebp + 8]
jmp 0x43c948
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43c809
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0041fd00
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.00424860
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00424ad0
mov eax, dword [ebp + 8]
jmp 0x43c948
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x44]
ja 0x43c825
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
call fcn.00424600
jmp 0x43c836
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00424db0
lea edx, [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], 0x10
jb 0x43c854
mov dword [ebp - 0x48], 1
jmp 0x43c85b
mov dword [ebp - 0x48], 0
mov dl, byte [ebp - 0x48]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x43c877
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x43c8b1
cmp dword [ebp - 0x20], 0xffffffff
jne 0x43c8c5
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x40]
call fcn.00424600
mov byte [ebp - 4], 0
jmp 0x43c8f8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x50]
ja 0x43c8e7
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x40]
call fcn.00424600
jmp 0x43c8f8
push 0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.00424db0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x84]
call fcn.0041fd00
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.00424860
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00424ad0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret