Function at 0x43e32d
Capabilities:
Read file on windows

Disassembly:
push 0x44
mov eax, 0x46ff71
call fcn.00443402
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.0043e2ae
mov byte [ebp - 4], 1
and dword [ebx + 0x5c], 0
mov eax, 0x484fc8
test edi, edi
cmovne eax, edi
push eax
lea ecx, [ebx + 4]
mov byte [ebx + 0x60], 0
call fcn.004044b0
lea esi, [ebx + 8]
cmp dword [esi + 0x14], 8
jb 0x43e3b3
mov eax, dword [esi]
jmp 0x43e3b5
mov eax, esi
push 1
push eax
call fcn.0043ed80
pop ecx
mov dword [ebx + 0x40], eax
cmp dword [esi + 0x14], 8
pop ecx
jb 0x43e3cc
mov eax, dword [esi]
jmp 0x43e3ce
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 0x43e3fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x44], eax
jmp 0x43e548
push 0x2e
lea eax, [ebp - 0x40]
push edi
push eax
mov dword [ebx + 0x38], 1
call fcn.004423c0
add esp, 0xc
mov ecx, ebx
push 0
push 0
push dword [ebx + 0x40]
push dword [ebx + 0x34]
call fcn.0043f57c
test eax, eax
je 0x43e548
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 0x43e537
cmp dword [ebp - 0x48], 0
je 0x43e537
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0043e6ef
test eax, eax
je 0x43e470
mov di, word [ebp - 0x32]
test di, di
jne 0x43e4ec
cmp dword [esi + 0x14], 8
jb 0x43e478
mov esi, dword [esi]
push 0
push esi
call fcn.0043ed80
pop ecx
pop ecx
cmp eax, dword [ebx + 0x40]
jbe 0x43e48a
mov dword [ebx + 0x40], eax
push 0
push 0
push dword [ebx + 0x40]
mov ecx, ebx
push dword [ebx + 0x34]
call fcn.0043f57c
test eax, eax
je 0x43e548
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 0x43e548
cmp dword [ebp - 0x48], 0
je 0x43e548
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0043e6ef
mov di, word [ebp - 0x32]
test eax, eax
je 0x43e4e3
test di, di
jne 0x43e4ef
mov dword [ebx + 0x5c], 4
jmp 0x43e4ef
push 0x2e
pop esi
mov eax, dword [ebx + 0x5c]
cmp eax, 1
je 0x43e515
jbe 0x43e51f
cmp eax, 3
jbe 0x43e50c
cmp eax, 4
jne 0x43e51f
mov dword [ebx + 0x50], 0x30
jmp 0x43e51c
mov dword [ebx + 0x50], 0x18
jmp 0x43e51c
mov dword [ebx + 0x50], 0x138
mov dword [ebx + 0x4c], esi
mov ecx, ebx
call fcn.0043f27d
test al, al
je 0x43e548
movzx eax, di
push eax
mov ecx, ebx
call fcn.0043ee7d
jmp 0x43e548
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.004433b1
ret 4