Function at 0x1400ad0a0
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 - 0x3a8]
sub rsp, 0x490
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140181f80]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx]
call fcn.14000d810
test eax, eax
jle 0x1400ad3a4
lea r14, [0x140000000]
xor esi, esi
nop dword [rax + rax]
mov ecx, dword [rsp + 0x68]
sub ecx, 1
je 0x1400ad3d5
sub ecx, 1
je 0x1400ad381
cmp ecx, 1
je 0x1400ad12c
lea rcx, str._SERVER_:_UNHANDLED_n
call fcn.14006b310
jmp 0x1400ad3ea
mov rdx, qword [rbp - 0x80]
cmp qword [rdx + 0x18], 3
jbe 0x1400ad34a
mov rax, qword [rdx + 0x10]
movzx r8d, byte [rax]
mov ecx, r8d
sub ecx, 2
je 0x1400ad2fa
sub ecx, 1
je 0x1400ad2ab
sub ecx, 1
je 0x1400ad174
sub ecx, 2
je 0x1400ad3a4
cmp ecx, 2
je 0x1400ad3a4
jmp 0x1400ad34d
mov rcx, rdx
call fcn.1400b4700
mov rdi, rax
mov rcx, qword [rbp - 0x80]
call fcn.1400b4750
test rdi, rdi
je case.0x1400ad1ba.6
test rax, rax
je case.0x1400ad1ba.6
movzx ecx, byte [rdi]
cmp ecx, 0x1a
ja case.0x1400ad1ba.6
movzx ecx, byte [r14 + rcx + 0xadb24]
mov edx, dword [r14 + rcx*4 + 0xadb08]
add rdx, r14
jmp rdx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x1400ad1ba.6
cmp byte [reloc.WS2_32.dll_accept], sil
je case.0x1400ad1ba.6
mov rcx, qword [rbp - 0x80]
call fcn.14000c2b0
jmp 0x1400ad3a4
mov rdx, rdi
mov rcx, rax
call fcn.140058620
test al, al
jne 0x1400ad1dd
jmp case.0x1400ad1ba.6
mov al, 1
movsxd rdx, dword [rdi + 0x14]
cmp edx, 0x704
je 0x1400ad221
cmp edx, 0xf2
je 0x1400ad221
movzx eax, al
cmp edx, 0x1c14
cmovne eax, esi
cmp byte [0x140185a05], sil
je 0x1400ad232
test al, al
je 0x1400ad404
mov rax, qword [0x140188410]
mov rcx, qword [rax + 0x20]
mov r8, qword [rax + 0x28]
cmp rcx, r8
je 0x1400ad3a4
nop word [rax + rax]
movzx eax, word [rcx]
cmp eax, edx
je 0x1400ad265
add rcx, 4
cmp rcx, r8
jne 0x1400ad250
jmp 0x1400ad3a4
cmp byte [rcx + 2], sil
je 0x1400ad3a4
mov rcx, rdi
call fcn.14006a130
test al, al
jne 0x1400ad1dd
jmp case.0x1400ad1ba.6
mov rcx, rdi
call fcn.14004f6c0
test al, al
jne 0x1400ad1dd
jmp case.0x1400ad1ba.6
cmp byte [0x140186bf8], sil
jne 0x1400ad3a4
jmp case.0x1400ad1ba.6
mov rcx, rdx
call fcn.1400b47a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400ad2d0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140011c40
lea rcx, [rsp + 0x38]
call fcn.14002c070
test al, al
jne 0x1400ad1dd
jmp case.0x1400ad1ba.6
mov rcx, rdx
call fcn.1400b47a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400ad320
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140011c40
lea rcx, [rsp + 0x38]
call fcn.14002c9d0
test al, al
jne 0x1400ad1dd
jmp case.0x1400ad1ba.6
mov r8d, esi
mov edx, r8d
lea rcx, str._SERVER_:_Got_unknown_packet_of_type__d._n
call fcn.14006b310
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400ad3a4
cmp qword [rbx + 8], rsi
je 0x1400ad3a4
mov r8, qword [rbp - 0x80]
xor edx, edx
call fcn.14000d330
mov rcx, qword [rbx + 8]
call fcn.14000d7e0
jmp 0x1400ad3ea
cmp byte [0x140186bf8], sil
jne 0x1400ad3a4
cmp byte [0x140186bf1], sil
je 0x1400ad3ea
xor edx, edx
mov rcx, rbx
call fcn.1400ab460
mov byte [0x140186bf1], sil
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14011bb30
lea r11, [rsp + 0x490]
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 rax, qword [rsp + 0x70]
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.1400ab380
test al, al
je 0x1400ad3a4
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx]
call fcn.14000d810
test eax, eax
jg 0x1400ad100
jmp 0x1400ad3a4
mov rax, qword [0x140188410]
mov qword [rsp + 0x30], rax
imul rdx, rdx, 0x220
add rdx, qword [0x140185b48]
lea rcx, [rbp - 0x70]
call fcn.14001c6b0
nop
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rsi, qword [rbp - 0x40]
mov r14, qword [rbp - 0x30]
cmp r14, 9
jb 0x1400ad4a7
lea r15, [r14 + rsi]
lea r8, [r15 - 8]
sub r8, rsi
mov edx, 0x41
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400ad4a7
mov r8d, 9
lea rdx, str.Ancestral
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ad49a
inc rbx
lea r8, [r15 - 8]
sub r8, rbx
mov edx, 0x41
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400ad460
jmp 0x1400ad4a7
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400ad5c1
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rsi, qword [rbp - 0x40]
cmp r14, 7
jb 0x1400ad527
lea r15, [r14 + rsi]
lea r8, [r15 - 6]
sub r8, rsi
mov edx, 0x53
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400ad527
nop dword [rax + rax]
mov r8d, 7
lea rdx, str.Samille
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ad51a
inc rbx
lea r8, [r15 - 6]
sub r8, rbx
mov edx, 0x53
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400ad4e0
jmp 0x1400ad527
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400ad5c1
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rsi, qword [rbp - 0x40]
cmp r14, 7
jb 0x1400ad59b
lea r8, [r14 - 6]
add r8, rsi
sub r8, rsi
mov edx, 0x43
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400ad59b
nop word [rax + rax]
mov r8d, 7
lea rdx, str.Chakram
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ad5b8
inc rbx
lea r8, [r14 - 6]
add r8, rsi
sub r8, rbx
mov edx, 0x43
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400ad560
movsx rax, byte [rbp + 0x18]
cmp eax, 8
ja case.0x1400ad5b6.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xadb40]
add rcx, rdx
jmp rcx
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1400ad59b
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a2c]
jp 0x1400ad5ea
jne 0x1400ad5ea
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a2c], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a2c], xmm0
jmp 0x1400ad7fe
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a08]
jp 0x1400ad7ea
jne 0x1400ad7ea
xorps xmm0, xmm0
jmp 0x1400ad7f2
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a0c]
jp 0x1400ad651
jne 0x1400ad651
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a0c], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a0c], xmm0
jmp 0x1400ad7fe
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a10]
jp 0x1400ad693
jne 0x1400ad693
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a10], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a10], xmm0
jmp 0x1400ad7fe
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a14]
jp 0x1400ad6d5
jne 0x1400ad6d5
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a14], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a14], xmm0
jmp 0x1400ad7fe
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a18]
jp 0x1400ad717
jne 0x1400ad717
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a18], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a18], xmm0
jmp 0x1400ad7fe
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a1c]
jp 0x1400ad759
jne 0x1400ad759
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a1c], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a1c], xmm0
jmp 0x1400ad7fe
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a20]
jp 0x1400ad798
jne 0x1400ad798
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a20], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a20], xmm0
jmp 0x1400ad7fe
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140185a28]
jp 0x1400ad7d4
jne 0x1400ad7d4
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a28], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a28], xmm0
jmp 0x1400ad7fe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140185a08], xmm0
mov ecx, dword [rdi + 0x14]
call fcn.14004a4d0
test eax, eax
je 0x1400ad818
mov ecx, dword [rdi + 0x14]
call fcn.14004a4d0
mov dword [0x14017f138], eax
xorps xmm6, xmm6
movss xmm0, dword [0x140185a20]
ucomiss xmm0, xmm6
jp 0x1400ad833
jne 0x1400ad833
movzx eax, byte [0x140185a43]
jmp 0x1400ad83b
mov al, 1
mov byte [0x140185a43], al
mov r14, qword [rsp + 0x30]
mov edi, dword [r14 + 0x5fd0]
movzx ecx, al
add ecx, ecx
movzx eax, byte [0x140186bf9]
or ecx, eax
movzx ebx, byte [0x140185a60]
shl ebx, 0x18
or ebx, ecx
mov dword [rsp + 0x58], 0x447a0000
mov dword [rsp + 0x5c], 0x43c80000
movss xmm0, dword [0x14017f104]
movss dword [rsp + 0x60], xmm0
movss xmm1, dword [0x14017f108]
movss dword [rsp + 0x30], xmm1
mov ecx, gethostname
call fcn.14011bcbc
mov rsi, rax
xor ecx, ecx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], ecx
mov dword [rax + 0x28], ecx
mov dword [rax + 0x34], ecx
mov dword [rax], reloc.WS2_32.dll_sendto
mov dword [rax + 4], edi
mov dword [rax + 0x14], ebx
mov eax, dword [rsp + 0x58]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x24], eax
mov qword [rsi + 0x2c], rcx
movzx eax, word [0x14017f138]
mov word [rsi + 1], ax
mov word [rsi + 2], 0x8080
mov dword [rsp + 0x30], 0x43480000
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x10], eax
mov rax, qword [0x140188410]
mov rbx, qword [rax + 0x18]
test rbx, rbx
je 0x1400ad94d
lea edx, [rcx + 0x3d]
lea r8d, [rcx + 1]
call fcn.14000c200
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
mov rcx, qword [rax + 0x10]
movups xmm0, xmmword [rsi]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rcx + 0x14], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rcx + 0x24], xmm0
movsd xmm1, qword [rsi + 0x30]
movsd qword [rcx + 0x34], xmm1
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.14000d330
mov edx, 1
mov rcx, rsi
call fcn.14011ba14
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnSetClothing
lea rcx, [rsp + 0x38]
call fcn.140011c40
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1b0]
call fcn.14001d480
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400ad9d5
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad9d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad9d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011ba14
movss xmm1, dword [0x140185a0c]
movss xmm2, dword [0x140185a10]
mov dword [rbp + 0x1f0], 4
movss xmm0, dword [0x140185a08]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x200], xmm0
movss dword [rbp + 0x208], xmm2
movss xmm1, dword [0x140185a18]
movss xmm2, dword [0x140185a1c]
mov dword [rbp + 0x230], 4
movss xmm0, dword [0x140185a14]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x240], xmm0
movss dword [rbp + 0x248], xmm2
movss xmm1, dword [0x140185a24]
movss xmm2, dword [0x140185a28]
mov dword [rbp + 0x270], 4
movss xmm0, dword [0x140185a20]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x280], xmm0
movss dword [rbp + 0x288], xmm2
mov dword [rbp + 0x2b0], 9
mov dword [rbp + 0x2c0], 0x647296ff
movss xmm1, dword [0x14014a948]
mov dword [rbp + 0x2f0], 4
movss xmm0, dword [0x140185a2c]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x300], xmm0
movss dword [rbp + 0x308], xmm6
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [r14 + 0x5fd0]
lea r8, [rbp + 0x1b0]
mov dl, 1
mov rcx, qword [0x140188410]
call fcn.1400aedd0
nop
lea r9, [fcn.14001eef0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x1b0]
call fcn.14011bbec
nop
lea rcx, [rbp - 0x70]
call fcn.14001e820
jmp 0x1400ad3a4