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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484358
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 0x43fafa
mov dword [eax], edi
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
call fcn.0042f030
mov ecx, 0x4a0568
mov dword [esp + 0x40], edi
call fcn.00430580
dec eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.0042f8c0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 1
call fcn.0042f0e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call fcn.0042efa0
lea ecx, [esp + 0x20]
call fcn.0042f780
cmp dword [ebp + 4], edi
je 0x43fd0f
lea ecx, [esp + 0x20]
call fcn.004305a0
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.004205a0
test al, al
je 0x43fbb0
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.00420580
lea ecx, [esp + 0x28]
lea esi, [ebp + 0x30]
push ecx
mov ecx, esi
mov byte [esp + 0x44], 2
call fcn.004425a0
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x43fbe6
add eax, 0xc
lea ecx, [esp + 0x28]
push eax
call fcn.00420ff0
test eax, eax
jl 0x43fbe6
lea eax, [esp + 0x14]
jmp 0x43fbf1
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 0x43fc1f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x43fc16
cmp al, 0xff
je 0x43fc16
dec al
mov byte [ecx], al
jmp 0x43fc1f
push ecx
call fcn.004242d0
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 0x43fd0d
mov edi, dword [esi + 0x1c]
mov edx, dword [edi + 4]
add edx, 2
push edx
call fcn.004246fe
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 0x43fcff
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 0x43fcff
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x43fcff
mov edx, dword [esp + 0x48]
mov ecx, ebp
push edx
call fcn.0043fdc0
test al, al
je 0x43fcde
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x43fcde
mov ecx, eax
and ecx, 0x80000001
jns 0x43fcc3
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 0x43fcb4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43fceb
mov edx, dword [edi + 4]
mov dword [eax], edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0042efa0
mov eax, esi
jmp 0x43fdab
push esi
call fcn.004242d0
add esp, 4
jmp 0x43fd9c
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 0x43fd9c
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi + 2]
push ecx
call fcn.004246fe
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 0x43fd8c
cmp dword [esp + 0x10], edi
jne 0x43fd8c
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43fd7b
mov dword [eax], edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0042efa0
mov eax, ebp
jmp 0x43fdab
push ebp
call fcn.004242d0
add esp, 4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0042efa0
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