Function at 0x140098310
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
cmp qword [0x140366a88], 0
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
je 0x14009881f
cmp qword [0x1403898c8], 0
je 0x14009881f
mov ecx, dword [0x14038938c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14009880f
cmp byte [0x140389390], 0
je 0x1400983b2
mov rax, qword [0x140366a88]
test rax, rax
je 0x14009880f
mov edx, dword [0x140388b18]
add rdx, rax
call fcn.14002a940
test al, 0xdb
jne 0x1400983b2
cmp al, 0x20
jne 0x14009880f
mov rax, qword [0x1403898d8]
xor ebx, ebx
test rax, rax
jne 0x1400983c9
mov rdx, qword [0x140388a90]
jmp 0x140098447
lea rcx, [rax + 0x3c0]
test rcx, rcx
je 0x140098439
mov eax, dword [0x140389688]
mov rdx, qword [0x140388a90]
mov dword [rsp + 0x78], eax
mov eax, dword [0x140389680]
mov dword [rsp + 0x44], eax
mov eax, dword [0x140389684]
mov dword [rsp + 0x48], eax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], 8
test rdx, rdx
je 0x140098440
lea rcx, [rsp + 0x40]
call rdx
test rax, rax
je 0x140098439
mov rdx, qword [0x140388a90]
mov rcx, qword [rbp + 0xe0]
jmp 0x14009844a
mov rdx, qword [0x140388a90]
mov qword [rbp + 0xe0], rbx
mov rcx, rbx
test rcx, rcx
je 0x14009848f
mov eax, dword [0x140389688]
mov dword [rbp - 0x48], eax
mov eax, dword [0x140389680]
mov dword [rbp - 0x7c], eax
mov eax, dword [0x140389684]
mov dword [rbp - 0x78], eax
lea rax, [0x140388220]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x60], 0x3f0
test rdx, rdx
je 0x14009848f
lea rcx, [rbp - 0x80]
call rdx
movss xmm14, dword [0x140388280]
movss xmm1, dword [0x1403327ec]
comiss xmm14, xmm1
movss xmm12, dword [0x140388284]
movss xmm13, dword [0x140388288]
movss xmm0, dword [0x140332590]
jbe 0x1400984e2
comiss xmm14, xmm0
jae 0x1400984e2
comiss xmm12, xmm1
jbe 0x1400984e2
comiss xmm12, xmm0
jae 0x1400984e2
comiss xmm13, xmm1
jbe 0x1400984e2
comiss xmm13, xmm0
jb 0x14009881f
movss xmm11, dword [0x140388260]
comiss xmm11, xmm1
movss xmm10, dword [0x140388264]
movss xmm9, dword [0x140388268]
jbe 0x140098525
comiss xmm11, xmm0
jae 0x140098525
comiss xmm10, xmm1
jbe 0x140098525
comiss xmm10, xmm0
jae 0x140098525
comiss xmm9, xmm1
jbe 0x140098525
comiss xmm9, xmm0
jb 0x14009881f
mov rcx, qword [0x140366a88]
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm7
movaps xmmword [rsp + 0x1a0], xmm8
call fcn.14010f640
movss xmm8, dword [rsp + 0x24]
movaps xmm1, xmm12
movss xmm7, dword [rsp + 0x20]
subss xmm1, xmm8
movss xmm6, dword [rsp + 0x28]
subss xmm8, xmm12
movss xmm3, dword [0x14033263c]
movaps xmm0, xmm13
subss xmm0, xmm6
movaps xmm2, xmm14
subss xmm2, xmm7
mulss xmm1, xmm1
subss xmm7, xmm14
subss xmm6, xmm13
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm2, xmm1
movaps xmm1, xmm3
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
divss xmm1, xmm0
mulss xmm7, xmm1
mulss xmm8, xmm1
mulss xmm6, xmm1
movss xmm1, dword [0x140389394]
comiss xmm1, xmm3
jbe 0x1400985f2
subss xmm7, xmm11
movaps xmm0, xmm3
divss xmm0, xmm1
subss xmm8, xmm10
mulss xmm7, xmm0
mulss xmm8, xmm0
addss xmm7, xmm11
addss xmm8, xmm10
movss xmm0, dword [0x14038939c]
comiss xmm0, xmm3
jbe 0x14009860d
subss xmm6, xmm9
divss xmm6, xmm0
addss xmm6, xmm9
subss xmm9, dword [0x1403885f8]
mov rax, qword [0x1403898d8]
movaps xmm0, xmm6
movss dword [rsp + 0x20], xmm7
movss dword [rsp + 0x24], xmm8
subss xmm0, xmm9
movss dword [rsp + 0x28], xmm0
test rax, rax
jne 0x140098646
mov rdx, qword [0x140388a90]
jmp 0x1400986c3
lea rdx, [rax + 0x3c0]
test rdx, rdx
je 0x1400986b5
mov ecx, dword [0x140389688]
mov dword [rbp - 0x48], ecx
mov ecx, dword [0x140389680]
mov dword [rbp - 0x7c], ecx
mov ecx, dword [0x140389684]
mov qword [rbp - 0x70], rdx
mov rdx, qword [0x140388a90]
mov dword [rbp - 0x78], ecx
lea rcx, [rbp + 0xe0]
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x60], 8
test rdx, rdx
je 0x1400986bc
lea rcx, [rbp - 0x80]
call rdx
mov rdx, qword [0x140388a90]
test rax, rax
mov rax, qword [0x1403898d8]
je 0x1400986bc
mov rcx, qword [rbp + 0xe0]
jmp 0x1400986c6
mov rdx, qword [0x140388a90]
mov qword [rbp + 0xe0], rbx
mov rcx, rbx
lea r8, [rcx + 0x3d0]
test r8, r8
je 0x14009872a
mov ecx, dword [0x140389688]
mov dword [rsp + 0x78], ecx
mov ecx, dword [0x140389680]
mov dword [rsp + 0x44], ecx
mov ecx, dword [0x140389684]
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x60], listen
test rdx, rdx
je 0x14009872a
lea rcx, [rsp + 0x40]
call rdx
mov rax, qword [0x1403898d8]
mov rdx, qword [0x140388a90]
movss dword [rsp + 0x30], xmm7
movaps xmm7, xmmword [rsp + 0x1b0]
movss dword [rsp + 0x34], xmm8
movaps xmm8, xmmword [rsp + 0x1a0]
movss dword [rsp + 0x38], xmm6
movaps xmm6, xmmword [rsp + 0x1c0]
test rax, rax
je 0x1400987c3
lea rcx, [rax + 0x3c0]
test rcx, rcx
je 0x1400987bc
mov eax, dword [0x140389688]
mov dword [rbp - 8], eax
mov eax, dword [0x140389680]
mov dword [rbp - 0x3c], eax
mov eax, dword [0x140389684]
mov dword [rbp - 0x38], eax
lea rax, [rbp + 0xe8]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x40], ebx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x20], 8
test rdx, rdx
je 0x1400987bc
lea rcx, [rbp - 0x40]
call rdx
mov rdx, qword [0x140388a90]
test rax, rax
je 0x1400987bc
mov rbx, qword [rbp + 0xe8]
jmp 0x1400987c3
mov qword [rbp + 0xe8], rbx
add rbx, 0x40
je 0x14009880b
mov eax, dword [0x140389688]
mov dword [rbp + 0x38], eax
mov eax, dword [0x140389680]
mov dword [rbp + 4], eax
mov eax, dword [0x140389684]
mov dword [rbp + 8], eax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x18], rax
mov dword [rbp], 1
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x20], listen
test rdx, rdx
je 0x14009880b
lea rcx, [rbp]
call rdx
mov al, 1
jmp 0x140098821
xor ebx, ebx
mov byte [0x140366a32], 0
mov qword [0x140366a88], rbx
xor al, al
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop rbp
ret