Function at 0x1400f48c0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1402854d8]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rsi, rdx
mov edi, ecx
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x210
call fcn.140107f60
xor eax, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
mov dword [rsp + 0x70], eax
xor r15d, r15d
mov dword [rbp - 0x78], eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x78], xmm1
lea ebx, [r15 + 0xa]
call fcn.1400ef240
test eax, eax
jne 0x1400f496f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x1400f4954
cmp eax, 5
je 0x1400f4954
mov r8d, eax
lea rdx, str.Aborting:_Unable_to_Obtain_Instance_Lock__Error__d_n
lea ecx, [rbx - 7]
call fcn.1400495d0
mov eax, 0x3ec
jmp 0x1400f4dcb
lea rdx, str.Aborting:_Another_Instance_is_already_running_n
mov ecx, 3
call fcn.1400495d0
mov eax, 0x3ec
jmp 0x1400f4dcb
lea r8, [rbp - 0x70]
mov qword [rsp + 0x4f8], r14
mov rdx, rsi
mov ecx, edi
call fcn.1400f52b0
mov r14d, eax
mov esi, 1
test eax, eax
jne 0x1400f4d5f
call fcn.1400eb0d0
mov r14d, eax
test eax, eax
jne 0x1400f4d5f
call fcn.1400f2a20
call fcn.1400f2fd0
cmp dword [rbp - 0x64], r15d
je 0x1400f49fb
call fcn.1400ea6a0
mov rcx, qword [0x1402896b0]
call fcn.1400f6500
test eax, eax
jne 0x1400f49fb
nop word [rax + rax]
mov eax, ebx
dec ebx
test eax, eax
jle 0x1400f49f3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.DLL_Sleep]
mov rcx, qword [0x1402896b0]
call fcn.1400f6500
test eax, eax
je 0x1400f49d0
test ebx, ebx
jle 0x1400f4d5f
call fcn.1400f4240
mov r14d, eax
test eax, eax
jne 0x1400f4d5f
mov qword [rsp + 0x28], r15
lea r8, [0x1400f3f80]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov r15, rax
test rax, rax
jne 0x1400f4a51
lea rdx, str.Unable_to_create_worker_thread._n
lea ecx, [rax + 3]
call fcn.1400495d0
mov r14d, 0x3eb
mov dword [0x1402878b8], esi
jmp 0x1400f4d99
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [rbp - 0x64], 0
je 0x1400f4a86
mov rcx, qword [0x1402896b0]
mov edx, 5
call fcn.1400ef650
mov edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
jmp 0x1400f4d5f
mov eax, dword [0x1402878bc]
test eax, eax
jne 0x1400f4b39
cmp dword [0x1402892a4], eax
je 0x1400f4b39
cmp byte [rbp - 0x60], al
je 0x1400f4b39
lea rax, [rbp - 0x60]
mov dword [rsp + 0x60], 8
mov edx, 0x200
mov qword [rsp + 0x64], rax
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x6c], 0x200
call fcn.140130308
mov r8, qword [rsp + 0x64]
lea rdx, [0x140187014]
lea ecx, [rax + 1]
mov dword [rsp + 0x70], ecx
lea rcx, [rsp + 0x30]
call fcn.1400ee190
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
cmp qword [rsp + 0x7c], 0
mov eax, dword [rax + 0x10]
mov dword [rbp - 0x78], eax
je 0x1400f4b1c
lea rcx, [rsp + 0x78]
call fcn.1400f0180
mov rcx, qword [rsp + 0x7c]
test rcx, rcx
je 0x1400f4b1c
call fcn.140115d24
lea rcx, [rsp + 0x60]
call fcn.1400e9df0
mov eax, dword [0x1402878bc]
cmp dword [rbp - 0x68], 0
cmovne eax, esi
mov dword [0x1402878bc], eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400f4c67
test eax, eax
jne 0x1400f4c5d
mov qword [rsp + 0x4f0], r12
movabs r12, 0x100000601
mov r9d, 0x200
lea r8, [rbp + 0x1a0]
lea rdx, str.____n_s
call fcn.1400f5210
cmp eax, esi
jne 0x1400f4c4f
lea rax, [rbp + 0x1a0]
mov dword [rsp + 0x60], 8
mov edx, 0x200
mov qword [rsp + 0x64], rax
lea rcx, [rbp + 0x1a0]
mov dword [rsp + 0x6c], 0x200
call fcn.140130308
xor ebx, ebx
lea ecx, [rax + 1]
mov dword [rsp + 0x70], ecx
cmp ecx, 4
jb 0x1400f4be9
mov rdi, qword [rsp + 0x64]
lea r8d, [rbx + 3]
mov rcx, rdi
lea rdx, [0x1401901d8]
call fcn.140134acc
test eax, eax
jne 0x1400f4be9
movsx rax, byte [rdi + 3]
cmp al, 0x20
ja 0x1400f4be9
bt r12, rax
jae 0x1400f4be9
mov ebx, esi
test ebx, ebx
jne 0x1400f4c3c
mov r8, qword [rsp + 0x64]
lea rdx, [0x140187014]
lea rcx, [rsp + 0x30]
call fcn.1400ee190
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
cmp qword [rsp + 0x7c], 0
mov eax, dword [rax + 0x10]
mov dword [rbp - 0x78], eax
je 0x1400f4c32
lea rcx, [rsp + 0x78]
call fcn.1400f0180
mov rcx, qword [rsp + 0x7c]
test rcx, rcx
je 0x1400f4c32
call fcn.140115d24
lea rcx, [rsp + 0x60]
call fcn.1400e9df0
mov eax, dword [0x1402878bc]
test eax, eax
jne 0x1400f4c55
mov rcx, qword [rbp - 0x70]
jmp 0x1400f4b60
mov eax, dword [0x1402878bc]
mov r12, qword [rsp + 0x4f0]
cmp dword [rbp - 0x68], 0
jne 0x1400f4d59
test eax, eax
jne 0x1400f4d5f
nop
cmp dword [0x1402892a4], 0
je 0x1400f4d48
lea rcx, [rsp + 0x48]
call fcn.1400eb8e0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
mov rbx, qword [rsp + 0x34]
test rbx, rbx
je 0x1400f4cae
mov rdx, rbx
mov ecx, 3
call fcn.1400495d0
mov rcx, rbx
call fcn.140115d24
xor ecx, ecx
call fcn.14014e200
mov r8, rax
lea rcx, [rbp + 0x1a0]
mov edx, 0x200
call fcn.140147fac
test rax, rax
je 0x1400f4d5f
mov edx, 0x200
lea rcx, [rbp + 0x1a0]
call fcn.140130308
lea r8, [rbp + 0x1a0]
mov ecx, 2
lea rdx, [0x14018b75c]
call fcn.1400495d0
lea rax, [rbp + 0x1a0]
mov dword [rsp + 0x60], 8
mov edx, 0x200
mov qword [rsp + 0x64], rax
lea rcx, [rbp + 0x1a0]
mov dword [rsp + 0x6c], 0x200
call fcn.140130308
lea ecx, [rax + 1]
mov dword [rsp + 0x70], ecx
lea rcx, [rsp + 0x60]
call fcn.1400e9df0
cmp dword [0x1402878bc], 0
je 0x1400f4c70
jmp 0x1400f4d5f
lea rdx, str.Exiting..._n
mov ecx, 3
call fcn.1400495d0
mov dword [0x1402878bc], esi
mov dword [0x1402878b8], esi
test r15, r15
je 0x1400f4d99
mov rcx, qword [0x1402896b0]
lea rdx, str.Waiting_For_EVENT_Thread_To_Exit..._n
call fcn.1400ef700
call fcn.1400745a0
mov edx, 0x1388
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.14004b230
call fcn.1400ea650
call fcn.1400f28a0
call fcn.1400eaf20
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400f4dbb
call fcn.140147764
call fcn.1400ef2b0
mov eax, r14d
mov r14, qword [rsp + 0x4f8]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140106650
add rsp, 0x4b0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret