Function at 0x18000cbc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push r13
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov rax, qword [0x180050040]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor r13d, r13d
mov qword [rsp + 0x70], r8
mov dword [0x180050d08], r13d
mov rdi, rdx
mov r15, rcx
test r9b, r9b
jne 0x18000cc05
xor al, al
jmp 0x18000d16a
movss xmm1, dword [rdx + 4]
mov rdx, r8
movss xmm0, dword [rdi]
unpcklps xmm0, xmm1
mov qword [rsp + 0x208], rbx
movq rcx, xmm0
mov qword [rsp + 0x1c0], rsi
movaps xmmword [rsp + 0x160], xmm10
call fcn.18000a640
mov rbx, 0xffffffffffffffff
movzx esi, al
cmp dword [0x1800501d0], ebx
je 0x18000cc5d
lea ecx, [rbx + 2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18000cc5d
mov dword [0x1800501d0], ebx
movzx eax, byte [0x1800509fd]
xorps xmm10, xmm10
test al, al
je 0x18000cc87
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18000cd63
movzx eax, byte [0x1800509fd]
test sil, sil
jne 0x18000cca0
movss xmm0, dword [0x1800532d0]
ucomiss xmm0, xmm10
jp 0x18000cca0
je 0x18000cd5c
test al, al
jne 0x18000cd5c
cmp byte [0x1800509f8], r13b
movsxd rax, dword [0x180050d08]
je 0x18000cd3c
lea rcx, [0x180050c00]
cmp byte [rax + rcx], r13b
jne 0x18000cccd
mov byte [rax + rcx], 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm2, dword [rsp + 0x64]
movd xmm3, dword [rsp + 0x60]
movss xmm1, dword [0x1800532d0]
ucomiss xmm1, xmm10
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
subss xmm2, dword [rsp + 0x74]
subss xmm3, dword [rsp + 0x70]
jp 0x18000cd25
jne 0x18000cd25
movaps xmm1, xmm3
movaps xmm0, xmm2
subss xmm1, dword [rdi]
movss dword [0x1800532d0], xmm1
subss xmm0, dword [rdi + 4]
movss dword [0x1800532d4], xmm0
subss xmm3, xmm1
movss dword [rdi], xmm3
subss xmm2, dword [0x1800532d4]
movss dword [rdi + 4], xmm2
jmp 0x18000cd63
cmp rax, 0x100
jae 0x18000d184
lea rcx, [0x180050c00]
mov qword [0x1800532d0], r13
mov byte [rax + rcx], r13b
jmp 0x18000cd63
mov byte [0x1800509fd], r13b
movss xmm0, dword [rdi]
lea rax, [rbp - 0x80]
movss xmm1, dword [rdi + 4]
lea rsi, [0x180040990]
movss dword [0x180053358], xmm0
lea rdx, [rsp + 0x50]
movaps xmm0, xmmword [0x1800493e0]
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x1b0], r14
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm8
movss xmm8, dword [0x1800491bc]
movaps xmmword [rbp - 0x80], xmm0
xorps xmm0, xmm0
movss dword [0x18005335c], xmm1
unpcklps xmm0, xmm10
movsd qword [rsp + 0x30], xmm0
movss xmm0, dword [0x1800491a8]
movaps xmmword [rsp + 0x170], xmm9
mov qword [0x1800532e0], r13
mov qword [0x1800532f0], r13
mov qword [0x1800532d8], r13
movss xmm2, dword [rdi]
addss xmm2, dword [0x180049260]
movss xmm3, dword [rdi + 4]
addss xmm3, dword [0x1800491e4]
mov dword [rsp + 0x58], 2
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x50], rsi
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x150], xmm11
unpcklps xmm0, xmm8
unpcklps xmm2, xmm3
movq r9, xmm0
movss dword [rsp + 0x28], xmm10
movq r8, xmm2
movaps xmmword [rsp + 0x140], xmm12
movaps xmmword [rsp + 0x130], xmm13
mov dword [0x180050d04], r13d
mov dword [0x180050d0c], r13d
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x20], rax
call fcn.180007ee0
movaps xmm0, xmmword [0x1800493e0]
lea rax, [rbp - 0x80]
movss xmm2, dword [rdi]
lea rdx, [rsp + 0x50]
addss xmm2, dword [0x180049260]
movss xmm3, dword [rdi + 4]
addss xmm3, dword [0x1800491e4]
movaps xmmword [rbp - 0x80], xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm10
movsd qword [rsp + 0x30], xmm0
movss xmm0, dword [0x1800491a8]
mov dword [rsp + 0x58], 2
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x50], rsi
movaps xmm1, xmmword [rsp + 0x50]
unpcklps xmm0, xmm8
unpcklps xmm2, xmm3
movq r9, xmm0
movss dword [rsp + 0x28], xmm10
movq r8, xmm2
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x20], rax
call fcn.180007ee0
mov ecx, dword [0x1800508a8]
mov rax, qword gs:[0x58]
movss xmm12, dword [rdi]
movss xmm9, dword [rdi + 4]
movaps xmm11, xmm12
movups xmm13, xmmword [0x18003f928]
mov r14, qword [rax + rcx*8]
addss xmm11, dword [rsp + 0x70]
movss xmm7, dword [0x180049070]
movss xmm8, dword [0x180049188]
mov r12d, 4
nop dword [rax]
mov eax, dword [r14 + r12]
movaps xmm6, xmm10
cmp dword [0x18005b48c], eax
addss xmm6, xmm9
mov rsi, qword [0x1800509f0]
jg 0x18000d18a
mov rax, qword [0x18005b440]
lea r8, str.Engine.Canvas.K2_DrawLine
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov r9, qword [0x1800509c0]
lea r8, [rbp]
add r9, 0x4125250
movss dword [rbp], xmm12
mov rdx, rax
movss dword [rbp + 4], xmm6
mov rcx, rsi
movss dword [rbp + 8], xmm11
movss dword [rbp + 0xc], xmm6
mov dword [rbp + 0x10], 0x3f800000
movups xmmword [rbp + 0x14], xmm13
call r9
addss xmm10, xmm7
comiss xmm8, xmm10
ja 0x18000cf50
movss xmm0, dword [0x180050d0c]
mov rcx, r15
movss xmm6, dword [rdi + 4]
addss xmm0, xmm8
movss xmm8, dword [rdi]
movaps xmm13, xmmword [rsp + 0x130]
addss xmm6, dword [0x180049140]
addss xmm8, dword [0x18004921c]
movss dword [0x180050d0c], xmm0
call fcn.18000a310
movaps xmm12, xmmword [0x180049b50]
movaps xmm9, xmm8
movaps xmm10, xmm6
mov qword [rsp + 0x60], r13
addss xmm9, xmm7
addss xmm10, xmm7
cmp word [rax], r13w
je 0x18000d053
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x18000d035
add ebx, 1
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x6c], ebx
je 0x18000d060
mov qword [rsp + 0x60], rax
jmp 0x18000d060
mov qword [rsp + 0x68], r13
nop dword [rax + rax]
mov eax, dword [r14 + r12]
cmp dword [0x18005b48c], eax
movaps xmm7, xmmword [0x1800493f0]
movups xmm11, xmmword [0x18003f9a8]
mov rbx, qword [0x1800509f0]
mov r14, qword [rsp + 0x1b0]
mov r12, qword [rsp + 0x1b8]
jg 0x18000d1c7
mov rax, qword [0x18005b440]
lea r8, str.Engine.Canvas.K2_DrawText
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov rcx, qword [0x180050990]
lea r8, [rbp - 0x70]
movups xmm0, xmmword [rsp + 0x60]
mov rdx, rax
mov qword [rbp - 0x70], rcx
mov rax, qword [0x1800509c0]
mov rcx, rbx
add rax, 0x4125250
movss dword [rbp - 0x58], xmm8
movups xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x50], 0x3f7851ec
movss dword [rbp - 0x54], xmm6
movss dword [rbp - 0x24], xmm9
movss dword [rbp - 0x20], xmm10
mov dword [rbp - 0x4c], 0x3f7851ec
movups xmmword [rbp - 0x48], xmm12
mov dword [rbp - 0x38], r13d
movups xmmword [rbp - 0x34], xmm11
mov word [rbp - 0x1c], 0x101
mov byte [rbp - 0x1a], 1
movups xmmword [rbp - 0x18], xmm7
call rax
movaps xmm12, xmmword [rsp + 0x140]
mov al, 1
movaps xmm11, xmmword [rsp + 0x150]
movaps xmm9, xmmword [rsp + 0x170]
movaps xmm8, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1c0]
mov rbx, qword [rsp + 0x208]
movaps xmm10, xmmword [rsp + 0x160]
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18003cda0
add rsp, 0x1c8
pop r15
pop r13
pop rdi
pop rbp
ret
call fcn.18003d0b8
int3
lea rcx, [0x18005b48c]
call fcn.18003ceec
cmp dword [0x18005b48c], ebx
jne 0x18000cf70
mov rax, qword [0x1800509c0]
lea rcx, [0x18005b48c]
add rax, 0x4139890
mov qword [0x18005b440], rax
call fcn.18003ce80
jmp 0x18000cf70
lea rcx, [0x18005b48c]
call fcn.18003ceec
cmp dword [0x18005b48c], 0xffffffff
jne 0x18000d096
mov rax, qword [0x1800509c0]
lea rcx, [0x18005b48c]
add rax, 0x4139890
mov qword [0x18005b440], rax
call fcn.18003ce80
jmp 0x18000d096