Function at 0x1400afb60
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 [0x140185fc0]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx]
call fcn.14000e420
test eax, eax
jle 0x1400afe64
lea r14, [0x140000000]
xor esi, esi
nop dword [rax + rax]
mov ecx, dword [rsp + 0x68]
sub ecx, 1
je 0x1400afe95
sub ecx, 1
je 0x1400afe41
cmp ecx, 1
je 0x1400afbec
lea rcx, str._SERVER_:_UNHANDLED_n
call fcn.14006d310
jmp 0x1400afeaa
mov rdx, qword [rbp - 0x80]
cmp qword [rdx + 0x18], 3
jbe 0x1400afe0a
mov rax, qword [rdx + 0x10]
movzx r8d, byte [rax]
mov ecx, r8d
sub ecx, 2
je 0x1400afdba
sub ecx, 1
je 0x1400afd6b
sub ecx, 1
je 0x1400afc34
sub ecx, 2
je 0x1400afe64
cmp ecx, 2
je 0x1400afe64
jmp 0x1400afe0d
mov rcx, rdx
call fcn.1400b71c0
mov rdi, rax
mov rcx, qword [rbp - 0x80]
call fcn.1400b7210
test rdi, rdi
je case.0x1400afc7a.6
test rax, rax
je case.0x1400afc7a.6
movzx ecx, byte [rdi]
cmp ecx, 0x1a
ja case.0x1400afc7a.6
movzx ecx, byte [r14 + rcx + 0xb05e4]
mov edx, dword [r14 + rcx*4 + 0xb05c8]
add rdx, r14
jmp rdx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x1400afc7a.6
cmp byte [reloc.WS2_32.dll_accept], sil
je case.0x1400afc7a.6
mov rcx, qword [rbp - 0x80]
call fcn.14000cec0
jmp 0x1400afe64
mov rdx, rdi
mov rcx, rax
call fcn.14005a180
test al, al
jne 0x1400afc9d
jmp case.0x1400afc7a.6
mov al, 1
movsxd rdx, dword [rdi + 0x14]
cmp edx, 0x704
je 0x1400afce1
cmp edx, 0xf2
je 0x1400afce1
movzx eax, al
cmp edx, 0x1c14
cmovne eax, esi
cmp byte [0x140189a35], sil
je 0x1400afcf2
test al, al
je 0x1400afec4
mov rax, qword [0x14018c670]
mov rcx, qword [rax + 0x20]
mov r8, qword [rax + 0x28]
cmp rcx, r8
je 0x1400afe64
nop word [rax + rax]
movzx eax, word [rcx]
cmp eax, edx
je 0x1400afd25
add rcx, 4
cmp rcx, r8
jne 0x1400afd10
jmp 0x1400afe64
cmp byte [rcx + 2], sil
je 0x1400afe64
mov rcx, rdi
call fcn.14006c130
test al, al
jne 0x1400afc9d
jmp case.0x1400afc7a.6
mov rcx, rdi
call fcn.140051220
test al, al
jne 0x1400afc9d
jmp case.0x1400afc7a.6
cmp byte [0x14018ad1d], sil
jne 0x1400afe64
jmp case.0x1400afc7a.6
mov rcx, rdx
call fcn.1400b7260
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 0x1400afd90
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140012850
lea rcx, [rsp + 0x38]
call fcn.14002d3d0
test al, al
jne 0x1400afc9d
jmp case.0x1400afc7a.6
mov rcx, rdx
call fcn.1400b7260
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 0x1400afde0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140012850
lea rcx, [rsp + 0x38]
call fcn.14002dd30
test al, al
jne 0x1400afc9d
jmp case.0x1400afc7a.6
mov r8d, esi
mov edx, r8d
lea rcx, str._SERVER_:_Got_unknown_packet_of_type__d._n
call fcn.14006d310
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400afe64
cmp qword [rbx + 8], rsi
je 0x1400afe64
mov r8, qword [rbp - 0x80]
xor edx, edx
call fcn.14000df40
mov rcx, qword [rbx + 8]
call fcn.14000e3f0
jmp 0x1400afeaa
cmp byte [0x14018ad1d], sil
jne 0x1400afe64
cmp byte [0x14018ad16], sil
je 0x1400afeaa
xor edx, edx
mov rcx, rbx
call fcn.1400ae010
mov byte [0x14018ad16], sil
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14011e5f0
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.1400adf30
test al, al
je 0x1400afe64
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx]
call fcn.14000e420
test eax, eax
jg 0x1400afbc0
jmp 0x1400afe64
mov rax, qword [0x14018c670]
mov qword [rsp + 0x30], rax
imul rdx, rdx, 0x220
add rdx, qword [0x140189b80]
lea rcx, [rbp - 0x70]
call fcn.14001d2c0
nop
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rsi, qword [rbp - 0x40]
mov r14, qword [rbp - 0x30]
cmp r14, 9
jb 0x1400aff67
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 0x1400aff67
mov r8d, 9
lea rdx, str.Ancestral
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400aff5a
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 0x1400aff20
jmp 0x1400aff67
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400b0081
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rsi, qword [rbp - 0x40]
cmp r14, 7
jb 0x1400affe7
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 0x1400affe7
nop dword [rax + rax]
mov r8d, 7
lea rdx, str.Samille
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400affda
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 0x1400affa0
jmp 0x1400affe7
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400b0081
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rsi, qword [rbp - 0x40]
cmp r14, 7
jb 0x1400b005b
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 0x1400b005b
nop word [rax + rax]
mov r8d, 7
lea rdx, str.Chakram
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b0078
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 0x1400b0020
movsx rax, byte [rbp + 0x18]
cmp eax, 8
ja case.0x1400b0076.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xb0600]
add rcx, rdx
jmp rcx
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1400b005b
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a5c]
jp 0x1400b00aa
jne 0x1400b00aa
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a5c], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a5c], xmm0
jmp 0x1400b02be
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a38]
jp 0x1400b02aa
jne 0x1400b02aa
xorps xmm0, xmm0
jmp 0x1400b02b2
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a3c]
jp 0x1400b0111
jne 0x1400b0111
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a3c], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a3c], xmm0
jmp 0x1400b02be
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a40]
jp 0x1400b0153
jne 0x1400b0153
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a40], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a40], xmm0
jmp 0x1400b02be
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a44]
jp 0x1400b0195
jne 0x1400b0195
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a44], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a44], xmm0
jmp 0x1400b02be
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a48]
jp 0x1400b01d7
jne 0x1400b01d7
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a48], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a48], xmm0
jmp 0x1400b02be
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a4c]
jp 0x1400b0219
jne 0x1400b0219
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a4c], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a4c], xmm0
jmp 0x1400b02be
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a50]
jp 0x1400b0258
jne 0x1400b0258
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a50], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a50], xmm0
jmp 0x1400b02be
mov eax, dword [rbp - 0x48]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140189a58]
jp 0x1400b0294
jne 0x1400b0294
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a58], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a58], xmm0
jmp 0x1400b02be
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140189a38], xmm0
mov ecx, dword [rdi + 0x14]
call fcn.14004c030
test eax, eax
je 0x1400b02d8
mov ecx, dword [rdi + 0x14]
call fcn.14004c030
mov dword [0x140183138], eax
xorps xmm6, xmm6
movss xmm0, dword [0x140189a50]
ucomiss xmm0, xmm6
jp 0x1400b02f3
jne 0x1400b02f3
movzx eax, byte [0x140189a88]
jmp 0x1400b02fb
mov al, 1
mov byte [0x140189a88], al
mov r14, qword [rsp + 0x30]
mov edi, dword [r14 + 0x5fd0]
movzx ecx, al
add ecx, ecx
movzx eax, byte [0x14018ad1e]
or ecx, eax
movzx ebx, byte [0x140189a91]
shl ebx, 0x18
or ebx, ecx
mov dword [rsp + 0x58], 0x447a0000
mov dword [rsp + 0x5c], 0x43c80000
movss xmm0, dword [0x140183104]
movss dword [rsp + 0x60], xmm0
movss xmm1, dword [0x140183108]
movss dword [rsp + 0x30], xmm1
mov ecx, gethostname
call fcn.14011e77c
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 [0x140183138]
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 [0x14018c670]
mov rbx, qword [rax + 0x18]
test rbx, rbx
je 0x1400b040d
lea edx, [rcx + 0x3d]
lea r8d, [rcx + 1]
call fcn.14000ce10
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.14000df40
mov edx, 1
mov rcx, rsi
call fcn.14011e4d4
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.140012850
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1b0]
call fcn.14001e090
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400b0495
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b0490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b0490
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011e4d4
movss xmm1, dword [0x140189a3c]
movss xmm2, dword [0x140189a40]
mov dword [rbp + 0x1f0], 4
movss xmm0, dword [0x140189a38]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x200], xmm0
movss dword [rbp + 0x208], xmm2
movss xmm1, dword [0x140189a48]
movss xmm2, dword [0x140189a4c]
mov dword [rbp + 0x230], 4
movss xmm0, dword [0x140189a44]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x240], xmm0
movss dword [rbp + 0x248], xmm2
movss xmm1, dword [0x140189a54]
movss xmm2, dword [0x140189a58]
mov dword [rbp + 0x270], 4
movss xmm0, dword [0x140189a50]
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 [0x14014eba8]
mov dword [rbp + 0x2f0], 4
movss xmm0, dword [0x140189a5c]
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 [0x14018c670]
call fcn.1400b1890
nop
lea r9, [fcn.14001fb00]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x1b0]
call fcn.14011e6ac
nop
lea rcx, [rbp - 0x70]
call fcn.14001f430
jmp 0x1400afe64