Function at 0x14007d6c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov ebx, ecx
mov rdi, rdx
lea rcx, [rsp + 0x58]
xor r14d, r14d
xor edx, edx
mov r8d, 0x118
mov qword [rsp + 0x50], r14
call fcn.14008ca20
lea rcx, [rbp + 0x78]
xor edx, edx
mov r8d, 0x248
mov qword [rbp + 0x70], r14
call fcn.14008ca20
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, ebx
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], r14d
lea esi, [r14 + 0x64]
call fcn.14007ead0
lea edi, [rsi - 0x63]
test eax, eax
jne 0x14007d930
lea rax, [rbp + 0x70]
mov dword [rsp + 0x30], 0x40008
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
mov qword [rsp + 0x28], rax
lea rax, [0x14007c830]
lea rcx, [rbp + 0x70]
xor r9d, r9d
mov r8d, edi
mov qword [rsp + 0x20], rax
call fcn.140001a23
test eax, eax
jne 0x14007d795
lea rdx, str.Error:__Unable_to_create_IPC_channel._n
lea ecx, [rsi - 0x61]
call fcn.1400013e3
jmp 0x14007d930
lea rcx, [rbp + 0x70]
call fcn.1400017b2
test eax, eax
jne 0x14007d7dc
mov eax, esi
dec esi
test eax, eax
jle 0x14007d7c2
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x70]
call fcn.1400017b2
test eax, eax
je 0x14007d7a2
test esi, esi
jg 0x14007d7dc
lea rdx, str.Error:__Unable_to_connect_to_server._n
mov ecx, 3
call fcn.1400013e3
jmp 0x14007d930
mov eax, dword [0x140127a68]
test eax, eax
jne 0x14007d81d
cmp byte [rsp + 0x6c], r14b
je 0x14007d81d
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x70]
call fcn.14007ef70
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x70]
call fcn.1400016a9
mov eax, dword [0x140127a68]
cmp dword [rsp + 0x64], r14d
cmovne eax, edi
mov dword [0x140127a68], eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007d8d7
test eax, eax
jne 0x14007d8d7
movabs rbx, 0x100000601
nop dword [rax]
lea r8, [rbp + 0x2c0]
lea rdx, str.____n_s
mov r9d, 0x101
call fcn.140095e94
cmp eax, edi
jne 0x14007d8d7
lea rcx, [rbp + 0x2c0]
mov edx, 0x101
call fcn.14008d154
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x14007d8a4
lea rdx, [0x1400ea7dc]
lea rcx, [rbp + 0x2c0]
mov r8d, 3
call fcn.14008eacc
test eax, eax
jne 0x14007d8a4
movzx eax, byte [rbp + 0x2c3]
cmp al, 0x20
ja 0x14007d8a4
bt rbx, rax
jb 0x14007d8c4
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x70]
call fcn.14007ef70
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x70]
call fcn.1400016a9
cmp dword [0x140127a68], r14d
jne 0x14007d8d7
mov rcx, qword [rsp + 0x50]
jmp 0x14007d840
lea r9, [rbp + 0x70]
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 0x14007d91c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error:_Unable_to_create_client_thread._Status___d_n
mov ecx, 3
mov r8d, eax
call fcn.1400013e3
jmp 0x14007d930
lea rdx, [rsp + 0x48]
or r9d, 0xffffffff
xor r8d, r8d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp qword [rsp + 0x48], r14
je 0x14007d97f
mov dword [0x140127a68], edi
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 + 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]
lea rcx, [rbp + 0x70]
call fcn.140001a0f
mov rcx, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x40]
test rcx, rcx
je 0x14007d99b
call fcn.14008fd08
cmp ebx, 0x3ea
jne 0x14007d9a8
call fcn.140001a9b
mov eax, ebx
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14008d900
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret