Function at 0x180042ad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x180088040]
xor rax, rsp
mov qword [rbp + 0x138], rax
call fcn.180042440
call fcn.180042230
mov rax, qword [0x180093498]
mov rcx, qword [rax + 8]
mov rax, qword [0x180093548]
add rcx, qword [rax + 0x10]
lea rdx, [0x180091f90]
call fcn.1800085a0
mov rax, qword [0x180093548]
mov ecx, dword [rax + 0x28]
add rcx, qword [0x180091f90]
lea rdx, [0x180091fa0]
call fcn.180008640
xor r14d, r14d
mov edi, r14d
mov r8, qword [0x180093470]
mov rax, qword [r8 + 0x148]
sub rax, qword [r8 + 0x140]
sar rax, 3
xorps xmm8, xmm8
test rax, rax
je 0x18004326f
mov esi, r14d
movabs r15, 0x7ffd5d15ff558
movabs r12, 0xaaaaaaaaaaaaaaab
movss xmm7, dword [0x18007b200]
movss xmm6, dword [0x18007b060]
movsd xmm9, qword [0x18007afd0]
movss xmm10, dword [0x18007af6c]
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov qword [rbp - 0x18], 0
mov dword [rbp - 0x10], 0
mov qword [rbp - 8], 0
mov dword [rbp], 0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
mov dword [rbp + 0x7c], 0
movaps xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x90], xmm1
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xc8], r14
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmmword [rbp + 0x100], xmm1
mov rax, qword [r8 + 0x140]
mov rdx, qword [rsi + rax]
mov qword [rbp + 0xc0], rdx
mov rax, qword [r8 + 0x128]
mov rax, qword [rsi + rax]
mov qword [rbp + 0xb8], rax
mov rax, qword [0x180093548]
mov ecx, dword [rax + 0x44]
add rcx, rdx
lea rdx, [rbp - 8]
call fcn.180043c00
mov rax, qword [0x180093548]
mov ecx, dword [rax + 0x38]
add rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x2c]
call fcn.180008640
mov rax, qword [0x180093548]
mov ecx, dword [rax + 0x2c]
add rcx, qword [rbp + 0xb8]
lea rdx, [rbp - 0x5c]
call fcn.180008640
mov rax, qword [0x180093548]
mov ecx, dword [rax + 0x28]
add rcx, qword [rbp + 0xb8]
lea rdx, [rbp - 0x60]
call fcn.180008640
mov rax, qword [0x180093548]
mov ebx, dword [rax + 0x30]
add rbx, qword [rbp + 0xb8]
je 0x180042d7d
lea rax, [rbx - 0xaa70aa8]
cmp rax, r15
ja 0x180042d7d
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180042d7d
cmp dword [rsp + 0x70], 0x1000
jne 0x180042d7d
mov eax, dword [rsp + 0x74]
test eax, 0x101
jne 0x180042d7d
test al, 0x66
je 0x180042d7d
mov rax, qword [rsp + 0x50]
sub rax, rbx
add rax, qword [rsp + 0x68]
cmp rax, 0x15
jb 0x180042d7d
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x120], xmm0
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0x130], eax
movzx eax, byte [rbx + 0x14]
mov byte [rbp + 0x134], al
mov byte [rbp + 0x134], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea rax, [rbp + 0x120]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180042da4
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.180006c30
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x180042dfa
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042df5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004356d
call fcn.18004473c
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x48], xmm1
lea rcx, [rbp - 0x60]
call fcn.180041b20
lea rcx, [rbp - 0x60]
call fcn.180041eb0
mov rax, qword [0x180091f90]
cmp qword [rbp + 0xb8], rax
jne 0x180043115
mov rax, qword [0x180093548]
mov ebx, dword [rax + 0x44]
add rbx, qword [rbp + 0xc0]
je 0x180042eab
lea rax, [rbx - 0xaa70aa8]
cmp rax, r15
ja 0x180042eab
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180042eab
cmp dword [rsp + 0x70], 0x1000
jne 0x180042eab
mov eax, dword [rsp + 0x74]
test eax, 0x101
jne 0x180042eab
test al, 0x66
je 0x180042eab
mov rax, qword [rsp + 0x50]
sub rax, rbx
add rax, qword [rsp + 0x68]
cmp rax, 0xc
jb 0x180042eab
movsd xmm0, qword [rbx]
movsd qword [0x180091fa8], xmm0
mov eax, dword [rbx + 8]
mov dword [0x180091fb0], eax
mov rax, qword [0x180091f90]
cmp qword [rbp + 0xb8], rax
jne 0x180043115
mov rcx, qword [rbp + 0xf8]
test rcx, rcx
je 0x180042f1d
mov rax, qword [rbp + 0x108]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042f06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043561
call fcn.18004473c
mov qword [rbp + 0xf8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x180042f7b
mov rax, qword [rbp + 0xf0]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042f64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043561
call fcn.18004473c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r14
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x180042fd9
mov rax, qword [rbp + 0xd8]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042fc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043561
call fcn.18004473c
mov qword [rbp + 0xc8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x18004303b
mov rax, qword [rbp + 0xa0]
sub rax, rcx
sar rax, 3
imul rax, r12
lea rdx, [rax + rax*2]
shl rdx, 3
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043561
call fcn.18004473c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r14
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x180043076
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043561
call fcn.18004473c
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1800430c1
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800430bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043561
call fcn.18004473c
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x180043244
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004310b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043561
call fcn.18004473c
jmp 0x180043244
cmp byte [0x180093353], 0
je 0x18004312d
mov eax, dword [0x180091fa0]
cmp dword [rbp - 0x60], eax
je 0x18004323b
cmp dword [rbp + 0x2c], 0
jle 0x18004323b
cmp dword [rbp - 0x5c], 1
jne 0x18004323b
mov rax, qword [rbp + 0x98]
cmp rax, qword [rbp + 0x90]
je 0x18004323b
lea rcx, [rbp - 0x60]
call fcn.180006330
movss xmm0, dword [rbp - 8]
movss dword [rsp + 0x40], xmm0
movss xmm1, dword [rbp - 4]
movss dword [rsp + 0x44], xmm1
movss xmm0, dword [rbp]
addss xmm0, xmm6
movss dword [rsp + 0x48], xmm0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
lea r8, [rsp + 0x38]
lea rdx, [rbp - 8]
call fcn.1800061f0
test eax, eax
je 0x180043220
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.1800061f0
test eax, eax
je 0x180043220
movss xmm4, dword [rsp + 0x34]
comiss xmm8, xmm4
ja 0x180043220
movss xmm0, dword [rsp + 0x3c]
mov rax, qword [0x180093368]
comiss xmm0, dword [rax + 0x14]
ja 0x180043220
movaps xmm3, xmm4
subss xmm3, xmm0
andps xmm3, xmm7
cvtps2pd xmm0, xmm3
mulsd xmm0, xmm9
cvtpd2ps xmm2, xmm0
movaps xmm1, xmm2
mulss xmm1, xmm10
movss xmm0, dword [rsp + 0x38]
subss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm4
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm2
shufps xmm0, xmm0, 0x27
movss xmm0, xmm3
shufps xmm0, xmm0, 0x39
jmp 0x180043223
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [0x180092020], xmm0
lea rcx, [rbp - 0x60]
call fcn.180007560
nop
lea rcx, [rbp - 0x60]
call fcn.180043580
inc edi
add rsi, 8
mov r8, qword [0x180093470]
mov rcx, qword [r8 + 0x148]
sub rcx, qword [r8 + 0x140]
sar rcx, 3
movsxd rax, edi
cmp rax, rcx
jb 0x180042bd0
mov ebx, r14d
mov rax, qword [r8 + 0x160]
sub rax, qword [r8 + 0x158]
sar rax, 3
test rax, rax
je 0x180043446
mov rdi, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov dword [rbp - 0x74], 0
movaps xmmword [rbp - 0x70], xmm0
mov rax, qword [r8 + 0x158]
mov rax, qword [rdi + rax]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1800426f0
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x74]
call fcn.1800061f0
test eax, eax
je 0x1800433df
movss xmm6, dword [rbp - 0x68]
comiss xmm8, xmm6
ja 0x1800433df
mov r10, qword [0x180093368]
comiss xmm6, dword [r10 + 0x10]
ja 0x1800433df
movss xmm7, dword [rbp - 0x64]
comiss xmm8, xmm7
ja 0x1800433df
comiss xmm7, dword [r10 + 0x14]
ja 0x1800433df
movss xmm0, dword [rbp - 0x74]
ucomiss xmm0, xmm8
jp 0x180043330
je 0x1800433df
movss xmm0, dword [rbp - 0x70]
ucomiss xmm0, xmm8
jp 0x180043341
je 0x1800433df
movss xmm0, dword [rbp - 0x6c]
ucomiss xmm0, xmm8
jp 0x180043352
je 0x1800433df
cmp byte [0x180093351], 0
je 0x1800433df
cmp qword [rsp + 0x78], 0
je 0x1800433a2
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rax, qword [rsp + 0x68]
movsx ecx, byte [rax]
call fcn.18004b554
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
mov byte [rcx], al
movss xmm7, dword [rbp - 0x64]
movss xmm6, dword [rbp - 0x68]
mov r10, qword [0x180093368]
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r9, qword [rsp + 0x68]
lea rcx, [0x180092000]
call fcn.18000d980
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x34], xmm7
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [r10 + 0x1d40]
call fcn.1800290a0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18004341b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043416
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043567
call fcn.18004473c
inc ebx
add rdi, 8
mov r8, qword [0x180093470]
mov rcx, qword [r8 + 0x160]
sub rcx, qword [r8 + 0x158]
sar rcx, 3
movsxd rax, ebx
cmp rax, rcx
jb 0x180043290
call fcn.180008270
cmp byte [0x180088ab0], 0
je 0x180043518
movss xmm0, dword [0x180088abc]
ucomiss xmm0, dword [0x18007b0b0]
jp 0x18004346f
je 0x180043503
movsxd rcx, dword [0x18009334c]
lea rax, [0x180075f20]
mov ecx, dword [rax + rcx*4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180043503
movss xmm2, dword [0x18007afa0]
divss xmm2, dword [0x180088ab4]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x60], r14d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movss xmm1, dword [0x180091ff8]
subss xmm1, dword [0x180091f88]
mulss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [rsp + 0x58], eax
movss xmm0, dword [0x180091ffc]
subss xmm0, dword [0x180091f8c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x64], 1
mov r8d, 0x28
lea rdx, [rsp + 0x50]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov dword [0x180088abc], 0x49742400
mov qword [0x180091ff8], 0
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.1800442a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18004b30c
int3
call fcn.18004b30c
nop
call fcn.18004b30c
nop
int3