Function at 0x140095220
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 [0x14015ad80]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rcx]
call fcn.140013470
test eax, eax
jle 0x140095525
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 0x140095556
sub ecx, 1
je 0x140095502
cmp ecx, 1
je 0x1400952b5
lea rcx, str._S_UNHANDLED_n
call fcn.1400c24e0
jmp 0x140095566
mov rdx, qword [rsp + 0x70]
cmp qword [rdx + 0x18], 3
jbe 0x1400954ca
mov rax, qword [rdx + 0x10]
movzx r8d, byte [rax]
mov ecx, r8d
sub ecx, 2
je 0x14009547a
sub ecx, 1
je 0x140095427
sub ecx, 1
je 0x1400952fe
sub ecx, 2
je 0x140095525
cmp ecx, 2
je 0x140095525
jmp 0x1400954cd
mov rcx, rdx
call fcn.1400de950
mov rdi, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400de9a0
test rdi, rdi
je case.0x140095345.6
test rax, rax
je case.0x140095345.6
movzx ecx, byte [rdi]
cmp ecx, 0x1a
ja case.0x140095345.6
movzx ecx, byte [r14 + rcx + 0x95b54]
mov edx, dword [r14 + rcx*4 + 0x95b38]
add rdx, r14
jmp rdx
mov rdx, rdi
mov rcx, rax
call fcn.1400ac2f0
test al, al
je case.0x140095345.6
mov rcx, qword [rsp + 0x70]
call fcn.140011f10
jmp 0x140095525
cmp byte [0x14015e415], sil
je case.0x140095345.6
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14009535a
jmp case.0x140095345.6
mov cl, 1
movsxd rax, dword [rdi + 0x14]
cmp eax, 0x704
je 0x1400953aa
cmp eax, 0xf2
je 0x1400953aa
movzx ecx, cl
cmp eax, 0x1c14
cmovne ecx, esi
cmp byte [0x14015e3e0], sil
je 0x1400953bb
test cl, cl
je 0x140095580
mov rcx, qword [0x140160f00]
add rcx, 0x5de8
mov edx, eax
call fcn.140090460
test eax, eax
je 0x140095525
mov rcx, rdi
call fcn.1400bea70
test al, al
jne 0x14009535a
jmp case.0x140095345.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.0x140095345.6
cmp byte [0x14015f68b], sil
jne 0x140095525
jmp case.0x140095345.6
mov rcx, rdx
call fcn.1400de9f0
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 0x140095450
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400184c0
lea rcx, [rsp + 0x30]
call fcn.14004a730
test al, al
jne 0x14009535a
jmp case.0x140095345.6
mov rcx, rdx
call fcn.1400de9f0
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 0x1400954a0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400184c0
lea rcx, [rsp + 0x30]
call fcn.14004a950
test al, al
jne 0x14009535a
jmp case.0x140095345.6
mov r8d, esi
mov edx, r8d
lea rcx, str._S_Got_unknown_packet_of_type__d._n
call fcn.1400c24e0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140095525
cmp qword [rbx + 8], rsi
je 0x140095525
mov r8, qword [rsp + 0x70]
xor edx, edx
call fcn.140012f90
mov rcx, qword [rbx + 8]
call fcn.140013440
jmp 0x140095566
cmp byte [0x14015f68b], sil
jne 0x140095525
cmp byte [0x14015f688], sil
je 0x140095566
xor edx, edx
mov rcx, rbx
call fcn.1400448a0
mov byte [0x14015f688], sil
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400e6d00
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.14003ebe0
test al, al
je 0x140095525
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx]
call fcn.140013470
test eax, eax
jg 0x140095280
jmp 0x140095525
mov rcx, qword [0x140160f00]
mov qword [rsp + 0x50], rcx
imul rdx, rax, 0x220
add rdx, qword [0x14015e620]
lea rcx, [rbp - 0x80]
call fcn.140028530
nop
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
mov r15, qword [rbp - 0x40]
cmp r15, 9
jb 0x14009560a
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 0x14009560a
movabs rcx, 0x6172747365636e41
cmp qword [rax], rcx
jne 0x1400955ee
cmp byte [rax + 8], 0x6c
je 0x1400955fd
inc rax
lea r8, [r14 - 8]
sub r8, rax
mov rcx, rax
jmp 0x1400955ca
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x14009570a
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
cmp r15, 7
jb 0x140095681
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 0x140095681
nop dword [rax + rax]
cmp dword [rax], 0x696d6153
jne 0x140095656
cmp word [rax + 4], 0x6c6c
jne 0x140095656
cmp byte [rax + 6], 0x65
je 0x140095674
inc rax
lea r8, [r14 - 6]
sub r8, rax
mov edx, 0x53
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140095640
jmp 0x140095681
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x14009570a
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
cmp r15, 7
jb 0x1400956e4
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 0x1400956e4
cmp dword [rax], 0x6b616843
jne 0x1400956c8
cmp word [rax + 4], 0x6172
jne 0x1400956c8
cmp byte [rax + 6], 0x6d
je 0x140095701
inc rax
lea r8, [r14 - 6]
sub r8, rax
mov edx, 0x43
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400956b2
movsx rax, byte [rbp + 8]
cmp eax, 8
ja case.0x1400956ff.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x95b70]
add rcx, rdx
jmp rcx
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x1400956e4
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e408]
jp 0x140095733
jne 0x140095733
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e408], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e408], xmm0
jmp 0x140095947
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e3e4]
jp 0x140095933
jne 0x140095933
xorps xmm0, xmm0
jmp 0x14009593b
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e3e8]
jp 0x14009579a
jne 0x14009579a
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3e8], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3e8], xmm0
jmp 0x140095947
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e3ec]
jp 0x1400957dc
jne 0x1400957dc
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3ec], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3ec], xmm0
jmp 0x140095947
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e3f0]
jp 0x14009581e
jne 0x14009581e
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3f0], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3f0], xmm0
jmp 0x140095947
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e3f4]
jp 0x140095860
jne 0x140095860
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3f4], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3f4], xmm0
jmp 0x140095947
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e3f8]
jp 0x1400958a2
jne 0x1400958a2
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3f8], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3f8], xmm0
jmp 0x140095947
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e3fc]
jp 0x1400958e1
jne 0x1400958e1
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3fc], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3fc], xmm0
jmp 0x140095947
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x14015e404]
jp 0x14009591d
jne 0x14009591d
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e404], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e404], xmm0
jmp 0x140095947
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x14015e3e4], xmm0
mov ecx, dword [rdi + 0x14]
call fcn.140090750
test eax, eax
je 0x140095959
mov dword [0x1401580e4], eax
xorps xmm6, xmm6
movss xmm0, dword [0x14015e3fc]
ucomiss xmm0, xmm6
jp 0x14009596b
je 0x140095972
mov byte [0x14015e427], 1
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov edx, dword [rdi + 0x5f9c]
mov rcx, rbx
call fcn.1400a9350
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.1400184c0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140029100
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140095a03
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400959fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400959fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6bec
movss xmm1, dword [0x14015e3e8]
movss xmm2, dword [0x14015e3ec]
mov dword [rbp + 0x1e0], 4
movss xmm0, dword [0x14015e3e4]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x1f0], xmm0
movss dword [rbp + 0x1f8], xmm2
movss xmm1, dword [0x14015e3f4]
movss xmm2, dword [0x14015e3f8]
mov dword [rbp + 0x220], 4
movss xmm0, dword [0x14015e3f0]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x230], xmm0
movss dword [rbp + 0x238], xmm2
movss xmm1, dword [0x14015e400]
movss xmm2, dword [0x14015e404]
mov dword [rbp + 0x260], 4
movss xmm0, dword [0x14015e3fc]
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 [0x14012f52c]
mov dword [rbp + 0x2e0], 4
movss xmm0, dword [0x14015e408]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x2f0], xmm0
movss dword [rbp + 0x2f8], xmm6
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rdi + 0x5f9c]
lea r8, [rbp + 0x1a0]
mov dl, 1
mov rcx, qword [0x140160f00]
call fcn.1400a9060
nop
lea r9, [fcn.14002bef0]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp + 0x1a0]
call fcn.1400e6dbc
nop
lea rcx, [rbp - 0x80]
call fcn.14002b8f0
jmp 0x140095525