Function at 0x443480
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c73c7
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], 0x4e7908
mov dword [esi + 0x28], 0x4e793c
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.00431300
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 0x443597
xor ecx, ecx
jmp 0x4435af
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4435a0
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 0x4435c6
mov ecx, dword [esi]
jmp 0x4435c8
mov ecx, esi
mov dl, 1
call fcn.00443390
mov dword [edi + 0x40], eax
cmp dword [esi + 0x14], 8
jb 0x4435dc
mov eax, dword [esi]
jmp 0x4435de
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 0x443610
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [edi + 0x44], eax
jmp 0x443770
push 0x2e
lea eax, [ebp - 0x40]
mov dword [edi + 0x38], 1
push 0
push eax
call fcn.004a3000
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 0x44365c
test eax, eax
je 0x443664
mov dword [edi + 0x44], eax
jmp 0x443770
test ebx, ebx
je 0x443770
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 0x44375b
cmp dword [ebp - 0x44], 0
je 0x44375b
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004439d0
test eax, eax
je 0x4436a8
mov cx, word [ebp - 0x32]
test cx, cx
jne 0x443717
cmp dword [esi + 0x14], 8
jb 0x4436b0
mov esi, dword [esi]
xor dl, dl
mov ecx, esi
call fcn.00443390
cmp eax, dword [edi + 0x40]
jbe 0x4436c1
mov dword [edi + 0x40], eax
push 0
push 0
push dword [edi + 0x40]
mov ecx, edi
push dword [edi + 0x34]
call fcn.00444270
test eax, eax
je 0x443770
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 0x443770
cmp dword [ebp - 0x44], 0
je 0x443770
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004439d0
mov cx, word [ebp - 0x32]
test eax, eax
je 0x443710
test cx, cx
jne 0x443717
mov dword [edi + 0x5c], 4
mov eax, dword [edi + 0x5c]
dec eax
cmp eax, 3
ja case.default.0x443720
jmp dword [eax*4 + 0x443798]
mov dword [edi + 0x50], 0x138
jmp 0x443740
mov dword [edi + 0x50], 0x18
jmp 0x443740
mov dword [edi + 0x50], 0x30
mov dword [edi + 0x4c], 0x2e
mov al, byte [edi + 0x60]
test al, al
je 0x443770
movzx eax, cx
mov ecx, edi
push eax
call fcn.004440f0
jmp 0x443770
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.004a103a
mov esp, ebp
pop ebp
ret 4