Function at 0x43e63c
Capabilities:
Read file on windows

Disassembly:
push 0x44
mov eax, 0x46ff45
call fcn.00443652
mov ebx, ecx
mov edi, dword [ebp + 8]
push 1
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebx + 4]
mov dword [ebp - 0x50], ebx
mov dword [ebx], vtable.STREAM.0
call fcn.00402580
xor eax, eax
mov dword [ebp - 4], eax
or dword [ebx + 0x48], 0xffffffff
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov word [ebx + 0x3c], 0x101
mov byte [ebx + 0x3e], 1
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x4c], 0x2e
mov dword [ebx + 0x50], 0x138
call fcn.0043e5bd
mov byte [ebp - 4], 1
and dword [ebx + 0x5c], 0
mov eax, 0x484ef8
test edi, edi
cmovne eax, edi
push eax
lea ecx, [ebx + 4]
mov byte [ebx + 0x60], 0
call fcn.00403640
lea esi, [ebx + 8]
cmp dword [esi + 0x14], 8
jb 0x43e6c2
mov eax, dword [esi]
jmp 0x43e6c4
mov eax, esi
push 1
push eax
call fcn.0043f03c
pop ecx
mov dword [ebx + 0x40], eax
cmp dword [esi + 0x14], 8
pop ecx
jb 0x43e6db
mov eax, dword [esi]
jmp 0x43e6dd
mov eax, esi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x34], eax
cmp eax, 0xffffffff
jne 0x43e70c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x44], eax
jmp 0x43e857
push 0x2e
lea eax, [ebp - 0x40]
push edi
push eax
mov dword [ebx + 0x38], 1
call fcn.00442610
add esp, 0xc
mov ecx, ebx
push 0
push 0
push dword [ebx + 0x40]
push dword [ebx + 0x34]
call fcn.0043f838
test eax, eax
je 0x43e857
push 0
lea eax, [ebp - 0x48]
push eax
push 0x2e
pop edi
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x43e846
cmp dword [ebp - 0x48], 0
je 0x43e846
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0043e9ab
test eax, eax
je 0x43e77f
mov di, word [ebp - 0x32]
test di, di
jne 0x43e7fb
cmp dword [esi + 0x14], 8
jb 0x43e787
mov esi, dword [esi]
push 0
push esi
call fcn.0043f03c
pop ecx
pop ecx
cmp eax, dword [ebx + 0x40]
jbe 0x43e799
mov dword [ebx + 0x40], eax
push 0
push 0
push dword [ebx + 0x40]
mov ecx, ebx
push dword [ebx + 0x34]
call fcn.0043f838
test eax, eax
je 0x43e857
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x2e
pop esi
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x43e857
cmp dword [ebp - 0x48], 0
je 0x43e857
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0043e9ab
mov di, word [ebp - 0x32]
test eax, eax
je 0x43e7f2
test di, di
jne 0x43e7fe
mov dword [ebx + 0x5c], 4
jmp 0x43e7fe
push 0x2e
pop esi
mov eax, dword [ebx + 0x5c]
cmp eax, 1
je 0x43e824
jbe 0x43e82e
cmp eax, 3
jbe 0x43e81b
cmp eax, 4
jne 0x43e82e
mov dword [ebx + 0x50], 0x30
jmp 0x43e82b
mov dword [ebx + 0x50], 0x18
jmp 0x43e82b
mov dword [ebx + 0x50], 0x138
mov dword [ebx + 0x4c], esi
mov ecx, ebx
call fcn.0043f539
test al, al
je 0x43e857
movzx eax, di
push eax
mov ecx, ebx
call fcn.0043f139
jmp 0x43e857
mov dword [ebx + 0x5c], 4
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], 0x30
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.00443601
ret 4