Function at 0x4436e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c78e7
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp + 8]
lea esi, [ecx + 4]
mov dword [ecx], vtable.STREAM.0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x58], ecx
mov dword [esi], 0x4e81b4
mov dword [esi + 0x28], 0x4e8f38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
push dword [eax + esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 5
mov edi, dword [ebp - 0x54]
lea esi, [edi + 0x54]
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov word [edi + 0x3c], 0x101
mov byte [edi + 0x3e], 1
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0x2e
mov dword [edi + 0x50], 0x138
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00431450
mov dword [esi], eax
mov byte [ebp - 4], 8
mov edx, 0x4e23a8
test ebx, ebx
mov dword [edi + 0x5c], 0
mov eax, edx
mov byte [edi + 0x60], 0
cmovne eax, ebx
test eax, eax
cmovne edx, eax
cmp word [edx], 0
jne 0x4437f7
xor ecx, ecx
jmp 0x44380f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443800
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.00404040
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
jb 0x443826
mov ecx, dword [esi]
jmp 0x443828
mov ecx, esi
mov dl, 1
call fcn.004435f0
mov dword [edi + 0x40], eax
cmp dword [esi + 0x14], 8
jb 0x44383c
mov eax, dword [esi]
jmp 0x44383e
mov eax, esi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [edi + 0x34], ebx
cmp ebx, 0xffffffff
jne 0x443870
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [edi + 0x44], eax
jmp 0x4439d0
push 0x2e
lea eax, [ebp - 0x40]
mov dword [edi + 0x38], 1
push 0
push eax
call fcn.004a34a0
mov eax, dword [edi + 0x40]
lea ecx, [ebp - 0x4c]
add esp, 0xc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
push 0
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
cmp ebx, 0xffffffff
jne 0x4438bc
test eax, eax
je 0x4438c4
mov dword [edi + 0x44], eax
jmp 0x4439d0
test ebx, ebx
je 0x4439d0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x44]
push 0
push eax
push 0x2e
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x34]
call ebx
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4439bb
cmp dword [ebp - 0x44], 0
je 0x4439bb
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00443c30
test eax, eax
je 0x443908
mov cx, word [ebp - 0x32]
test cx, cx
jne 0x443977
cmp dword [esi + 0x14], 8
jb 0x443910
mov esi, dword [esi]
xor dl, dl
mov ecx, esi
call fcn.004435f0
cmp eax, dword [edi + 0x40]
jbe 0x443921
mov dword [edi + 0x40], eax
push 0
push 0
push dword [edi + 0x40]
mov ecx, edi
push dword [edi + 0x34]
call fcn.004444d0
test eax, eax
je 0x4439d0
push 0
lea eax, [ebp - 0x48]
push eax
push 0x2e
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x34]
call ebx
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4439d0
cmp dword [ebp - 0x44], 0
je 0x4439d0
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00443c30
mov cx, word [ebp - 0x32]
test eax, eax
je 0x443970
test cx, cx
jne 0x443977
mov dword [edi + 0x5c], 4
mov eax, dword [edi + 0x5c]
dec eax
cmp eax, 3
ja case.default.0x443980
jmp dword [eax*4 + 0x4439f8]
mov dword [edi + 0x50], 0x138
jmp 0x4439a0
mov dword [edi + 0x50], 0x18
jmp 0x4439a0
mov dword [edi + 0x50], 0x30
mov dword [edi + 0x4c], 0x2e
mov al, byte [edi + 0x60]
test al, al
je 0x4439d0
movzx eax, cx
mov ecx, edi
push eax
call fcn.00444350
jmp 0x4439d0
mov dword [edi + 0x5c], 4
mov dword [edi + 0x4c], 0x2e
mov dword [edi + 0x50], 0x30
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a14ba
mov esp, ebp
pop ebp
ret 4