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

Disassembly:
sub rsp, 0x68
mov rax, qword [0x18006d3c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [0x18006f250], 0
mov qword [rsp + 0x70], rbx
jne 0x1800475dd
mov qword [rsp + 0x28], 0
lea r8, [0x180016950]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x18006f250], 1
mov r8, qword [0x18006e078]
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 [0x180062b84]
addss xmm2, dword [0x180062b44]
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 0x1800476a8
lea r8, [0x180060bfe]
mov edx, reloc.WS2_32.dll_inet_addr
mov ecx, ebx
call fcn.18001e660
lea r8, [rsp + 0x40]
mov edx, ebx
lea rcx, [0x180060bfe]
call fcn.18003f100
mov rcx, qword [0x18006e078]
lea rdx, [0x18006e1d1]
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 [0x180062ab8]
addss xmm2, dword [0x180062a80]
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.180034f30
test al, al
je 0x180047754
call fcn.180046300
call fcn.1800460c0
mov rcx, qword [0x18006e078]
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 [0x180062afc]
addss xmm2, dword [0x180062b4c]
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.180033670
cmp byte [0x18006f580], 0
mov rcx, qword [0x18006e078]
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 [0x180062b08]
addss xmm2, dword [0x180062b50]
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 0x180047894
movsxd rax, dword [0x18006e518]
lea rcx, str.TusAta
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + rax*8]
call fcn.180033e80
test al, al
je 0x18004788b
mov byte [0x18006f580], 1
jmp 0x180047894
cmp byte [0x18006f580], 0
je 0x1800478fa
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x60], rdi
lea rcx, str.Tus_Ata
call fcn.180033e80
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 1
call fcn.18004b2c0
lea rbx, [0x18005f020]
lea rdi, [0x18005f2b8]
nop dword [rax + rax]
mov ecx, dword [rbx]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800478ec
mov eax, dword [rbx]
mov dword [0x18006e518], eax
mov byte [0x18006f580], 0
add rbx, 4
cmp rbx, rdi
jne 0x1800478d0
mov rdi, qword [rsp + 0x60]
mov rcx, qword [0x18006e078]
mov rbx, qword [rsp + 0x70]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
cmp byte [rax + 0x9b], 0
jne 0x18004793f
movss xmm1, dword [0x180062c34]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
call fcn.180017880
lea rax, str._.1f
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 0x3f4ccccd
lea r8, [0x18006e1a0]
mov qword [rsp + 0x20], rax
mov edx, 8
mov dword [rsp + 0x40], 0
lea rcx, str.Velocity
call fcn.180036d40
call fcn.180011560
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800552b0
add rsp, 0x68
ret