Function at 0x14000a120
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r9, rax
cmp rbx, 0x989680
jne 0x14000a179
imul rax, r9, 0x64
jmp 0x14000a1f2
cmp rbx, 0x16e3600
jne 0x14000a1d7
movabs r10, 0xb2f4fc0794908cf3
mov rax, r10
imul r9
add rdx, r9
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
imul r8, rdx, 0x3b9aca00
imul rcx, rdx, 0x16e3600
sub r9, rcx
imul rcx, r9, 0x3b9aca00
mov rax, r10
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x14000a1f2
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x57f6c4e442789fff
cmp rax, rcx
jge 0x14000a214
movabs rcx, 0x28093b1bbd876000
add rcx, rax
mov qword [rbp - 0x19], rcx
jmp 0x14000a222
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x19]
call fcn.140003580
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rdi
xorps xmm1, xmm1
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
xor r8d, r8d
lea rdx, [0x14000c551]
lea rcx, [rbp + 7]
call fcn.140002d80
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rdi
lea rcx, [rbp - 9]
call fcn.140001ad0
mov ecx, 0x10
call fcn.14000a4c0
lea rcx, [rbp - 9]
mov qword [rax], rcx
lea rcx, [0x140001e90]
mov qword [rax + 8], rcx
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140004420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14000a425
cmp dword [rbp - 1], 0
jne 0x14000a41e
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
movaps xmmword [rbp - 9], xmm1
psrldq xmm1, 8
movd eax, xmm1
test eax, eax
jne 0x14000a2f4
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 1], eax
jne 0x14000a30b
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 9]
movaps xmmword [rbp - 0x29], xmm0
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000a32f
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movaps xmmword [rbp - 9], xmm0
lea rdx, str.done
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002aa0
mov rcx, rax
lea rdx, [0x140002c80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x14000a3a0
mov rdx, qword [rbp + 0x37]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a38f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a3d2
call fcn.14000a4fc
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rdi
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14000a3de
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a3d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a3d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a4fc
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
cmp dword [rbp - 1], 0
je 0x14000a3fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000a4a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x21], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3