Function at 0x1400995f0
Capabilities:
Create thread

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 - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140188050]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rsi, rdx
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x118
call fcn.1400082a0
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x250
call fcn.1400082a0
xor r15d, r15d
mov r14d, 1
xor r9d, r9d
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov dword [rsp + 0x40], r15d
mov edx, r14d
xor ecx, ecx
lea ebx, [r15 + 0x64]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14019f3e0], rax
test rax, rax
je 0x140099882
lea r8, [rsp + 0x50]
mov rdx, rsi
mov ecx, edi
call fcn.14009a6d0
test eax, eax
jne 0x140099882
lea rax, [rbp + 0x70]
mov dword [rsp + 0x30], 0x4001c
mov qword [rsp + 0x28], rax
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
lea rax, [0x140098bb0]
xor r9d, r9d
mov r8d, r14d
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x70]
call fcn.140006200
test eax, eax
jne 0x1400996e6
lea rdx, str.Error:__Unable_to_create_IPC_channel._n
lea ecx, [rbx - 0x61]
call fcn.14000c900
jmp 0x140099882
lea rcx, [rbp + 0x70]
call fcn.140005220
test eax, eax
jne 0x14009972d
mov eax, ebx
dec ebx
test eax, eax
jle 0x140099713
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x70]
call fcn.140005220
test eax, eax
je 0x1400996f3
test ebx, ebx
jg 0x14009972d
lea rdx, str.Error:__Unable_to_connect_to_server._n
mov ecx, 3
call fcn.14000c900
jmp 0x140099882
mov eax, dword [0x140189568]
test eax, eax
jne 0x14009976f
cmp byte [rsp + 0x60], r15b
je 0x14009976f
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.14009a990
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.140009610
mov eax, dword [0x140189568]
cmp dword [rsp + 0x58], r15d
cmovne eax, r14d
mov dword [0x140189568], eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140099828
test eax, eax
jne 0x140099828
movabs rbx, 0x100000601
nop
mov r9d, 0x101
lea r8, [rbp + 0x2c0]
lea rdx, str.____n_s
call fcn.140003c60
cmp eax, r14d
jne 0x140099828
mov edx, 0x101
lea rcx, [rbp + 0x2c0]
call fcn.14000d820
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x1400997f5
mov r8d, 3
lea rdx, [0x1401459dc]
lea rcx, [rbp + 0x2c0]
call fcn.140003280
test eax, eax
jne 0x1400997f5
movzx eax, byte [rbp + 0x2c3]
cmp al, 0x20
ja 0x1400997f5
bt rbx, rax
jb 0x140099815
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x70]
call fcn.14009a990
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x70]
call fcn.140009610
cmp dword [0x140189568], r15d
jne 0x140099828
mov rcx, qword [rsp + 0x50]
jmp 0x140099790
mov qword [rsp + 0x28], r15
lea r9, [rbp + 0x70]
lea r8, [0x140098d40]
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14009986d
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.14000c900
jmp 0x140099882
or r9d, 0xffffffff
lea rdx, [rsp + 0x48]
xor r8d, r8d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp qword [rsp + 0x48], r15
je 0x1400998d2
mov dword [0x140189568], r14d
call fcn.14009aad0
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.1400061a0
mov rcx, qword [0x14019f3e0]
test rcx, rcx
je 0x1400998f4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019f3e0], r15
mov rcx, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x40]
test rcx, rcx
je 0x140099907
call fcn.140009ff0
cmp ebx, 0x3ea
jne 0x140099914
call fcn.14000e180
mov eax, ebx
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14000d260
lea r11, [rsp + 0x4e0]
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