Function at 0x140046630
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140094040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rax, [0x140046b70]
mov byte [0x140095e68], 1
xor ecx, ecx
mov qword [0x140095dc8], rax
mov byte [0x140095e58], 0
mov dword [0x140095dc0], 0x50
mov dword [0x140095dc4], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rbx, [0x1400865a8]
mov qword [0x140095dd8], rax
lea rcx, [0x140095dc0]
mov qword [0x140095e00], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [0x140095dd8]
xor edi, edi
mov rdx, qword [0x140095e00]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rdi
mov r8, rbx
mov qword [rsp + 0x50], rax
mov ecx, 0x800a0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140095db0], rax
test rax, rax
je 0x140046789
lea r9d, [rdi + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x140095db0]
lea rdx, [rbp + 0x27]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm1
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140095db0]
lea rdx, [rbp + 0x37]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [0x140095db0]
lea rdx, [rbp + 0x17]
mov qword [rbp + 0x17], rdi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rcx, qword [0x140095db0]
lea edx, [rdi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140095db0]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1400467da
lea rdx, [0x140086578]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400467d1
movdqa xmm0, xmmword [0x140086a70]
lea rdx, [rbp + 0x37]
mov rcx, qword [0x140095db0]
movdqu xmmword [rbp + 0x37], xmm0
call rax
test eax, eax
jne 0x1400467da
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140095db0]
lea rbx, [0x140095e18]
mov qword [rsp + 0x58], rbx
lea rsi, [0x140095db8]
mov qword [rbp - 9], rax
lea r14, [0x140095e10]
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x25], rdi
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x27]
mov dword [rsp + 0x28], 2
lea edx, [r9 + 1]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x11], 2
mov qword [rbp + 7], 2
mov qword [rbp - 0x39], rdi
mov dword [rbp - 0x29], 0x1c
mov dword [rbp - 0x31], 0x3c
mov dword [rbp - 0x2d], 1
mov dword [rbp - 0x15], 0x20
mov qword [rbp - 0x1d], 1
mov qword [rbp - 1], 1
mov dword [rbp + 0x27], 0xb000
mov dword [rbp + 0x2b], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x1400468eb
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x27]
mov dword [rsp + 0x28], 2
lea edx, [r9 + 5]
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140046937
mov rcx, qword [0x140095e10]
lea r9, [rbp + 0x17]
mov qword [rbp + 0x17], rdi
lea r8, [0x1400866f8]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rbp + 0x17]
test rdx, rdx
je 0x140046937
mov rcx, qword [0x140095db8]
lea r9, [0x140095e20]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.140046ce0
cmp byte [0x140095e68], dil
je 0x140046add
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x39]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400469a2
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x39]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140046970
mov rax, qword [0x140095da0]
test rax, rax
je 0x1400469b7
mov rcx, qword [rax + 0x98]
jmp 0x1400469ba
mov rcx, rdi
cmp qword [rcx + 0x48], rdi
jne 0x1400469c5
call fcn.14002e9f0
call fcn.14002fc50
call fcn.140008190
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140046a10
cmp byte [0x140095e58], dil
mov edx, 0xffffffec
mov rcx, qword [0x140095db0]
mov r8d, 0xa0
sete al
mov byte [0x140095e58], al
test al, al
jne 0x140046a0a
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
cmp byte [0x140095e58], dil
je 0x140046a1e
call fcn.140047520
cmp byte [0x140094ab1], dil
je 0x140046a2c
call fcn.140046110
mov rcx, qword [0x140095db0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
lea rdx, [r9 - 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.14000a360
mov rcx, qword [0x140095e18]
lea r8, [0x140095e20]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x37], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140095e18]
lea r8, [rbp + 0x37]
mov rdx, qword [0x140095e20]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140095da0]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
mov rcx, rdi
add rax, 0x48
cmp byte [rax], dil
cmovne rcx, rax
call fcn.14002df90
mov rcx, qword [0x140095e10]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp byte [0x140095e68], dil
jne 0x140046950
call fcn.1400472e0
mov rcx, qword [0x140095db8]
test rcx, rcx
je 0x140046b1b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140095e18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140095e10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140095e20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140095db0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140095dd8]
mov rcx, qword [0x140095e00]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140048480
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret