Function at 0x140065700
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 [0x1400fae80]
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.14006c5d0
lea rcx, [rbp + 0x78]
xor edx, edx
mov r8d, 0x248
mov qword [rbp + 0x70], r14
call fcn.14006c5d0
lea r8, [rsp + 0x50]
mov rdx, rdi
mov ecx, ebx
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
lea esi, [r14 + 0x64]
call fcn.140066ad0
lea edi, [rsi - 0x63]
test eax, eax
jne 0x140065970
lea rax, [rbp + 0x70]
mov dword [rsp + 0x30], 0x20008
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
mov qword [rsp + 0x28], rax
lea rax, [0x140064900]
lea rcx, [rbp + 0x70]
xor r9d, r9d
mov r8d, edi
mov qword [rsp + 0x20], rax
call fcn.1400019ba
test eax, eax
jne 0x1400657d5
lea rdx, str.Error:__Unable_to_create_IPC_channel._n
lea ecx, [rsi - 0x61]
call fcn.140001410
jmp 0x140065970
lea rcx, [rbp + 0x70]
call fcn.140001762
test eax, eax
jne 0x14006581c
mov eax, esi
dec esi
test eax, eax
jle 0x140065802
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x70]
call fcn.140001762
test eax, eax
je 0x1400657e2
test esi, esi
jg 0x14006581c
lea rdx, str.Error:__Unable_to_connect_to_server._n
mov ecx, 3
call fcn.140001410
jmp 0x140065970
mov eax, dword [0x1400fd588]
test eax, eax
jne 0x14006585d
cmp byte [rsp + 0x6c], r14b
je 0x14006585d
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x70]
call fcn.140066f70
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x70]
call fcn.14000167c
mov eax, dword [0x1400fd588]
cmp dword [rsp + 0x64], r14d
cmovne eax, edi
mov dword [0x1400fd588], eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140065917
test eax, eax
jne 0x140065917
movabs rbx, 0x100000601
nop dword [rax]
lea r8, [rbp + 0x2c0]
lea rdx, str.____n_s
mov r9d, 0x101
call fcn.140075328
cmp eax, edi
jne 0x140065917
lea rcx, [rbp + 0x2c0]
mov edx, 0x101
call fcn.14006c9b0
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x1400658e4
lea rdx, [0x1400c7274]
lea rcx, [rbp + 0x2c0]
mov r8d, 3
call fcn.14006e458
test eax, eax
jne 0x1400658e4
movzx eax, byte [rbp + 0x2c3]
cmp al, 0x20
ja 0x1400658e4
bt rbx, rax
jb 0x140065904
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x70]
call fcn.140066f70
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x70]
call fcn.14000167c
cmp dword [0x1400fd588], r14d
jne 0x140065917
mov rcx, qword [rsp + 0x50]
jmp 0x140065880
lea r9, [rbp + 0x70]
lea r8, [0x140064a20]
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 + 0x40], rax
test rax, rax
jne 0x14006595c
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.140001410
jmp 0x140065970
lea rdx, [rsp + 0x40]
or r9d, 0xffffffff
xor r8d, r8d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp qword [rsp + 0x40], r14
je 0x1400659ad
mov dword [0x1400fd588], edi
call fcn.1400670a0
mov rcx, qword [rsp + 0x40]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x70]
call fcn.1400019a6
mov rcx, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x48]
test rcx, rcx
je 0x1400659c9
call fcn.14006f694
cmp ebx, 0x3ea
jne 0x1400659d6
call fcn.140001a28
mov eax, ebx
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14006cfe0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret