Function at 0x401c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str._i__Connecting_to_process...
push 0xb
call fcn.00403690
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
xor bl, bl
or edi, 0xffffffff
test edi, edi
je 0x401c89
cmp edi, 0xffffffff
jne 0x401cbd
cmp bl, 0x1e
jae 0x401ea9
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push str..pipeOreansCrack
add bl, 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x3e8
mov edi, eax
call esi
jmp 0x401c80
push str.___OK____n_n
push 0xa
call fcn.00403690
add esp, 8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x401e80
cmp eax, 0xffffffff
je 0x401e80
xorps xmm0, xmm0
mov dword [ebp - 0x414], eax
movlpd qword [ebp - 0x424], xmm0
movlpd qword [ebp - 0x41c], xmm0
mov word [ebp - 0x10], 0xffff
cmp byte [0x409400], 0
jne 0x401e10
push 0x402
lea eax, [ebp - 0x410]
xor bh, bh
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 8]
push eax
push 0x402
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401e43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x401e04
cmp byte [0x409400], 0
jne 0x401e04
push 0
lea eax, [ebp - 8]
xor bl, bl
push eax
lea eax, [ebp - 0x424]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x401dad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x401db6
mov bl, 1
mov bh, bl
jmp 0x401db6
cmp dword [ebp - 8], 0x402
je 0x401dc0
push 5
call esi
test bl, bl
jne 0x401d73
jmp 0x401e04
lea eax, [ebp - 0x410]
mov byte [ebp - 0x11], 0
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
add esp, 8
test eax, eax
je 0x401df4
lea eax, [ebp - 0x410]
push eax
push 0x406b48
push dword [ebp - 0x10]
call fcn.00403510
add esp, 0xc
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 5
call esi
push 5
call esi
test bh, bh
jne 0x401d10
push 0x406b4c
push 0xf
call fcn.00403690
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [ebp - 0x428]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041fe
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x410]
mov byte [ebp - 0x11], 0
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
add esp, 8
test eax, eax
je 0x401e77
lea eax, [ebp - 0x410]
push eax
push 0x406b48
push dword [ebp - 0x10]
call fcn.00403510
add esp, 0xc
push 5
call esi
jmp 0x401d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Failed__CreateEvent___LastError__0x_08X__n
push 0xc
call fcn.00403690
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041fe
mov esp, ebp
pop ebp
ret
push str.__FAIL___n
push 0xc
call fcn.00403690
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.004041fe
mov esp, ebp
pop ebp
ret