Function at 0x14009c690
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rdx
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x118
call fcn.1400ad180
xor eax, eax
xorps xmm0, xmm0
xor r14d, r14d
mov qword [rsp + 0x40], rax
mov r15d, 1
mov dword [rbp + 0x70], r14d
xor r9d, r9d
mov dword [rbp + 0x74], r14d
xor r8d, r8d
lea ebx, [rax + 0xa]
mov edx, r15d
xor ecx, ecx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rbp + 0x78], xmm0
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov qword [0x1402199d8], rax
test rax, rax
je 0x14009c944
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov qword [0x140219a20], rax
test rax, rax
je 0x14009c944
lea r8, [rsp + 0x50]
mov rdx, rsi
mov ecx, edi
call fcn.14009cb10
test eax, eax
jne 0x14009c944
lea r8, [rsp + 0x30]
mov rdx, rsi
mov ecx, edi
call fcn.14009cfa0
test eax, eax
jne 0x14009c944
call fcn.140093060
test eax, eax
jne 0x14009c944
mov rcx, qword [0x1402195d8]
call fcn.14009dd30
test eax, eax
jne 0x14009c7c4
mov eax, ebx
dec ebx
test eax, eax
jle 0x14009c7aa
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.DLL_Sleep]
mov rcx, qword [0x1402195d8]
call fcn.14009dd30
test eax, eax
je 0x14009c787
test ebx, ebx
jg 0x14009c7c4
lea rdx, str.Unable_to_connect_IPC._n
mov ecx, 3
call fcn.1400127d0
jmp 0x14009c944
mov rcx, qword [0x1402199d8]
test rcx, rcx
je 0x14009c7db
mov edx, 0x1388
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [0x14021774c]
test eax, eax
jne 0x14009c823
cmp byte [rsp + 0x60], r14b
je 0x14009c823
mov rcx, qword [0x1402195d8]
lea rdx, [rsp + 0x60]
call fcn.14009cdd0
mov rcx, qword [0x1402195d8]
lea rdx, [rsp + 0x60]
call fcn.140098360
mov eax, dword [0x14021774c]
cmp dword [rsp + 0x58], r14d
cmovne eax, r15d
mov dword [0x14021774c], eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14009c8e5
test eax, eax
jne 0x14009c8e5
movabs rbx, 0x100000601
mov r9d, 0x101
lea r8, [rbp + 0x90]
lea rdx, str.____n_s
call fcn.14009ca70
cmp eax, r15d
jne 0x14009c8e5
mov edx, 0x101
lea rcx, [rbp + 0x90]
call fcn.1400d5428
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x14009c8ac
mov r8d, 3
lea rdx, [0x14013e708]
lea rcx, [rbp + 0x90]
call fcn.1400d9bec
test eax, eax
jne 0x14009c8ac
mov rax, qword [rbp + 0x93]
cmp al, 0x20
ja 0x14009c8ac
bt rbx, rax
jb 0x14009c8d2
mov rcx, qword [0x1402195d8]
lea rdx, [rbp + 0x90]
call fcn.14009cdd0
mov rcx, qword [0x1402195d8]
lea rdx, [rbp + 0x90]
call fcn.140098360
cmp dword [0x14021774c], r14d
jne 0x14009c8e5
mov rcx, qword [rsp + 0x50]
jmp 0x14009c843
mov r9, qword [0x1402195d8]
lea r8, [0x14009b6e0]
mov qword [rsp + 0x28], r14
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rbp + 0x78], rax
test rax, rax
jne 0x14009c921
lea rdx, str.Unable_to_create_IPC_thread._n
lea ecx, [rax + 3]
call fcn.1400127d0
jmp 0x14009c944
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0x78]
xor r8d, r8d
mov qword [rbp + 0x80], rax
mov r9d, 0xffffffff
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009c991
mov edx, 0x1388
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x74]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x14009c986
cmp dword [rbp + 0x74], 0x103
jne 0x14009c982
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov dword [rbp + 0x74], r14d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14009c9a1
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp qword [rbp + 0x78], r14
je 0x14009c9ea
mov dword [0x14021774c], r15d
call fcn.14009ced0
mov rcx, qword [rbp + 0x78]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rbp + 0x78]
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
mov ecx, dword [rbp + 0x70]
mov edx, 0x3eb
test eax, eax
cmove ecx, edx
mov dword [rbp + 0x70], ecx
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [0x1402199d8]
test rax, rax
je 0x14009c9ff
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.140093010
mov rcx, qword [0x140219a20]
test rcx, rcx
je 0x14009ca1d
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [0x140219a20], r14
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14009ca2c
call fcn.1400ec884
mov ebx, dword [rbp + 0x70]
test ebx, ebx
cmove ebx, dword [rbp + 0x74]
cmp ebx, 0x3ea
jne 0x14009ca42
call fcn.1400a2780
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400ab870
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret