Function at 0x140047fd0
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 [0x14011f628]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rax, qword [0x1401247e0]
cmp byte [rax + 0x5f88], 0
jne 0x140048017
xor al, al
jmp 0x140048521
movss xmm1, dword [rcx + 0x1c]
movss xmm0, dword [rcx + 0x18]
movss dword [rax + 0x5f78], xmm0
movss dword [rax + 0x5f7c], xmm1
mov rsi, qword [0x1401247e0]
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm0, dword [rsi + 0x5f78]
mulss xmm0, dword [0x1400f3108]
cvttss2si ebx, xmm0
movss xmm0, dword [rsi + 0x5f7c]
mulss xmm0, dword [0x1400f3108]
cvttss2si edi, xmm0
mov dword [0x1401234d8], ebx
mov dword [0x1401234d4], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], reloc.WS2_32.dll_listen
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.OnNameChanged]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x1400ef1f8]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1400ef1fc]
mov byte [rsp + 0x54], al
mov byte [rsp + 0x55], 0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.140018460
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140048108
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048103
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048103
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
cmp byte [0x140124158], 0
je 0x1400484fa
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.140007e00
mov rdi, rax
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.140007e00
mov rbx, rax
lea r8, [rsi + 0x5f30]
mov rdx, qword [r8 + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 4
jb 0x140048549
mov r9, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140048160
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.140004eb0
nop
mov r9, rbx
lea r8, [rbp - 0x10]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140004d10
nop
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400481db
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x48]
mov word [rax + rcx], Ordinal_46
lea rax, [rsp + 0x48]
jmp 0x1400481fc
mov qword [rsp + 0x20], 1
lea r9, [0x1400eda04]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x48]
call fcn.140004b80
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.140004d10
nop
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14004826f
lea rax, [rcx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x68]
mov word [rax + rcx], 0x5d
lea rax, [rsp + 0x68]
jmp 0x140048290
mov qword [rsp + 0x20], 1
lea r9, [0x1400ed5f4]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x68]
call fcn.140004b80
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, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x90]
call fcn.140025b00
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140048329
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048323
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048323
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140048368
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048363
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048363
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
movdqa xmm0, xmmword [0x1400ecb00]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400483ba
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400483b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400483b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400483fa
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400483f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400483f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
movdqa xmm0, xmmword [0x1400ecb00]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14004844c
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048446
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048446
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14004848a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048485
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048485
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
movdqa xmm0, xmmword [0x1400ecb00]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400484d9
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400484d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400484d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d8440
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsi + 0x5f70]
lea r8, [rbp + 0x30]
mov dl, 1
mov rcx, qword [0x1401247e0]
call fcn.14007ba20
cmp byte [0x140124162], 0
setne bl
lea r9, [fcn.14001a610]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x30]
call fcn.1400d886c
nop
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400d8560
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.1400051b0
nop
int3