Function at 0x140049ff0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r15
sub rsp, 0x90
mov rax, qword [0x140139a80]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
lea rsi, [rsp + 0x98]
movabs rbp, 0xff00ff00ff00ff00
mov qword [r11 - 0x60], rbp
mov qword [r11 - 0x58], rsi
mov rbx, qword [rsi]
xor rbx, rbp
mov qword [r11 - 0x68], rbx
mov qword [rsi], rax
mov rcx, qword [0x140139e38]
test rcx, rcx
jne 0x14004a083
nop
call fcn.1400492a0
mov qword [0x140139e38], rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x140139e38]
test rcx, rcx
je 0x14004a060
movdqa xmm0, xmmword [0x14007e230]
movdqu xmmword [rsp + 0x48], xmm0
lea rdx, [rsp + 0x48]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xor edx, edx
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_SetMenu]
mov edx, 0xfffffff0
mov r8d, 0x10000000
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edx, 5
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 0xffffffec
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80020
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_SetWindowLongW]
nop
xor rbx, rbp
mov qword [rsi], rbx
mov rcx, rdi
call fcn.140050400
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
lea r15, [rsp + 0x98]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r15
mov rsi, qword [r15]
xor rsi, rbp
mov qword [rsp + 0x30], rsi
mov qword [r15], rax
cmp dword [rsp + 0x60], 0x12
je 0x14004a269
nop dword [rax]
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 5
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140139e38]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004a1d9
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call fcn.14000d330
mov rbx, rax
mov rcx, qword [0x140139e38]
mov qword [rax + 0xc8], rcx
mov dword [rax + 0x10], 0x3c888889
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x48]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
movd xmm0, dword [rsp + 0x4c]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004a24f
mov byte [rbx + 0xe08], 1
mov byte [rbx + 0x3740], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
jmp 0x14004a256
mov byte [rbx + 0xe08], 0
mov rcx, rdi
call fcn.14004fa40
cmp dword [rsp + 0x60], 0x12
jne 0x14004a180
call fcn.140030990
call fcn.140030ec0
xor ecx, ecx
call fcn.14000adf0
mov rcx, qword [0x140139e38]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
xor rsi, rbp
mov qword [r15], rsi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400542b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret