Function at 0x180137660
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0xe0
call fcn.1800e8e70
mov rdi, rax
cmp byte [rax + 0x3f4], 0
jne 0x180137692
call fcn.1800e87e0
mov dword [rax + 0x218], 0xffffffff
add rsp, 0xe0
pop rdi
ret
call fcn.1800e8e70
cmp byte [rax + 0x2d8], 0
jne 0x18013767a
call fcn.1800e8e70
cmp byte [rax + 0x330], 0
jne 0x18013767a
mov qword [rsp + 0x108], rsi
call fcn.1800e87e0
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 3]
lea rsi, [rcx + 7]
add rsi, rax
je 0x180137ba0
mov rax, qword [rsi]
test rax, rax
je 0x180137ba0
mov rcx, qword [rax]
test rcx, rcx
je 0x180137ba0
cmp qword [rcx + 0x3c0], 0
je 0x180137ba0
movabs rcx, 0xa5edc40ef369b48d
mov qword [rsp + 0xf8], rbp
call fcn.1800ea350
mov edx, eax
movabs rcx, 0x43a66c31c68491c0
call fcn.1800ea410
mov ebp, eax
call fcn.1800e8e70
mov r8d, dword [rax + 0x444]
lea edx, [r8 - 3]
cmp edx, 3
lea ecx, [r8 + 1]
cmova ecx, r8d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180137b5a
call fcn.1800e8e70
cmp dword [rax + 0x444], 0
je 0x180137b5a
cmp byte [rdi + 0x426], 0
jne 0x180137787
mov rdx, rsi
lea rcx, [rsp + 0x100]
call fcn.180136d90
mov edx, dword [rax]
mov dword [0x18026d738], edx
mov eax, dword [rax + 4]
mov dword [0x18026d73c], eax
jmp 0x18013778d
mov edx, dword [0x18026d738]
movabs rcx, 0x7239b21a38f536ba
call fcn.1800ea410
test eax, eax
je 0x180137b7b
call fcn.1800e8e70
mov ecx, dword [rax + 0x514]
cmp ecx, 0xa2719263
je 0x180137b8c
test ecx, ecx
je 0x180137b8c
mov ecx, dword [rdi + 0x438]
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0xa0], xmm9
movaps xmmword [rsp + 0x90], xmm10
movaps xmmword [rsp + 0x80], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x60], xmm13
test ecx, ecx
je 0x180137842
sub ecx, 1
je 0x18013783a
sub ecx, 1
je 0x180137832
sub ecx, 1
je 0x18013782a
cmp ecx, 1
jne 0x180137842
mov r8d, dword [0x18026d73c]
jmp 0x180137848
mov r8d, 0x9995
jmp 0x180137848
mov r8d, 0x2e28
jmp 0x180137848
mov r8d, 0x29d2
jmp 0x180137848
mov r8d, 0x796e
mov edx, dword [0x18026d738]
movabs rcx, 0x3f428d08be5aae31
call fcn.1800ee790
mov r8d, dword [0x18026d738]
lea rcx, [rsp + 0x40]
mov r9d, eax
movabs rdx, 0x46f8696933a63c9b
call fcn.1800e9250
movsd xmm0, qword [rsp + 0x50]
lea rdx, [rsp + 0x20]
movups xmm7, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x100]
movsd qword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm7
call fcn.180153a40
movss xmm6, dword [0x1801e2ed8]
movaps xmm8, xmm7
shufps xmm8, xmm7, 0xaa
movss xmm0, dword [rax]
movss dword [0x18026d730], xmm0
movss xmm1, dword [rax + 4]
movss dword [0x18026d734], xmm1
movaps xmm1, xmm6
mov rax, qword [rsi]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x3c0]
movsd xmm12, qword [rax + 0x60]
movss xmm13, dword [rax + 0x68]
movaps xmm11, xmm12
shufps xmm11, xmm11, 0x55
movaps xmm0, xmm11
subss xmm0, xmm8
call fcn.1801be530
movaps xmm10, xmm0
movaps xmm1, xmm6
movaps xmm0, xmm12
subss xmm0, xmm7
call fcn.1801be530
movss xmm9, dword [rsp + 0x50]
addss xmm10, xmm0
movaps xmm0, xmm13
movaps xmm1, xmm6
subss xmm0, xmm9
call fcn.1801be530
addss xmm10, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm10
ja 0x180137946
sqrtss xmm10, xmm10
jmp 0x180137953
movaps xmm0, xmm10
call fcn.1801bf6ac
movaps xmm10, xmm0
comiss xmm10, dword [rdi + 0x434]
ja 0x18013799c
mov edx, dword [0x18026d738]
movabs rcx, 0xeef059fad016d209
call fcn.1800ea410
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call fcn.1800e8e70
movd xmm0, dword [rax + 0x440]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm6
jbe 0x180137a04
call fcn.1800e8e70
cmp dword [rax + 0x440], 0
jle 0x180137a04
call fcn.1800e87e0
mov dword [rax + 0x218], 0xffffffff
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm13, xmmword [rsp + 0x60]
mov rbp, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x108]
add rsp, 0xe0
pop rdi
ret
movabs rcx, 0x8d4d46230b2c353a
mov qword [rsp + 0xf0], rbx
call fcn.1800ea350
cmp eax, 4
je 0x180137a49
movabs rcx, 0x5e346d934122613f
call fcn.1800ea350
test eax, eax
jne 0x180137a49
mov rax, qword [rsi]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x3c0]
add rbx, 0x3d0
jmp 0x180137a5a
mov rax, qword [rsi]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x3c0]
add rbx, 0x40
subss xmm7, xmm12
mov r8d, 1
subss xmm8, xmm11
mov edx, ebp
subss xmm9, xmm13
movabs rcx, 0x997abd671d25ca0b
divss xmm7, xmm10
divss xmm8, xmm10
divss xmm9, xmm10
call fcn.1800ee790
test eax, eax
je 0x180137ab6
mov rax, qword [rsi]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x3c0]
movss xmm0, dword [rax + 0x3d8]
subss xmm0, dword [rax + 0x48]
addss xmm0, xmm9
movaps xmm9, xmm0
movss xmm2, dword [rbx + 8]
lea rax, [rbx + 4]
movss xmm4, dword [rbx]
movaps xmm1, xmm9
movss xmm5, dword [rax]
subss xmm1, xmm2
movss xmm0, dword [rdi + 0x42c]
divss xmm1, dword [rdi + 0x430]
test rax, rax
je 0x180137b3c
movss xmm3, dword [0x1801e2ec0]
comiss xmm0, xmm3
jbe 0x180137b0c
subss xmm8, xmm5
subss xmm7, xmm4
divss xmm8, xmm0
divss xmm7, xmm0
addss xmm8, xmm5
addss xmm7, xmm4
movss dword [rbx], xmm7
movss dword [rax], xmm8
cmp byte [rdi + 0x425], 0
je 0x180137b3c
movss xmm0, dword [rdi + 0x430]
comiss xmm0, xmm3
jbe 0x180137b36
addss xmm2, xmm1
movss dword [rbx + 8], xmm2
jmp 0x180137b3c
movss dword [rbx + 8], xmm9
mov ebx, dword [0x18026d738]
call fcn.1800e87e0
mov dword [rax + 0x218], ebx
mov rbx, qword [rsp + 0xf0]
jmp 0x1801379ab
mov rdx, rsi
lea rcx, [rsp + 0x100]
call fcn.180136d90
mov ecx, dword [rax]
mov dword [0x18026d738], ecx
mov eax, dword [rax + 4]
mov dword [0x18026d73c], eax
xorps xmm1, xmm1
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [0x18026d730], xmm0
call fcn.1800e87e0
mov dword [rax + 0x218], 0xffffffff
jmp 0x1801379eb
call fcn.1800e87e0
mov rsi, qword [rsp + 0x108]
mov dword [rax + 0x218], 0xffffffff
add rsp, 0xe0
pop rdi
ret