Function at 0x1400806d0
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 [0x14016c1f0]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rsi, rdx
mov edi, ecx
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x120
call fcn.1400033e1
xor r13d, r13d
lea rcx, [rbp + 0xb0]
xor edx, edx
mov r8d, 0x250
mov r14d, r13d
call fcn.1400033e1
xor eax, eax
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x44], rax
lea ebx, [r13 + 0x64]
mov qword [rsp + 0x4c], rax
mov r15d, r13d
call fcn.14000384b
test eax, eax
jne 0x14008079c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140080781
cmp eax, 5
je 0x140080781
mov r8d, eax
lea rdx, str.Aborting:_Unable_to_Obtain_Instance_Lock__Error__d_n
lea ecx, [rbx - 0x61]
call fcn.1400049c1
mov eax, 0x3ec
jmp 0x140080c11
lea rdx, str.Aborting:_Another_Instance_is_already_running_n
mov ecx, 3
call fcn.1400049c1
mov eax, 0x3ec
jmp 0x140080c11
lea r8, [rbp - 0x70]
mov rdx, rsi
mov ecx, edi
call fcn.140081620
mov edi, eax
mov esi, 1
test eax, eax
jne 0x140080b9e
mov ecx, dword [rbp - 0x68]
mov dword [0x140182f78], ecx
mov ecx, dword [rbp - 0x64]
mov dword [0x1401683ac], ecx
mov ecx, dword [rbp - 0x60]
mov dword [0x140182fb8], ecx
cmp dword [rbp - 0x58], r13d
je 0x140080879
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x30], 0x40008
mov qword [rsp + 0x28], rax
lea rdx, str..pipe14579667_532A_42C2_9200_FD0544E09B90
lea rax, [0x140003b34]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xb0]
call fcn.1400029b9
test eax, eax
jne 0x14008082b
mov edi, 0x3eb
mov dword [0x14016d6f4], esi
jmp 0x140080bd3
lea rcx, [rbp + 0xb0]
call fcn.1400024b4
test eax, eax
jne 0x14008086b
nop dword [rax + rax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x140080863
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0xb0]
call fcn.1400024b4
test eax, eax
je 0x140080840
test ebx, ebx
jle 0x140080b9e
lea rax, [rbp + 0xb0]
mov qword [0x1401835f8], rax
call fcn.140002db0
xor r9d, r9d
mov qword [rsp + 0x28], r13
lea r8, [0x14000399a]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
mov r15d, esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
test rax, rax
jne 0x1400808c6
lea rdx, str.Unable_to_create_worker_thread._n
lea ecx, [rax + 3]
call fcn.1400049c1
mov edi, 0x3eb
mov dword [0x14016d6f4], esi
jmp 0x140080bd3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.140001cad
cmp dword [rbp - 0x58], r13d
je 0x140080912
mov r8d, 8
mov dword [rbp + 0x300], 5
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0xb0]
call fcn.140004be7
or edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140080b9e
mov eax, dword [0x14016d6f8]
test eax, eax
jne 0x1400809a2
cmp dword [0x140182f7c], r13d
je 0x1400809a2
cmp byte [rbp - 0x54], r13b
je 0x1400809a2
mov edx, 0x101
lea rcx, [rbp - 0x54]
call fcn.140004e71
lea r8, [rbp - 0x54]
lea rdx, [0x140124348]
lea rcx, [rsp + 0x58]
call fcn.140001974
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 0x140080981
lea rcx, [rsp + 0x40]
call fcn.140002af9
mov rcx, qword [rsp + 0x44]
test rcx, rcx
je 0x140080981
call fcn.140002d65
lea rcx, [rbp - 0x54]
call fcn.140001b36
call fcn.140081960
mov eax, dword [0x14016d6f8]
cmp dword [rbp - 0x5c], r13d
cmovne eax, esi
mov dword [0x14016d6f8], eax
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0x560], r12
test rcx, rcx
je 0x140080ab5
test eax, eax
jne 0x140080b96
movabs r12, 0x100000601
nop dword [rax]
mov r9d, 0x101
lea r8, [rbp + 0x310]
lea rdx, str.____n_s
call fcn.140001df7
cmp eax, esi
jne 0x140080aaf
mov edx, 0x101
lea rcx, [rbp + 0x310]
call fcn.140004e71
mov ebx, r13d
lea ecx, [rax + 1]
cmp ecx, 4
jb 0x140080a3d
mov r8d, 3
lea rdx, [0x14012ac14]
lea rcx, [rbp + 0x310]
call fcn.140001ae6
test eax, eax
jne 0x140080a3d
movzx eax, byte [rbp + 0x313]
cmp al, 0x20
ja 0x140080a3d
bt r12, rax
jae 0x140080a3d
mov ebx, esi
test ebx, ebx
jne 0x140080a99
lea r8, [rbp + 0x310]
lea rdx, [0x140124348]
lea rcx, [rsp + 0x58]
call fcn.140001974
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 0x140080a88
lea rcx, [rsp + 0x40]
call fcn.140002af9
mov rcx, qword [rsp + 0x44]
test rcx, rcx
je 0x140080a88
call fcn.140002d65
lea rcx, [rbp + 0x310]
call fcn.140001b36
call fcn.140081960
cmp dword [0x14016d6f8], r13d
jne 0x140080b96
mov rcx, qword [rbp - 0x70]
jmp 0x1400809d0
mov eax, dword [0x14016d6f8]
test eax, eax
jne 0x140080b96
nop dword [rax]
cmp dword [0x140182f7c], r13d
je 0x140080b7f
lea rdx, [0x14016d8d0]
lea rcx, [rsp + 0x70]
call fcn.140001181
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
mov rbx, qword [rsp + 0x5c]
test rbx, rbx
je 0x140080b05
mov rdx, rbx
mov ecx, 3
call fcn.1400049c1
mov rcx, rbx
call fcn.140002d65
xor ecx, ecx
call fcn.140001b3b
mov r8, rax
lea rcx, [rbp + 0x310]
mov edx, 0x100
call fcn.140004688
test rax, rax
je 0x140080b96
mov edx, 0x100
lea rcx, [rbp + 0x310]
call fcn.140004e71
lea r8, [rbp + 0x310]
mov ecx, 2
lea rdx, [0x140127f00]
call fcn.1400049c1
mov edx, 0x101
lea rcx, [rbp + 0x310]
call fcn.140004e71
lea rcx, [rbp + 0x310]
call fcn.140001b36
call fcn.140081960
cmp dword [0x14016d6f8], r13d
je 0x140080ac0
jmp 0x140080b96
lea rdx, str.Exiting..._n
mov ecx, 3
call fcn.1400049c1
mov dword [0x14016d6f8], esi
mov r12, qword [rsp + 0x560]
mov dword [0x14016d6f4], esi
test r14, r14
je 0x140080bd3
lea rdx, str.Waiting_For_EVENT_Thread_To_Exit..._n
lea rcx, [rbp + 0xb0]
call fcn.1400039ef
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.140003c1a
lea rcx, [rbp + 0xb0]
mov qword [0x1401835f8], r13
call fcn.140002996
test r15d, r15d
je 0x140080bfc
call fcn.140005394
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140080c0a
call fcn.140003cfb
call fcn.1400022a2
mov eax, edi
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140004ca5
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