Function at 0x44b740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46a084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xd]
lea edi, [eax + 4]
mov byte [ebp - 0xd], 0
push ecx
mov ecx, edi
mov edx, dword [eax + 0x14]
mov dword [eax + 0x10], edx
mov eax, dword [edi]
push edx
push eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040da30
mov ecx, ebx
call fcn.0044b3b0
test al, al
jne 0x44b7ec
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.std::exception.0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], str.This_pipe_is_not_connected._You_cant_read_from_it_
vpxor xmm0, xmm0, xmm0
push eax
vmovq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1c], 1
call fcn.004287c7
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.std::logic_error.0
mov dword [ebp - 4], 0xffffffff
push 0x467a60
lea eax, [ebp - 0x2c]
push eax
call fcn.004297fa
test byte [ebx + 0x20], 1
jne 0x44b826
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.std::exception.0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], str.This_pipe_is_write_only._You_cant_read_from_it_
vpxor xmm0, xmm0, xmm0
push eax
vmovq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1c], 1
call fcn.004287c7
add esp, 8
mov dword [ebp - 4], 1
jmp 0x44b7d0
mov eax, dword [edi + 4]
xor ebx, ebx
sub eax, dword [edi]
xor edx, edx
xor esi, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edx
cmp eax, 0x8000
jae 0x44b853
mov eax, dword [edi + 4]
mov ecx, edi
sub eax, dword [edi]
add eax, 0x8000
push eax
call fcn.0040d300
mov edx, dword [ebp - 0x14]
mov eax, dword [edi]
cmp edx, esi
push 0
lea edx, [ebp - 0x14]
mov ecx, 0x8000
cmova ecx, esi
add eax, ebx
push edx
push ecx
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
test ebx, ebx
je 0x44b8a5
test esi, esi
jne 0x44b8a5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
cmp edx, ecx
jb 0x44b894
mov eax, dword [edi]
mov esi, dword [eax + 4]
cmp esi, ecx
jb 0x44b8cf
push esi
mov ecx, edi
mov ebx, 1
call fcn.0040d300
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x18], edx
sub esi, edx
test ebx, ebx
je 0x44b8d3
mov ebx, dword [ebp - 0x18]
test esi, esi
jne 0x44b853
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
jmp 0x44b8a8
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xb]
push ecx
mov ecx, edi
mov byte [ebp + 0xb], 0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x10], edx
mov eax, dword [edi]
push edx
push eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040da30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x44b913
push str.Inter_process_communication_reading_error.
lea ecx, [ebp - 0x2c]
call fcn.0040d160
jmp 0x44b7de
mov ecx, dword [ebp - 0x1c]
call fcn.0044b380
push str.Inter_process_communication_error.
lea ecx, [ebp - 0x2c]
call fcn.0040d160
jmp 0x44b7de