Function at 0x140080d40
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 [0x14016c4a0]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rsi, rdx
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, pe_nt_image_headers64
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 [0x1401838b0], rax
test rax, rax
je 0x14008105f
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140183938], rax
test rax, rax
je 0x14008105f
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, edi
call fcn.1400815c0
test eax, eax
jne 0x14008105f
mov eax, dword [rsp + 0x78]
lea r8, [rsp + 0x58]
mov rdx, rsi
mov dword [0x140183238], eax
mov ecx, edi
call fcn.140081da0
test eax, eax
jne 0x14008105f
lea rax, [rbp + 0x90]
mov dword [rsp + 0x30], 0x40008
mov qword [rsp + 0x28], rax
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
lea rax, [0x14007f460]
xor r9d, r9d
mov r8d, r15d
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x90]
call fcn.1400029b9
test eax, eax
je 0x14008105f
lea rcx, [rbp + 0x90]
call fcn.1400024b4
test eax, eax
jne 0x140080edd
nop word [rax + rax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x140080ec3
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x90]
call fcn.1400024b4
test eax, eax
je 0x140080ea0
test ebx, ebx
jg 0x140080edd
lea rdx, str.Unable_to_connect_IPC._n
mov ecx, 3
call fcn.1400049c1
jmp 0x14008105f
mov rcx, qword [0x1401838b0]
test rcx, rcx
je 0x140080ef4
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x14016d9b8]
test eax, eax
jne 0x140080f38
cmp byte [rbp - 0x74], r14b
je 0x140080f38
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x90]
call fcn.1400819f0
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x90]
call fcn.1400039ef
mov eax, dword [0x14016d9b8]
cmp dword [rbp - 0x7c], r14d
cmovne eax, r15d
mov dword [0x14016d9b8], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140081002
test eax, eax
jne 0x140081002
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 0x140081002
mov edx, 0x101
lea rcx, [rbp + 0x2e0]
call fcn.140004e71
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x140080fc9
mov r8d, 3
lea rdx, [0x14012ac84]
lea rcx, [rbp + 0x2e0]
call fcn.140001ae6
test eax, eax
jne 0x140080fc9
movzx eax, byte [rbp + 0x2e3]
cmp al, 0x20
ja 0x140080fc9
bt rbx, rax
jb 0x140080fef
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x90]
call fcn.1400819f0
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x90]
call fcn.1400039ef
cmp dword [0x14016d9b8], r14d
jne 0x140081002
mov rcx, qword [rsp + 0x70]
jmp 0x140080f60
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x90]
lea r8, [0x14007f580]
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 0x14008103f
lea rdx, str.Unable_to_create_IPC_thread._n
lea ecx, [rax + 3]
call fcn.1400049c1
jmp 0x14008105f
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 0x1400810af
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 0x1400810a4
cmp dword [rsp + 0x44], 0x103
jne 0x14008109f
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 0x1400810bf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x48], r14
je 0x14008110f
mov dword [0x14016d9b8], r15d
call fcn.140081b20
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 [0x1401838b0]
test rax, rax
je 0x140081124
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x90]
call fcn.140002996
mov rcx, qword [0x140183938]
test rcx, rcx
je 0x140081149
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140183938], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140081158
call fcn.140003cfb
mov ebx, dword [rsp + 0x40]
test ebx, ebx
cmove ebx, dword [rsp + 0x44]
cmp ebx, 0x3ea
jne 0x140081170
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