Function at 0x4440c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dc94
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x44
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x100]
call fcn.004ea130
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x4441e9
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.005001b0
sub esp, 0x38
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x108], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x444169
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
push str.Read_buffer_not_created.
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0041a9d0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.0041a900
lea ecx, [ebp - 0xb8]
call fcn.0041c2a0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0
mov ecx, dword [edi + 4]
push eax
call fcn.004cdbd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x40]
call eax
sub esp, 0x44
mov ecx, esp
push eax
call fcn.0041a6c0
xor ecx, ecx
call fcn.004e7590
add esp, 0x44
lea ecx, [ebp - 0x70]
call fcn.0041c2a0
jmp 0x4443b7
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], vtable.CFile.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100]
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 0x40]
call eax
push eax
lea ecx, [ebp - 0xb8]
call fcn.0041a6c0
push 0
push 0
push 3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xb8]
push 0
push 1
push SysReAllocStringLen
mov eax, dword [eax + 0x7c]
call eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 4
cmp eax, 0xffffffff
jne 0x444365
mov dword [ebp - 0x20], 0
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.0041ad80
cmp dword [ebp - 0x38], 0
mov dword [ebp - 0x70], vtable.CStringUTF8.0
je 0x4442a7
lea ecx, [ebp - 0x3c]
call fcn.0041a760
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100]
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 0x40]
call eax
push eax
push str._s_does_not_exist.
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004e78b0
add esp, 0x10
lea ecx, [ebp - 0x150]
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.005001b0
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
add esp, 0xc
mov eax, dword [eax + 0x40]
call eax
sub esp, 0x44
mov ecx, esp
push eax
call fcn.0041a6c0
mov ecx, dword [edi + 4]
lea eax, [ebp - 0xb8]
push eax
call fcn.004cdbd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x40]
call eax
sub esp, 0x44
mov ecx, esp
push eax
call fcn.0041a6c0
xor ecx, ecx
call fcn.004e7590
add esp, 0x44
lea ecx, [ebp - 0xb8]
call fcn.0041c2a0
lea ecx, [ebp - 0x70]
call fcn.0041c2a0
jmp 0x4443a0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0041c2a0
mov eax, dword [edi + 0x14]
lea edx, [ebp - 0x1c]
push 0
push edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.CFile.0
call fcn.0041c890
lea ecx, [ebp - 0x100]
call fcn.0041c2a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret