Function at 0x140097850
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10e0]
mov eax, 0x11e0
call fcn.14008dbc0
sub rsp, rax
movaps xmmword [rsp + 0x11d0], xmm6
xor sil, sil
movaps xmmword [rsp + 0x11c0], xmm7
xor r14d, r14d
movaps xmmword [rsp + 0x11b0], xmm8
movabs r12, 0x7ffffffffff0bdbf
movaps xmmword [rsp + 0x11a0], xmm9
movabs r15, 0x7fffffffffffffff
movaps xmmword [rsp + 0x1190], xmm10
movaps xmmword [rsp + 0x1180], xmm11
movss xmm11, dword [0x1403247c0]
movaps xmmword [rsp + 0x1170], xmm12
movss xmm12, dword [0x140324778]
movaps xmmword [rsp + 0x1160], xmm13
movss xmm13, dword [0x140324800]
movaps xmmword [rsp + 0x1150], xmm14
movss xmm14, dword [0x14032497c]
cmp qword [0x140386a70], r14
je 0x14009792c
cmp qword [0x140386a90], r14
je 0x14009792c
cmp byte [0x140386550], r14b
je 0x14009792c
cmp byte [0x1403865c8], r14b
jne 0x140097939
mov qword [0x140386180], r14
mov ecx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140097901
mov ecx, dword [0x1403865e4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140097969
lea rcx, [rbp + 0x1128]
mov qword [0x140386180], r14
call fcn.14000f6a0
mov rax, qword [rbp + 0x1128]
jmp 0x140097d82
mov rdi, qword [0x1403621d0]
movaps xmm10, xmm14
mov rbx, qword [0x1403621c8]
cmp rbx, rdi
je 0x140097b83
mov rcx, qword [rbx]
test rcx, rcx
je 0x140097b73
cmp rcx, qword [0x140386a70]
je 0x140097b73
movd xmm0, dword [0x1403866c0]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [rbx + 0x34]
jae 0x140097b73
cmp byte [0x1403865f4], r14b
jne 0x1400979c5
cmp byte [rbx + 0x2c], r14b
jne 0x140097b73
lea rdx, [rsp + 0x60]
call fcn.140101f20
movups xmm0, xmmword [0x1403862e4]
lea rdx, [rsp + 0x20]
movups xmm1, xmmword [0x1403862f4]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140386304]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x140386314]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call qword [sym.imp.d3dx9_43.dll_D3DXMatrixTranspose]
movss xmm2, dword [rsp + 0x54]
movss xmm0, dword [rsp + 0x50]
movss xmm7, dword [rsp + 0x64]
movss xmm8, dword [rsp + 0x60]
movss xmm1, dword [rsp + 0x58]
movss xmm9, dword [rsp + 0x68]
mov eax, dword [0x14038654c]
mov ecx, dword [0x140386548]
mulss xmm2, xmm7
mulss xmm0, xmm8
mulss xmm1, xmm9
addss xmm2, xmm0
addss xmm2, xmm1
addss xmm2, dword [rsp + 0x5c]
comiss xmm2, xmm12
ja 0x140097a6e
xorps xmm2, xmm2
xorps xmm6, xmm6
jmp 0x140097b1c
movss xmm5, dword [rsp + 0x34]
movaps xmm4, xmm13
movss xmm0, dword [rsp + 0x30]
movss xmm1, dword [rsp + 0x38]
movss xmm3, dword [rsp + 0x44]
divss xmm4, xmm2
xorps xmm2, xmm2
mulss xmm3, xmm7
cvtsi2ss xmm2, eax
mulss xmm5, xmm7
movaps xmm6, xmm2
mulss xmm0, xmm8
mulss xmm1, xmm9
addss xmm5, xmm0
mulss xmm6, xmm11
movss xmm0, dword [rsp + 0x40]
mulss xmm0, xmm8
addss xmm5, xmm1
movss xmm1, dword [rsp + 0x48]
mulss xmm1, xmm9
addss xmm3, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
addss xmm5, dword [rsp + 0x3c]
addss xmm3, xmm1
mulss xmm5, xmm4
addss xmm3, dword [rsp + 0x4c]
mulss xmm3, xmm4
mulss xmm3, xmm11
mulss xmm3, xmm2
movaps xmm2, xmm5
addss xmm2, xmm13
addss xmm3, xmm11
mulss xmm2, xmm11
subss xmm6, xmm3
mulss xmm2, xmm0
addss xmm2, xmm11
addss xmm2, xmm5
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm1, eax
cvtsi2ss xmm0, ecx
mulss xmm1, xmm11
mulss xmm0, xmm11
subss xmm6, xmm1
xorps xmm1, xmm1
subss xmm2, xmm0
mulss xmm6, xmm6
mulss xmm2, xmm2
addss xmm6, xmm2
sqrtss xmm1, xmm6
comiss xmm10, xmm1
jbe 0x140097b73
movd xmm0, dword [0x1403865cc]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x140097b73
mov rax, qword [rbx]
movaps xmm10, xmm1
mov qword [0x140386180], rax
add rbx, 0x1f0
cmp rbx, rdi
jne 0x140097984
cmp qword [0x140386180], r14
jne 0x140097bab
lea rcx, [rbp + 0x1130]
mov qword [0x140386180], r14
call fcn.14000f6a0
mov rax, qword [rbp + 0x1130]
jmp 0x140097d82
mov edx, dword [0x140386280]
add rdx, qword [0x140386820]
call fcn.140014090
mov rbx, rax
test rax, rax
je 0x140097c13
mov ecx, dword [0x140386808]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x58], ecx
mov ecx, dword [0x140386800]
mov qword [rsp + 0x38], rax
mov rax, qword [0x140386208]
mov dword [rsp + 0x24], ecx
mov ecx, dword [0x140386804]
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x40], 0x10d8
test rax, rax
je 0x140097c13
lea rcx, [rsp + 0x20]
call rax
cmp byte [0x1403865f4], r14b
jne 0x140097c38
mov eax, dword [0x140386288]
mov ecx, dword [rsp + rax + 0x70]
and ecx, 0x1fc000
cmp ecx, 0x8000
jne 0x140097901
mov edx, dword [0x1403862a8]
add rdx, rbx
call fcn.140014090
mov edx, dword [0x14038629c]
add rdx, rax
call fcn.140014190
test rbx, rbx
je 0x140097c6e
mov rax, qword [0x140386180]
cmp rbx, rax
jne 0x140097c6e
test rax, rax
je 0x140097c6e
mov bl, 1
jmp 0x140097c70
xor bl, bl
mov edx, dword [0x140386284]
add rdx, qword [0x140386820]
call fcn.140014190
test eax, eax
movzx ecx, bl
mov eax, dword [0x140386294]
mov edx, r14d
cmovne edx, ecx
cvttss2si ecx, dword [rsp + rax + 0x70]
cmp ecx, dword [0x1403866c0]
setg al
test sil, sil
jne 0x140097d14
test dl, dl
je 0x140097d6f
test al, al
je 0x140097d6f
cmp byte [0x1403865e9], r14b
jne 0x140097cda
movsxd rax, dword [0x1403865ec]
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], rax
call fcn.1400111c0
xorps xmm0, xmm0
mov dword [rsp + 0x20], r14d
xorps xmm1, xmm1
mov dword [rsp + 0x34], 2
mov r8d, Ordinal_41
lea rdx, [rsp + 0x20]
mov ecx, 1
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov sil, 1
jmp 0x140097d6f
cmp byte [0x1403865e9], r14b
jne 0x140097d37
movsxd rax, dword [0x1403865f0]
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], rax
call fcn.1400111c0
xorps xmm0, xmm0
mov dword [rsp + 0x20], r14d
xorps xmm1, xmm1
mov dword [rsp + 0x34], 4
mov r8d, Ordinal_41
lea rdx, [rsp + 0x20]
mov ecx, 1
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call qword [sym.imp.USER32.dll_SendInput]
xor sil, sil
lea rcx, [rbp + 0x1138]
call fcn.14000f6a0
mov rax, qword [rbp + 0x1138]
cmp rax, r12
jge 0x140097da5
add rax, 0xf4240
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], rax
call fcn.1400116b0
jmp 0x140097901
lea rcx, [rbp + 0x1120]
mov qword [rbp + 0x1120], r15
call fcn.1400116b0
jmp 0x140097901