Function at 0x140080da0
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 [0x14016c1f0]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rsi, rdx
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x120
call fcn.1400033e1
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x250
call fcn.1400033e1
xor eax, eax
xor r14d, r14d
xorps xmm0, xmm0
mov qword [rsp + 0x58], r14
mov r15d, 1
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov dword [rsp + 0x40], r14d
mov edx, r15d
mov dword [rsp + 0x44], r14d
xor ecx, ecx
lea ebx, [rax + 0x64]
movdqu xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1401835f0], rax
test rax, rax
je 0x1400810bf
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140183678], rax
test rax, rax
je 0x1400810bf
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, edi
call fcn.140081620
test eax, eax
jne 0x1400810bf
mov eax, dword [rsp + 0x78]
lea r8, [rsp + 0x58]
mov rdx, rsi
mov dword [0x140182f78], eax
mov ecx, edi
call fcn.140081e00
test eax, eax
jne 0x1400810bf
lea rax, [rbp + 0x90]
mov dword [rsp + 0x30], 0x40008
mov qword [rsp + 0x28], rax
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
lea rax, [0x14007f590]
xor r9d, r9d
mov r8d, r15d
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x90]
call fcn.1400029b9
test eax, eax
je 0x1400810bf
lea rcx, [rbp + 0x90]
call fcn.1400024b4
test eax, eax
jne 0x140080f3d
nop word [rax + rax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x140080f23
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x90]
call fcn.1400024b4
test eax, eax
je 0x140080f00
test ebx, ebx
jg 0x140080f3d
lea rdx, str.Unable_to_connect_IPC._n
mov ecx, 3
call fcn.1400049c1
jmp 0x1400810bf
mov rcx, qword [0x1401835f0]
test rcx, rcx
je 0x140080f54
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x14016d6f8]
test eax, eax
jne 0x140080f98
cmp byte [rbp - 0x74], r14b
je 0x140080f98
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x90]
call fcn.140081a50
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x90]
call fcn.1400039ef
mov eax, dword [0x14016d6f8]
cmp dword [rbp - 0x7c], r14d
cmovne eax, r15d
mov dword [0x14016d6f8], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140081062
test eax, eax
jne 0x140081062
movabs rbx, 0x100000601
nop dword [rax + rax]
mov r9d, 0x101
lea r8, [rbp + 0x2e0]
lea rdx, str.____n_s
call fcn.140001df7
cmp eax, r15d
jne 0x140081062
mov edx, 0x101
lea rcx, [rbp + 0x2e0]
call fcn.140004e71
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x140081029
mov r8d, 3
lea rdx, [0x14012ac14]
lea rcx, [rbp + 0x2e0]
call fcn.140001ae6
test eax, eax
jne 0x140081029
movzx eax, byte [rbp + 0x2e3]
cmp al, 0x20
ja 0x140081029
bt rbx, rax
jb 0x14008104f
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x90]
call fcn.140081a50
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x90]
call fcn.1400039ef
cmp dword [0x14016d6f8], r14d
jne 0x140081062
mov rcx, qword [rsp + 0x70]
jmp 0x140080fc0
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x90]
lea r8, [0x14007f6b0]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14008109f
lea rdx, str.Unable_to_create_IPC_thread._n
lea ecx, [rax + 3]
call fcn.1400049c1
jmp 0x1400810bf
mov rax, qword [rsp + 0x58]
lea rdx, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x50], rax
or r9d, 0xffffffff
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14008110f
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140081104
cmp dword [rsp + 0x44], 0x103
jne 0x1400810ff
mov rcx, qword [rsp + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x44], r14d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14008111f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x48], r14
je 0x14008116f
mov dword [0x14016d6f8], r15d
call fcn.140081b80
mov rcx, qword [rsp + 0x48]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [rsp + 0x40]
mov edx, 0x3eb
test eax, eax
cmove ecx, edx
mov dword [rsp + 0x40], ecx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1401835f0]
test rax, rax
je 0x140081184
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x90]
call fcn.140002996
mov rcx, qword [0x140183678]
test rcx, rcx
je 0x1400811a9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140183678], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400811b8
call fcn.140003cfb
mov ebx, dword [rsp + 0x40]
test ebx, ebx
cmove ebx, dword [rsp + 0x44]
cmp ebx, 0x3ea
jne 0x1400811d0
call fcn.140002027
mov eax, ebx
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140004ca5
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