Function at 0x180045ed0
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006b3b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [0x18006d220], 0
jne 0x180045f1e
mov qword [rsp + 0x28], 0
lea r8, [0x180016050]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x18006d220], 1
mov rbx, qword [0x18006bfe8]
xor edx, edx
mov rax, qword [rbx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rbx + 0x3ed8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061ae4]
addss xmm2, dword [0x180061a98]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss xmm1, dword [0x180061b08]
movss dword [rax + 0xfc], xmm0
mov rax, qword [rbx + 0x3ed8]
movss xmm0, dword [0x180061b20]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
mov byte [rax + 0x98], 1
mov rax, qword [rbx + 0x3ed8]
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [0x18005fb7e]
call fcn.1800098e0
mov edi, eax
cmp dword [rbx + 0x3f0c], eax
jne 0x180046005
lea r8, [0x18005fb7e]
mov edx, 0xb
mov ecx, eax
call fcn.18001dc80
lea r8, [rsp + 0x40]
mov edx, edi
lea rcx, [0x18005fb7e]
call fcn.18003dc50
mov rcx, qword [0x18006bfe8]
lea rdx, [0x18006c141]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
lea rcx, str.Velocity
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061a08]
addss xmm2, dword [0x1800619d0]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
call fcn.1800342e0
test al, al
je 0x1800460b1
call fcn.180044bc0
call fcn.180044a00
mov rcx, qword [0x18006bfe8]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
lea rcx, str.Velocity_Keybind
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061a50]
addss xmm2, dword [0x180061aa0]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
call fcn.1800329e0
cmp byte [0x18006d550], 0
mov rcx, qword [0x18006bfe8]
mov qword [rsp + 0x40], 0
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061a5c]
addss xmm2, dword [0x180061aa8]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
jne 0x1800461f1
movsxd rax, dword [0x18006c4e8]
lea rcx, str.TusAta
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + rax*8]
call fcn.1800331c0
test al, al
je 0x1800461e8
mov byte [0x18006d550], 1
jmp 0x1800461f1
cmp byte [0x18006d550], 0
je 0x180046248
lea rdx, [rsp + 0x40]
lea rcx, str.Tus_Ata
call fcn.1800331c0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 1
call fcn.180049710
lea rbx, [0x18005e080]
lea rdi, [0x18005e318]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004623f
mov eax, dword [rbx]
mov dword [0x18006c4e8], eax
mov byte [0x18006d550], 0
add rbx, 4
cmp rbx, rdi
jne 0x180046223
mov rcx, qword [0x18006bfe8]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
cmp byte [rax + 0x9b], 0
jne 0x180046288
movss xmm1, dword [0x180061bac]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
call fcn.180017040
movss xmm0, dword [0x180061974]
lea rax, str._.1f
mov dword [rsp + 0x30], 0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, [0x18006c128]
lea rax, [rsp + 0x48]
movss dword [rsp + 0x48], xmm0
mov edx, 8
mov qword [rsp + 0x20], rax
lea rcx, str.Velocity
mov dword [rsp + 0x40], 0
call fcn.180035fd0
call fcn.180010b70
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180053970
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret