Function at 0x14007e170
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov edi, ecx
mov rsi, rdx
lea rcx, [rsp + 0x78]
xor r14d, r14d
xor edx, edx
mov r8d, 0x118
mov qword [rsp + 0x70], r14
call fcn.14008ca20
lea rcx, [rbp + 0x98]
xor edx, edx
mov r8d, 0x248
mov qword [rbp + 0x90], r14
call fcn.14008ca20
xor eax, eax
mov r15d, 1
xorps xmm0, xmm0
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x40], r14d
lea ebx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, edi
mov qword [0x14013da70], rax
call fcn.14007ead0
test eax, eax
jne 0x14007e46f
mov eax, dword [rsp + 0x78]
lea r8, [rsp + 0x58]
mov rdx, rsi
mov ecx, edi
mov dword [0x14013d418], eax
call fcn.14007f2e0
test eax, eax
jne 0x14007e46f
lea rax, [rbp + 0x90]
mov dword [rsp + 0x30], 0x40008
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
mov qword [rsp + 0x28], rax
lea rax, [0x14007c830]
lea rcx, [rbp + 0x90]
xor r9d, r9d
mov r8d, r15d
mov qword [rsp + 0x20], rax
call fcn.140001a23
test eax, eax
je 0x14007e46f
lea rcx, [rbp + 0x90]
call fcn.1400017b2
test eax, eax
jne 0x14007e2ed
nop dword [rax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x14007e2d3
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x90]
call fcn.1400017b2
test eax, eax
je 0x14007e2b0
test ebx, ebx
jg 0x14007e2ed
lea rdx, str.Unable_to_connect_IPC._n
mov ecx, 3
call fcn.1400013e3
jmp 0x14007e46f
mov rcx, qword [0x14013da70]
test rcx, rcx
je 0x14007e304
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x140127a68]
test eax, eax
jne 0x14007e348
cmp byte [rbp - 0x74], r14b
je 0x14007e348
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x90]
call fcn.14007ef70
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x90]
call fcn.1400016a9
mov eax, dword [0x140127a68]
cmp dword [rbp - 0x7c], r14d
cmovne eax, r15d
mov dword [0x140127a68], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14007e412
test eax, eax
jne 0x14007e412
movabs rbx, 0x100000601
nop dword [rax + rax]
lea r8, [rbp + 0x2e0]
lea rdx, str.____n_s
mov r9d, 0x101
call fcn.140095e94
cmp eax, r15d
jne 0x14007e412
lea rcx, [rbp + 0x2e0]
mov edx, 0x101
call fcn.14008d154
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x14007e3d9
lea rdx, [0x1400ea7dc]
lea rcx, [rbp + 0x2e0]
mov r8d, 3
call fcn.14008eacc
test eax, eax
jne 0x14007e3d9
movzx eax, byte [rbp + 0x2e3]
cmp al, 0x20
ja 0x14007e3d9
bt rbx, rax
jb 0x14007e3ff
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x90]
call fcn.14007ef70
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x90]
call fcn.1400016a9
cmp dword [0x140127a68], r14d
jne 0x14007e412
mov rcx, qword [rsp + 0x70]
jmp 0x14007e370
lea r9, [rbp + 0x90]
lea r8, [0x14007c950]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14007e44f
lea rdx, str.Unable_to_create_IPC_thread._n
lea ecx, [rax + 3]
call fcn.1400013e3
jmp 0x14007e46f
mov rax, qword [rsp + 0x58]
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea ecx, [r8 + 2]
or r9d, 0xffffffff
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007e4bf
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14007e4b4
cmp dword [rsp + 0x40], 0x103
jne 0x14007e4af
mov rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x40], r14d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14007e4cf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x48], r14
je 0x14007e51f
mov dword [0x140127a68], r15d
call fcn.14007f0a0
mov rcx, qword [rsp + 0x48]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [rsp + 0x44]
mov edx, 0x3eb
test eax, eax
cmove ecx, edx
mov dword [rsp + 0x44], ecx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14013da70]
test rcx, rcx
je 0x14007e531
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x90]
call fcn.140001a0f
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14007e54c
call fcn.14008fd08
mov ebx, dword [rsp + 0x44]
test ebx, ebx
cmove ebx, dword [rsp + 0x40]
cmp ebx, 0x3ea
jne 0x14007e564
call fcn.140001a9b
mov eax, ebx
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14008d900
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret