Function at 0x1800a9bc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180118028]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [0x18011ab38], rcx
mov rax, qword [rcx]
mov r8, qword [rax + 0x6d8]
lea rdx, [0x18011ac00]
call r8
mov rcx, qword [0x18011ac00]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x30010200
lea rdx, [0x18011ab60]
call r9
call fcn.1800766d0
mov byte [0x18011aaa4], al
test al, al
je 0x1800a9c2e
call fcn.1800a8180
mov byte [0x18011aaa4], al
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1800a1b60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x180098600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, str.Threads_Started
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180066920
lea rdx, [0x180066af0]
mov rcx, rax
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]
mov ecx, 8
call fcn.1800af60c
lea rcx, [0x1800a9a00]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x18008d680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800a9e70
cmp dword [rsp + 0x48], 0
jne 0x1800a9ce7
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1800a9d0a
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
lea rdx, str.Key_Monitoring_Started
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180066920
lea rdx, [0x180066af0]
mov rcx, rax
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]
mov byte [0x18011809b], 1
mov byte [0x18011a284], 1
mov byte [0x18011a302], 1
mov byte [0x18011a165], 1
lea rdx, str.This_window_will_close_in_3_seconds.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180066920
lea rdx, [0x180066af0]
mov rcx, rax
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]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, dword [0x180119e14]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x18011f0dc], eax
jle 0x1800a9dbf
lea rcx, [0x18011f0dc]
call fcn.1800aeeb8
cmp dword [0x18011f0dc], 0xffffffff
jne 0x1800a9dbf
mov byte [0x18011f0e0], 0
lea rcx, [0x18011f0dc]
call fcn.1800aee58
mov eax, dword [rbx]
cmp dword [0x18011f0e4], eax
jle 0x1800a9e0e
lea rcx, [0x18011f0e4]
call fcn.1800aeeb8
cmp dword [0x18011f0e4], 0xffffffff
jne 0x1800a9e0e
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18011ab78], rax
lea rcx, [0x18011f0e4]
call fcn.1800aee58
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov qword [rsp + 0x30], 0xfffffffffe363c80
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [0x18011ab78]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [0x18011a3c0]
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [0x18011a3c0], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800aed10
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3