Function at 0x140038560
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1400e0040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [0x140109998]
cmp byte [rcx + 0x114], 0
je 0x140038846
mov ecx, dword [rcx + 0x11c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140038846
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rsi
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm8
movaps xmmword [rsp + 0x50], xmm9
call fcn.1400333c0
mov rcx, qword [0x140109998]
xorps xmm8, xmm8
xorps xmm1, xmm1
mov edx, dword [rcx + 0x118]
test edx, edx
jne 0x1400385ed
mov r9, qword [0x1401099b0]
mov r9d, dword [r9 + 0xf0]
jmp 0x140038669
cmp edx, 1
jne 0x140038602
mov r9, qword [0x1401099b0]
mov r9d, dword [r9 + 0xf4]
jmp 0x140038669
cmp edx, 2
jne 0x140038617
mov r9, qword [0x1401099b0]
mov r9d, dword [r9 + 0x104]
jmp 0x140038669
cmp edx, 3
jne 0x14003862c
mov r9, qword [0x1401099b0]
mov r9d, dword [r9 + 0xf8]
jmp 0x140038669
cmp edx, 4
jne 0x140038641
mov r9, qword [0x1401099b0]
mov r9d, dword [r9 + 0xfc]
jmp 0x140038669
cmp edx, 5
jne 0x140038656
mov r9, qword [0x1401099b0]
mov r9d, dword [r9 + 0x100]
jmp 0x140038669
cmp edx, 6
jne 0x140038680
mov r9, qword [0x1401099b0]
mov r9d, dword [r9 + 0x108]
mov r8, rax
lea rdx, [rsp + 0x30]
call fcn.140042c40
movss xmm8, dword [rax]
movss xmm1, dword [rax + 4]
mov rbx, qword [0x140109998]
movss xmm9, dword [0x1400cfde8]
movss xmm0, dword [rbx + 4]
mulss xmm0, xmm9
subss xmm0, xmm1
movsd xmm1, qword [0x1400cfe60]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm2, dword [rbx]
movaps xmm7, xmm0
movsd xmm1, qword [0x1400cfe60]
mulss xmm2, xmm9
subss xmm2, xmm8
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm8, xmmword [rsp + 0x60]
addsd xmm7, xmm0
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x70]
ucomiss xmm1, xmm0
ja 0x1400386f3
sqrtss xmm0, xmm0
jmp 0x1400386f8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1400cfea0]
mov rax, qword [0x140109998]
comiss xmm1, xmm0
setae cl
xor esi, esi
mov byte [0x140109843], cl
cmp byte [rax + 0x115], sil
je 0x14003880a
mov rax, qword [0x1401097d0]
lea r8, str.Background
xor edx, edx
mov qword [rsp + 0x80], rdi
test cl, cl
mov rcx, qword [rax + 0x4888]
mov rcx, qword [rcx]
je 0x140038757
call fcn.14000ee00
movdqa xmm0, xmmword [0x1400d02c0]
jmp 0x140038764
call fcn.14000ee00
movdqa xmm0, xmmword [0x1400d0270]
lea rcx, [rsp + 0x30]
mov rbx, rax
movups xmmword [rsp + 0x30], xmm0
call fcn.14000b810
mov rcx, qword [0x140109998]
mov edi, eax
movss xmm1, dword [rcx + 4]
movss xmm0, dword [rcx]
mulss xmm1, xmm9
mulss xmm0, xmm9
movss dword [rsp + 0x34], xmm1
movss dword [rsp + 0x30], xmm0
test eax, 0xff000000
je 0x140038802
movss xmm0, dword [0x1400cfe90]
lea rdx, [rsp + 0x30]
movss xmm2, dword [0x1400cfe9c]
xorps xmm3, xmm3
mov dword [rsp + 0x28], 0x63
mov rcx, rbx
movss dword [rsp + 0x20], xmm0
call fcn.1400246f0
movss xmm0, dword [0x1400cfe2c]
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.140022ca0
mov dword [rbx + 0x78], esi
mov rdi, qword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x50]
xor r9d, r9d
mov rbx, qword [rsp + 0x90]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
cmp byte [0x140109843], sil
mov ecx, 2
jne 0x140038838
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400470e0
add rsp, 0x88
ret