Function at 0x1400406b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov rsi, qword [0x140078100]
mov rdi, r8
mov r13, rdx
mov r12, rcx
mov rax, qword [rsi + 0x1a68]
mov byte [rax + 0x80], 1
mov rbx, qword [rsi + 0x1a68]
cmp byte [rbx + 0x83], 0
jne 0x140040f66
movsxd rcx, dword [rbx + 0xc0]
xor edx, edx
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r12
call fcn.140012f40
mov r15d, eax
cmp dword [rsi + 0x1ab0], eax
jne 0x140040767
mov dword [rsi + 0x1ab4], eax
cmp dword [rsi + 0x1af0], r15d
jne 0x140040777
mov byte [rsi + 0x1af4], 1
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x140040799
movzx eax, byte [rcx]
test al, al
je 0x140040799
cmp al, 0x23
jne 0x140040790
cmp byte [rcx + 1], al
je 0x140040799
inc rcx
cmp rcx, 0xffffffffffffffff
jb 0x140040780
movss xmm1, dword [rsi + 0x1920]
xorps xmm14, xmm14
cmp r12, rcx
jne 0x1400407af
xorps xmm7, xmm7
jmp 0x140040802
movss xmm0, dword [0x140058eb0]
lea rdx, [rsp + 0x40]
movss xmm3, dword [0x140058e98]
movaps xmm2, xmm1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsi + 0x1918]
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm0
call fcn.1400326e0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x140058ca0]
movss xmm1, dword [rsp + 0x44]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm6, dword [rsi + 0x159c]
movaps xmm3, xmm6
movss dword [rsp + 0x48], xmm7
addss xmm3, xmm6
addss xmm3, xmm1
call fcn.14001e970
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.14001e9e0
movss xmm2, dword [rbx + 0xd0]
lea rcx, [rsp + 0x40]
movss xmm3, dword [rbx + 0xd4]
movaps xmm13, xmm7
movss xmm11, dword [rsp + 0x40]
movaps xmm15, xmm3
movss xmm12, dword [rsp + 0x44]
addss xmm11, xmm2
addss xmm13, dword [rsi + 0x15b4]
addss xmm12, xmm3
movss dword [rsp + 0x68], xmm2
movaps xmm1, xmm6
movss dword [rsp + 0x6c], xmm3
addss xmm15, xmm14
movaps xmm0, xmm11
movss dword [rsp + 0x70], xmm11
subss xmm0, xmm2
addss xmm13, xmm2
movss dword [rsp + 0x74], xmm12
movaps xmm2, xmm12
subss xmm2, xmm3
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm2
call fcn.14001e5a0
xor r8d, r8d
lea rcx, [rsp + 0x68]
mov edx, r15d
call fcn.14001e6f0
test al, al
je 0x140040f66
xor edi, edi
mov qword [rsp + 0x1b0], r14
cmp dword [rsi + 0x1ab0], r15d
mov edx, edi
movaps xmmword [rsp + 0x130], xmm8
mov rcx, rbx
sete dl
movaps xmmword [rsp + 0x120], xmm9
call fcn.140015470
mov rdx, qword [0x140078100]
movzx r9d, al
mov rcx, qword [rdx + 0x1a68]
cmp byte [rdx + 0x1c2b], dil
je 0x14004093e
cmp byte [rdx + 0x1c2a], dil
jne 0x14004093e
mov r8d, dword [rdx + 0x1be0]
test r8d, r8d
je 0x140040a0f
cmp r8d, dword [rcx + 0x114]
jmp 0x1400409d3
test byte [rcx + 0x118], 1
je 0x140040a0f
mov r8, qword [rcx + 0x368]
cmp qword [rdx + 0x1a78], r8
jne 0x140040a0f
mov eax, dword [rdx + 0x1ab0]
test eax, eax
je 0x140040983
cmp eax, dword [rcx + 0x114]
je 0x140040983
cmp byte [rdx + 0x1abd], dil
jne 0x140040983
cmp eax, dword [rcx + 0x4c]
jne 0x140040a0f
mov rax, qword [rdx + 0x1bd8]
test rax, rax
je 0x1400409b8
mov rax, qword [rax + 0x368]
test rax, rax
je 0x1400409b8
cmp byte [rax + 0x7f], dil
je 0x1400409b8
cmp rax, r8
je 0x1400409b8
mov r8d, dword [rax + 0xc]
bt r8d, 0x1b
jb 0x140040a0f
bt r8d, 0x1a
jb 0x140040a0f
test byte [rcx + 0x1b8], 4
jne 0x140040a0f
mov eax, dword [rcx + 0x4c]
cmp dword [rcx + 0x114], eax
jne 0x1400409d5
cmp byte [rcx + 0x80], dil
jne 0x140040a0f
mov dword [rdx + 0x1a9c], r15d
mov byte [rdx + 0x1aa0], dil
test r15d, r15d
je 0x1400409f8
cmp dword [rdx + 0x1aa4], r15d
je 0x1400409f8
mov qword [rdx + 0x1aa8], rdi
mov dword [rsi + 0x1ef0], 1
cmp byte [rsi + 0x420], dil
je 0x140040a0f
mov al, 1
jmp 0x140040a11
xor al, al
test r9b, r9b
jne 0x140040a83
test al, al
jne 0x140040a83
cmp byte [rsi + 0x420], dil
je 0x140040acc
cmp dword [rsi + 0x1ab0], r15d
jne 0x140040acc
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
xor ebx, ebx
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140040a58
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], bx
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], dil
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], dil
mov qword [rdx + 0x1ac4], rdi
mov qword [rdx + 0x1ad0], rbx
jmp 0x140040ace
cmp dword [rsi + 0x1ab0], r15d
je 0x140040ab2
xor eax, eax
lea rcx, [rsi + 0x14c]
mov dword [rsi + 0x138], eax
xor edx, edx
mov r8d, 0x200
mov byte [rsi + 0x13c], al
call sub.VCRUNTIME140.dll_memset
mov dword [r13], edi
mov rdx, rbx
mov ecx, r15d
call fcn.140015240
mov rcx, rbx
call fcn.14001db70
mov rdx, qword [0x140078100]
xor ebx, ebx
mov edi, dword [r13]
xor r14b, r14b
cmp dword [rsi + 0x1ab0], r15d
jne 0x140040cfd
mov r8d, ebx
lea r9, [rsi + 0x138]
nop dword [rax]
cmp byte [r9], 0
je 0x140040b89
mov ecx, r8d
test r8d, r8d
je 0x140040b30
sub ecx, 1
je 0x140040b29
sub ecx, 1
je 0x140040b22
sub ecx, 1
je 0x140040b1b
cmp ecx, 1
jne 0x140040b35
lea edi, [rcx + 5]
jmp 0x140040b35
mov edi, 5
jmp 0x140040b35
mov edi, 4
jmp 0x140040b35
mov edi, 2
jmp 0x140040b35
mov edi, 1
mov ecx, dword [rdx + 0x1ab0]
mov r14b, 1
test ecx, ecx
setne al
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140040b5c
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], 0
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rbx
inc r8d
inc r9
cmp r8d, 5
jl 0x140040af0
test r14b, r14b
jne 0x140040c8b
cmp byte [rsi + 0x14a], r14b
je 0x140040c09
mov ecx, dword [rdx + 0x1ab0]
mov edi, 0xa4
test ecx, ecx
mov r14b, 1
setne al
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140040bd7
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], 0
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rbx
jmp 0x140040c8b
mov ebx, 8
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140040c7f
cmp ebx, 0x2d
je 0x140040c7f
mov rdx, qword [0x140078100]
mov edi, ebx
mov r14b, 1
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
mov byte [rdx + 0x1abc], al
xor eax, eax
test ecx, ecx
je 0x140040c52
mov dword [rdx + 0x1ab8], eax
mov word [rdx + 0x1abe], ax
mov dword [rdx + 0x1ab0], eax
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rax
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rax
inc ebx
cmp ebx, 0xa5
jle 0x140040c10
xor ebx, ebx
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rdx, qword [0x140078100]
test ax, ax
je 0x140040cf9
mov dword [r13], ebx
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140040cca
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], 0
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rbx
jmp 0x140040cfd
mov dword [r13], edi
movzx eax, word [0x140058420]
lea rcx, [rsp + 0x58]
movsd xmm0, qword [str.__Hotkey__]
movaps xmm9, xmm11
mov word [rbp - 0x78], ax
addss xmm9, xmm14
movzx eax, byte [0x140058422]
movaps xmm8, xmm12
addss xmm8, dword [0x140058d30]
movsd qword [rbp - 0x80], xmm0
movaps xmm7, xmm13
subss xmm7, dword [0x140058d58]
xorps xmm0, xmm0
mov byte [rbp - 0x76], al
movups xmmword [rbp - 0x75], xmm0
xor eax, eax
movups xmmword [rbp - 0x65], xmm0
mov dword [rbp - 0x45], eax
movups xmmword [rbp - 0x55], xmm0
mov byte [rbp - 0x41], al
movaps xmm6, xmm15
movups xmm0, xmmword [rdx + 0x1688]
subss xmm6, xmm14
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rdx + 0x1560]
movss dword [rsp + 0x64], xmm0
call fcn.140013530
movss xmm0, dword [rsi + 0x15a0]
movaps xmm1, xmm9
movss dword [rsp + 0x20], xmm0
mov r8d, eax
movaps xmm0, xmm7
unpcklps xmm1, xmm8
unpcklps xmm0, xmm6
mov r9b, 1
movq rcx, xmm0
movq rdx, xmm1
call fcn.140013f10
movsxd rax, dword [r13]
movaps xmm9, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
test eax, eax
je 0x140040e00
cmp dword [rsi + 0x1ab0], r15d
je 0x140040e09
lea rcx, str.unknown
mov rcx, qword [rcx + rax*8]
lea rdx, [rbp - 0x80]
sub rdx, rcx
nop
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140040df0
jmp 0x140040e2a
cmp dword [rsi + 0x1ab0], r15d
jne 0x140040e2a
mov eax, dword [0x140058430]
movsd xmm0, qword [str.__Press_key__]
mov dword [rbp - 0x78], eax
movzx eax, word [0x140058434]
mov word [rbp - 0x74], ax
movsd qword [rbp - 0x80], xmm0
movss xmm0, dword [rsi + 0x1598]
lea rax, [rbp - 0x80]
movss xmm1, dword [rsi + 0x159c]
subss xmm11, xmm0
mov qword [rsp + 0x4c], 0
addss xmm13, xmm0
subss xmm12, xmm1
movaps xmm0, xmm15
addss xmm0, xmm1
lea rdi, [rbp - 0x80]
addss xmm11, xmm14
subss xmm13, dword [0x140058d40]
addss xmm12, dword [0x140058d30]
addss xmm0, xmm14
movss dword [rsp + 0x58], xmm11
movss dword [rsp + 0x40], xmm13
movss dword [rsp + 0x5c], xmm12
movss dword [rsp + 0x44], xmm0
cmp rax, 0xffffffffffffffff
jae 0x140040eb9
nop
movzx eax, byte [rdi]
test al, al
je 0x140040eb9
cmp al, 0x23
jne 0x140040eb0
cmp byte [rdi + 1], al
je 0x140040eb9
inc rdi
cmp rdi, 0xffffffffffffffff
jb 0x140040ea0
lea rcx, [rbp - 0x80]
cmp edi, ecx
je 0x140040f1e
mov rbx, qword [0x140078100]
lea rax, [rsp + 0x4c]
xor edx, edx
lea r9, [rbp - 0x80]
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rcx, qword [rbx + 0x1a68]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx + 0x2b0]
call fcn.140013b70
cmp byte [rbx + 0x2f98], 0
je 0x140040f1e
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140023710
movss xmm0, dword [rsp + 0x48]
comiss xmm0, xmm14
jbe 0x140040f58
movss xmm0, dword [rsp + 0x68]
mov r9b, 1
addss xmm0, dword [0x140058da8]
addss xmm15, dword [rsi + 0x159c]
xor r8d, r8d
mov rdx, r12
unpcklps xmm0, xmm15
movq rcx, xmm0
call fcn.1400139e0
movzx eax, r14b
mov r14, qword [rsp + 0x1b0]
jmp 0x140040f68
xor al, al
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.14004ebd0
lea r11, [rsp + 0x160]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm11, xmmword [r11 - 0x50]
movaps xmm12, xmmword [r11 - 0x60]
movaps xmm13, xmmword [r11 - 0x70]
movaps xmm14, xmmword [r11 - 0x80]
movaps xmm15, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret