Function at 0x43fe13
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x448014]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
xor eax, eax
push esi
push edi
cmp dword [0x44cd80], eax
je 0x43fe41
mov byte [esp + 0x18], 1
jmp 0x43fe5e
cmp dword [0x44a090], eax
je 0x43fe5a
mov dword [esp + 0x1c], 2
mov word [esp + 0x18], 1
jmp 0x43fe66
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], 1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x17], al
mov dword [esp + 0x24], eax
cmp byte [esp + eax + 0x18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
je 0x43fea5
push dword [0x44d65c]
lea eax, [esp + 0xc4]
push 0x41fa88
push eax
call fcn.0043f2ca
add esp, 0xc
lea ecx, [esp + 0xc0]
jmp 0x43feab
mov ecx, dword [0x44d65c]
push ecx
lea edx, [esp + 0xc4]
call fcn.00440a41
pop ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x440106
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
push 0x60
lea eax, [esp + 0x6c]
push eax
push esi
call ebx
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 0x60
jne 0x4400ff
push 0
push 0
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4400ff
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x58]
push eax
push esi
call ebx
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 4
jne 0x4400ff
push 1
lea eax, [esp + 0x44]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4400ff
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
xor eax, eax
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
push eax
push 8
lea eax, [esp + 0x3c]
push eax
push esi
call ebx
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 8
jne 0x4400ff
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x30]
jne 0x4400ff
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x34]
jne 0x4400ff
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x5c]
push eax
push esi
call ebx
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 4
jne 0x4400ff
push 0
lea eax, [esp + 0x14]
push eax
push 8
lea eax, [esp + 0x64]
push eax
push esi
call ebx
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 8
jne 0x4400ff
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push esi
call ebx
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 4
jne 0x4400ff
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x60]
push eax
push esi
call ebx
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 4
jne 0x4400ff
cmp dword [esp + 0x20], 0x400
ja 0x4400ff
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jbe 0x4400e1
mov eax, dword [esp + 0x1c]
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 8
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4400ff
cmp dword [esp + 0x10], 8
jne 0x4400ff
cmp byte [esp + 0x17], 0
jne 0x4400b9
call fcn.0042aa6b
mov ecx, eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
ja 0x4400a8
mov eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
mov dword [0x44a080], ecx
mov byte [esp + 0x17], 1
jmp 0x4400bd
mov eax, dword [esp + 0x2c]
add eax, 0xffff
mov ecx, 0x44c1b0
and eax, 0xffff0000
push eax
push dword [esp + 0x2c]
call fcn.0042a908
test eax, eax
jne 0x4400ff
inc ebx
cmp ebx, dword [esp + 0x20]
jb 0x440064
test esi, esi
je 0x4400e8
push esi
call edi
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x1c]
jl 0x43fe74
mov al, 1
jmp 0x44010c
test esi, esi
je 0x44010a
push esi
jmp 0x440108
push 0xffffffffffffffff
call edi
xor al, al
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042e014
mov esp, ebp
pop ebp
ret