Function at 0x140095250
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 [0x14015cf40]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rcx]
call fcn.140013560
test eax, eax
jle 0x140095555
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 0x140095586
sub ecx, 1
je 0x140095532
cmp ecx, 1
je 0x1400952e5
lea rcx, str._S_UNHANDLED_n
call fcn.1400c2570
jmp 0x140095596
mov rdx, qword [rsp + 0x70]
cmp qword [rdx + 0x18], 3
jbe 0x1400954fa
mov rax, qword [rdx + 0x10]
movzx r8d, byte [rax]
mov ecx, r8d
sub ecx, 2
je 0x1400954aa
sub ecx, 1
je 0x140095457
sub ecx, 1
je 0x14009532e
sub ecx, 2
je 0x140095555
cmp ecx, 2
je 0x140095555
jmp 0x1400954fd
mov rcx, rdx
call fcn.1400deb80
mov rdi, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400debd0
test rdi, rdi
je case.0x140095375.6
test rax, rax
je case.0x140095375.6
movzx ecx, byte [rdi]
cmp ecx, 0x1a
ja case.0x140095375.6
movzx ecx, byte [r14 + rcx + 0x95b84]
mov edx, dword [r14 + rcx*4 + 0x95b68]
add rdx, r14
jmp rdx
mov rdx, rdi
mov rcx, rax
call fcn.1400ac320
test al, al
je case.0x140095375.6
mov rcx, qword [rsp + 0x70]
call fcn.140012000
jmp 0x140095555
cmp byte [0x1401605d5], sil
je case.0x140095375.6
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14009538a
jmp case.0x140095375.6
mov cl, 1
movsxd rax, dword [rdi + 0x14]
cmp eax, 0x704
je 0x1400953da
cmp eax, 0xf2
je 0x1400953da
movzx ecx, cl
cmp eax, 0x1c14
cmovne ecx, esi
cmp byte [0x1401605a0], sil
je 0x1400953eb
test cl, cl
je 0x1400955b0
mov rcx, qword [0x1401630c0]
add rcx, 0x5de8
mov edx, eax
call fcn.140090490
test eax, eax
je 0x140095555
mov rcx, rdi
call fcn.1400beb00
test al, al
jne 0x14009538a
jmp case.0x140095375.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.0x140095375.6
cmp byte [0x14016184b], sil
jne 0x140095555
jmp case.0x140095375.6
mov rcx, rdx
call fcn.1400dec20
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 0x140095480
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400185b0
lea rcx, [rsp + 0x30]
call fcn.14004a7b0
test al, al
jne 0x14009538a
jmp case.0x140095375.6
mov rcx, rdx
call fcn.1400dec20
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 0x1400954d0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400185b0
lea rcx, [rsp + 0x30]
call fcn.14004a9d0
test al, al
jne 0x14009538a
jmp case.0x140095375.6
mov r8d, esi
mov edx, r8d
lea rcx, str._S_Got_unknown_packet_of_type__d._n
call fcn.1400c2570
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140095555
cmp qword [rbx + 8], rsi
je 0x140095555
mov r8, qword [rsp + 0x70]
xor edx, edx
call fcn.140013080
mov rcx, qword [rbx + 8]
call fcn.140013530
jmp 0x140095596
cmp byte [0x14016184b], sil
jne 0x140095555
cmp byte [0x140161848], sil
je 0x140095596
xor edx, edx
mov rcx, rbx
call fcn.140044920
mov byte [0x140161848], sil
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400e6e60
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.14003ec60
test al, al
je 0x140095555
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx]
call fcn.140013560
test eax, eax
jg 0x1400952b0
jmp 0x140095555
mov rcx, qword [0x1401630c0]
mov qword [rsp + 0x50], rcx
imul rdx, rax, 0x220
add rdx, qword [0x1401607e0]
lea rcx, [rbp - 0x80]
call fcn.1400285b0
nop
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
mov r15, qword [rbp - 0x40]
cmp r15, 9
jb 0x14009563a
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 0x14009563a
movabs rcx, 0x6172747365636e41
cmp qword [rax], rcx
jne 0x14009561e
cmp byte [rax + 8], 0x6c
je 0x14009562d
inc rax
lea r8, [r14 - 8]
sub r8, rax
mov rcx, rax
jmp 0x1400955fa
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x14009573a
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
cmp r15, 7
jb 0x1400956b1
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 0x1400956b1
nop dword [rax + rax]
cmp dword [rax], 0x696d6153
jne 0x140095686
cmp word [rax + 4], 0x6c6c
jne 0x140095686
cmp byte [rax + 6], 0x65
je 0x1400956a4
inc rax
lea r8, [r14 - 6]
sub r8, rax
mov edx, 0x53
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140095670
jmp 0x1400956b1
sub rax, rsi
cmp rax, 0xffffffffffffffff
jne 0x14009573a
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rsi, qword [rbp - 0x50]
cmp r15, 7
jb 0x140095714
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 0x140095714
cmp dword [rax], 0x6b616843
jne 0x1400956f8
cmp word [rax + 4], 0x6172
jne 0x1400956f8
cmp byte [rax + 6], 0x6d
je 0x140095731
inc rax
lea r8, [r14 - 6]
sub r8, rax
mov edx, 0x43
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400956e2
movsx rax, byte [rbp + 8]
cmp eax, 8
ja case.0x14009572f.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x95ba0]
add rcx, rdx
jmp rcx
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x140095714
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605c8]
jp 0x140095763
jne 0x140095763
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605c8], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605c8], xmm0
jmp 0x140095977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605a4]
jp 0x140095963
jne 0x140095963
xorps xmm0, xmm0
jmp 0x14009596b
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605a8]
jp 0x1400957ca
jne 0x1400957ca
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605a8], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605a8], xmm0
jmp 0x140095977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605ac]
jp 0x14009580c
jne 0x14009580c
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605ac], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605ac], xmm0
jmp 0x140095977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605b0]
jp 0x14009584e
jne 0x14009584e
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605b0], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605b0], xmm0
jmp 0x140095977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605b4]
jp 0x140095890
jne 0x140095890
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605b4], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605b4], xmm0
jmp 0x140095977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605b8]
jp 0x1400958d2
jne 0x1400958d2
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605b8], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605b8], xmm0
jmp 0x140095977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605bc]
jp 0x140095911
jne 0x140095911
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605bc], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605bc], xmm0
jmp 0x140095977
mov eax, dword [rbp - 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401605c4]
jp 0x14009594d
jne 0x14009594d
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605c4], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605c4], xmm0
jmp 0x140095977
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401605a4], xmm0
mov ecx, dword [rdi + 0x14]
call fcn.140090780
test eax, eax
je 0x140095989
mov dword [0x14015a0e4], eax
xorps xmm6, xmm6
movss xmm0, dword [0x1401605bc]
ucomiss xmm0, xmm6
jp 0x14009599b
je 0x1400959a2
mov byte [0x1401605e7], 1
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov edx, dword [rdi + 0x5f9c]
mov rcx, rbx
call fcn.1400a9380
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.1400185b0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140029180
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140095a33
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095a2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140095a2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6d4c
movss xmm1, dword [0x1401605a8]
movss xmm2, dword [0x1401605ac]
mov dword [rbp + 0x1e0], 4
movss xmm0, dword [0x1401605a4]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x1f0], xmm0
movss dword [rbp + 0x1f8], xmm2
movss xmm1, dword [0x1401605b4]
movss xmm2, dword [0x1401605b8]
mov dword [rbp + 0x220], 4
movss xmm0, dword [0x1401605b0]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x230], xmm0
movss dword [rbp + 0x238], xmm2
movss xmm1, dword [0x1401605c0]
movss xmm2, dword [0x1401605c4]
mov dword [rbp + 0x260], 4
movss xmm0, dword [0x1401605bc]
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 [0x14013120c]
mov dword [rbp + 0x2e0], 4
movss xmm0, dword [0x1401605c8]
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 [0x1401630c0]
call fcn.1400a9090
nop
lea r9, [fcn.14002bf70]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp + 0x1a0]
call fcn.1400e6f1c
nop
lea rcx, [rbp - 0x80]
call fcn.14002b970
jmp 0x140095555