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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484028
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x14]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
cmp eax, edi
je 0x43f7da
mov dword [eax], edi
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
call fcn.0042ee40
mov ecx, 0x4a0568
mov dword [esp + 0x40], edi
call fcn.00430390
dec eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0042f6d0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 1
call fcn.0042eef0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call fcn.0042edb0
lea ecx, [esp + 0x20]
call fcn.0042f590
cmp dword [ebp + 4], edi
je 0x43f9ef
lea ecx, [esp + 0x20]
call fcn.004303b0
mov dl, byte [esp + 0x48]
mov esi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x28], dl
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
call fcn.00420370
test al, al
je 0x43f890
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00420350
lea ecx, [esp + 0x28]
lea esi, [ebp + 0x30]
push ecx
mov ecx, esi
mov byte [esp + 0x44], 2
call fcn.00442280
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x43f8c6
add eax, 0xc
lea ecx, [esp + 0x28]
push eax
call fcn.00420dc0
test eax, eax
jl 0x43f8c6
lea eax, [esp + 0x14]
jmp 0x43f8d1
mov esi, dword [esi + 4]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
mov esi, dword [eax]
mov eax, dword [esp + 0x2c]
xor edi, edi
mov byte [esp + 0x40], 0
cmp eax, edi
je 0x43f8ff
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x43f8f6
cmp al, 0xff
je 0x43f8f6
dec al
mov byte [ecx], al
jmp 0x43f8ff
push ecx
call fcn.004240a0
add esp, 4
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], edi
cmp esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
je 0x43f9ed
mov edi, dword [esi + 0x1c]
mov edx, dword [edi + 4]
add edx, 2
push edx
call fcn.004244ce
mov esi, eax
mov eax, dword [edi + 4]
add esp, 4
mov byte [eax + esi], 0
mov ecx, dword [edi + 4]
push 0
push 0
mov byte [ecx + esi + 1], 0
mov edx, dword [edi]
mov eax, dword [ebp + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
or ebx, 0xffffffff
cmp eax, ebx
je 0x43f9df
mov edx, dword [edi + 4]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f9df
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x43f9df
mov edx, dword [esp + 0x48]
mov ecx, ebp
push edx
call fcn.0043faa0
test al, al
je 0x43f9be
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x43f9be
mov ecx, eax
and ecx, 0x80000001
jns 0x43f9a3
dec ecx
or ecx, 0xfffffffe
inc ecx
mov dl, byte [eax + esi]
neg ecx
sbb cl, cl
and cl, 0xf6
add cl, 0xd1
xor dl, cl
mov byte [eax + esi], dl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jl 0x43f994
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43f9cb
mov edx, dword [edi + 4]
mov dword [eax], edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0042edb0
mov eax, esi
jmp 0x43fa8b
push esi
call fcn.004240a0
add esp, 4
jmp 0x43fa7c
xor edi, edi
mov eax, dword [esp + 0x48]
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
je 0x43fa7c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi + 2]
push ecx
call fcn.004244ce
add esp, 4
lea edx, [esp + 0x10]
mov ebp, eax
push 0
push edx
push edi
push ebp
mov byte [edi + ebp], 0
push esi
mov byte [edi + ebp + 1], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43fa6c
cmp dword [esp + 0x10], edi
jne 0x43fa6c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43fa5b
mov dword [eax], edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0042edb0
mov eax, ebp
jmp 0x43fa8b
push ebp
call fcn.004240a0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0042edb0
xor eax, eax
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8