Function at 0x140004d60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
xor r12d, r12d
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140014aa0], eax
jle 0x140004f29
lea rcx, [0x140014aa0]
call fcn.14000b468
cmp dword [0x140014aa0], 0xffffffff
jne 0x140004f29
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140014a70], xmm0
mov qword [0x140014a80], rax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 5
lea rdx, str.e_31m
lea rcx, [rsp + 0x60]
call fcn.14000aa80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov r8d, 5
lea rdx, str.e_33m
lea rcx, [rbp - 0x80]
call fcn.14000aa80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov r8d, 5
lea rdx, str.e_32m
lea rcx, [rbp - 0x60]
call fcn.14000aa80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov r8d, 5
lea rdx, str.e_36m
lea rcx, [rbp - 0x40]
call fcn.14000aa80
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov r8d, 5
lea rdx, str.e_34m
lea rcx, [rbp - 0x20]
call fcn.14000aa80
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov r8d, 5
lea rdx, str.e_35m
lea rcx, [rbp]
call fcn.14000aa80
nop
lea rax, [rsp + 0x60]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [0x140014a70]
call fcn.140009180
nop
lea r9, [fcn.140009b50]
mov edx, 0x20
mov r8d, 6
lea rcx, [rsp + 0x60]
call fcn.14000b51c
lea rcx, [0x14000cf00]
call fcn.14000b814
nop
lea rcx, [0x140014aa0]
call fcn.14000b3fc
cmp byte [0x140014a69], 0
jne 0x140004f9c
mov byte [0x140014a69], 1
mov ecx, 1
call fcn.14000b4e0
mov qword [rbp + 0x20], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14000afd0]
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 0x140004fed
cmp dword [rsp + 0x48], 0
je 0x140004fe1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140004fe1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
cmp byte [rbx + 0x72], 0
je 0x140005557
movabs r13, 0xb2f4fc0794908cf3
cmp dword [0x140014a4c], 0
jne 0x140005078
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rdi, 0x989680
jne 0x140004ffe
imul rdx, rcx, 0x64
jmp 0x140005071
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp rdi, 0x16e3600
jne 0x140005050
mov rax, r13
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r13
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, r8, 0x3b9aca00
jmp 0x14000506e
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rdx, rax
imul rax, rcx, 0x3b9aca00
add rdx, rax
mov qword [0x140014a50], rdx
cmp byte [rbx + 0x71], 0
jne 0x14000508c
mov byte [rbx + 0x71], 1
lea rcx, [rbx + 0x10]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r14d, r12d
mov ecx, dword [rbx + 0x34]
movabs rdi, 0x7ffffffffe8287bf
movabs rsi, 0x7ffffffffff0bdbf
movabs r15, 0x7fffffffffffffff
test ecx, ecx
jle 0x14000546f
mov eax, dword [rbx + 0x38]
test eax, eax
jle 0x1400050cb
cmp dword [0x140014a4c], eax
jge 0x140005469
cmp ecx, 1
jle 0x1400051c1
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
je 0x14000518c
sub ecx, 1
je 0x140005152
sub ecx, 1
je 0x140005122
cmp ecx, 1
jne 0x1400051c1
lea rcx, [rsp + 0x50]
call fcn.1400011d0
mov rax, qword [rsp + 0x50]
cmp rax, rdi
jge 0x140005113
add rax, 0x17d7840
mov qword [rsp + 0x30], rax
jmp 0x140005118
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
lea rcx, [rsp + 0x58]
call fcn.1400011d0
mov rax, qword [rsp + 0x58]
cmp rax, rsi
jge 0x140005143
add rax, 0xf4240
mov qword [rsp + 0x30], rax
jmp 0x140005148
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
lea rcx, [rsp + 0x40]
call fcn.1400011d0
mov rax, qword [rsp + 0x40]
movabs rcx, 0x7ffffffffffff82f
cmp rax, rcx
jge 0x14000517d
add rax, 0x7d0
mov qword [rsp + 0x30], rax
jmp 0x140005182
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
lea rcx, [rbp + 0x20]
call fcn.1400011d0
mov rax, qword [rbp + 0x20]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
jge 0x1400051b2
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1400051b7
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
cmp dword [rbx + 0x28], 1
jne 0x140005206
mov edx, dword [rbx + 4]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, dword [rbx + 4]
mov edx, dword [rbx]
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, dword [rbx + 4]
mov edx, dword [rbx]
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x14000524d
movzx r9d, word [rbx + 0xc]
shl r9, 0x10
movzx eax, word [rbx + 8]
or r9, rax
mov edx, 0x201
mov r8d, 1
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r9d, word [rbx + 0xc]
shl r9, 0x10
movzx eax, word [rbx + 8]
or r9, rax
xor r8d, r8d
mov edx, 0x202
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [0x140014a4c]
mov rcx, rbx
call fcn.140006f70
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rdi, 0x989680
jne 0x14000527c
imul rdx, rcx, 0x64
jmp 0x1400052ef
cmp rdi, 0x16e3600
jne 0x1400052ce
mov rax, r13
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r13
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, r8, 0x3b9aca00
jmp 0x1400052ec
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rdx, rax
imul rax, rcx, 0x3b9aca00
add rdx, rax
sub rdx, qword [0x140014a50]
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x140014a40], rdx
movsxd rdi, dword [0x140014a38]
shl rdi, 5
add rdi, qword [0x140014a70]
movsxd rsi, dword [0x140014a64]
shl rsi, 5
add rsi, qword [0x140014a70]
lea rdx, [0x14000faf0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000a370
mov rcx, rax
lea rdx, str.e_38_5_60m__________________________
call fcn.14000a370
mov rcx, rax
lea rdx, str.e_1me_31mClicks_sent
call fcn.14000a370
mov rcx, rax
lea rdx, str.e_90m__
call fcn.14000a370
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140005389
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14000ade0
mov edx, dword [0x140014a4c]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x14000f0d0]
call fcn.14000a370
mov rcx, rax
lea rdx, [0x14000faa4]
call fcn.14000a370
mov rcx, rax
lea rdx, str.e_38_5_60m__
call fcn.14000a370
mov rcx, rax
lea rdx, str.e_1me_33mDuration
call fcn.14000a370
mov rcx, rax
lea rdx, str.e_38_5_37m_
call fcn.14000a370
mov rcx, rax
lea rdx, str.e_1me_33mms
call fcn.14000a370
mov rcx, rax
lea rdx, [0x14000f2b8]
call fcn.14000a370
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000541a
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000ade0
mov rdx, qword [0x140014a40]
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, str.e_90m_
call fcn.14000a370
inc r14d
mov ecx, dword [rbx + 0x34]
movabs rdi, 0x7ffffffffe8287bf
movabs rsi, 0x7ffffffffff0bdbf
cmp r14d, ecx
jge 0x14000546f
jmp 0x1400050b8
mov word [rbx + 0x72], 0x100
mov ecx, dword [rbx + 0x30]
test ecx, ecx
je 0x14000548e
sub ecx, 1
je 0x1400054bc
sub ecx, 1
je 0x1400054ea
cmp ecx, 1
je 0x140005522
jmp 0x140005557
lea rcx, [rbp + 0x20]
call fcn.1400011d0
mov rax, qword [rbp + 0x20]
cmp rax, rdi
jge 0x1400054ad
add rax, 0x17d7840
mov qword [rsp + 0x30], rax
jmp 0x1400054b2
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
lea rcx, [rbp + 0x20]
call fcn.1400011d0
mov rax, qword [rbp + 0x20]
cmp rax, rsi
jge 0x1400054db
add rax, 0xf4240
mov qword [rsp + 0x30], rax
jmp 0x1400054e0
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
lea rcx, [rbp + 0x20]
call fcn.1400011d0
mov rax, qword [rbp + 0x20]
movabs rcx, 0x7ffffffffffff82f
cmp rax, rcx
jge 0x140005513
add rax, 0x7d0
mov qword [rsp + 0x30], rax
jmp 0x140005518
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
lea rcx, [rbp + 0x20]
call fcn.1400011d0
mov rax, qword [rbp + 0x20]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
jge 0x140005548
inc rax
mov qword [rsp + 0x30], rax
jmp 0x14000554d
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14000aca0
call fcn.1400012d0
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14000b3a0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret