Function at 0x18000898c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rdi, rcx
lea rdx, [rcx + 0xd]
lea rcx, str.NetMotion_menu
xor r8d, r8d
call fcn.180036aa8
lea rbx, [rdi + 0x10]
xor r15d, r15d
mov rax, qword [rbx + 8]
mov r14d, r15d
sub rax, qword [rbx]
sar rax, 4
test rax, rax
je 0x180008b28
and dword [rbp + 0x30], r14d
mov r13d, r15d
and dword [rbp + 0x34], r14d
mov ecx, r14d
call fcn.180039910
mov rsi, qword [rbx]
lea rax, [0x1800b64e8]
add rsi, r13
lea r9, [0x1800b16e0]
cmp r14, qword [rdi + 0x28]
lea rdx, [0x1800b16e0]
mov r8, r14
lea rcx, str._sNetMotion__zu_s
cmove r9, rax
lea rax, [0x1800b64ec]
cmove rdx, rax
call fcn.18005828c
mov rdx, rsi
lea rcx, str.MotionType:
call fcn.18005c17c
test al, al
je 0x180008a59
mov eax, dword [rsi]
mov ecx, 0xff
cmp eax, ecx
jle 0x180008a51
mov eax, ecx
jmp 0x180008a57
test eax, eax
cmovs eax, r15d
mov dword [rsi], eax
lea r15, [rsi + 4]
mov rdx, r15
lea rcx, str.Param0:
call fcn.18005c17c
xor ecx, ecx
test al, al
je 0x180008a8a
mov eax, dword [r15]
mov edx, 0xff
cmp eax, edx
jle 0x180008a82
mov eax, edx
jmp 0x180008a87
test eax, eax
cmovs eax, ecx
mov dword [r15], eax
lea r15, [rsi + 8]
mov rdx, r15
lea rcx, str.Param1:
call fcn.18005c17c
xor ecx, ecx
test al, al
je 0x180008abb
mov eax, dword [r15]
mov edx, 0xff
cmp eax, edx
jle 0x180008ab3
mov eax, edx
jmp 0x180008ab8
test eax, eax
cmovs eax, ecx
mov dword [r15], eax
lea rdx, [rsi + 0xc]
lea rcx, str.Param2:
call fcn.18005c17c
xor r15d, r15d
test al, al
je 0x180008aeb
mov eax, dword [rsi + 0xc]
mov ecx, 0xff
cmp eax, ecx
jle 0x180008ae2
mov eax, ecx
jmp 0x180008ae8
test eax, eax
cmovs eax, r15d
mov dword [rsi + 0xc], eax
lea rdx, [rbp + 0x30]
lea rcx, [0x1800b6544]
call fcn.180058ca4
test al, al
je 0x180008b03
mov qword [rdi + 0x30], r14
call fcn.180059fdc
call fcn.180039990
mov rax, qword [rbx + 8]
inc r14
sub rax, qword [rbx]
add r13, 0x10
sar rax, 4
cmp r14, rax
jb 0x1800089ea
and dword [rbp + 0x30], 0
lea rdx, [rbp + 0x30]
and dword [rbp + 0x34], 0
lea rcx, [0x1800b6548]
call fcn.180058ca4
test al, al
je 0x180008b67
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x180008b5b
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
add qword [rbx + 8], 0x10
jmp 0x180008b63
mov rcx, rbx
call fcn.18000998c
mov qword [rdi + 0x28], r15
and dword [rbp + 0x30], 0
lea rdx, [rbp + 0x30]
and dword [rbp + 0x34], 0
lea rcx, str.Play__Advance
call fcn.180058ca4
test al, al
jne 0x180008bbb
mov ecx, dword [0x1800c89a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov cl, r15b
and al, 1
mov byte [0x1800c89ad], cl
cmp al, byte [0x1800c89ac]
je 0x180008bb1
test al, al
je 0x180008bb1
mov cl, 1
mov byte [0x1800c89ad], cl
mov byte [0x1800c89ac], al
test cl, cl
je 0x180008bbf
mov byte [rdi + 0x38], 1
movss xmm1, dword [0x1800baedc]
xorps xmm0, xmm0
call fcn.18003bef0
and dword [rbp + 0x30], 0
lea rcx, str.Reset
and dword [rbp + 0x34], 0
lea rdx, [rbp + 0x30]
call fcn.180058ca4
test al, al
je 0x180008bef
mov qword [rdi + 0x28], r15
lea rdx, [rdi + 0xe]
lea rcx, str.Log_NetMotions_in_console
call fcn.180059898
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp fcn.180038ba8