Function at 0x14004d690
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140105bc0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14010aec8]
cmp byte [rax + 0x5f88], 0
jne 0x14004d6d5
xor al, al
jmp 0x14004dc20
movss xmm1, dword [rcx + 0x1c]
movss xmm0, dword [rcx + 0x18]
movss dword [rax + 0x5f78], xmm0
movss dword [rax + 0x5f7c], xmm1
movss xmm2, dword [rcx + 0x1c]
cvtps2pd xmm2, xmm2
movss xmm1, dword [rcx + 0x18]
cvtps2pd xmm1, xmm1
movq r8, xmm2
movq rdx, xmm1
lea rcx, str._SERVER_:____local_pos:__.0f__.0f_n
call fcn.1400597e0
mov rsi, qword [0x14010aec8]
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0xf
cmp byte [0x140108da6], 1
jne 0x14004d75b
test cl, 1
je 0x14004d75b
cmp dword [rbx + 0x14], 0
jne 0x14004d75b
mov ecx, dword [rdi + 0x2c]
lea eax, [rcx - 1]
cmp eax, 0xfffffffd
ja 0x14004d75b
mov edx, dword [rdi + 0x30]
call fcn.14005ac10
mov al, 1
jmp 0x14004dc20
movss xmm0, dword [rsi + 0x5f78]
mulss xmm0, dword [0x1400dfed8]
cvttss2si ebx, xmm0
movss xmm0, dword [rsi + 0x5f7c]
mulss xmm0, dword [0x1400dfed8]
cvttss2si edi, xmm0
mov dword [0x140109b6c], ebx
mov dword [0x140109b68], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnNameChanged
lea rcx, [rsp + 0x48]
call fcn.140008090
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.140019530
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14004d807
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d802
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
cmp byte [0x14010a738], 0
je 0x14004dbf9
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.140007fa0
mov rdi, rax
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.140007fa0
mov rbx, rax
lea r8, [rsi + 0x5f30]
mov rdx, qword [r8 + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 4
jb 0x14004dc42
mov r9, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x14004d85f
mov r9, qword [r8]
mov qword [rsp + 0x30], 4
lea rax, str.__9_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140004f60
nop
mov r9, rbx
lea r8, [rbp - 0x10]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140004d70
nop
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14004d8da
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x48]
mov word [rax + rcx], 0x2c
lea rax, [rsp + 0x48]
jmp 0x14004d8fb
mov qword [rsp + 0x20], 1
lea r9, [0x1400d7d1c]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x48]
call fcn.140004be0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rdi
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140004d70
nop
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14004d96e
lea rax, [rcx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x68]
mov word [rax + rcx], 0x5d
lea rax, [rsp + 0x68]
jmp 0x14004d98f
mov qword [rsp + 0x20], 1
lea r9, [0x1400d76c4]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x68]
call fcn.140004be0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp + 0x70], 2
lea rdx, [rbp - 0x70]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x90]
call fcn.140027ec0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14004da28
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004da22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004da22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14004da67
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004da62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004da62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
movdqa xmm0, xmmword [0x1400d6af0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14004dab9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dab3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dab3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14004daf9
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004daf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004daf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
movdqa xmm0, xmmword [0x1400d6af0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14004db4b
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004db45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004db45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14004db89
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004db84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004db84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
movdqa xmm0, xmmword [0x1400d6af0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14004dbd8
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004dbd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004dbd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c2298
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsi + 0x5f70]
lea r8, [rbp + 0x30]
mov dl, 1
mov rcx, qword [0x14010aec8]
call fcn.1400b9710
cmp byte [0x14010a742], 0
setne bl
lea r9, [fcn.14001b730]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x30]
call fcn.1400c26ac
nop
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400c23b0
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret
call fcn.1400055b0
nop
int3