Function at 0x140048510
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400b1040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x38], xmm0
lea r14, [rsp + 0xa8]
movabs r15, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r14
mov rsi, qword [r14]
xor rsi, r15
mov qword [rsp + 0x38], rsi
xor ebp, ebp
mov qword [r14], rbp
cmp dword [rsp + 0x58], 0x12
je 0x140048675
nop dword [rax + rax]
mov rcx, qword [0x14016a770]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 5
mov rcx, qword [0x14016a770]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x14016a770]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400485e9
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rbx, qword [0x14016a768]
mov rax, qword [0x14016a770]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0c], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004865e
mov byte [rbx + 0xe10], 1
mov byte [rbx + 0x3748], 1
mov eax, dword [rbx + 0xe0c]
mov dword [rbx + 0x36f8], eax
jmp 0x140048665
mov byte [rbx + 0xe10], 0
call fcn.140048310
cmp dword [rsp + 0x58], 0x12
jne 0x140048590
mov rdi, qword [0x14016a768]
test rdi, rdi
je 0x14004868a
mov rbx, qword [rdi + 0xa0]
jmp 0x14004868d
mov rbx, rbp
call fcn.14002a430
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400486a1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400486af
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400486be
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x90], rbp
mov qword [rdi + 0xa0], rbp
mov rax, qword [0x14016a768]
test rax, rax
je 0x1400486de
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14016a768]
test rax, rax
je 0x1400486fc
mov rbx, qword [rax + 0x98]
jmp 0x1400486ff
mov rbx, rbp
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140048719
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14016a768]
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rax, rax
je 0x140048732
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14016a768]
mov qword [0x14016a768], rbx
call fcn.1400056d0
mov qword [0x14016a768], rbp
test rbx, rbx
je 0x14004877d
mov rcx, rbx
call fcn.1400199f0
mov rax, qword [0x14016a768]
test rax, rax
je 0x140048774
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14016a770]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
xor rsi, r15
mov qword [r14], rsi
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140070670
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret