Function at 0x42f2b0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4507e5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x466340]
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 esi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push 0
push 0
push 1
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x6c], eax
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ebx, [esi + 4]
mov dword [ebp - 4], 0
push ebx
push 0
lea ecx, [ebp - 0x24]
call fcn.0042de00
call fcn.0042ff80
push dword [esi + 8]
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 0x40], 0xf
lea ecx, [esi + 0x2c]
jbe 0x42f35d
mov ecx, dword [esi + 0x2c]
push ecx
push 0x4567f8
push str.IPCServer::WaitPipe
push 6
call fcn.00428a00
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x10
push 0
push dword [ebx]
call edi
cmp eax, 0x102
jne 0x42f468
nop dword [eax]
lea eax, [ebp - 0x64]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x42f40b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x42f40b
cmp eax, 0xe8
je 0x42f40b
cmp eax, 0x3e5
jne 0x42f3ee
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x42f40b
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0xffffffffffffffff
push dword [ebp - 0x54]
call edi
jmp 0x42f457
push eax
push str.ConnectNamedPipe_failed:__lu
push str.IPCServer::WaitPipe
push 2
call fcn.00428a00
add esp, 0x10
push 0x32
push dword [ebx]
call edi
jmp 0x42f457
push 0x2c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004363f0
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x68]
push eax
push dword [esi + 0x10]
call fcn.00430300
push dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push dword [ebp - 0x70]
mov ecx, esi
push eax
call fcn.0042efa0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00430410
push 0
push dword [ebx]
call edi
cmp eax, 0x102
je 0x42f390
cmp dword [esi + 0x40], 0xf
lea eax, [esi + 0x2c]
jbe 0x42f473
mov eax, dword [eax]
push eax
push str.S:__S_down
push str.IPCServer::WaitPipe
push 6
call fcn.00428a00
add esp, 0x10
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x42f4cd
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42f4c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f4ed
push ecx
push edx
call fcn.004345c7
add esp, 8
xor eax, eax
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.004345d5
mov esp, ebp
pop ebp
ret 8
call fcn.00437e6f
int3