Function at 0x452a20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b3adb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24c]
mov al, 1
lea edx, [esp + 0x24]
call fcn.0041ac50
push 0x28
xor esi, esi
push 0x32
lea eax, [esp + 0x2c]
mov dword [esp + 0x248], esi
call fcn.0041ace0
test al, al
jne 0x452ab1
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitAppRunup_Fail
call fcn.0044f610
cmp byte [esp + 0x233], 0
jne 0x452aaa
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x452aaa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x452c33
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitAppRunup_Success
call fcn.0044f610
cmp byte [esp + 0x248], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], esi
je 0x452ad6
mov dword [esp + 0x18], 0x7d0
mov esi, dword [ebp]
mov ebx, dword [ebp + 4]
push ebp
call fcn.0046fda3
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 0x452b84
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x452b26
cmp eax, 2
jne 0x452bef
test edi, edi
je 0x452bfb
mov eax, dword [esp + 0x18]
push eax
dec edi
push ebx
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x452b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x452b59
cmp eax, 0x5b4
jne 0x452c07
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitNamedPipe_Continue
call fcn.0044f610
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 0x452b10
push 0
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 2
mov edx, dword [esi + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x452baf
call fcn.00452770
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_SetNamedPipeHandleState_Fail
jmp 0x452c11
cmp dword [esi + 0x1c], 0
jne 0x452bd7
push 0x20
call fcn.00470104
add esp, 4
test eax, eax
mov dword [esi + 0x1c], eax
setne al
test al, al
jne 0x452bd7
call fcn.00452770
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_AllocBuffer_Fail
jmp 0x452c11
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 0x452c11
call fcn.00452770
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_LASTError___ERROR_PIPE_BUSY__LASTError___ERROR_FILE_NOT_FOUND_Fail
jmp 0x452c11
call fcn.00452770
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_nTry0_Fail
jmp 0x452c11
call fcn.00452770
mov edi, str._client__t_processPipeList::ConnectPipeToAgent_thr_WaitNamedPipe_Fail
call fcn.0044f610
cmp byte [esp + 0x233], 0
jne 0x452c2f
mov eax, dword [esp + 0x24]
test eax, eax
je 0x452c2f
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.0046fdae
add esp, 0x230
ret