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

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x18006c3c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor esi, esi
cmp byte [0x18006e230], sil
jne 0x1800468b8
mov qword [rsp + 0x28], rsi
lea r8, [0x1800169c0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x18006e230], 1
mov r8, qword [0x18006d058]
mov dword [rsp + 0x40], 0x43a00000
mov dword [rsp + 0x44], 0x43700000
mov rax, qword [r8 + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [r8 + 0x3ed8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061a60]
addss xmm2, dword [0x180061a24]
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
mov rax, qword [r8 + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [r8 + 0x3ed8]
movsxd rcx, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov ebx, dword [rax + rcx*4 - 4]
cmp dword [r8 + 0x3f0c], ebx
jne 0x180046983
lea r8, [0x18005fb7e]
mov edx, reloc.WS2_32.dll_inet_addr
mov ecx, ebx
call fcn.18001e6d0
lea r8, [rsp + 0x40]
mov edx, ebx
lea rcx, [0x18005fb7e]
call fcn.18003ea00
mov rcx, qword [0x18006d058]
lea rdx, [0x18006d19c]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
lea rcx, str.Glide
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x180061998]
addss xmm2, dword [0x180061960]
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.180034b90
test al, al
je 0x180046a2f
call fcn.180042f30
call fcn.180042d00
lea rdx, [0x18006d1ab]
lea rcx, str.Glide_UP
call fcn.180034b90
test al, al
je 0x180046a54
cmp byte [0x18006d1ab], sil
setne byte [0x18006d1ab]
mov rcx, qword [0x18006d058]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
lea rcx, str.Glide_Keybind
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x1800619d8]
addss xmm2, dword [0x180061a2c]
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.1800332d0
cmp byte [0x18006e563], sil
mov rcx, qword [0x18006d058]
mov qword [rsp + 0x40], rsi
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 [0x1800619e4]
addss xmm2, dword [0x180061a30]
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 0x180046b90
movsxd rax, dword [0x18006d5ac]
lea rcx, str.Bind
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + rax*8]
call fcn.180033ae0
test al, al
je 0x180046b87
mov byte [0x18006e563], 1
jmp 0x180046b90
cmp byte [0x18006e563], sil
je 0x180046bf1
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x70], rdi
lea rcx, str.Tus_Ata
call fcn.180033ae0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 1
call fcn.18004a170
lea rbx, [0x18005e020]
lea rdi, [0x18005e2b8]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180046be3
mov eax, dword [rbx]
mov dword [0x18006d5ac], eax
mov byte [0x18006e563], sil
add rbx, 4
cmp rbx, rdi
jne 0x180046bc7
mov rdi, qword [rsp + 0x70]
mov rcx, qword [0x18006d058]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
cmp byte [rax + 0x9b], sil
jne 0x180046c2d
movss xmm1, dword [0x180061aec]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
call fcn.1800178f0
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x48]
lea rbx, str._.2f
mov dword [rsp + 0x48], 0x3f800000
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
lea r8, [0x18006c4d4]
mov qword [rsp + 0x20], rax
mov edx, 8
mov dword [rsp + 0x40], 0x3d8f5c29
lea rcx, str.Glide_UP
call fcn.180036640
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x48]
lea r8, [0x18006c4c8]
mov qword [rsp + 0x20], rax
mov edx, 8
mov dword [rsp + 0x40], 0xbf000000
lea rcx, str.Glide
mov dword [rsp + 0x48], 0xbd4ccccd
call fcn.180036640
call fcn.1800115d0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180054170
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret