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

Disassembly:
push 0xffffffffffffffff
push 0x445931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov ecx, dword [esp + 0xb4]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
lea eax, [esp + 0x1b]
push ebp
push eax
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0x446878
mov dword [esp + 0x48], 0x446870
call fcn.0040cb18
lea edx, [esp + 0x44]
lea ecx, [esp + 0x1c]
push edx
mov dword [esp + 0xb8], ebp
call fcn.00437ee0
cmp eax, ebp
mov byte [esp + 0xb4], 1
je 0x43fb0e
lea ecx, [eax + 4]
jmp 0x43fb10
xor ecx, ecx
push str..dll
call fcn.00441400
test eax, eax
je 0x43fb63
lea eax, [esp + 0x78]
lea ecx, [esp + 0x1c]
push eax
call fcn.00437ee0
cmp eax, ebp
mov byte [esp + 0xb4], 2
je 0x43fb3d
lea ecx, [eax + 4]
jmp 0x43fb3f
xor ecx, ecx
push 0x451a54
call fcn.00441400
test eax, eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 1
sete bl
call fcn.0040e0a8
test bl, bl
je 0x43fb65
mov bl, 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 0
call fcn.0040e0a8
test bl, bl
je 0x43fbbc
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc0]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xc0]
push edx
push eax
push ecx
call fcn.0043fee0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0xb4], 0xffffffff
call fcn.0040e0a8
mov eax, esi
jmp 0x43fe2f
push ebp
push 0x80
push 3
push ebp
push 1
push 0x80000000
lea ecx, [esp + 0x34]
call fcn.0040cea0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x10], eax
or ebx, 0xffffffff
mov byte [esp + 0xb4], 3
cmp eax, ebx
je 0x43fe0c
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x43fe0c
cmp dword [esp + 0x14], ebp
jne 0x43fe0c
push esi
call fcn.00420be5
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x43fc3e
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x43fe1d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebp
jmp 0x43fe1d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push ebp
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43fd7c
cmp dword [esp + 0x14], ebp
je 0x43fd7c
lea edx, [esp + 0x44]
lea ecx, [esp + 0x1c]
push edx
call fcn.00437ee0
cmp eax, ebp
mov byte [esp + 0xb4], 4
je 0x43fc82
lea esi, [eax + 4]
jmp 0x43fc84
xor esi, esi
push str..bmp
call fcn.00420bc8
add esp, 4
mov ecx, esi
push eax
mov eax, dword [esi + 8]
push str..bmp
push eax
push ebp
call fcn.00404764
cmp eax, ebp
lea ecx, [esp + 0x44]
sete bl
mov byte [esp + 0xb4], 3
call fcn.0040e0a8
test bl, bl
je 0x43fce0
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
push edi
push ecx
push edx
call fcn.0043fe50
add esp, 0xc
test eax, eax
je 0x43fd7c
jmp 0x43fd42
lea eax, [esp + 0x44]
lea ecx, [esp + 0x1c]
push eax
call fcn.00437ee0
cmp eax, ebp
mov byte [esp + 0xb4], 5
je 0x43fcff
lea ecx, [eax + 4]
jmp 0x43fd01
xor ecx, ecx
push str..wmf
call fcn.00441400
test eax, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xb4], 3
sete bl
call fcn.0040e0a8
test bl, bl
je 0x43fd7c
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
push edi
push ecx
push edx
call fcn.0043fe80
add esp, 0xc
test eax, eax
je 0x43fd7c
push edi
call fcn.00420754
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebp
je 0x43fd5e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0040e0a8
mov eax, 1
jmp 0x43fe2f
push edi
call fcn.00420754
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebp
je 0x43fd98
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x3c]
neg eax
sbb eax, eax
mov dword [esp + 0xb4], 6
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
lea esi, [esp + 0x1c]
neg esi
sbb esi, esi
lea eax, [esp + 0x30]
and esi, eax
mov ecx, dword [esi]
push ecx
call fcn.00420754
mov edx, dword [esi + 8]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x20]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
call fcn.00415b54
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43fe2d
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call fcn.0041b277
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb4], ebx
call fcn.0040e0a8
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret