Function at 0x1400b9520
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 - 0x358]
sub rsp, 0x440
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14017d300]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, qword [rcx + 8]
call fcn.1400110c0
test eax, eax
jle 0x1400b98c6
lea r14, [0x140000000]
xor esi, esi
nop dword [rax + rax]
mov ecx, dword [rbp - 0x78]
sub ecx, 1
je 0x1400b98f7
sub ecx, 1
je 0x1400b98a3
cmp ecx, 1
je 0x1400b95ab
lea rcx, str._SERVER_:_UNHANDLED_n
call fcn.140097e60
jmp 0x1400b990b
mov rdx, qword [rbp - 0x60]
cmp qword [rdx + 0x18], 3
jbe 0x1400b986c
mov rax, qword [rdx + 0x10]
movzx r8d, byte [rax]
mov ecx, r8d
sub ecx, 2
je 0x1400b9821
sub ecx, 1
je 0x1400b97d6
sub ecx, 1
je 0x1400b95f3
sub ecx, 2
je 0x1400b98c6
cmp ecx, 2
je 0x1400b98c6
jmp 0x1400b986f
mov rcx, rdx
call fcn.1400bbd80
mov rdi, rax
mov rcx, qword [rbp - 0x60]
call fcn.1400bbdd0
test rdi, rdi
je 0x1400b987e
test rax, rax
je 0x1400b987e
movzx edx, byte [rdi]
cmp edx, 0x1a
ja case.0x1400b9639.6
movzx eax, byte [r14 + rdx + 0xb9fb8]
mov ecx, dword [r14 + rax*4 + 0xb9f9c]
add rcx, r14
jmp rcx
cmp dword [rdi + 4], 0xc00
je 0x1400b98c6
mov rcx, rdi
call fcn.14008abb0
test al, al
je 0x1400b987e
mov rcx, qword [rbp - 0x60]
call fcn.14000fb60
jmp 0x1400b98c6
cmp byte [0x1401bb051], sil
je 0x1400b987e
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400b98c6
jmp 0x1400b987e
mov al, 1
mov ecx, dword [rdi + 0x14]
cmp ecx, 0x704
je 0x1400b96ad
cmp ecx, 0xf2
je 0x1400b96ad
movzx eax, al
cmp ecx, 0x1c14
cmovne eax, esi
cmp byte [0x1401baf78], sil
je 0x1400b987e
test al, al
jne 0x1400b987e
mov dword [rsp + 0x38], ecx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [0x1401bd5f0]
call fcn.14001bdf0
mov rdx, qword [rax]
add rdx, 0x18
lea rcx, [rbp - 0x50]
call fcn.1400b5fb0
nop
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rsi, qword [rbp - 0x48]
mov r14, qword [rbp - 0x38]
cmp r14, 9
jb 0x1400b9932
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 0x1400b9932
nop dword [rax]
mov r8d, 9
lea rdx, str.Ancestral
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b9925
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 0x1400b9730
jmp 0x1400b9932
mov rcx, rdi
call fcn.1400965c0
test al, al
jne 0x1400b9658
jmp 0x1400b987e
cmp byte [0x1401bb051], sil
je 0x1400b97a3
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400b9658
mov rcx, rdi
call fcn.14007f110
test al, al
jne 0x1400b9658
jmp 0x1400b987e
cmp byte [0x1401bbc32], sil
jne 0x1400b98c6
jmp 0x1400b987e
lea rcx, str._SERVER_:_packet_type:__d_n
jmp 0x1400b9879
mov rcx, rdx
call fcn.1400bbe20
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400b97f7
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140015bf0
lea rcx, [rsp + 0x48]
call fcn.140053dc0
test al, al
jne 0x1400b9658
jmp 0x1400b987e
mov rcx, rdx
call fcn.1400bbe20
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400b9842
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140015bf0
lea rcx, [rsp + 0x48]
call fcn.140054940
test al, al
jne 0x1400b9658
jmp 0x1400b987e
mov r8d, esi
mov edx, r8d
lea rcx, str._SERVER_:_Got_unknown_packet_of_type__d._n
call fcn.140097e60
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b98c6
cmp qword [rbx + 0x10], rsi
je 0x1400b98c6
mov r8, qword [rbp - 0x60]
xor edx, edx
call fcn.140010be0
mov rcx, qword [rbx + 0x10]
call fcn.140011090
jmp 0x1400b990b
cmp byte [0x1401bbc32], sil
jne 0x1400b98c6
cmp byte [0x1401bbc31], sil
je 0x1400b990b
xor edx, edx
mov rcx, rbx
call fcn.1400b88d0
mov byte [0x1401bbc31], sil
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14011ce50
lea r11, [rsp + 0x440]
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 [rbp - 0x70]
mov qword [rbx + 0x20], rax
mov rcx, rbx
call fcn.1400b87e0
test al, al
je 0x1400b98c6
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, qword [rbx + 8]
call fcn.1400110c0
test eax, eax
jg 0x1400b9580
jmp 0x1400b98c6
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400b9a51
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rsi, qword [rbp - 0x48]
cmp r14, 7
jb 0x1400b99b7
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 0x1400b99b7
nop word [rax + rax]
mov r8d, 7
lea rdx, str.Samille
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b99aa
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 0x1400b9970
jmp 0x1400b99b7
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400b9a51
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rsi, qword [rbp - 0x48]
cmp r14, 7
jb 0x1400b9a2b
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 0x1400b9a2b
nop word [rax + rax]
mov r8d, 7
lea rdx, str.Chakram
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b9a48
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 0x1400b99f0
movsx rax, byte [rbp + 0x10]
cmp eax, 8
ja case.0x1400b9a46.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0xb9fd4]
add rcx, rdx
jmp rcx
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x1400b9a2b
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401bafa0]
jp 0x1400b9a7a
jne 0x1400b9a7a
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401bafa0], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401bafa0], xmm0
jmp 0x1400b9c8e
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf7c]
jp 0x1400b9c7a
jne 0x1400b9c7a
xorps xmm0, xmm0
jmp 0x1400b9c82
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf80]
jp 0x1400b9ae1
jne 0x1400b9ae1
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf80], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf80], xmm0
jmp 0x1400b9c8e
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf84]
jp 0x1400b9b23
jne 0x1400b9b23
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf84], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf84], xmm0
jmp 0x1400b9c8e
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf88]
jp 0x1400b9b65
jne 0x1400b9b65
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf88], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf88], xmm0
jmp 0x1400b9c8e
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf8c]
jp 0x1400b9ba7
jne 0x1400b9ba7
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf8c], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf8c], xmm0
jmp 0x1400b9c8e
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf90]
jp 0x1400b9be9
jne 0x1400b9be9
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf90], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf90], xmm0
jmp 0x1400b9c8e
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf94]
jp 0x1400b9c28
jne 0x1400b9c28
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf94], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf94], xmm0
jmp 0x1400b9c8e
mov eax, dword [rbp - 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x1401baf9c]
jp 0x1400b9c64
jne 0x1400b9c64
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf9c], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf9c], xmm0
jmp 0x1400b9c8e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x1401baf7c], xmm0
xor r14d, r14d
mov dword [0x1401bb0e8], r14d
mov ecx, dword [rdi + 0x14]
call fcn.140071f60
test eax, eax
je 0x1400b9cb2
mov ecx, dword [rdi + 0x14]
call fcn.140071f60
mov dword [0x14017b458], eax
xorps xmm6, xmm6
movss xmm0, dword [0x1401baf94]
ucomiss xmm0, xmm6
jp 0x1400b9ccd
jne 0x1400b9ccd
movzx ecx, byte [0x1401baf79]
jmp 0x1400b9cd5
mov cl, 1
mov byte [0x1401baf79], cl
mov rax, qword [0x1401bc798]
mov ebx, dword [rax + 0x6038]
movzx edi, cl
add edi, edi
movzx eax, byte [0x1401bbc33]
or edi, eax
mov dword [rsp + 0x3c], 0x447a0000
mov dword [rsp + 0x40], 0x43c80000
movss xmm0, dword [0x14017b480]
movss dword [rsp + 0x44], xmm0
movss xmm1, dword [0x14017b484]
movss dword [rsp + 0x30], xmm1
mov ecx, Ordinal_60
call fcn.14011d55c
mov rsi, rax
mov qword [rax + 8], r14
mov dword [rax + 0x10], r14d
mov dword [rax + 0x28], r14d
mov dword [rax + 0x34], r14d
mov dword [rax], reloc.WS2_32.dll_sendto
mov dword [rax + 4], ebx
mov dword [rax + 0x14], edi
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x44]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x24], eax
mov qword [rsi + 0x2c], r14
movzx eax, word [0x14017b458]
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 [0x1401bc798]
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x1400b9de1
mov edx, 0x3d
xor ecx, ecx
lea r8d, [rdx - 0x3c]
call fcn.14000fab0
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.140010be0
mov edx, 1
mov rcx, rsi
call fcn.14011cd34
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnSetClothing
lea rcx, [rsp + 0x68]
call fcn.140015bf0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x160]
call fcn.140025d30
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400b9e68
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b9e63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b9e63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011cd34
movss xmm1, dword [0x1401baf80]
movss xmm2, dword [0x1401baf84]
mov dword [rbp + 0x1a0], 4
movss xmm0, dword [0x1401baf7c]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x1b0], xmm0
movss dword [rbp + 0x1b8], xmm2
movss xmm1, dword [0x1401baf8c]
movss xmm2, dword [0x1401baf90]
mov dword [rbp + 0x1e0], 4
movss xmm0, dword [0x1401baf88]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x1f0], xmm0
movss dword [rbp + 0x1f8], xmm2
movss xmm1, dword [0x1401baf98]
movss xmm2, dword [0x1401baf9c]
mov dword [rbp + 0x220], 4
movss xmm0, dword [0x1401baf94]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x230], xmm0
movss dword [rbp + 0x238], xmm2
mov dword [rbp + 0x260], 9
mov eax, dword [0x14017b488]
mov dword [rbp + 0x270], eax
movss xmm1, dword [0x14014775c]
mov dword [rbp + 0x2a0], 4
movss xmm0, dword [0x1401bafa0]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x2b0], xmm0
movss dword [rbp + 0x2b8], xmm6
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [0x1401bc798]
mov r9d, dword [rcx + 0x6038]
lea r8, [rbp + 0x160]
mov dl, 1
call fcn.1400bae50
nop
lea r9, [fcn.1400293a0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x160]
call fcn.14011d2e0
nop
lea rcx, [rbp - 0x50]
call fcn.140027d20
jmp 0x1400b98c6