Function at 0x4226f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb8a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x28]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x10], 0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
test eax, eax
je 0x422746
cmp esi, eax
cmova esi, eax
mov dword [ebp + 0xc], esi
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
mov ecx, ebx
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], ebx
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x42288f
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
mov dword [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x422817
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x422824
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4227b9
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp + 0xc], 0
mov ecx, ebx
mov eax, dword [ebx]
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], ebx
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push 0
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4228b1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4228b1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 5
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4228aa
jmp 0x422874
lea ecx, [ebp - 0x38]
call fcn.00402fa0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 6
push dword [ebp + 0xc]
push dword [edi + 0x44]
push dword [edi + 0x40]
push esi
push str.The_Pipes_write_function_failed_after_ReadFile_calling_pipe_handle_is__p__total_read__llu__try_to_read__u_
push eax
call fcn.004038c0
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00402fa0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00403150
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.0041d940
lea ecx, [ebp - 0x28]
jmp 0x4228f0
add dword [edi + 0x40], eax
adc dword [edi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.Invalid_pipe_handle
lea ecx, [ebp - 0x3c]
call fcn.00453da0
push 0x552290
lea eax, [ebp - 0x3c]
push eax
call fcn.0049c518
push str.Unknown_pipe_error
jmp 0x4228f6
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push str.The_Pipes_read_function_failed_after_GetOverlappedResult_calling__pipe_handle_is__p_
push eax
call fcn.004038c0
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00402fa0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00403150
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.0041d940
lea ecx, [ebp - 0x38]
call fcn.00403150
push eax
lea ecx, [ebp - 0x64]
call fcn.00453da0
push 0x552290
lea eax, [ebp - 0x64]
push eax
call fcn.0049c518
int3