Function at 0x18000ff00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x18002a040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x1a0], rax
test rax, rax
je 0x180010128
mov ecx, 8
call fcn.18001d990
mov qword [rax], rbx
mov qword [rbp + 0x37], rax
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1800173a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x27], rax
test rax, rax
je 0x18001010e
cmp dword [rbx + 0x170], edi
jne 0x180010107
xorps xmm0, xmm0
movaps xmmword [rbp + 0x37], xmm0
movaps xmm1, xmmword [rbp + 0x27]
movaps xmmword [rbp + 0x27], xmm1
movdqa xmmword [rbp + 0x27], xmm0
movups xmmword [rbx + 0x168], xmm1
mov ecx, 8
call fcn.18001d990
mov qword [rax], rbx
mov qword [rbp + 0x37], rax
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1800173d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x27], rax
test rax, rax
je 0x1800100f8
cmp dword [rbx + 0xb0], edi
jne 0x1800100f1
xorps xmm0, xmm0
movaps xmmword [rbp + 0x37], xmm0
movaps xmm1, xmmword [rbp + 0x27]
movaps xmmword [rbp + 0x27], xmm1
movdqa xmmword [rbp + 0x27], xmm0
movups xmmword [rbx + 0xa8], xmm1
movups xmmword [rbp + 0x27], xmm0
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x18001011d
cmp byte [rbx + 0x180], dil
je 0x180010043
cmp byte [rax + 0xb8], dil
jne 0x18001011d
cmp byte [rbx + 0x188], 0
jne 0x180010152
mov byte [rbx + 0x188], 1
mov rbx, rax
mov qword [rbp + 0x27], rax
mov byte [rbp + 0x2f], 1
test rax, rax
je 0x18001006b
lock inc dword [rax + 8]
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x37], rbx
mov byte [rbp + 0x3f], 1
test rbx, rbx
je 0x18001015d
cmp byte [rax + 0xb8], 0
jne 0x18001015d
mov rax, qword [rax]
mov dl, 1
mov rcx, rbx
call qword [rax + 0x10]
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1800100d0
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x1800100c2
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
jmp 0x1800100d0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18001d850
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp + 0x2f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp + 0x2f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 4
call fcn.180006230
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.180001b70
mov r8, rax
lea rcx, [rbp - 9]
call fcn.1800017c0
lea rdx, [0x1800278b0]
lea rcx, [rbp - 9]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov ecx, 2
call fcn.180006230
nop
mov ecx, 4
call fcn.180006230
int3