Function at 0x140099110
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x300
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword [0x1400ba010]
xor rax, rsp
mov qword [rsp + 0x298], rax
call fcn.140096f90
movsxd rbx, eax
test eax, eax
js 0x14009993b
mov eax, dword [0x1400ba088]
cmp eax, 1
jne 0x140099176
lea edi, [rax + 7]
jmp 0x14009918f
cmp eax, 2
jne 0x140099180
lea edi, [rax + 5]
jmp 0x14009918f
mov edi, dword [rsp + 0x30]
mov ecx, 5
cmp eax, 3
cmove edi, ecx
mov ecx, dword [0x1400ba054]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009993b
imul rcx, rbx, 0x38
add rcx, qword [0x1400bbef0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x70], xmm0
mov rbx, qword [0x1400bbec8]
add rbx, 0x1fb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
xorps xmm10, xmm10
mov qword [rsp + 0x200], 0
xor r14d, r14d
mov qword [rsp + 0x210], r14
mov qword [rsp + 0x238], r14
movdqa xmmword [rsp + 0x240], xmm0
mov eax, dword [0x1400bc078]
mov dword [rsp + 0x218], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x21c], eax
mov qword [rsp + 0x220], rbx
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x230], 0x1c
lea edx, [r14 + 1]
lea rcx, [rsp + 0x210]
call fcn.14009b7f0
test al, al
jne 0x14009927d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x1f0], xmm0
mov qword [rsp + 0x200], rax
mov dword [rsp + 0x208], eax
mov rsi, qword [rsp + 0x70]
lea rcx, [rsi + 0x5d8]
call fcn.14009acb0
mov rbx, rax
test rax, rax
jne 0x1400992a5
lea rcx, [rsi + 0x5c8]
call fcn.14009acb0
mov rbx, rax
mov qword [rsp + 0x220], r14
mov dword [rsp + 0x228], r14d
mov qword [rsp + 0x230], r14
mov dword [rsp + 0x238], r14d
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x188], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
mov eax, dword [0x1400bc078]
mov dword [rsp + 0x168], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x16c], eax
lea eax, [rdi + rdi*2]
shl eax, 4
movsxd rcx, eax
add rcx, rbx
mov qword [rsp + 0x170], rcx
lea rax, [rsp + 0x210]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], 0x30
mov edx, 1
lea rcx, [rsp + 0x160]
call fcn.14009b7f0
test al, al
jne 0x14009935c
xorps xmm0, xmm0
movups xmmword [rsp + 0x210], xmm0
movups xmmword [rsp + 0x220], xmm0
movups xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x260], r14
mov dword [rsp + 0x268], r14d
mov qword [rsp + 0x270], r14
mov dword [rsp + 0x278], r14d
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x188], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
mov eax, dword [0x1400bc078]
mov dword [rsp + 0x168], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x16c], eax
lea rax, [rsi + 0x250]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], 0x30
mov edx, 1
lea rcx, [rsp + 0x160]
call fcn.14009b7f0
test al, al
jne 0x14009940e
xorps xmm0, xmm0
movups xmmword [rsp + 0x250], xmm0
movups xmmword [rsp + 0x260], xmm0
movups xmmword [rsp + 0x270], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x250]
call fcn.140093b40
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x210]
call fcn.140093b40
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1d0], xmm8
movaps xmmword [rsp + 0x1e0], xmm9
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x170], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x190], xmm1
lea r8, [rsp + 0x1b0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x110]
call fcn.140093cc0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x1c0], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x1e0], xmm1
mov qword [rsp + 0x1a0], r14
mov dword [rsp + 0x1a8], r14d
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x188], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
mov eax, dword [0x1400bc078]
mov dword [rsp + 0x168], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x16c], eax
mov rax, qword [rsp + 0x68]
add rax, 0x164
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], 0xc
mov edx, 1
lea rcx, [rsp + 0x160]
call fcn.14009b7f0
test al, al
jne 0x140099582
xor eax, eax
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x1a8], eax
movss xmm7, dword [rsp + 0x1e8]
movss xmm0, dword [rsp + 0x1a8]
comiss xmm0, xmm7
jae 0x14009993b
mov rbx, qword [0x1400bbe30]
add rbx, 0x448
mov qword [rsp + 0x150], r14
mov dword [rsp + 0x158], r14d
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x188], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
mov eax, dword [0x1400bc078]
mov dword [rsp + 0x168], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x16c], eax
mov qword [rsp + 0x170], rbx
lea rax, [rsp + 0x150]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], 0xc
mov edx, 1
lea rcx, [rsp + 0x160]
call fcn.14009b7f0
test al, al
jne 0x14009963c
xor eax, eax
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x158], eax
subss xmm7, dword [rsp + 0x1f8]
movss xmm0, dword [rsp + 0x1e4]
movss xmm9, dword [rsp + 0x1f4]
subss xmm0, xmm9
movss xmm6, dword [0x1400afd10]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm8, xmm0
movss xmm0, dword [rsp + 0x1e0]
movss xmm11, dword [rsp + 0x1f0]
subss xmm0, xmm11
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
movaps xmm1, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm8
ja 0x1400996b9
xorps xmm0, xmm0
sqrtss xmm0, xmm8
jmp 0x1400996c2
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm7, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_asinf
movss xmm8, dword [0x1400afd98]
mulss xmm0, xmm8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
divsd xmm1, qword [0x1400afd18]
cvtpd2ps xmm6, xmm1
subss xmm9, dword [rsp + 0x1e4]
subss xmm11, dword [rsp + 0x1e0]
divss xmm9, xmm11
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x1400afd30]
cvtpd2ps xmm7, xmm1
comiss xmm11, xmm10
jb 0x14009972f
addss xmm7, xmm8
mov rcx, qword [rsp + 0x58]
add rcx, 0x1b0
call fcn.14009af20
comiss xmm0, xmm10
jb 0x14009993b
cmp byte [0x1400bbd99], r14b
jne 0x14009993b
movss xmm11, dword [rsp + 0x158]
subss xmm10, xmm11
movss xmm1, dword [rsp + 0x154]
subss xmm7, xmm1
subss xmm6, dword [rsp + 0x150]
movss xmm9, dword [0x1400afd80]
movss xmm2, dword [0x1400afdf0]
comiss xmm6, xmm9
jbe 0x14009979d
addss xmm6, xmm2
comiss xmm6, xmm9
ja 0x140099793
movss xmm3, dword [0x1400afde8]
comiss xmm3, xmm6
jbe 0x1400997ba
nop word [rax + rax]
addss xmm6, xmm8
comiss xmm3, xmm6
ja 0x1400997b0
movss xmm5, dword [0x1400afdf4]
comiss xmm7, xmm8
jbe 0x1400997da
nop dword [rax + rax]
addss xmm7, xmm5
comiss xmm7, xmm8
ja 0x1400997d0
movss xmm4, dword [0x1400afda4]
comiss xmm2, xmm7
jbe 0x1400997f0
addss xmm7, xmm4
comiss xmm2, xmm7
ja 0x1400997e7
movd xmm0, dword [0x1400ba074]
cvtdq2ps xmm0, xmm0
divss xmm10, xmm0
divss xmm7, xmm0
addss xmm11, xmm10
addss xmm1, xmm7
divss xmm6, xmm0
addss xmm6, dword [rsp + 0x150]
movss dword [rsp + 0x20], xmm6
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm11
comiss xmm6, xmm9
jbe 0x140099850
nop dword [rax]
nop word [rax + rax]
addss xmm6, xmm2
movss dword [rsp + 0x20], xmm6
comiss xmm6, xmm9
ja 0x140099840
comiss xmm3, xmm6
jbe 0x140099870
nop word [rax + rax]
addss xmm6, xmm8
movss dword [rsp + 0x20], xmm6
comiss xmm3, xmm6
ja 0x140099860
comiss xmm1, xmm8
jbe 0x140099890
nop word [rax + rax]
addss xmm1, xmm5
movss dword [rsp + 0x24], xmm1
comiss xmm1, xmm8
ja 0x140099880
comiss xmm2, xmm1
jbe 0x1400998af
nop word [rax + rax]
addss xmm1, xmm4
movss dword [rsp + 0x24], xmm1
comiss xmm2, xmm1
ja 0x1400998a0
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x48], eax
mov rbx, qword [0x1400bbe30]
add rbx, 0x448
mov qword [rsp + 0x1b0], r14
mov qword [rsp + 0x1d8], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1e0], xmm0
mov eax, dword [0x1400bc078]
mov dword [rsp + 0x1b8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x1bc], eax
mov qword [rsp + 0x1c0], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], 0xc
mov edx, 2
lea rcx, [rsp + 0x1b0]
call fcn.14009b7f0
nop
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.14009ba80
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
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]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret