Function at 0x43fd2d
Capabilities:
Read file on windows

Disassembly:
push 0x48
mov eax, 0x47b4d0
call fcn.00444285
mov esi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x41]
push 1
lea ebx, [esi + 4]
mov dword [ebp - 0x54], esi
push eax
mov ecx, ebx
mov dword [esi], vtable.STREAM.0
call fcn.00406120
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x54]
or dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov word [esi + 0x3c], 0x101
mov byte [esi + 0x3e], 1
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], 0x2e
mov dword [esi + 0x50], 0x138
call fcn.0043fc98
mov byte [ebp - 4], 1
and dword [esi + 0x5c], 0
test edi, edi
mov byte [esi + 0x60], 0
mov esi, 0x48e7d0
mov eax, esi
cmovne eax, edi
test eax, eax
cmovne esi, eax
push esi
call fcn.00454be3
pop ecx
push eax
push esi
lea ecx, [ebx + 4]
call fcn.00408080
mov ebx, dword [ebp - 0x50]
lea esi, [ebx + 8]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43fdcd
mov eax, dword [esi]
push 1
push eax
call fcn.004408fc
mov dword [ebx + 0x40], eax
mov eax, esi
cmp dword [esi + 0x14], 8
pop ecx
pop ecx
jb 0x43fde4
mov eax, dword [esi]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x34], eax
cmp eax, 0xffffffff
jne 0x43fe13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x44], eax
jmp 0x43ff6b
push 0x2e
lea eax, [ebp - 0x40]
mov dword [ebx + 0x38], 1
push edi
push eax
call fcn.004523f0
add esp, 0xc
mov ecx, ebx
push 0
push 0
push dword [ebx + 0x40]
push dword [ebx + 0x34]
call fcn.0044117c
test eax, eax
je 0x43ff6b
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 0x43ff5a
cmp dword [ebp - 0x48], 0
je 0x43ff5a
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00440242
test eax, eax
je 0x43fe8a
mov di, word [ebp - 0x32]
test di, di
jne 0x43ff0c
cmp dword [esi + 0x14], 8
jb 0x43fe92
mov esi, dword [esi]
push 0
push esi
call fcn.004408fc
pop ecx
pop ecx
mov ecx, dword [ebx + 0x40]
cmp eax, ecx
jbe 0x43fea8
mov dword [ebx + 0x40], eax
mov ecx, eax
push 0
push 0
push ecx
push dword [ebx + 0x34]
mov ecx, ebx
call fcn.0044117c
test eax, eax
je 0x43ff6b
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 0x43ff6b
cmp dword [ebp - 0x48], 0
je 0x43ff6b
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00440242
mov di, word [ebp - 0x32]
test eax, eax
je 0x43ff03
test di, di
jne 0x43ff0f
mov dword [ebx + 0x5c], 4
jmp 0x43ff0f
push 0x2e
pop esi
mov eax, dword [ebx + 0x5c]
sub eax, 1
je 0x43ff38
sub eax, 1
je 0x43ff2f
sub eax, 1
je 0x43ff2f
sub eax, 1
jne 0x43ff42
mov dword [ebx + 0x50], 0x30
jmp 0x43ff3f
mov dword [ebx + 0x50], 0x18
jmp 0x43ff3f
mov dword [ebx + 0x50], 0x138
mov dword [ebx + 0x4c], esi
mov ecx, ebx
call fcn.00440e44
test al, al
je 0x43ff6b
movzx eax, di
mov ecx, ebx
push eax
call fcn.00440a2b
jmp 0x43ff6b
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.00444234
ret 4