Function at 0x14007a1c0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1401b89e8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rdx
mov edi, ecx
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, pe_nt_image_headers64
call fcn.14008b040
xor eax, eax
xor r15d, r15d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
lea ebx, [r15 + 0xa]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
call fcn.140078420
test eax, eax
jne 0x14007a274
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
je 0x14007a259
cmp eax, 5
je 0x14007a259
mov r8d, eax
lea rdx, str.Aborting:_Unable_to_Obtain_Instance_Lock__Error__d_n
lea ecx, [rbx - 7]
call fcn.140010a00
mov eax, 0x3ec
jmp 0x14007a6c3
lea rdx, str.Aborting:_Another_Instance_is_already_running_n
mov ecx, 3
call fcn.140010a00
mov eax, 0x3ec
jmp 0x14007a6c3
lea r8, [rbp - 0x70]
mov qword [rsp + 0x318], r14
mov rdx, rsi
mov ecx, edi
call fcn.14007ab30
mov r14d, eax
mov esi, 1
test eax, eax
jne 0x14007a657
call fcn.140075930
mov r14d, eax
test eax, eax
jne 0x14007a657
call fcn.140078eb0
cmp dword [rbp - 0x64], r15d
je 0x14007a2fb
call fcn.1400753b0
mov rcx, qword [0x1401bcd18]
call fcn.14007bcd0
test eax, eax
jne 0x14007a2fb
nop word [rax + rax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x14007a2f3
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [0x1401bcd18]
call fcn.14007bcd0
test eax, eax
je 0x14007a2d0
test ebx, ebx
jle 0x14007a657
call fcn.140079cf0
mov r14d, eax
test eax, eax
jne 0x14007a657
mov qword [rsp + 0x28], r15
lea r8, [0x140079b20]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r15, rax
test rax, rax
jne 0x14007a351
lea rdx, str.Unable_to_create_worker_thread._n
lea ecx, [rax + 3]
call fcn.140010a00
mov r14d, 0x3eb
mov dword [0x1401bb084], esi
jmp 0x14007a691
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
cmp dword [rbp - 0x64], 0
je 0x14007a384
mov rcx, qword [0x1401bcd18]
mov edx, 5
call fcn.1400786f0
or edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
jmp 0x14007a657
mov eax, dword [0x1401bb088]
test eax, eax
jne 0x14007a438
cmp dword [0x1401bcc40], eax
je 0x14007a438
cmp byte [rbp - 0x60], al
je 0x14007a438
lea rax, [rbp - 0x60]
mov dword [rsp + 0x30], 8
mov edx, 0x101
mov qword [rsp + 0x34], rax
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x3c], 0x101
call fcn.1400b0240
mov r8, qword [rsp + 0x34]
lea rdx, [0x1400fdb34]
lea ecx, [rax + 1]
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x60]
call fcn.140077df0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
cmp qword [rsp + 0x4c], 0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
je 0x14007a41b
lea rcx, [rsp + 0x48]
call fcn.140078d00
mov rcx, qword [rsp + 0x4c]
test rcx, rcx
je 0x14007a41b
call fcn.140096ac0
lea rcx, [rsp + 0x30]
call fcn.140074ea0
mov eax, dword [0x1401bb088]
cmp dword [rbp - 0x68], 0
cmovne eax, esi
mov dword [0x1401bb088], eax
mov rcx, qword [rbp - 0x70]
mov qword [rsp + 0x310], r12
test rcx, rcx
je 0x14007a558
test eax, eax
jne 0x14007a64f
movabs r12, 0x100000601
nop
mov r9d, 0x101
lea r8, [rbp + 0xb0]
lea rdx, str.____n_s
call fcn.14007aae0
cmp eax, esi
jne 0x14007a552
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x30], 8
mov edx, 0x101
mov qword [rsp + 0x34], rax
lea rcx, [rbp + 0xb0]
mov dword [rsp + 0x3c], 0x101
call fcn.1400b0240
xor ebx, ebx
lea ecx, [rax + 1]
mov dword [rsp + 0x40], ecx
cmp ecx, 4
jb 0x14007a4e8
mov rdi, qword [rsp + 0x34]
lea r8d, [rbx + 3]
mov rcx, rdi
lea rdx, [0x14010c7e4]
call fcn.1400b47bc
test eax, eax
jne 0x14007a4e8
movzx eax, byte [rdi + 3]
cmp al, 0x20
ja 0x14007a4e8
bt r12, rax
jae 0x14007a4e8
mov ebx, esi
test ebx, ebx
jne 0x14007a53c
mov r8, qword [rsp + 0x34]
lea rdx, [0x1400fdb34]
lea rcx, [rsp + 0x60]
call fcn.140077df0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
cmp qword [rsp + 0x4c], 0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
je 0x14007a532
lea rcx, [rsp + 0x48]
call fcn.140078d00
mov rcx, qword [rsp + 0x4c]
test rcx, rcx
je 0x14007a532
call fcn.140096ac0
lea rcx, [rsp + 0x30]
call fcn.140074ea0
cmp dword [0x1401bb088], 0
jne 0x14007a64f
mov rcx, qword [rbp - 0x70]
jmp 0x14007a460
mov eax, dword [0x1401bb088]
test eax, eax
jne 0x14007a64f
cmp dword [0x1401bcc40], 0
je 0x14007a638
lea rcx, [rsp + 0x78]
call fcn.140075ef0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
mov rbx, qword [rsp + 0x64]
test rbx, rbx
je 0x14007a59e
mov rdx, rbx
mov ecx, 3
call fcn.140010a00
mov rcx, rbx
call fcn.140096ac0
xor ecx, ecx
call fcn.1400cdf60
mov r8, rax
lea rcx, [rbp + 0xb0]
mov edx, 0x100
call fcn.1400c8160
test rax, rax
je 0x14007a64f
mov edx, 0x100
lea rcx, [rbp + 0xb0]
call fcn.1400b0240
lea r8, [rbp + 0xb0]
mov ecx, 2
lea rdx, [0x140102074]
call fcn.140010a00
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x30], 8
mov edx, 0x101
mov qword [rsp + 0x34], rax
lea rcx, [rbp + 0xb0]
mov dword [rsp + 0x3c], 0x101
call fcn.1400b0240
lea ecx, [rax + 1]
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x30]
call fcn.140074ea0
cmp dword [0x1401bb088], 0
je 0x14007a560
jmp 0x14007a64f
lea rdx, str.Exiting..._n
mov ecx, 3
call fcn.140010a00
mov dword [0x1401bb088], esi
mov r12, qword [rsp + 0x310]
mov dword [0x1401bb084], esi
test r15, r15
je 0x14007a691
mov rcx, qword [0x1401bcd18]
lea rdx, str.Waiting_For_EVENT_Thread_To_Exit..._n
call fcn.1400787b0
call fcn.14002e5b0
mov edx, 0x1388
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
call fcn.140013340
call fcn.140075360
call fcn.140078e00
call fcn.1400758f0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14007a6b3
call fcn.1400c7908
call fcn.140078490
mov eax, r14d
mov r14, qword [rsp + 0x318]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400897c0
add rsp, 0x2d0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret