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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480ced
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.0041b810
lea ecx, [ebp - 0x40]
call fcn.00425060
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 0x4330eb
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.0041b810
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d600
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041d880
mov eax, dword [ebp + 8]
jmp 0x433298
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 0x433159
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.0041b810
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d600
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041d880
mov eax, dword [ebp + 8]
jmp 0x433298
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x44]
ja 0x433175
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
call fcn.00424ee0
jmp 0x433186
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004250c0
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 0x4331a4
mov dword [ebp - 0x48], 1
jmp 0x4331ab
mov dword [ebp - 0x48], 0
mov dl, byte [ebp - 0x48]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4331c7
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 0x433201
cmp dword [ebp - 0x20], 0xffffffff
jne 0x433215
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x40]
call fcn.00424ee0
mov byte [ebp - 4], 0
jmp 0x433248
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 0x433237
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x40]
call fcn.00424ee0
jmp 0x433248
push 0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.004250c0
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.0041b810
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d600
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041d880
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret