Function at 0x1400ff692
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140254c20
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 [0x1404d4b80]
xor rax, rbp
mov qword [rbp + 0x408], rax
lea rcx, [0x1405044a6]
call fcn.140100a5b
nop
cmp dword [0x1404dec44], 0
jne 0x140254c74
mov dword [0x1404dec48], 0
jmp 0x140254cdb
cmp dword [0x1404dec44], 1
jne 0x140254c89
mov dword [0x1404dec48], 7
jmp 0x140254cdb
cmp dword [0x1404dec44], 2
jne 0x140254c9e
mov dword [0x1404dec48], 6
jmp 0x140254cdb
cmp dword [0x1404dec44], 3
jne 0x140254cb3
mov dword [0x1404dec48], 5
jmp 0x140254cdb
cmp dword [0x1404dec44], 4
jne 0x140254cc8
mov dword [0x1404dec48], 3
jmp 0x140254cdb
cmp dword [0x1404dec44], 5
jne 0x140254cdb
mov dword [0x1404dec48], 4
mov ecx, dword [0x1404dec48]
call fcn.1400fe4b3
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14025519c
mov r8d, dword [0x1404dec48]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.140100f1a
nop
movzx eax, byte [0x1404dec40]
test eax, eax
je 0x140254d30
cvtss2sd xmm0, dword [0x1403a8d04]
addsd xmm0, qword [0x14035adf8]
cvtsd2ss xmm0, xmm0
movss dword [rbp + 0x44], xmm0
jmp 0x140254d49
cvtss2sd xmm0, dword [0x1403a8d04]
addsd xmm0, qword [0x14035ae28]
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, [0x1404df554]
call fcn.1401008c6
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 [0x14031a6ec]
jp 0x140254e04
je 0x140254eef
cvtsi2ss xmm0, dword [rbp + 0xa4]
movss xmm1, dword [rbp + 0x88]
comiss xmm1, xmm0
jbe 0x140254e80
cvtsi2ss xmm0, dword [rbp + 0xa4]
subss xmm0, dword [rbp + 0x88]
xorps xmm0, xmmword [0x14031a7f0]
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 0x140254e80
xorps xmm0, xmm0
movss dword [rbp + 0x104], xmm0
cvtsi2ss xmm0, dword [rbp + 0xa4]
comiss xmm0, dword [rbp + 0x88]
jbe 0x140254eef
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 0x140254eef
xorps xmm0, xmm0
movss dword [rbp + 0x104], xmm0
movss xmm0, dword [rbp + 0x8c]
ucomiss xmm0, dword [0x14031a6ec]
jp 0x140254f06
je 0x140254ff1
cvtsi2ss xmm0, dword [rbp + 0xc4]
movss xmm1, dword [rbp + 0x8c]
comiss xmm1, xmm0
jbe 0x140254f82
cvtsi2ss xmm0, dword [rbp + 0xc4]
subss xmm0, dword [rbp + 0x8c]
xorps xmm0, xmmword [0x14031a7f0]
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 0x140254f82
xorps xmm0, xmm0
movss dword [rbp + 0x124], xmm0
cvtsi2ss xmm0, dword [rbp + 0xc4]
comiss xmm0, dword [rbp + 0x8c]
jbe 0x140254ff1
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 0x140254ff1
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.1400ff5f2
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 [0x1404dd478]
add rax, 0x90
mov rdx, rax
lea rcx, [rbp + 0x3d8]
call fcn.1400ff5f2
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.1400fe265
movsd qword [rbp + 0x3f8], xmm0
movss xmm1, dword [rbp + 0x17c]
subss xmm1, dword [rbp + 0x14c]
mov edx, 2
movaps xmm0, xmm1
call fcn.1400fe265
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.1400fe265
movsd xmm1, qword [rbp + 0x400]
addsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400fc415
mulsd xmm0, qword [0x14035ae08]
movsd qword [rbp + 0x1a8], xmm0
cvtss2sd xmm0, dword [rbp + 0xe4]
cvtss2sd xmm1, dword [0x1403a8d00]
addsd xmm1, qword [0x14035adf8]
comisd xmm1, xmm0
jb 0x14025519c
cvtss2sd xmm0, dword [0x1403a8d08]
comisd xmm0, xmmword [rbp + 0x1a8]
jb 0x14025519c
mov ecx, dword [0x1404df514]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14025519c
movss xmm0, dword [rbp + 0x124]
divss xmm0, dword [0x14030814c]
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]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140357440]
call fcn.1400ffd95
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.1400fe37d
lea rsp, [rbp + 0x410]
pop rdi
pop rsi
pop rbp
ret