Function at 0x1400fd679
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14024f7a0
push rbp
push rsi
push rdi
sub rsp, 0x440
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xa4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1404ceb80]
xor rax, rbp
mov qword [rbp + 0x408], rax
lea rcx, [0x1404fe4a5]
call fcn.1400fea60
cmp dword [0x1404d8c34], 0
jne 0x14024f7f3
mov dword [0x1404d8c38], 0
jmp 0x14024f85a
cmp dword [0x1404d8c34], 1
jne 0x14024f808
mov dword [0x1404d8c38], 7
jmp 0x14024f85a
cmp dword [0x1404d8c34], 2
jne 0x14024f81d
mov dword [0x1404d8c38], 6
jmp 0x14024f85a
cmp dword [0x1404d8c34], 3
jne 0x14024f832
mov dword [0x1404d8c38], 5
jmp 0x14024f85a
cmp dword [0x1404d8c34], 4
jne 0x14024f847
mov dword [0x1404d8c38], 3
jmp 0x14024f85a
cmp dword [0x1404d8c34], 5
jne 0x14024f85a
mov dword [0x1404d8c38], 4
mov ecx, dword [0x1404d8c38]
call fcn.1400fc49a
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14024fd19
mov r8d, dword [0x1404d8c38]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.1400fef10
movzx eax, byte [0x1404d8c30]
test eax, eax
je 0x14024f8ae
cvtss2sd xmm0, dword [0x1403a2d04]
addsd xmm0, qword [0x140354bb8]
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x44], xmm0
jmp 0x14024f8c7
cvtss2sd xmm0, dword [0x1403a2d04]
addsd xmm0, qword [0x140354be8]
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x44], xmm0
movss xmm0, dword [rbp + 0x44]
movss dword [rbp + 0x64], xmm0
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x88], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0xa4], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0xc4], eax
cvtss2sd xmm0, dword [rbp + 0x8c]
cvtss2sd xmm1, dword [rbp + 0x88]
cvtsi2sd xmm2, dword [rbp + 0xc4]
cvtsi2sd xmm3, dword [rbp + 0xa4]
movsd qword [rbp + 0x3f8], xmm3
movsd qword [rsp + 0x20], xmm0
movaps xmm3, xmm1
movsd xmm0, qword [rbp + 0x3f8]
movaps xmm1, xmm0
lea rcx, [0x1404d9544]
call fcn.1400fe8c6
movss dword [rbp + 0xe4], xmm0
xorps xmm0, xmm0
movss dword [rbp + 0x104], xmm0
xorps xmm0, xmm0
movss dword [rbp + 0x124], xmm0
movss xmm0, dword [rbp + 0x88]
ucomiss xmm0, dword [0x14031467c]
jp 0x14024f982
je 0x14024fa6d
cvtsi2ss xmm0, dword [rbp + 0xa4]
movss xmm1, dword [rbp + 0x88]
comiss xmm1, xmm0
jbe 0x14024f9fe
cvtsi2ss xmm0, dword [rbp + 0xa4]
subss xmm0, dword [rbp + 0x88]
xorps xmm0, xmmword [0x140314780]
movss dword [rbp + 0x104], xmm0
movss xmm0, dword [rbp + 0x104]
divss xmm0, dword [rbp + 0x64]
movss dword [rbp + 0x104], xmm0
cvtsi2ss xmm0, dword [rbp + 0xa4]
movss xmm1, dword [rbp + 0x104]
addss xmm1, xmm0
movaps xmm0, xmm1
mov eax, dword [rbp + 0xa4]
shl eax, 1
cvtsi2ss xmm1, eax
comiss xmm0, xmm1
jbe 0x14024f9fe
xorps xmm0, xmm0
movss dword [rbp + 0x104], xmm0
cvtsi2ss xmm0, dword [rbp + 0xa4]
comiss xmm0, dword [rbp + 0x88]
jbe 0x14024fa6d
cvtsi2ss xmm0, dword [rbp + 0xa4]
movss xmm1, dword [rbp + 0x88]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rbp + 0x104], xmm0
movss xmm0, dword [rbp + 0x104]
divss xmm0, dword [rbp + 0x64]
movss dword [rbp + 0x104], xmm0
cvtsi2ss xmm0, dword [rbp + 0xa4]
movss xmm1, dword [rbp + 0x104]
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14024fa6d
xorps xmm0, xmm0
movss dword [rbp + 0x104], xmm0
movss xmm0, dword [rbp + 0x8c]
ucomiss xmm0, dword [0x14031467c]
jp 0x14024fa84
je 0x14024fb6f
cvtsi2ss xmm0, dword [rbp + 0xc4]
movss xmm1, dword [rbp + 0x8c]
comiss xmm1, xmm0
jbe 0x14024fb00
cvtsi2ss xmm0, dword [rbp + 0xc4]
subss xmm0, dword [rbp + 0x8c]
xorps xmm0, xmmword [0x140314780]
movss dword [rbp + 0x124], xmm0
movss xmm0, dword [rbp + 0x124]
divss xmm0, dword [rbp + 0x64]
movss dword [rbp + 0x124], xmm0
cvtsi2ss xmm0, dword [rbp + 0xc4]
movss xmm1, dword [rbp + 0x124]
addss xmm1, xmm0
movaps xmm0, xmm1
mov eax, dword [rbp + 0xc4]
shl eax, 1
cvtsi2ss xmm1, eax
comiss xmm0, xmm1
jbe 0x14024fb00
xorps xmm0, xmm0
movss dword [rbp + 0x124], xmm0
cvtsi2ss xmm0, dword [rbp + 0xc4]
comiss xmm0, dword [rbp + 0x8c]
jbe 0x14024fb6f
cvtsi2ss xmm0, dword [rbp + 0xc4]
movss xmm1, dword [rbp + 0x8c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rbp + 0x124], xmm0
movss xmm0, dword [rbp + 0x124]
divss xmm0, dword [rbp + 0x64]
movss dword [rbp + 0x124], xmm0
cvtsi2ss xmm0, dword [rbp + 0xc4]
movss xmm1, dword [rbp + 0x124]
addss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14024fb6f
xorps xmm0, xmm0
movss dword [rbp + 0x124], xmm0
mov rax, qword [rbp + 8]
add rax, 0x90
mov rdx, rax
lea rcx, [rbp + 0x378]
call fcn.1400fd5de
lea rcx, [rbp + 0x348]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x148]
lea rcx, [rbp + 0x348]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [0x1404d7468]
add rax, 0x90
mov rdx, rax
lea rcx, [rbp + 0x3d8]
call fcn.1400fd5de
lea rcx, [rbp + 0x3a8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x178]
lea rcx, [rbp + 0x3a8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rbp + 0x178]
subss xmm0, dword [rbp + 0x148]
mov edx, 2
call fcn.1400fc242
movsd qword [rbp + 0x3f8], xmm0
movss xmm1, dword [rbp + 0x17c]
subss xmm1, dword [rbp + 0x14c]
mov edx, 2
movaps xmm0, xmm1
call fcn.1400fc242
movsd xmm1, qword [rbp + 0x3f8]
addsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rbp + 0x400], xmm0
movss xmm1, dword [rbp + 0x17c]
subss xmm1, dword [rbp + 0x14c]
mov edx, 2
movaps xmm0, xmm1
call fcn.1400fc242
movsd xmm1, qword [rbp + 0x400]
addsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400fa41f
mulsd xmm0, qword [0x140354bc8]
movsd qword [rbp + 0x1a8], xmm0
cvtss2sd xmm0, dword [rbp + 0xe4]
cvtss2sd xmm1, dword [0x1403a2d00]
addsd xmm1, qword [0x140354bb8]
comisd xmm1, xmm0
jb 0x14024fd19
cvtss2sd xmm0, dword [0x1403a2d08]
comisd xmm0, xmmword [rbp + 0x1a8]
jb 0x14024fd19
mov ecx, dword [0x1404d9504]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14024fd19
movss xmm0, dword [rbp + 0x124]
divss xmm0, dword [0x14030214c]
cvttss2si rax, xmm0
cvttss2si rcx, dword [rbp + 0x104]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, ecx
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp - 0x30]
lea rdx, [0x140351280]
call fcn.1400fdd81
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.1400fc355
lea rsp, [rbp + 0x410]
pop rdi
pop rsi
pop rbp
ret