Function at 0x140009320
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140152058]
xor r14d, r14d
movaps xmmword [rsp + 0x70], xmm7
mov rbx, rcx
test rax, rax
je 0x140009351
mov rcx, qword [rax + 0xa0]
jmp 0x140009354
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x140009375
test rax, rax
je 0x140009375
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140009375
cmp qword [rcx], r14
je 0x140009375
call fcn.140037d60
call fcn.140038770
call fcn.1400126c0
cmp qword [0x140152278], r14
je 0x140009495
cmp byte [0x1400680dd], r14b
je 0x1400093fc
cmp dword [0x1400680d4], r14d
jne 0x1400093ca
lea rcx, [0x1400680b8]
call fcn.140001ae0
test rax, rax
je 0x1400093ca
lea rcx, [0x1400680b8]
call fcn.140001ae0
mov rdx, rax
lea rcx, [0x1400680b8]
call fcn.140002580
cmp dword [0x1400680d4], 1
jne 0x1400093fc
lea rcx, [0x1400680b8]
call fcn.140001ae0
test rax, rax
je 0x1400093fc
lea rcx, [0x1400680b8]
call fcn.140001ae0
lea rcx, [0x1400680b8]
call fcn.140002970
cmp byte [0x1400680b8], r14b
je 0x14000942e
lea rcx, [0x1400680b8]
call fcn.140001ae0
test rax, rax
je 0x14000942e
lea rcx, [0x1400680b8]
call fcn.140001ae0
lea rcx, [0x1400680b8]
call fcn.140002970
cmp byte [0x1400680b9], r14b
je 0x140009460
lea rcx, [0x1400680b8]
call fcn.140001ae0
test rax, rax
je 0x140009460
lea rcx, [0x1400680b8]
call fcn.140001ae0
lea rcx, [0x1400680b8]
call fcn.140002970
cmp byte [0x1400680de], r14b
je 0x140009495
lea rcx, [0x1400680b8]
call fcn.140001ae0
test rax, rax
je 0x140009495
lea rcx, [0x1400680b8]
call fcn.140001ae0
mov rdx, rax
lea rcx, [0x1400680b8]
call fcn.140002580
call fcn.1400066f0
cmp qword [0x140152278], r14
je 0x1400094c0
mov rcx, rax
call fcn.140006bc0
cmp qword [0x140152278], r14
je 0x1400094c0
lea rcx, [0x1400680f8]
call fcn.140008f90
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140152258], eax
jle 0x140009504
lea rcx, [0x140152258]
call fcn.140054558
cmp dword [0x140152258], 0xffffffff
jne 0x140009504
lea rcx, [0x140152258]
mov dword [0x140152250], r14d
call fcn.1400544ec
mov eax, dword [0x140152250]
test eax, eax
jne 0x14000951d
mov dword [0x140152254], 2
jmp 0x1400095b3
cmp eax, 1
jne 0x14000952d
mov dword [0x140152254], eax
jmp 0x1400095b3
cmp eax, 2
jne 0x14000953e
mov dword [0x140152254], 4
jmp 0x1400095b3
cmp eax, 3
jne 0x14000954f
mov dword [0x140152254], 5
jmp 0x1400095b3
cmp eax, 4
jne 0x140009560
mov dword [0x140152254], 8
jmp 0x1400095b3
cmp eax, 5
jne 0x140009571
mov dword [0x140152254], 0xd
jmp 0x1400095b3
cmp eax, 6
jne 0x140009582
mov dword [0x140152254], 0x10
jmp 0x1400095b3
cmp eax, 7
jne 0x140009593
mov dword [0x140152254], 0x11
jmp 0x1400095b3
cmp eax, 8
jne 0x1400095a4
mov dword [0x140152254], 0x12
jmp 0x1400095b3
cmp eax, 9
jne 0x1400095b3
mov dword [0x140152254], 0x13
cmp byte [0x1400680e1], r14b
xorps xmm7, xmm7
mov qword [rsp + 0xc8], rdi
je 0x1400096ae
mov rax, qword [0x140152058]
lea r8, str.Foreground
mov edx, 1
mov qword [rsp + 0xc0], rsi
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140011d00
mov rdi, rax
call fcn.1400066f0
lea rcx, [rax + 0x38]
call fcn.14000e030
mov ecx, dword [rbx + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x1400680c8]
xorps xmm1, xmm1
mov esi, eax
cvtdq2ps xmm2, xmm2
cvtsi2ss xmm0, rcx
mov ecx, dword [rbx + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rbp + 0x67], xmm0
movss dword [rbp + 0x6b], xmm1
test eax, 0xff000000
je 0x1400096a6
movss xmm0, dword [0x14005ef58]
comiss xmm0, xmm2
ja 0x1400096a6
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x14005f014]
lea rdx, [rbp + 0x67]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rdi
call fcn.140030450
movss xmm0, dword [0x14005efd8]
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rcx, rdi
mov rdx, qword [rdi + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.14002ea30
mov dword [rdi + 0x78], r14d
mov rsi, qword [rsp + 0xc0]
cmp byte [0x1400680e2], r14b
je 0x1400098c2
mov rax, qword [0x140152058]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x60], xmm8
mov rcx, qword [rax + 0x3bf8]
movss xmm8, dword [rcx + 0x64]
mov rcx, qword [rbx + 0x128]
call fcn.14001a3e0
mov rcx, qword [0x140152058]
mov rax, qword [rcx + 0x3bf8]
mov dword [rax + 0x64], 0x3f4ccccd
mov rcx, qword [rcx + 0x3bf8]
call fcn.14001a3e0
mov rax, qword [0x140152058]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140011d00
movaps xmm0, xmmword [0x14005f430]
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
mov r10, rax
mov dword [rbp + 0x67], 0x42f80000
mov dword [rbp + 0x6b], 0x40c00000
mov dword [rbp + 0x6f], 0x40a00000
mov dword [rbp + 0x73], 0x40400000
call fcn.14000e030
movss xmm6, dword [0x14005efc0]
lea rdx, [rbp + 0x6f]
mov r9d, eax
mov dword [rsp + 0x28], r14d
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm6
mov rcx, r10
call fcn.140031060
mov rax, qword [0x140152058]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140011d00
movaps xmm0, xmmword [0x14005f3d0]
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
mov r10, rax
mov dword [rbp + 0x67], 0x42f80000
mov dword [rbp + 0x6b], 0x41d00000
mov dword [rbp + 0x6f], 0x40a00000
mov dword [rbp + 0x73], 0x40a00000
call fcn.14000e030
mov r9d, eax
mov dword [rsp + 0x28], r14d
lea rdx, [rbp + 0x6f]
movss dword [rsp + 0x20], xmm6
lea r8, [rbp + 0x67]
mov rcx, r10
call fcn.140031060
mov rax, qword [0x140152058]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
call fcn.140011d00
movaps xmm0, xmmword [0x14005f4f0]
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
mov r8, rax
call fcn.14000e030
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rbp + 0x67], 0x41200000
mov dword [rbp + 0x6b], 0x41100000
test eax, 0xff000000
je 0x1400098a3
mov rdx, qword [r8 + 0x38]
lea r9, [0x14005889e]
movups xmm0, xmmword [r8 + 0x88]
mov byte [rsp + 0x48], r14b
movss dword [rsp + 0x40], xmm7
mov rcx, qword [rdx + 8]
movss xmm2, dword [rdx + 0x10]
mov rdx, r8
mov qword [rsp + 0x38], r9
lea r9, str.Discord.gg_ugl
mov qword [rsp + 0x30], r9
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r9
lea r9, [rbp + 0x67]
movups xmmword [rbp + 7], xmm0
mov dword [rsp + 0x20], eax
call fcn.140035c40
call fcn.14001a480
mov rax, qword [0x140152058]
mov rcx, qword [rax + 0x3bf8]
movss dword [rcx + 0x64], xmm8
movaps xmm8, xmmword [rsp + 0x60]
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm7, xmmword [rsp + 0x70]
test al, 1
je 0x1400098e6
cmp byte [rbx + 0x168], r14b
sete al
mov byte [rbx + 0x168], al
cmp byte [rbx + 0x168], r14b
je 0x1400098ff
mov rcx, rbx
call fcn.14004ee60
mov r8d, 0xa0
jmp 0x140009905
mov r8d, 0x800a0
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rbx + 0x168]
mov rcx, qword [0x140152058]
mov byte [rcx + 0x78], al
movzx eax, byte [rbx + 0x168]
mov byte [rcx + 0xd9], al
call fcn.140014330
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
mov r9d, 1
movss xmm0, dword [0x14005ef94]
xor r8d, r8d
mov dword [rsp + 0x30], r14d
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], r14d
call qword [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400099e8
call fcn.1400146f0
mov rax, qword [0x140152058]
mov rcx, qword [rax + 0x4880]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], r14b
cmove rcx, r14
call fcn.1400377a0
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140009abd
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140009abd
mov rdi, qword [0x140152058]
test rdi, rdi
je 0x140009a87
mov rdi, qword [rdi + 0xa0]
test rdi, rdi
je 0x140009a87
cmp qword [rdi], r14
je 0x140009a87
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140009a52
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], r14
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140009a65
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], r14
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140009a87
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140152058]
mov qword [rdi + 0x18], r14
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], r14
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140152058]
test rax, rax
je 0x140009abd
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140009abd
cmp qword [rax], r14
je 0x140009abd
call fcn.140037d60
mov rdi, qword [rsp + 0xc8]
add rsp, 0x90
pop r14
pop rbx
pop rbp
ret