Function at 0x450ea0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4caadb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24c]
lea eax, [esp + 0x24]
push eax
xor cl, cl
mov al, 1
call fcn.0042dc80
push 0x28
xor esi, esi
push 0x32
lea eax, [esp + 0x2c]
mov dword [esp + 0x248], esi
call fcn.0042dd20
test al, al
jne 0x450f34
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitAppRunup_Fail
call fcn.0044eb20
cmp byte [esp + 0x233], 0
jne 0x450f2d
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x450f2d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4510b3
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitAppRunup_Success
call fcn.0044eb20
cmp byte [esp + 0x248], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], esi
je 0x450f59
mov dword [esp + 0x18], 0x7d0
mov esi, dword [ebp]
mov ebx, dword [ebp + 4]
push ebp
call fcn.004a4a1a
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 4
push 0
push 0x40000000
mov edi, 3
push edi
push 0
push 0
push 0xc0000000
push ebx
call ebp
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x451004
nop
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x450fa6
cmp eax, 2
jne 0x45106f
test edi, edi
je 0x45107b
mov ecx, dword [esp + 0x18]
push ecx
dec edi
push ebx
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x450fe7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x450fd9
cmp eax, 0x5b4
jne 0x451087
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitNamedPipe_Continue
call fcn.0044eb20
mov edi, dword [esp + 0x1c]
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push ebx
call ebp
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
je 0x450f90
push 0
push 0
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 2
mov eax, dword [esi + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x45102f
call fcn.00450bf0
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_SetNamedPipeHandleState_Fail
jmp 0x451091
cmp dword [esi + 0x1c], 0
jne 0x451057
push 0x20
call fcn.004a4b5c
add esp, 4
test eax, eax
mov dword [esi + 0x1c], eax
setne al
test al, al
jne 0x451057
call fcn.00450bf0
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_AllocBuffer_Fail
jmp 0x451091
push 2
add esi, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [esp + 0x17], 1
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_bCreated_OK
jmp 0x451091
call fcn.00450bf0
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_LASTError___ERROR_PIPE_BUSY__LASTError___ERROR_FILE_NOT_FOUND_Fail
jmp 0x451091
call fcn.00450bf0
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_nTry0_Fail
jmp 0x451091
call fcn.00450bf0
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitNamedPipe_Fail
call fcn.0044eb20
cmp byte [esp + 0x233], 0
jne 0x4510af
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4510af
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004a4a25
add esp, 0x230
ret