Function at 0x1401680e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x498
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x480], rax
xorps xmm0, xmm0
movss dword [rsp + 0xb0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xb4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xb8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1b8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1bc], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xc0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xc4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xc8], xmm0
movss xmm0, dword [0x140d17054]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [0x140d17054]
movss dword [rsp + 0x4c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x180], 0
lea rcx, [rsp + 0x1e0]
call fcn.140059d20
nop
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x1a0], 0
mov edx, 0x18
lea rcx, [rsp + 0x188]
call fcn.1400244e0
lea rcx, [rsp + 0x188]
call fcn.1400254f0
nop
lea rax, [0x141160280]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140069130
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400da9f0
mov qword [rsp + 0x90], rax
jmp 0x140168234
mov rax, qword [rsp + 0x50]
add rax, 0x298
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x50], rax
je 0x14016847a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
movzx eax, byte [0x14115ecbf]
cmp eax, 1
jne 0x140168283
mov rax, qword [rsp + 0x40]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x24]
jb 0x140168283
mov ecx, dword [0x1411581ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140168283
jmp 0x140168224
movzx eax, byte [0x14115ecc4]
cmp eax, 1
jne 0x14016829f
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 4]
cmp eax, 1
jne 0x14016829f
jmp 0x140168224
lea rax, [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x1a0]
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [0x14115ec50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x100]
call fcn.140026cd0
test eax, eax
je 0x140168475
movzx eax, byte [0x14115ecf7]
test eax, eax
je 0x140168475
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [0x14115e614]
cvtsi2ss xmm1, dword [0x14115e618]
movss dword [rsp + 0x60], xmm1
movss xmm3, dword [0x1411581b0]
lea r8, [rsp + 0xe0]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x60]
call fcn.140024500
movzx eax, al
test eax, eax
je 0x140168475
cmp dword [0x14115ed68], 0
jne 0x1401683f9
mov eax, dword [0x14115e618]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x1b8]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.140025680
movsd qword [rsp + 0x98], xmm0
mov eax, dword [0x14115e614]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [rsp + 0x1bc]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.140025680
movsd xmm1, qword [rsp + 0x98]
addsd xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x30], xmm0
jmp 0x140168408
cvtsi2ss xmm0, dword [rsp + 0x180]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x48]
comiss xmm0, dword [rsp + 0x30]
jbe 0x140168475
mov eax, dword [0x141158734]
cmp dword [rsp + 0x180], eax
jge 0x140168470
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x141160cb0]
call fcn.1400683e0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x158]
mov dword [0x14115d950], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x158]
mov dword [rsp + 0x88], eax
jmp 0x140168475
jmp 0x140168224
jmp 0x140168224
cmp dword [rsp + 0x34], 0
jne 0x1401684fc
movss xmm0, dword [0x140d17054]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [0x140d17054]
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [0x140d17054]
movss dword [rsp + 0x80], xmm0
mov dword [0x14115d950], 0
lea rax, [rsp + 0x78]
mov rdi, qword [rsp + 0x4b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x188]
call fcn.140061810
nop
lea rcx, [rsp + 0x1e0]
call fcn.140059e50
mov rax, qword [rsp + 0x4b0]
jmp 0x140168952
movzx eax, byte [0x14115ed43]
test eax, eax
je 0x140168886
lea rdx, [0x141160e50]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160e5c]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160e74]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160e68]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160e80]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160e8c]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160e98]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160ea4]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160eb0]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160ebc]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160ec8]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160ed4]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160ee0]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160eec]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
lea rdx, [0x141160ef8]
lea rcx, [rsp + 0x188]
call fcn.1401680b0
nop
lea rax, [rsp + 0x188]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140069130
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400da9f0
mov qword [rsp + 0xa0], rax
jmp 0x140168676
mov rax, qword [rsp + 0x58]
add rax, 0xc
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x58], rax
je 0x140168876
lea rax, [rsp + 0x1a8]
mov rdi, rax
mov rsi, qword [rsp + 0x58]
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [0x14115ec50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x1a0]
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x140]
call fcn.140026cd0
test eax, eax
je 0x140168871
mov eax, dword [0x14115e618]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x1c8]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.140025680
movsd qword [rsp + 0xa8], xmm0
mov eax, dword [0x14115e614]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [rsp + 0x1cc]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.140025680
movsd xmm1, qword [rsp + 0xa8]
addsd xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rsp + 0x38]
jbe 0x140168871
mov eax, dword [0x141158734]
cmp dword [rsp + 0x1a0], eax
jge 0x14016886c
lea rdx, [0x141160e50]
lea rcx, [rsp + 0x1a8]
call fcn.140059c30
movzx eax, al
test eax, eax
je 0x1401687f9
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [0x141158648]
movss xmm1, dword [rsp + 0x28]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
jmp 0x14016885e
lea rdx, [0x141160e50]
lea rcx, [rsp + 0x1a8]
call fcn.140059c30
movzx eax, al
test eax, eax
je 0x140168844
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x28]
subss xmm0, dword [0x140d16ec0]
movss dword [rsp + 0x28], xmm0
jmp 0x14016885e
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x4c], xmm0
jmp 0x140168871
jmp 0x140168668
jmp 0x140168668
lea rcx, [rsp + 0x188]
call fcn.14005f420
nop
jmp 0x1401688fb
cmp dword [0x14115ed2c], 0
jne 0x1401688c5
lea rax, [rsp + 0x20]
lea rcx, [0x141160e50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [0x141158648]
movss xmm1, dword [rsp + 0x28]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
jmp 0x1401688fb
cmp dword [0x14115ed2c], 1
jne 0x1401688fb
lea rax, [rsp + 0x20]
lea rcx, [0x141160e50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x28]
subss xmm0, dword [0x140d16ec0]
movss dword [rsp + 0x28], xmm0
lea rax, [rsp + 0x20]
mov rdi, qword [rsp + 0x4b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x188]
call fcn.140061810
nop
lea rcx, [rsp + 0x1e0]
call fcn.140059e50
mov rax, qword [rsp + 0x4b0]
jmp 0x140168952
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x498
pop rdi
pop rsi
ret