Function at 0x434150
Capabilities:
Check if file exists
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x49e044]
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 edi, ecx
cmp dword [edi + 0x68], 0
mov ebx, 9
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
jne 0x4341a5
push 0
push 0
push 1
push 0
call esi
xor ebx, ebx
mov dword [edi + 0x68], eax
test eax, eax
sete bl
cmp dword [edi + 0x7c], 0
jne 0x4341c8
push 0
push 0
push 1
push 0
call esi
mov dword [edi + 0x7c], eax
test eax, eax
jne 0x434365
dec ebx
neg ebx
sbb ebx, ebx
add ebx, 3
test ebx, ebx
jne 0x434210
cmp dword [edi + 0x94], 0
lea eax, [edi + 0x94]
jne 0x4341ee
push eax
push str.pipe_startup
push 5
call fcn.0042b4b0
mov ebx, eax
test ebx, ebx
jne 0x434210
cmp dword [edi + 0x98], 0
lea eax, [edi + 0x98]
jne 0x434267
push eax
push str.close
push 6
call fcn.0042b4b0
mov ebx, eax
test ebx, ebx
je 0x43426f
cmp ebx, 9
je 0x434267
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.00413c20
mov edx, str.failed_initialize_frame
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0041a0d0
push ebx
mov ecx, eax
call fcn.00414280
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.00409c70
test ebx, ebx
jne 0x434675
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x144], 0
cmp eax, 2
jne 0x43428d
push 0xc8
call ebx
cmp dword [edi + 0x54], 8
lea eax, [edi + 0x40]
jb 0x434299
mov eax, dword [edi + 0x40]
push 0
push 0x40000080
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x434286
cmp dword [edi + 0x8c], 0xffffffff
jne 0x434376
push 0x14
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x15c]
push str.opening_receive_pipe
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
call fcn.00417240
lea eax, [edi + 0x9c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x144]
mov ecx, edi
push eax
lea eax, [ebp - 0x15c]
push eax
push 8
call fcn.0042d2f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x434376
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43436c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434693
jmp 0x43436c
xor ebx, ebx
jmp 0x4341cc
push edx
push ecx
call fcn.00452f08
add esp, 8
mov ebx, dword [ebp - 0x144]
test ebx, ebx
jne 0x434675
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x144], ebx
jb 0x434398
mov eax, dword [eax]
push 0
push 0
push ecx
push ecx
push 0xff
push 6
push 0x40080002
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi + 0x88], eax
cmp eax, 0xffffffff
jne 0x43445d
push 0x12
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x15c]
push str.creating_send_pipe
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
call fcn.00417240
lea eax, [edi + 0xa0]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x144]
mov ecx, edi
push eax
lea eax, [ebp - 0x15c]
push eax
push 4
call fcn.0042d2f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x43445d
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x434453
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434698
push edx
push ecx
call fcn.00452f08
add esp, 8
mov ebx, dword [ebp - 0x144]
test ebx, ebx
jne 0x434675
push 0x17
mov dword [ebp - 0x15c], ebx
lea ecx, [ebp - 0x15c]
push str.creating_monitor_thread
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], bl
call fcn.00417240
lea eax, [ebp - 0x15c]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.0042c9e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x4344ef
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4344e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43469d
push edx
push ecx
call fcn.00452f08
add esp, 8
lea esi, [edi + 0x84]
push esi
push 0
push edi
push 0x4348f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x80], eax
push 0x98
push 0
test eax, eax
jne 0x4345d6
lea ebx, [eax + 7]
lea eax, [ebp - 0xa8]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.00413c20
mov edx, str.failure
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.0041a0d0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00413ee0
mov edx, str._creating_monitor_thread
mov ecx, eax
call fcn.0041a0d0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00416ab0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0042c9e0
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x4345cb
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4345c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4346a2
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0xa8]
jmp 0x434670
lea eax, [ebp - 0x140]
push eax
call fcn.004549a0
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.00413c20
mov edx, str.created_monitor_thread
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.0041a0d0
push dword [esi]
mov ecx, eax
call fcn.00413ee0
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00416ab0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.0042c9e0
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x43466a
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x434660
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4346a7
push edx
push ecx
call fcn.00452f08
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.00409c70
mov eax, ebx
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.004528ff
mov esp, ebp
pop ebp
ret
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
int3