Function at 0x180050e20
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x180074b88]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, rcx
xor r14d, r14d
cmp byte [0x18007ad83], r14b
jne 0x180050ef9
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov edx, 0x1560
lea r9d, [r14 + 8]
mov r8d, 0x3bc
lea rcx, str.1.79
call fcn.18001ec60
xor ecx, ecx
call fcn.18001e780
call fcn.180020b80
mov rcx, rbx
call fcn.18004e8f0
xor ecx, ecx
call fcn.180036170
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x49], 0xf
lea r8d, [r14 + 2]
lea rdx, [0x1800622a4]
lea rcx, [rbp - 0x61]
call fcn.180001630
lea rdx, str.dx9_and_imgui_init_done
lea rcx, [rbp - 0x61]
call fcn.180011190
call fcn.1800585f0
mov byte [0x18007ad83], 1
call fcn.18004e930
call fcn.18004f520
call fcn.1800265b0
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180050f25
cmp byte [0x18007b6a4], r14b
sete byte [0x18007b6a4]
xorps xmm8, xmm8
mov qword [rbp - 1], r14
mov qword [rbp - 0x69], r14
lea r8, [rbp - 1]
mov edx, 2
lea rcx, [rbp - 0x69]
call fcn.18002acd0
movss xmm0, dword [0x1800640c8]
movss dword [rbp - 0x69], xmm0
movss xmm1, dword [0x180068458]
movss dword [rbp - 0x65], xmm1
mov edx, 2
lea rcx, [rbp - 0x69]
call fcn.18002ad10
mov esi, 1
cmp byte [0x18007b6a4], r14b
je 0x18005113c
lea r8d, [rsi + 0x1f]
lea rdx, [0x18007b6a4]
lea rcx, str.we_do_extra_trolling.
call fcn.18001aca0
test al, al
je 0x18005113c
movzx eax, byte [0x18007b5e0]
test al, al
je 0x180050fb1
movss xmm0, dword [0x18006845c]
jmp 0x180050fb9
movss xmm0, dword [0x180068428]
addss xmm0, dword [0x18007ada0]
movss dword [0x18007ada0], xmm0
comiss xmm8, xmm0
jb 0x180050fd8
mov dword [0x18007ada0], r14d
jmp 0x180050feb
comiss xmm0, dword [0x180064078]
jb 0x180050ff4
mov dword [0x18007ada0], 0x3e99999a
test al, al
sete byte [0x18007b5e0]
call fcn.1800210e0
mov rbx, rax
movss xmm0, dword [rax + 8]
mov dword [rbp - 0x69], r14d
movss dword [rbp - 0x65], xmm0
lea rdx, [rbp - 0x69]
mov ecx, esi
call fcn.180027d10
mov rdx, qword [0x18007b530]
mov rcx, qword [rdx + 0x1a90]
mov byte [rcx + 0x88], sil
mov rcx, qword [rdx + 0x1a90]
movss xmm0, dword [rbx + 4]
addss xmm0, xmm0
movss xmm7, dword [rcx + 0x18]
subss xmm7, xmm0
mov dword [rbp - 0x69], r14d
movss xmm0, dword [0x180063520]
movss dword [rbp - 0x65], xmm0
lea rdx, [rbp - 0x69]
mov ecx, 0xd
call fcn.180027d10
xorps xmm1, xmm1
mov ecx, 0xc
call fcn.180027da0
divss xmm7, dword [0x1800640ac]
xor eax, eax
mov dword [rbp - 1], eax
mov byte [rbp + 3], al
movsxd rax, dword [0x18007b6a8]
mov byte [rbp + rax - 1], sil
mov ebx, r14d
lea rdi, str.Enhancements
movss xmm6, dword [0x180063558]
nop dword [rax]
movss dword [rbp - 0x69], xmm7
mov dword [rbp - 0x65], 0x42040000
movsxd rax, ebx
lea rdx, [rbp - 1]
add rdx, rax
mov r9d, esi
lea r8, [rbp - 0x69]
mov rcx, qword [rdi]
call fcn.18002b0f0
mov ecx, dword [0x18007b6a8]
test al, al
cmovne ecx, ebx
mov dword [0x18007b6a8], ecx
cmp ebx, 4
jae 0x1800510e7
movaps xmm1, xmm6
movaps xmm0, xmm8
call fcn.18002a390
inc ebx
add rdi, 8
cmp ebx, 5
jb 0x1800510a0
mov ecx, 3
call fcn.180027650
mov ecx, dword [0x18007b6a8]
test ecx, ecx
je 0x180051132
sub ecx, esi
je 0x18005112b
sub ecx, esi
je 0x180051124
sub ecx, esi
je 0x18005111d
cmp ecx, esi
jne 0x180051137
call fcn.180058900
jmp 0x180051137
call fcn.180058910
jmp 0x180051137
call fcn.180018290
jmp 0x180051137
call fcn.180015bb0
jmp 0x180051137
call fcn.1800505e0
call fcn.18001ecf0
call fcn.18005b9a0
cmp qword [rax + 0x198], r14
je 0x18005138f
cmp byte [0x180074faf], r14b
je 0x18005115c
call fcn.180057440
cmp byte [0x180074fae], r14b
je 0x18005116a
call fcn.180057cc0
cmp byte [0x180074fb6], r14b
je 0x180051178
call fcn.180056f50
cmp byte [0x180074fb0], r14b
je 0x180051186
call fcn.180053610
cmp byte [0x180074fb3], r14b
je 0x180051194
call fcn.180053a20
cmp byte [0x180074fb5], r14b
je 0x180051255
call fcn.18005b9a0
cmp qword [rax + 0x198], r14
je 0x180051255
cmp byte [0x180074fb5], r14b
je 0x180051255
call fcn.18005b9a0
mov rbx, qword [rax + 0x168]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r14b
jne 0x180051255
nop dword [rax]
movups xmm0, xmmword [rbx + 0x20]
psrldq xmm0, 8
movq rcx, xmm0
add rcx, 0x28
mov r8d, 0xd
lea rdx, str._bINZERNALs__
call fcn.180001630
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r14b
je 0x180051230
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r14b
jne 0x18005122b
cmp rbx, qword [rax + 0x10]
jne 0x18005122b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r14b
je 0x180051218
mov rbx, rax
jmp 0x18005124f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r14b
jne 0x18005124f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r14b
je 0x180051240
cmp byte [rbx + 0x19], r14b
je 0x1800511e0
cmp byte [0x180074fb8], r14b
je 0x180051263
call fcn.180053fa0
cmp byte [0x180074fbb], r14b
je 0x180051271
call fcn.180054260
cmp byte [0x180074fbf], r14b
je 0x18005127f
call fcn.180056bf0
cmp byte [0x180074fbc], r14b
je 0x18005138a
call fcn.18005b9a0
mov rbx, qword [rax + 0x198]
call fcn.180051620
test rbx, rbx
je 0x18005138a
movss xmm6, dword [rbx + 0x1c]
mulss xmm6, dword [0x180060b70]
movss xmm7, dword [rbx + 0x18]
mulss xmm7, dword [0x180060b88]
mov ecx, dword [0x18007b790]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18007b6a0], ecx
jg 0x1800515cc
mov word [rbp - 0x40], r14w
mov byte [rbp - 0x3e], r14b
mov qword [rbp - 0x3d], r14
mov dword [rbp - 0x31], r14d
mov dword [rbp - 0x19], r14d
xor eax, eax
mov qword [rbp - 0xd], rax
mov byte [rbp - 0x41], al
mov dword [rbp - 0x2d], 0x336
movaps xmm0, xmm7
mulss xmm0, dword [0x180062490]
cvttss2si rax, xmm0
mov dword [rbp - 0x15], eax
movaps xmm0, xmm6
mulss xmm0, dword [0x180062490]
cvttss2si rax, xmm0
mov dword [rbp - 0x11], eax
movss dword [rbp - 0x29], xmm7
movss dword [rbp - 0x25], xmm6
movss xmm0, dword [0x180063540]
movss dword [rbp - 0x21], xmm0
movss xmm1, dword [0x1800640c4]
movss dword [rbp - 0x1d], xmm1
mov dword [rbp - 0x35], 0xc20
movaps xmm3, xmm8
xor r8d, r8d
movsd xmm1, qword [0x180068430]
lea rcx, [0x18007b698]
call fcn.180011840
test al, al
je 0x18005138a
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x41]
call fcn.18000b2c0
call fcn.180051dc0
mov edx, dword [0x180074b4c]
lea eax, [rdx - 1]
cmp eax, 5
ja case.default.0x1800513b5
cdqe
lea r8, [0x180000000]
mov ecx, dword [r8 + rax*4 + 0x51604]
add rcx, r8
jmp rcx
mov eax, dword [0x18007b5c0]
add eax, 3
mov dword [0x18007b5c0], eax
cmp eax, 0xff
jne case.default.0x1800513b5
mov dword [0x180074b4c], 2
jmp case.default.0x1800513b5
sub dword [0x180074b50], 3
jne case.default.0x1800513b5
mov dword [0x180074b4c], 3
jmp case.default.0x1800513b5
mov eax, dword [0x18007b5c4]
add eax, 3
mov dword [0x18007b5c4], eax
cmp eax, 0xff
jne case.default.0x1800513b5
mov dword [0x180074b4c], 4
jmp case.default.0x1800513b5
sub dword [0x18007b5c0], 3
jne case.default.0x1800513b5
mov dword [0x180074b4c], 5
jmp case.default.0x1800513b5
mov eax, dword [0x180074b50]
add eax, 3
mov dword [0x180074b50], eax
cmp eax, 0xff
jne case.default.0x1800513b5
mov dword [0x180074b4c], 6
jmp case.default.0x1800513b5
sub dword [0x18007b5c4], 3
cmove edx, esi
mov dword [0x180074b4c], edx
movd xmm3, dword [0x180074b50]
cvtdq2ps xmm3, xmm3
movss xmm1, dword [0x18006405c]
mulss xmm3, xmm1
movd xmm2, dword [0x18007b5c0]
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
movd xmm0, dword [0x18007b5c4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [0x18007b5d0], xmm3
movss dword [0x18007b5d4], xmm2
movss dword [0x18007b5d8], xmm0
movss xmm0, dword [0x18006224c]
movss dword [0x18007b5dc], xmm0
call fcn.180020790
mov rdi, rax
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x49], 0xf
mov byte [rbp - 0x61], r14b
mov r8d, 0x2f
lea rdx, str.purpl3r0se0001_on_discord_if_you_need_any_help
lea rcx, [rbp - 0x61]
call fcn.180001630
nop
lea rbx, [rbp - 0x61]
cmp qword [rbp - 0x49], 0x10
cmovae rbx, qword [rbp - 0x61]
lea rcx, [0x18007b5d0]
call fcn.18001e6a0
mov dword [rbp - 0x69], 0x40a00000
mov dword [rbp - 0x65], 0x40a00000
mov qword [rsp + 0x40], r14
movss dword [rsp + 0x38], xmm8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x69]
movss xmm2, dword [0x180068450]
xor edx, edx
mov rcx, rdi
call fcn.1800314f0
call fcn.18001f1e0
call fcn.180027e20
call fcn.180020a10
mov rcx, rax
call fcn.18004eab0
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x180051599
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051594
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005bb5c
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.18005bc70
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [0x18007b6a0]
call fcn.18005c380
cmp dword [0x18007b6a0], 0xffffffff
jne 0x1800512e7
call sub.MSVCP140.dll__Xtime_get_ticks
mov qword [0x18007b698], rax
lea rcx, [0x18007b6a0]
call fcn.18005c320
jmp 0x1800512e7