Function at 0x43e575
Capabilities:
Read file on windows

Disassembly:
push 0x44
mov eax, 0x470363
call fcn.00443729
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.0043e4e2
mov byte [ebp - 4], 1
and dword [ebx + 0x5c], 0
mov eax, 0x485198
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 0x43e5fb
mov eax, dword [esi]
jmp 0x43e5fd
mov eax, esi
push 1
push eax
call fcn.0043f098
pop ecx
mov dword [ebx + 0x40], eax
cmp dword [esi + 0x14], 8
pop ecx
jb 0x43e614
mov eax, dword [esi]
jmp 0x43e616
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 0x43e645
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x44], eax
jmp 0x43e790
push 0x2e
lea eax, [ebp - 0x40]
push edi
push eax
mov dword [ebx + 0x38], 1
call fcn.00442700
add esp, 0xc
mov ecx, ebx
push 0
push 0
push dword [ebx + 0x40]
push dword [ebx + 0x34]
call fcn.0043f894
test eax, eax
je 0x43e790
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 0x43e77f
cmp dword [ebp - 0x48], 0
je 0x43e77f
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0043e9fa
test eax, eax
je 0x43e6b8
mov di, word [ebp - 0x32]
test di, di
jne 0x43e734
cmp dword [esi + 0x14], 8
jb 0x43e6c0
mov esi, dword [esi]
push 0
push esi
call fcn.0043f098
pop ecx
pop ecx
cmp eax, dword [ebx + 0x40]
jbe 0x43e6d2
mov dword [ebx + 0x40], eax
push 0
push 0
push dword [ebx + 0x40]
mov ecx, ebx
push dword [ebx + 0x34]
call fcn.0043f894
test eax, eax
je 0x43e790
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 0x43e790
cmp dword [ebp - 0x48], 0
je 0x43e790
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0043e9fa
mov di, word [ebp - 0x32]
test eax, eax
je 0x43e72b
test di, di
jne 0x43e737
mov dword [ebx + 0x5c], 4
jmp 0x43e737
push 0x2e
pop esi
mov eax, dword [ebx + 0x5c]
cmp eax, 1
je 0x43e75d
jbe 0x43e767
cmp eax, 3
jbe 0x43e754
cmp eax, 4
jne 0x43e767
mov dword [ebx + 0x50], 0x30
jmp 0x43e764
mov dword [ebx + 0x50], 0x18
jmp 0x43e764
mov dword [ebx + 0x50], 0x138
mov dword [ebx + 0x4c], esi
mov ecx, ebx
call fcn.0043f595
test al, al
je 0x43e790
movzx eax, di
push eax
mov ecx, ebx
call fcn.0043f195
jmp 0x43e790
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.004436d8
ret 4