Function at 0x140095020
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 - 0x338]
sub rsp, 0x420
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140149e68]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rbx, rcx
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 8]
call fcn.14000fc00
test eax, eax
jle 0x1400953c6
lea r14, [0x140000000]
xor esi, esi
nop dword [rax]
mov ecx, dword [rsp + 0x68]
sub ecx, 1
je 0x1400953f7
sub ecx, 1
je 0x1400953a3
cmp ecx, 1
je 0x1400950ac
lea rcx, str._SERVER_:_UNHANDLED_n
call fcn.1400759a0
jmp 0x14009540c
mov rdx, qword [rbp - 0x80]
cmp qword [rdx + 0x18], 3
jbe 0x14009536c
mov rax, qword [rdx + 0x10]
movzx r8d, byte [rax]
mov ecx, r8d
sub ecx, 2
je 0x140095321
sub ecx, 1
je 0x1400952d6
sub ecx, 1
je 0x1400950f4
sub ecx, 2
je 0x1400953c6
cmp ecx, 2
je 0x1400953c6
jmp 0x14009536f
mov rcx, rdx
call fcn.1400971e0
mov rdi, rax
mov rcx, qword [rbp - 0x80]
call fcn.140097230
test rdi, rdi
je 0x14009537e
test rax, rax
je 0x14009537e
movzx edx, byte [rdi]
cmp edx, 0x1a
ja case.0x14009513a.6
movzx eax, byte [r14 + rdx + 0x95ac0]
mov ecx, dword [r14 + rax*4 + 0x95aa4]
add rcx, r14
jmp rcx
test dword [rdi + 4], 0xc00
jne 0x1400953c6
mov rcx, rdi
call fcn.14006c2d0
test al, al
je 0x14009537e
mov rcx, qword [rbp - 0x80]
call fcn.14000e6a0
jmp 0x1400953c6
cmp byte [0x140187b0b], sil
je 0x14009537e
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400953c6
jmp 0x14009537e
mov al, 1
mov ecx, dword [rdi + 0x14]
cmp ecx, 0x704
je 0x1400951ae
cmp ecx, 0xf2
je 0x1400951ae
movzx eax, al
cmp ecx, 0x1c14
cmovne eax, esi
cmp byte [0x140187a30], sil
je 0x14009537e
test al, al
jne 0x14009537e
mov dword [rsp + 0x58], ecx
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
lea rcx, [0x140188e60]
call fcn.140019d00
mov rdx, qword [rax]
add rdx, 0x18
lea rcx, [rbp - 0x70]
call fcn.1400912a0
nop
lea rsi, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rsi, qword [rbp - 0x68]
mov r14, qword [rbp - 0x58]
cmp r14, 9
jb 0x140095433
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 0x140095433
nop
mov r8d, 9
lea rdx, str.Ancestral
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140095426
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 0x140095230
jmp 0x140095433
mov rcx, rdi
call fcn.140073f50
test al, al
jne 0x140095159
jmp 0x14009537e
cmp byte [0x140187b0b], sil
je 0x1400952a3
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140095159
mov rcx, rdi
call fcn.140061660
test al, al
jne 0x140095159
jmp 0x14009537e
cmp byte [0x140188322], sil
jne 0x1400953c6
jmp 0x14009537e
lea rcx, str._SERVER_:_packet_type:__d_n
jmp 0x140095379
mov rcx, rdx
call fcn.140097280
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400952f7
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400147c0
lea rcx, [rsp + 0x38]
call fcn.14003c900
test al, al
jne 0x140095159
jmp 0x14009537e
mov rcx, rdx
call fcn.140097280
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140095342
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400147c0
lea rcx, [rsp + 0x38]
call fcn.14003d510
test al, al
jne 0x140095159
jmp 0x14009537e
mov r8d, esi
mov edx, r8d
lea rcx, str._SERVER_:_Got_unknown_packet_of_type__d._n
call fcn.1400759a0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400953c6
cmp qword [rbx + 0x10], rsi
je 0x1400953c6
mov r8, qword [rbp - 0x80]
xor edx, edx
call fcn.14000f720
mov rcx, qword [rbx + 0x10]
call fcn.14000fbd0
jmp 0x14009540c
cmp byte [0x140188322], sil
jne 0x1400953c6
cmp byte [0x140188321], sil
je 0x14009540c
xor edx, edx
mov rcx, rbx
call fcn.140094680
mov byte [0x140188321], sil
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400f81d0
lea r11, [rsp + 0x420]
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 + 0x20], rax
mov rcx, rbx
call fcn.140094590
test al, al
je 0x1400953c6
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 8]
call fcn.14000fc00
test eax, eax
jle 0x1400953c6
jmp 0x140095080
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x140095551
lea rsi, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rsi, qword [rbp - 0x68]
cmp r14, 7
jb 0x1400954b7
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 0x1400954b7
nop word [rax + rax]
mov r8d, 7
lea rdx, str.Samille
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400954aa
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 0x140095470
jmp 0x1400954b7
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x140095551
lea rsi, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rsi, qword [rbp - 0x68]
cmp r14, 7
jb 0x14009552b
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 0x14009552b
nop word [rax + rax]
mov r8d, 7
lea rdx, str.Chakram
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140095548
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 0x1400954f0
movsx rax, byte [rbp - 0x10]
cmp eax, 8
ja case.0x140095546.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x95adc]
add rcx, rdx
jmp rcx
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
je 0x14009552b
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a58]
jp 0x14009557a
jne 0x14009557a
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a58], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a58], xmm0
jmp 0x14009578e
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a34]
jp 0x14009577a
jne 0x14009577a
xorps xmm0, xmm0
jmp 0x140095782
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a38]
jp 0x1400955e1
jne 0x1400955e1
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a38], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a38], xmm0
jmp 0x14009578e
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a3c]
jp 0x140095623
jne 0x140095623
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a3c], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a3c], xmm0
jmp 0x14009578e
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a40]
jp 0x140095665
jne 0x140095665
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a40], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a40], xmm0
jmp 0x14009578e
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a44]
jp 0x1400956a7
jne 0x1400956a7
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a44], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a44], xmm0
jmp 0x14009578e
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a48]
jp 0x1400956e9
jne 0x1400956e9
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a48], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a48], xmm0
jmp 0x14009578e
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a4c]
jp 0x140095728
jne 0x140095728
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a4c], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a4c], xmm0
jmp 0x14009578e
mov eax, dword [rbp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x140187a54]
jp 0x140095764
jne 0x140095764
xorps xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a54], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a54], xmm0
jmp 0x14009578e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtpd2ps xmm0, xmm0
movss dword [0x140187a34], xmm0
mov ecx, dword [rdi + 0x14]
call fcn.1400564b0
test eax, eax
je 0x1400957a8
mov ecx, dword [rdi + 0x14]
call fcn.1400564b0
mov dword [0x140148458], eax
xorps xmm6, xmm6
movss xmm0, dword [0x140187a4c]
ucomiss xmm0, xmm6
jp 0x1400957c3
jne 0x1400957c3
movzx ecx, byte [0x140187a31]
jmp 0x1400957cb
mov cl, 1
mov byte [0x140187a31], cl
mov rax, qword [0x1401885c0]
mov ebx, dword [rax + 0x6038]
movzx edi, cl
add edi, edi
movzx eax, byte [0x140188323]
or edi, eax
mov dword [rsp + 0x5c], 0x447a0000
mov dword [rsp + 0x60], 0x43c80000
movss xmm0, dword [0x14014845c]
movss dword [rsp + 0x64], xmm0
movss xmm1, dword [0x140148460]
movss dword [rsp + 0x30], xmm1
mov ecx, gethostname
call fcn.1400f88ec
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], ebx
mov dword [rax + 0x14], edi
mov eax, dword [rsp + 0x5c]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x64]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x24], eax
mov qword [rsi + 0x2c], rcx
movzx eax, word [0x140148458]
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 [0x1401885c0]
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x1400958d2
lea edx, [rcx + 0x3d]
lea r8d, [rcx + 1]
call fcn.14000e5f0
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.14000f720
mov edx, 1
mov rcx, rsi
call fcn.1400f80b8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], reloc.WS2_32.dll_listen
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.OnSetClothing]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x14010e708]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x14010e70c]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x45], 0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x140]
call fcn.140023960
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140095973
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009596e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009596e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f80b8
movss xmm1, dword [0x140187a38]
movss xmm2, dword [0x140187a3c]
mov dword [rbp + 0x180], 4
movss xmm0, dword [0x140187a34]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x190], xmm0
movss dword [rbp + 0x198], xmm2
movss xmm1, dword [0x140187a44]
movss xmm2, dword [0x140187a48]
mov dword [rbp + 0x1c0], 4
movss xmm0, dword [0x140187a40]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x1d0], xmm0
movss dword [rbp + 0x1d8], xmm2
movss xmm1, dword [0x140187a50]
movss xmm2, dword [0x140187a54]
mov dword [rbp + 0x200], 4
movss xmm0, dword [0x140187a4c]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x210], xmm0
movss dword [rbp + 0x218], xmm2
mov dword [rbp + 0x240], 9
mov dword [rbp + 0x250], 0x647296ff
movss xmm1, dword [0x140116a8c]
mov dword [rbp + 0x280], 4
movss xmm0, dword [0x140187a58]
unpcklps xmm0, xmm1
movsd qword [rbp + 0x290], xmm0
movss dword [rbp + 0x298], xmm6
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [0x1401885c0]
mov r9d, dword [rcx + 0x6038]
lea r8, [rbp + 0x140]
mov dl, 1
call fcn.1400963d0
nop
lea r9, [fcn.140026d90]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x140]
call fcn.1400f8670
nop
lea rcx, [rbp - 0x70]
call fcn.140025790
jmp 0x1400953c6