Function at 0x140078550
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rdi
sub rsp, 0x110
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, qword [0x1403403d8]
xorps xmm9, xmm9
mov rdi, qword [0x1403403e0]
mov qword [0x14030ab58], 0
cmp rbx, rdi
je 0x1400785ca
mov rcx, rbx
call fcn.14000bbc0
add rbx, 0x1a0
cmp rbx, rdi
jne 0x1400785a8
mov rax, qword [0x1403403d8]
mov qword [0x1403403e0], rax
mov rcx, qword [0x14033bfa8]
movabs rbx, 0x4ec4ec4ec4ec4ec5
sub rcx, qword [0x14033bfa0]
mov rax, rbx
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], r14
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm7
movaps xmmword [rsp + 0xe0], xmm8
imul rcx
movaps xmmword [rsp + 0x90], xmm13
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm15
lea rcx, [0x1403403d8]
sar rdx, 7
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, qword [0x14033bfa0]
call fcn.14000d240
mov rcx, qword [0x1403403d8]
lea r9, [0x140078450]
mov r8, qword [0x1403403e0]
mov rax, rbx
sub r8, rcx
imul r8
sar rdx, 7
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, qword [0x1403403e0]
call fcn.14007bd00
mov rbx, qword [0x1403403d8]
movaps xmm11, xmm9
mov rbp, qword [0x1403403e0]
movaps xmm12, xmm9
movaps xmm10, xmm9
cmp rbx, rbp
je 0x140078a8a
movsd xmm14, qword [0x14027f5d0]
xor r14d, r14d
movss xmm13, dword [0x14027f534]
nop word [rax + rax]
cmp byte [0x14029ad9a], r14b
mov byte [0x14030a36d], 1
jne 0x1400786e8
comiss xmm9, dword [rbx + 0x14]
jb 0x1400786e8
movss xmm0, dword [rbx + 0x10]
ucomiss xmm0, xmm9
jp 0x1400786e8
je 0x140078a7a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140078709
movss xmm0, dword [rbx + 0x10]
ucomiss xmm0, xmm9
jp 0x140078709
je 0x140078a7a
movsd xmm0, qword [rbx + 0xe8]
movss xmm8, dword [rbx + 0xf0]
movaps xmm4, xmm0
movsd qword [rsp + 0x50], xmm0
movaps xmm1, xmm8
movss xmm5, dword [rsp + 0x50]
mulss xmm1, dword [0x14030aafc]
movaps xmm0, xmm5
mulss xmm0, dword [0x14030aadc]
addss xmm1, dword [0x14030ab0c]
shufps xmm4, xmm4, 0x55
movaps xmm2, xmm4
mulss xmm2, dword [0x14030aaec]
addss xmm2, xmm0
movss xmm0, dword [0x14027f4e0]
addss xmm2, xmm1
comiss xmm0, xmm2
ja 0x140078a6e
movss xmm3, dword [0x14027f588]
movaps xmm0, xmm4
mulss xmm4, dword [0x14030aae4]
movaps xmm1, xmm8
mov esi, dword [0x14030a230]
mulss xmm0, dword [0x14030aae0]
xorps xmm6, xmm6
mov edi, dword [0x14030a234]
mov eax, edi
mulss xmm1, dword [0x14030aaf0]
movaps xmm7, xmm5
cdq
mulss xmm7, dword [0x14030aad0]
sub eax, edx
sar eax, 1
mulss xmm5, dword [0x14030aad4]
mulss xmm8, dword [0x14030aaf4]
addss xmm7, xmm0
divss xmm3, xmm2
addss xmm4, xmm5
xorps xmm0, xmm0
addss xmm7, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
addss xmm4, xmm8
addss xmm7, dword [0x14030ab00]
cvtsi2ss xmm6, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
addss xmm4, dword [0x14030ab04]
mulss xmm7, xmm3
cvtsi2ss xmm0, eax
mulss xmm4, xmm3
mulss xmm7, xmm2
mulss xmm4, xmm6
addss xmm7, xmm2
subss xmm6, xmm4
movss dword [0x14030ab58], xmm7
movaps xmm1, xmm6
movss dword [0x14030ab5c], xmm6
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm14
call fcn.1400f7120
movaps xmm8, xmm0
movaps xmm1, xmm7
xorps xmm0, xmm0
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm14
call fcn.1400f7120
addsd xmm8, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm8
ja 0x140078887
xorps xmm0, xmm0
sqrtsd xmm0, xmm8
jmp 0x140078890
movaps xmm0, xmm8
call fcn.1400f9d88
movss xmm1, dword [0x14027f740]
cvtsd2ss xmm0, xmm0
andps xmm0, xmmword [0x14027f910]
comiss xmm1, xmm0
jbe 0x140078a6e
cmp byte [0x14029b015], r14b
movss xmm2, dword [0x140303600]
je 0x1400788f6
xorps xmm0, xmm0
mulss xmm2, xmm2
xorps xmm1, xmm1
cvtsi2ss xmm0, edi
cvtsi2ss xmm1, esi
mulss xmm0, xmm13
mulss xmm1, xmm13
subss xmm7, xmm0
subss xmm6, xmm1
mulss xmm7, xmm7
mulss xmm6, xmm6
addss xmm6, xmm7
comiss xmm2, xmm6
jb 0x140078a6e
mov eax, dword [0x14030ab6c]
test eax, eax
jne 0x14007891c
movss xmm10, dword [rbx + 0xf0]
addss xmm10, dword [0x14027f654]
movsd xmm1, qword [rbx + 0xe8]
jmp 0x14007894a
cmp eax, 1
jne 0x140078934
movsd xmm1, qword [rbx + 0xf4]
movss xmm10, dword [rbx + 0xfc]
jmp 0x14007894a
cmp eax, 2
jne 0x140078962
movsd xmm1, qword [rbx + 0x100]
movss xmm10, dword [rbx + 0x108]
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm1
movss xmm11, dword [rsp + 0x40]
shufps xmm0, xmm0, 0x55
movaps xmm12, xmm0
mov eax, dword [0x14030a158]
test eax, eax
je 0x140078a6e
mov rcx, qword [0x14030ab20]
lea edx, [rax + 0x150]
mov r9d, 4
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140078a6e
mov rcx, qword [0x14030ab20]
lea edx, [rax + 0x150]
mov r9d, SafeArrayGetDim
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x30]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm15, dword [rsp + 0x30]
movss xmm13, dword [rsp + 0x34]
movaps xmm1, xmm15
movss xmm14, dword [rsp + 0x38]
subss xmm1, xmm11
movaps xmm0, xmm14
movaps xmm2, xmm13
subss xmm2, xmm12
subss xmm0, xmm10
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140078a23
xorps xmm8, xmm8
sqrtss xmm8, xmm2
jmp 0x140078a2f
movaps xmm0, xmm2
call fcn.1400f9e54
movaps xmm8, xmm0
divss xmm8, dword [0x14027f6c0]
movss xmm0, dword [0x14027f728]
andps xmm8, xmmword [0x14027f910]
movaps xmm1, xmm8
andps xmm1, xmmword [0x14027f910]
comiss xmm0, xmm1
jae 0x140078b15
movss xmm13, dword [0x14027f534]
movsd xmm14, qword [0x14027f5d0]
movaps xmm11, xmm9
movaps xmm12, xmm9
movaps xmm10, xmm9
add rbx, 0x1a0
cmp rbx, rbp
jne 0x1400786c0
movaps xmm0, xmm9
mov byte [0x14030a36d], 0
unpcklps xmm0, xmm9
movaps xmm15, xmmword [rsp + 0x70]
movq rax, xmm0
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm13, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
mov r14, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c4b80
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop rdi
ret
mov edx, dword [rbx + 0xc4]
lea rcx, [rsp + 0x50]
call fcn.140078470
mov edx, dword [0x14030a15c]
lea rcx, [rsp + 0x40]
movsd xmm7, qword [rax]
mov edi, dword [rax + 8]
call fcn.140078470
mov edx, dword [0x14030a174]
lea r8, [rsp + 0x60]
mov rcx, qword [0x14030ab20]
add edx, 0x408
mov r9d, 4
mov qword [rsp + 0x20], r14
movsd xmm6, qword [rax]
mov ebx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [rsp + 0x60]
movaps xmm1, xmm7
divss xmm0, dword [0x14027f6c0]
subss xmm1, xmm6
movaps xmm2, xmm7
divss xmm8, xmm0
shufps xmm2, xmm2, 0x55
movaps xmm0, xmm6
shufps xmm0, xmm0, 0x55
subss xmm2, xmm0
mulss xmm1, xmm8
movd xmm0, ebx
addss xmm1, xmm11
mulss xmm2, xmm8
subss xmm15, xmm1
movd xmm1, edi
subss xmm1, xmm0
movaps xmm0, xmm8
mulss xmm0, dword [0x14027f600]
addss xmm2, xmm12
mulss xmm0, xmm8
subss xmm13, xmm2
mulss xmm1, xmm8
addss xmm1, xmm10
movaps xmm2, xmm13
mulss xmm2, xmm13
addss xmm1, xmm0
movaps xmm0, xmm15
mulss xmm0, xmm15
addss xmm2, xmm0
xorps xmm0, xmm0
subss xmm14, xmm1
ucomiss xmm0, xmm2
ja 0x140078c0d
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140078c15
movaps xmm0, xmm2
call fcn.1400f9e54
divss xmm14, xmm0
movaps xmm0, xmm14
call fcn.1400f5da0
movss xmm8, dword [0x14027f6e4]
movaps xmm7, xmm0
xorps xmm7, xmmword [0x14027f940]
divss xmm13, xmm15
mulss xmm7, xmm8
movaps xmm0, xmm13
divss xmm7, dword [0x14027f628]
call fcn.1400f5da0
comiss xmm15, xmm9
movaps xmm1, xmm0
mulss xmm1, xmm8
divss xmm1, dword [0x14027f628]
movaps xmm0, xmm1
jb 0x140078c72
addss xmm1, xmm8
movaps xmm0, xmm1
comiss xmm7, xmm8
movss xmm3, dword [0x14027f708]
movss xmm4, dword [0x14027f7a0]
jbe 0x140078c8e
subss xmm7, xmm3
jmp 0x140078c9a
comiss xmm4, xmm7
movaps xmm2, xmm7
jbe 0x140078c9d
addss xmm7, xmm3
movaps xmm2, xmm7
comiss xmm0, xmm8
jbe 0x140078cac
movaps xmm1, xmm0
subss xmm1, xmm3
jmp 0x140078cb8
comiss xmm4, xmm0
jbe 0x140078cb8
movaps xmm1, xmm0
addss xmm1, xmm3
movss xmm0, dword [0x14027f798]
comiss xmm0, xmm2
ja 0x140078cd2
movss xmm0, dword [0x14027f6b8]
comiss xmm2, xmm0
jbe 0x140078cd5
movaps xmm7, xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm1
jmp 0x140078a99