Function at 0x18001b950
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rdi, rcx
xor ebp, ebp
lea ebx, [rbp + 1]
cmp byte [0x1800abcd0], bpl
jne 0x18001b9fd
mov dword [0x1800abd10], 0xff
mov ecx, ebx
call fcn.18004bfbc
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1800193e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18001bf85
cmp dword [rsp + 0x58], ebp
je 0x18001bf7d
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x18001bf7d
mov qword [rsp + 0x108], rdi
mov rcx, rdi
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x18001bf72
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
je 0x18001bf62
mov byte [0x1800abcd0], 1
movabs rsi, 0x5f4b6931816e599b
movss xmm9, dword [0x180052574]
cmp byte [rdi + 0x50], 0
je 0x18001bb0a
cmp byte [rdi + 0x51], 0
je 0x18001bb0a
mov rcx, rsi
call fcn.18001c0a0
mov rcx, rbp
call fcn.18001c0c0
call fcn.18001c030
mov ecx, ebx
call qword [sym.imp.USER32.dll_ShowCursor]
movss xmm8, dword [rdi + 0x1d0]
addss xmm8, dword [rdi + 0x1a0]
addss xmm8, dword [rdi + 0x218]
movss xmm6, dword [rdi + 0x5c]
mulss xmm6, xmm9
movaps xmm7, xmm6
addss xmm7, dword [rdi + 0x54]
mulss xmm8, xmm9
movaps xmm10, xmm8
addss xmm10, dword [rdi + 0x58]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm3, dword [rsp + 0xf8]
cvtdq2ps xmm3, xmm3
movd xmm0, dword [rsp + 0xfc]
cvtdq2ps xmm0, xmm0
movaps xmm2, xmm7
subss xmm2, xmm6
addss xmm7, xmm6
movaps xmm1, xmm8
addss xmm1, xmm10
subss xmm10, xmm8
comiss xmm3, xmm7
ja 0x18001bb0a
comiss xmm2, xmm3
ja 0x18001bb0a
comiss xmm0, xmm1
ja 0x18001bb0a
comiss xmm10, xmm0
ja 0x18001bb0a
lea rcx, str.Kekkeke
call fcn.180018320
mov rax, qword [0x18008ea88]
cmp byte [rax + 0x50], 0
je 0x18001bb38
movzx eax, byte [0x1800abd15]
nop
test al, al
je 0x18001bb38
mov rcx, rsi
call fcn.18001c0a0
mov rcx, rbp
call fcn.18001c0c0
call fcn.18001c030
mov dword [rdi + 0x24c], 0
mov word [rdi + 0x250], 0
mov byte [rdi + 0x252], 0
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x24c], al
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x24d], al
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x24e], al
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x24f], al
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x250], al
mov ecx, 0x25
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x251], al
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x252], al
mov rcx, rdi
call fcn.18001adc0
cmp byte [rdi + 0x50], 0
je 0x18001bf2b
mov r8d, ebx
mov edx, 0x1b
xor ecx, ecx
call fcn.180019820
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x254], eax
mov rcx, rdi
call fcn.1800198a0
mov rsi, qword [rdi + 0x278]
cmp qword [rdi + 0x270], rsi
je 0x18001bde9
mov rsi, qword [rsi - 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov rdx, rsi
mov rcx, rdi
call fcn.18001aa40
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001bde9
cmp byte [rdi + 0x19c], 0
je 0x18001bcba
movabs rcx, 0x61bb1d9b3a95d802
call fcn.18001c0a0
mov rcx, rbp
call fcn.18001c0c0
call fcn.18001c030
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
cmp rax, qword [rdi + 0x60]
ja 0x18001bca2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
cmp rax, qword [rdi + 0x60]
ja 0x18001bcba
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov r14, qword [rdi + 0x60]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
cmp rax, r14
ja 0x18001bcd8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov r14, rax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x30]
cmp rax, qword [rdi + 0x60]
jbe 0x18001bd14
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x38]
cmp rax, qword [rdi + 0x60]
jb 0x18001bd14
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
sub rbx, qword [rdi + 0x60]
lea rbp, [rbx + rax]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
lea r14, [rax + 1]
movss xmm6, dword [rdi + 0x254]
mov rbx, rbp
cmp rbp, r14
jae 0x18001bde9
lea r15, [r14 - 1]
nop dword [rax]
movss xmm2, dword [rdi + 0x1e8]
mulss xmm2, xmm9
addss xmm2, xmm6
cvtps2pd xmm0, xmm2
cmp rbx, rbp
jne 0x18001bd51
movsd qword [0x1800abd00], xmm0
cmp rbx, r15
jne 0x18001bd5e
movsd qword [0x1800abd08], xmm0
mov eax, dword [rdi + 0x204]
mov dword [rsp + 0x28], eax
movss xmm0, dword [rdi + 0x1e8]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rdi + 0x5c]
movss xmm1, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18001a6b0
mov dword [0x1800abcfc], r14d
addss xmm6, dword [rdi + 0x1e8]
inc rbx
cmp rbx, r14
jb 0x18001bd30
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov dword [0x1800abcf8], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
cmp rbp, rax
sete bl
mov rax, qword [rsi]
mov rdx, rbp
mov rcx, rsi
call qword [rax + 0x28]
mov byte [rsp + 0x20], 1
mov r9, rsi
movzx r8d, bl
mov rdx, rax
mov rcx, rdi
call fcn.18001a000
inc rbp
cmp rbp, r14
jb 0x18001bda0
movss xmm0, dword [rdi + 0x218]
movaps xmm2, xmm0
mulss xmm2, xmm9
addss xmm2, dword [rdi + 0x254]
mov eax, dword [rdi + 0x220]
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rdi + 0x5c]
movss xmm1, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18001a6b0
movss xmm7, dword [rdi + 0x21c]
xorps xmm6, xmm6
mov rsi, qword [rdi + 0x278]
cmp qword [rdi + 0x270], rsi
je 0x18001be73
mov rsi, qword [rsi - 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
test rax, rax
je 0x18001be73
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
lea rbx, [rax + 1]
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x30]
cmp rbx, rax
jne 0x18001be73
movss xmm6, dword [0x1800538e0]
movabs rcx, 0x873c9f3104101dd3
call fcn.18001c0a0
lea rcx, [rsp + 0x100]
call fcn.18001c0c0
lea rcx, [rsp + 0xf8]
call fcn.18001c0c0
call fcn.18001c030
movd xmm1, dword [rsp + 0xf8]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rsp + 0x100]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm7
movss xmm0, dword [rdi + 0x218]
mulss xmm0, xmm9
addss xmm0, dword [rdi + 0x254]
movss dword [rsp + 0x40], xmm6
mov eax, dword [rdi + 0x224]
mov dword [rsp + 0x38], eax
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [rdi + 0x54]
lea r8, str.mp_hostcrown
lea rdx, str.commonmenu
mov rcx, rdi
call fcn.18001a8c0
movss xmm0, dword [rdi + 0x254]
addss xmm0, dword [rdi + 0x218]
movss dword [rdi + 0x254], xmm0
mov rcx, rdi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp sub.MSVCP140.dll__Mtx_unlock
dec eax
mov dword [rdi + 0x4c], eax
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x58], ebp
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3