Function at 0x43a290
Capabilities:
Check for time delay via gettickcount
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push edi
mov edi, ecx
cmp byte [edi + 1], 0
mov eax, dword [edi + 0x248]
mov ecx, dword [edi + 0x24c]
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
jne 0x43a613
push esi
mov esi, dword [ebp + 8]
push ebx
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0xc]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esi + 0x14], eax
test eax, eax
je 0x43a611
cmp byte [edi + 3], 0
je 0x43a2f3
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [edi + 0x224], esi
mov eax, dword [esi + 4]
test eax, eax
je 0x43a305
cmp eax, 0xffffffff
jne 0x43a372
movzx ecx, byte [edi + 3]
xor eax, eax
cmp byte [edi + 5], al
mov dword [esi + 0x54], 2
mov edx, dword [edi + 0x228]
push edx
sete al
push 0
push 0x1000
neg ecx
push 0x1000
sbb ecx, ecx
push 0xff
and ecx, 0x40000000
lea eax, [eax + eax + 1]
or eax, ecx
push 6
lea ecx, [edi + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 4], eax
mov dword [esi + 0x54], 3
cmp byte [edi + 1], 0
jne 0x43a5b1
cmp eax, 0xffffffff
je 0x43a52e
test eax, eax
je 0x43a52e
cmp dword [edi + 0x240], 0
jne 0x43a399
mov eax, dword [edi + 0x238]
test eax, eax
je 0x43a399
mov ecx, dword [edi + 0x244]
push ecx
push esi
mov dword [edi + 0x240], 1
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esi + 0x54], 4
cmp byte [edi + 3], 0
je 0x43a3b3
lea eax, [esi + 0x3c]
jmp 0x43a3b5
xor eax, eax
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
cmp byte [edi + 3], 0
jne 0x43a3e8
mov eax, dword [ebp - 8]
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
cmp byte [edi + 3], 0
je 0x43a450
cmp dword [ebx], 0
je 0x43a43d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.PipeServerThread:ConnectNamedPipe_failed_with_0x_08X
lea ebx, [esi + 0x58]
push 0x80
push ebx
call fcn.0044cff0
add esp, 0x10
lea ecx, [edi + 0xc]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.PipeServerError__PID_u__TID_u_n___s_n___s_n
lea edx, [ebp - 0x420]
push 0x208
push edx
call fcn.0044cff0
add esp, 0x1c
push 0x64
jmp 0x43a587
mov edx, dword [ebp + 0x10]
xor ecx, ecx
cmp dword [esi + 0x10], 0x217
sete cl
mov dword [edx], ecx
jmp 0x43a46b
cmp dword [ebx], 0
jne 0x43a464
cmp dword [esi + 0x10], 0x217
jne 0x43a464
mov dword [ebx], 1
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp byte [edi + 1], 0
jne 0x43a5d1
cmp byte [edi + 3], 0
je 0x43a4e2
cmp dword [esi + 0x10], 0x217
jne 0x43a48b
mov ebx, 1
jmp 0x43a499
lea edx, [ebp - 0x10]
push edx
push esi
mov ecx, edi
call fcn.004398d0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test ebx, ebx
je 0x43a5f1
cmp ebx, 1
jne 0x43a59b
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x54], 5
mov dword [eax], ebx
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx], 0
jne 0x43a606
mov eax, dword [esi + 4]
test eax, eax
je 0x43a59b
cmp eax, 0xffffffff
je 0x43a59b
push eax
mov dword [esi + 0x54], 0x64
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov ecx, dword [esi + 4]
push ecx
mov dword [esi + 0x54], 0xc8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi + 0x54], 0xc9
jmp 0x43a59b
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov dword [esi + 0x10], eax
call ebx
push eax
push str.PipeServerThread:ConnectNamedPipe_failed_with_0x_08X
lea ebx, [esi + 0x58]
push 0x80
push ebx
call fcn.0044cff0
add esp, 0x10
lea eax, [edi + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.PipeServerError__PID_u__TID_u_n___s_n___s_n
lea edx, [ebp - 0x420]
push 0x208
push edx
call fcn.0044cff0
add esp, 0x1c
mov dword [esi + 4], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
cmp byte [edi + 1], 0
je 0x43a2c8
mov al, byte [ebp - 1]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 3], 0
je 0x43a611
mov ecx, dword [ebp - 8]
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov al, byte [ebp - 1]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 3], 0
je 0x43a611
mov edx, dword [ebp - 8]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov al, byte [ebp - 1]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
sub eax, dword [ebp + 8]
pop ebx
add dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov al, byte [ebp - 1]
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi + 0x54], 5
mov byte [ebp - 1], 1
pop ebx
pop esi
mov al, byte [ebp - 1]
pop edi
mov esp, ebp
pop ebp
ret 0xc