Function at 0x140065ac0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x1400fae80]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov edi, ecx
mov rsi, rdx
lea rcx, [rbp - 0x68]
xor r13d, r13d
xor edx, edx
mov r8d, 0x118
mov qword [rbp - 0x70], r13
call fcn.14006c5d0
lea rcx, [rbp + 0xb8]
xor edx, edx
mov r8d, 0x248
mov r14d, r13d
mov qword [rbp + 0xb0], r13
call fcn.14006c5d0
xor eax, eax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
lea ebx, [r13 + 0x64]
mov dword [rsp + 0x40], r13d
mov r15d, r13d
call fcn.140001212
test eax, eax
jne 0x140065b97
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140065b7c
cmp eax, 5
je 0x140065b7c
lea rdx, str.Aborting:_Unable_to_Obtain_Instance_Lock__Error__d_n
lea ecx, [rbx - 0x61]
mov r8d, eax
call fcn.140001410
mov eax, 0x3ec
jmp 0x140065ff6
lea rdx, str.Aborting:_Another_Instance_is_already_running_n
mov ecx, 3
call fcn.140001410
mov eax, 0x3ec
jmp 0x140065ff6
lea r8, [rbp - 0x70]
mov rdx, rsi
mov ecx, edi
call fcn.140066ad0
mov esi, 1
mov edi, eax
test eax, eax
jne 0x140065f83
mov ecx, dword [rbp - 0x68]
mov dword [0x140112fcc], ecx
mov ecx, dword [rbp - 0x64]
mov dword [0x1400f6e20], ecx
mov ecx, dword [rbp - 0x60]
mov dword [0x140112fc8], ecx
cmp dword [rbp - 0x58], r13d
je 0x140065c6f
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x30], 0x20008
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
mov qword [rsp + 0x28], rax
lea rax, [0x140001b95]
lea rcx, [rbp + 0xb0]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.1400019ba
test eax, eax
jne 0x140065c26
mov edi, 0x3eb
mov dword [0x1400fd584], esi
jmp 0x140065fb8
lea rcx, [rbp + 0xb0]
call fcn.140001762
test eax, eax
jne 0x140065c61
mov eax, ebx
dec ebx
test eax, eax
jle 0x140065c59
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0xb0]
call fcn.140001762
test eax, eax
je 0x140065c36
test ebx, ebx
jle 0x140065f83
lea rax, [rbp + 0xb0]
mov qword [0x140113650], rax
call fcn.140001a78
lea r8, [0x140001208]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov r15d, esi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
test rax, rax
jne 0x140065cbc
lea rdx, str.Unable_to_create_worker_thread._n
lea ecx, [rax + 3]
call fcn.140001410
mov edi, 0x3eb
mov dword [0x1400fd584], esi
jmp 0x140065fb8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.140001898
cmp dword [rbp - 0x58], r13d
je 0x140065d08
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0xb0]
mov r8d, 8
mov dword [rbp + 0x300], 5
call fcn.140001497
or edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140065f83
mov eax, dword [0x1400fd588]
test eax, eax
jne 0x140065d8b
cmp byte [rbp - 0x54], r13b
je 0x140065d8b
lea rcx, [rbp - 0x54]
mov edx, 0x101
call fcn.14006c9b0
lea r8, [rbp - 0x54]
lea rdx, [0x1400bfa34]
lea rcx, [rsp + 0x58]
call fcn.140001406
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x44], r13
je 0x140065d6a
lea rcx, [rsp + 0x40]
call fcn.1400019ab
mov rcx, qword [rsp + 0x44]
test rcx, rcx
je 0x140065d6a
call fcn.14006c470
lea rcx, [rbp - 0x54]
call fcn.1400017c1
call fcn.140066e70
mov eax, dword [0x1400fd588]
cmp dword [rbp - 0x5c], r13d
cmovne eax, esi
mov dword [0x1400fd588], eax
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0x560], r12
test rcx, rcx
je 0x140065e97
test eax, eax
jne 0x140065f7b
movabs r12, 0x100000601
lea r8, [rbp + 0x310]
lea rdx, str.____n_s
mov r9d, 0x101
call fcn.140075328
cmp eax, esi
jne 0x140065e91
lea rcx, [rbp + 0x310]
mov edx, 0x101
call fcn.14006c9b0
mov ebx, r13d
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x140065e1f
lea rdx, [0x1400c7274]
lea rcx, [rbp + 0x310]
mov r8d, 3
call fcn.14006e458
test eax, eax
jne 0x140065e1f
movzx eax, byte [rbp + 0x313]
cmp al, 0x20
ja 0x140065e1f
bt r12, rax
jae 0x140065e1f
mov ebx, esi
test ebx, ebx
jne 0x140065e7b
lea r8, [rbp + 0x310]
lea rdx, [0x1400bfa34]
lea rcx, [rsp + 0x58]
call fcn.140001406
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x44], r13
je 0x140065e6a
lea rcx, [rsp + 0x40]
call fcn.1400019ab
mov rcx, qword [rsp + 0x44]
test rcx, rcx
je 0x140065e6a
call fcn.14006c470
lea rcx, [rbp + 0x310]
call fcn.1400017c1
call fcn.140066e70
cmp dword [0x1400fd588], r13d
jne 0x140065f7b
mov rcx, qword [rbp - 0x70]
jmp 0x140065db2
mov eax, dword [0x1400fd588]
test eax, eax
jne 0x140065f7b
nop
cmp dword [0x140112fd8], r13d
je 0x140065f64
lea rdx, [0x1400fda80]
lea rcx, [rsp + 0x70]
call fcn.1400010c8
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x68], eax
movups xmmword [rsp + 0x58], xmm0
mov rbx, qword [rsp + 0x5c]
test rbx, rbx
je 0x140065eec
mov rdx, rbx
mov ecx, 3
call fcn.140001410
mov rcx, rbx
call fcn.14006c470
call fcn.140075174
lea rcx, [rbp + 0x310]
mov edx, 0x100
mov r8, rax
call fcn.14006f6fc
test rax, rax
je 0x140065f7b
lea rcx, [rbp + 0x310]
mov edx, 0x100
call fcn.14006c9b0
lea r8, [rbp + 0x310]
lea rdx, [0x1400c35a0]
mov ecx, 2
call fcn.140001410
lea rcx, [rbp + 0x310]
mov edx, 0x101
call fcn.14006c9b0
lea rcx, [rbp + 0x310]
call fcn.1400017c1
call fcn.140066e70
cmp dword [0x1400fd588], r13d
je 0x140065ea0
jmp 0x140065f7b
lea rdx, str.Exiting..._n
mov ecx, 3
call fcn.140001410
mov dword [0x1400fd588], esi
mov r12, qword [rsp + 0x560]
mov dword [0x1400fd584], esi
test r14, r14
je 0x140065fb8
lea rdx, str.Waiting_For_EVENT_Thread_To_Exit..._n
lea rcx, [rbp + 0xb0]
call fcn.14000167c
mov edx, 0x1388
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0xb0]
call fcn.14000137f
lea rcx, [rbp + 0xb0]
mov qword [0x140113650], r13
call fcn.1400019a6
test r15d, r15d
je 0x140065fe1
call fcn.140001b18
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140065fef
call fcn.14006f694
call fcn.14000122b
mov eax, edi
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.14006cfe0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret