Function at 0x140048e70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400ad5c0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rax, qword [0x1400b2798]
cmp byte [rax + 0x5f88], 0
jne 0x140048eb7
xor al, al
jmp 0x1400493a8
movss xmm1, dword [rcx + 0x1c]
movss xmm0, dword [rcx + 0x18]
movss dword [rax + 0x5f78], xmm0
movss dword [rax + 0x5f7c], xmm1
mov rsi, qword [0x1400b2798]
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm0, dword [rsi + 0x5f78]
mulss xmm0, dword [0x140094e98]
cvttss2si ebx, xmm0
movss xmm0, dword [rsi + 0x5f7c]
mulss xmm0, dword [0x140094e98]
cvttss2si edi, xmm0
mov dword [0x1400b14e8], ebx
mov dword [0x1400b14e4], 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.140007d50
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.140018a40
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140048f8f
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048f8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048f8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
cmp byte [0x1400b2138], 0
je 0x140049381
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.140007c60
mov rdi, rax
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.140007c60
mov rbx, rax
lea r8, [rsi + 0x5f30]
mov rdx, qword [r8 + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 4
jb 0x1400493d0
mov r9, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140048fe7
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.140004d30
nop
mov r9, rbx
lea r8, [rbp - 0x10]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140004b40
nop
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140049062
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 0x140049083
mov qword [rsp + 0x20], 1
lea r9, [0x14008f55c]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x48]
call fcn.1400049b0
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.140004b40
nop
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400490f6
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 0x140049117
mov qword [rsp + 0x20], 1
lea r9, [0x14008f234]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x68]
call fcn.1400049b0
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.140026330
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400491b0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400491aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400491aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400491ef
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400491ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400491ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
movdqa xmm0, xmmword [0x14008e740]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140049241
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004923b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004923b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140049281
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004927c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004927c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
movdqa xmm0, xmmword [0x14008e740]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400492d3
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400492cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400492cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140049311
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004930c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004930c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
movdqa xmm0, xmmword [0x14008e740]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140049360
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004935b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004935b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b990
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsi + 0x5f70]
lea r8, [rbp + 0x30]
mov dl, 1
mov rcx, qword [0x1400b2798]
call fcn.14007a2e0
cmp byte [0x1400b2142], 0
setne bl
lea r9, [fcn.14001ac40]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x30]
call fcn.14007bdac
nop
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14007bab0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140005030
nop
int3