Function at 0x14008e250
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x480
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14014b600]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rcx]
call fcn.140018c60
test eax, eax
jle 0x14008e555
lea r14, [0x140000000]
xor esi, esi
nop dword [rax + rax]
mov rdx, qword [rsp + 0x60]
mov qword [rbx + 0x18], rdx
mov ecx, dword [rsp + 0x58]
sub ecx, 1
je 0x14008e586
sub ecx, 1
je 0x14008e532
cmp ecx, 1
je 0x14008e2e5
lea rcx, str._S_UNHANDLED_n
call fcn.1400b5610
jmp 0x14008e596
mov rdx, qword [rsp + 0x70]
cmp qword [rdx + 0x18], 3
jbe 0x14008e4fa
mov rax, qword [rdx + 0x10]
movzx r8d, byte [rax]
mov ecx, r8d
sub ecx, 2
je 0x14008e4aa
sub ecx, 1
je 0x14008e457
sub ecx, 1
je 0x14008e32e
sub ecx, 2
je 0x14008e555
cmp ecx, 2
je 0x14008e555
jmp 0x14008e4fd
mov rcx, rdx
call fcn.1400d5450
mov rdi, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400d54a0
test rdi, rdi
je case.0x14008e375.6
test rax, rax
je case.0x14008e375.6
movzx ecx, byte [rdi]
cmp ecx, 0x1a
ja case.0x14008e375.6
movzx ecx, byte [r14 + rcx + 0x8eb84]
mov edx, dword [r14 + rcx*4 + 0x8eb68]
add rdx, r14
jmp rdx
mov rdx, rdi
mov rcx, rax
call fcn.1400a2500
test al, al
je case.0x14008e375.6
mov rcx, qword [rsp + 0x70]
call fcn.140017700
jmp 0x14008e555
cmp byte [0x14014eb32], sil
je case.0x14008e375.6
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14008e38a
jmp case.0x14008e375.6
mov cl, 1
movsxd rax, dword [rdi + 0x14]
cmp eax, 0x704
je 0x14008e3da
cmp eax, 0xf2
je 0x14008e3da
movzx ecx, cl
cmp eax, 0x1c14
cmovne ecx, esi
cmp byte [0x14014eae7], sil
je 0x14008e3eb
test cl, cl
je 0x14008e5b0
mov rcx, qword [0x140151770]
add rcx, 0x5de8
mov edx, eax
call fcn.140089740
test eax, eax
je 0x14008e555
mov rcx, rdi
call fcn.1400b1b20
test al, al
jne 0x14008e38a
jmp case.0x14008e375.6
mov dword [rdi + 0x20], 0x447a0000
mov dword [rdi + 0x24], 0x437a0000
mov dword [rdi + 0x18], 0x42800000
mov dword [rdi + 0x1c], 0x42800000
mov byte [rdi + 2], sil
mov dword [rdi + 4], esi
jmp case.0x14008e375.6
cmp byte [0x14014fe67], sil
jne 0x14008e555
jmp case.0x14008e375.6
mov rcx, rdx
call fcn.1400d54f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14008e480
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001da00
lea rcx, [rsp + 0x30]
call fcn.1400483a0
test al, al
jne 0x14008e38a
jmp case.0x14008e375.6
mov rcx, rdx
call fcn.1400d54f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14008e4d0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001da00
lea rcx, [rsp + 0x30]
call fcn.140048760
test al, al
jne 0x14008e38a
jmp case.0x14008e375.6
mov r8d, esi
mov edx, r8d
lea rcx, str._S_Got_unknown_packet_of_type__d._n
call fcn.1400b5610
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14008e555
cmp qword [rbx + 8], rsi
je 0x14008e555
mov r8, qword [rsp + 0x70]
xor edx, edx
call fcn.140018780
mov rcx, qword [rbx + 8]
call fcn.140018c30
jmp 0x14008e596
cmp byte [0x14014fe67], sil
jne 0x14008e555
cmp byte [0x14014fe64], sil
je 0x14008e596
xor edx, edx
mov rcx, rbx
call fcn.140043700
mov byte [0x14014fe64], sil
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400dd660
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rbx + 0x18], rdx
mov rcx, rbx
call fcn.14003f820
test al, al
je 0x14008e555
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx]
call fcn.140018c60
test eax, eax
jg 0x14008e2b0
jmp 0x14008e555
mov rcx, qword [0x140151770]
mov qword [rsp + 0x50], rcx
imul rdx, rax, 0x220
add rdx, qword [0x14014ea60]
lea rcx, [rbp - 0x80]
call fcn.140028640
nop
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
mov r15, qword [rbp - 0x40]
cmp r15, 9
jb 0x14008e63a
lea r14, [r15 + rsi]
lea r8, [r14 - 8]
sub r8, rsi
mov rcx, rsi
mov edx, 0x41
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14008e63a
movabs rcx, 0x6172747365636e41
cmp qword [rax], rcx
jne 0x14008e61e
cmp byte [rax + 8], 0x6c
je 0x14008e62d
inc rax
lea r8, [r14 - 8]
sub r8, rax
mov rcx, rax
jmp 0x14008e5fa
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x14008e73a
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
cmp r15, 7
jb 0x14008e6b1
lea r14, [r15 + rsi]
lea r8, [r14 - 6]
sub r8, rsi
mov edx, 0x53
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14008e6b1
nop dword [rax + rax]
cmp dword [rax], 0x696d6153
jne 0x14008e686
cmp word [rax + 4], 0x6c6c
jne 0x14008e686
cmp byte [rax + 6], 0x65
je 0x14008e6a4
inc rax
lea r8, [r14 - 6]
sub r8, rax
mov edx, 0x53
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14008e670
jmp 0x14008e6b1
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x14008e73a
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
cmp r15, 7
jb 0x14008e714
lea r14, [r15 + rsi]
lea r8, [r14 - 6]
sub r8, rsi
mov edx, 0x43
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14008e714
cmp dword [rax], 0x6b616843
jne 0x14008e6f8
cmp word [rax + 4], 0x6172
jne 0x14008e6f8
cmp byte [rax + 6], 0x6d
je 0x14008e731
inc rax
lea r8, [r14 - 6]
sub r8, rax
mov edx, 0x43
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14008e6e2
movsx rax, byte [rbp + 8]
cmp eax, 8
ja case.0x14008e72f.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x8eba0]
add rcx, rdx
jmp rcx
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x14008e714
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb24]
jp 0x14008e763
jne 0x14008e763
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb24], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb24], xmm0
jmp 0x14008e977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb00]
jp 0x14008e963
jne 0x14008e963
xorps xmm0, xmm0
jmp 0x14008e96b
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb04]
jp 0x14008e7ca
jne 0x14008e7ca
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb04], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb04], xmm0
jmp 0x14008e977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb08]
jp 0x14008e80c
jne 0x14008e80c
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb08], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb08], xmm0
jmp 0x14008e977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb0c]
jp 0x14008e84e
jne 0x14008e84e
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb0c], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb0c], xmm0
jmp 0x14008e977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb10]
jp 0x14008e890
jne 0x14008e890
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb10], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb10], xmm0
jmp 0x14008e977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb14]
jp 0x14008e8d2
jne 0x14008e8d2
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb14], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb14], xmm0
jmp 0x14008e977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb18]
jp 0x14008e911
jne 0x14008e911
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb18], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb18], xmm0
jmp 0x14008e977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14014eb20]
jp 0x14008e94d
jne 0x14008e94d
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb20], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb20], xmm0
jmp 0x14008e977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14014eb00], xmm0
mov ecx, dword [rdi + 0x14]
call fcn.140089930
test eax, eax
je 0x14008e989
mov dword [0x14014808c], eax
xorps xmm6, xmm6
movss xmm0, dword [0x14014eb18]
ucomiss xmm0, xmm6
jp 0x14008e99b
je 0x14008e9a2
mov byte [0x14014eb59], 1
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov edx, dword [rdi + 0x5fb4]
mov rcx, rbx
call fcn.14009f4e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnSetClothing
lea rcx, [rsp + 0x30]
call fcn.14001da00
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140028ee0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14008ea33
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ea2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ea2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dd54c
movss xmm1, dword [0x14014eb04]
movss xmm2, dword [0x14014eb08]
mov dword [rbp + 0x1e0], 4
movss xmm0, dword [0x14014eb00]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x1f0], xmm0
movss dword [rbp + 0x1f8], xmm2
movss xmm1, dword [0x14014eb10]
movss xmm2, dword [0x14014eb14]
mov dword [rbp + 0x220], 4
movss xmm0, dword [0x14014eb0c]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x230], xmm0
movss dword [rbp + 0x238], xmm2
movss xmm1, dword [0x14014eb1c]
movss xmm2, dword [0x14014eb20]
mov dword [rbp + 0x260], 4
movss xmm0, dword [0x14014eb18]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x270], xmm0
movss dword [rbp + 0x278], xmm2
mov dword [rbp + 0x2a0], 9
mov dword [rbp + 0x2b0], 0x647296ff
movss xmm1, dword [0x140122c7c]
mov dword [rbp + 0x2e0], 4
movss xmm0, dword [0x14014eb24]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x2f0], xmm0
movss dword [rbp + 0x2f8], xmm6
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rdi + 0x5fb4]
lea r8, [rbp + 0x1a0]
mov dl, 1
mov rcx, qword [0x140151770]
call fcn.14009f1f0
nop
lea r9, [fcn.14002b8c0]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp + 0x1a0]
call fcn.1400dd71c
nop
lea rcx, [rbp - 0x80]
call fcn.14002b2c0
jmp 0x14008e555