Function at 0x43c7ea
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.0044c070
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 0x45c6d0
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 2], 1
mov byte [ebp - 1], bl
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x10020], bl
call fcn.00418ad9
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], ebx
je 0x43c8c0
cmp dword [esi + 0xc], ebx
ja 0x43c838
lea eax, [esi + 0x18]
jmp 0x43c83d
mov eax, dword [esi + 8]
mov eax, dword [eax]
call fcn.0041858e
mov edi, dword [ebp + 8]
push eax
add edi, 0x844
call fcn.0043c777
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x43c87a
push ebx
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
call fcn.0042159c
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.004215ca
jmp 0x43c9ac
mov ecx, dword [ebp + 0xc]
test dword [eax + 0x28], ecx
jne 0x43c887
push ebx
push 0xfffffffffffffffe
jmp 0x43c8d3
test cl, 2
je 0x43c890
mov eax, dword [eax]
jmp 0x43c89b
test cl, 4
je 0x43c89e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp + 0xc], ebx
setne al
mov edi, eax
cmp dword [esi + 0xc], edi
jbe 0x43c8d6
mov ecx, edi
mov eax, esi
call fcn.004216bb
call fcn.0041858e
mov dword [ebp - 0xc], eax
jmp 0x43c8da
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x43c89e
push ebx
push 0xfffffffffffffffd
pop ecx
jmp 0x43c85c
or dword [ebp - 0xc], 0xffffffff
lea eax, [edi + 2]
cmp dword [esi + 0xc], eax
jne 0x43c8fb
lea ecx, [edi + 1]
mov eax, esi
call fcn.004216bb
mov ecx, eax
call fcn.004186e1
test al, al
je 0x43c8fb
mov byte [ebp - 1], 1
push ebx
push ebx
push dword [ebp - 0x10]
lea edi, [ebp - 8]
xor esi, esi
call fcn.0043cb3e
add esp, 0xc
test eax, eax
jne 0x43c945
push ebx
push 0xfffffffffffffffc
mov eax, dword [ebp + 8]
pop ecx
call fcn.0042159c
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.004215ca
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x43c93d
mov esi, dword [ebp - 0x14]
call fcn.00417dbc
mov byte [ebp - 2], bl
jmp 0x43ca5e
cmp dword [ebp - 8], ebx
jne 0x43c9b3
cmp dword [ebp + 0xc], ebx
je 0x43c9b3
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x43c979
cmp dword [ebp - 0x1c], 0x103
je 0x43c9b3
mov eax, dword [ebp + 0xc]
call fcn.00417dbc
push ebx
push 0xfffffffffffffffb
jmp 0x43c984
mov eax, dword [ebp + 0xc]
call fcn.00417dbc
push ebx
push 0xfffffffffffffffa
mov eax, dword [ebp + 8]
pop ecx
call fcn.0042159c
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.004215ca
cmp byte [ebp - 1], bl
je 0x43c9ac
mov esi, dword [ebp + 0x10]
push ebx
call fcn.00418a14
xor al, al
jmp 0x43ca61
cmp dword [ebp - 0xc], ebx
jne 0x43c9cf
cmp byte [ebp - 1], bl
je 0x43c9cf
push dword [ebp - 8]
mov esi, dword [ebp + 0x10]
call fcn.00418a14
mov al, 1
jmp 0x43ca61
mov eax, 0xffff
cmp dword [ebp - 8], eax
jbe 0x43c9dc
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], ebx
jge 0x43c9ec
cmp dword [ebp - 8], ebx
je 0x43c9e9
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], bl
je 0x43ca0e
push dword [ebp - 0xc]
lea eax, [ebp - 0x10020]
push eax
push dword [ebp - 0x10]
lea edi, [ebp - 8]
lea esi, [ebp - 0x18]
call fcn.0043cb3e
add esp, 0xc
jmp 0x43ca26
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x10020]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x43ca32
push ebx
push 0xfffffffffffffff9
jmp 0x43c914
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x10020], bl
lea eax, [ebp - 0x10020]
push eax
or eax, 0xffffffff
call fcn.0041684e
mov edi, dword [ebp + 0x10]
pop ecx
mov esi, eax
push esi
call fcn.00418ad9
push esi
call fcn.00449078
pop ecx
mov al, byte [ebp - 2]
pop edi
pop esi
pop ebx
leave
ret 0xc