Function at 0x14004dbb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rax, qword [0x1400c3fe0]
test rax, rax
je 0x14004dc07
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14004dc07
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
mov ecx, 0xa
call fcn.14003e4e0
test eax, eax
je 0x14004dc8f
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400c40b8], eax
jle 0x14004dc68
lea rcx, [0x1400c40b8]
call fcn.14004e7ac
cmp dword [0x1400c40b8], 0xffffffff
jne 0x14004dc68
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400c40c8], rax
lea rcx, [0x1400c40b8]
call fcn.14004e740
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x1400c40c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004dc8f
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x14004dd16
mov edx, 3
mov ecx, 6
call fcn.14003e4e0
test eax, eax
je 0x14004dd10
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400c40c0], eax
jle 0x14004dcee
lea rcx, [0x1400c40c0]
call fcn.14004e7ac
cmp dword [0x1400c40c0], 0xffffffff
jne 0x14004dcee
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400c40a8], rax
lea rcx, [0x1400c40c0]
call fcn.14004e740
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1400c40a8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004dd10
mov ecx, 2
call rax
jmp 0x14004dd16
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0xa0], 0x50
mov dword [rbp + 0xa4], 0x40
lea rax, [0x14004da80]
mov qword [rbp + 0xa8], rax
xor r15d, r15d
mov qword [rbp + 0xb0], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0xb8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
lea rbx, str.ImGui_Standalone
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xe8], r15
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x24], r15
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x50], 2
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x20], 0x1c
mov dword [rbp + 0x18], 0x3c
mov dword [rbp + 0x1c], 1
mov dword [rbp + 0x34], 0x20
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x2c], 1
mov qword [rbp + 0x48], 1
mov dword [rbp + 0x118], 0xb000
mov dword [rbp + 0x11c], 0xa000
lea rax, [0x1400c4008]
mov qword [rsp + 0x58], rax
lea rax, [rbp]
mov qword [rsp + 0x50], rax
lea rax, [0x1400c3ff8]
mov qword [rsp + 0x48], rax
lea rax, [0x1400c4010]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x118]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14004e678
call fcn.14004d990
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r13, qword [0x1400c3fe0]
test r13, r13
je 0x14004ded9
inc dword [r13 + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x120], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x118], rcx
mov qword [rbp], rax
test rax, rax
je 0x14004df0c
xor edx, edx
mov rcx, rax
call fcn.140004be0
jmp 0x14004df0f
mov rax, r15
mov qword [0x1400c3fe0], rax
call fcn.14000c6d0
test r13, r13
je 0x14004df29
mov qword [0x1400c3fe0], r13
jmp 0x14004df30
mov r13, qword [0x1400c3fe0]
or dword [r13 + 8], 0x401
mov edx, 2
mov rcx, r12
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rcx
mov dword [rbp + 0xf0], 0x28
lea rdx, [rbp + 0xf0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rbp + 0x100]
sub eax, dword [rbp + 0xf8]
mov ecx, 0xffff
cmp eax, 0x438
jle 0x14004e000
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x1c], 1
mov dword [rbp + 0x28], 3
mov dword [rbp + 0x2c], 1
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov word [rbp + 0x64], cx
mov dword [rbp + 0x24], 0x41d00000
lea rdx, [rbp + 0x10]
mov rcx, qword [0x1400c3fe0]
mov rcx, qword [rcx + 0x50]
call fcn.1400360b0
mov rax, qword [0x1400c3fe0]
mov qword [rax + 0x20], r15
mov rcx, r12
call fcn.14003c5b0
mov r14, qword [0x1400c4008]
mov rsi, qword [0x1400c3ff8]
mov rdi, qword [0x1400c3fe0]
test rdi, rdi
je 0x14004e033
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp + 0x120], rax
test rax, rax
je 0x14004e081
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x14004e084
mov rbx, r15
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rbp], r15
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x120], r15
mov rax, qword [rsi]
lea r8, [rbp]
lea rdx, [0x1400559f8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14004e116
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea r8, [rbp + 0x118]
lea rdx, [0x140055a08]
call qword [rax + 0x30]
test eax, eax
jne 0x14004e116
mov rcx, qword [rbp + 0x118]
mov rax, qword [rcx]
lea r8, [rbp + 0x120]
lea rdx, [0x140055a28]
call qword [rax + 0x30]
test eax, eax
jne 0x14004e116
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x120]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp]
test rcx, rcx
je 0x14004e125
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x14004e137
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [0x1400c3fe0]
test dword [rdi + 8], 0x400
je 0x14004e1a0
lea rax, [0x14003c1f0]
mov qword [rbx + 0x38a0], rax
lea rax, [0x14003c350]
mov qword [rbx + 0x38a8], rax
lea rax, [0x14003c3e0]
mov qword [rbx + 0x38b0], rax
lea rax, [0x14003c4e0]
mov qword [rbx + 0x38b8], rax
lea rax, [0x14003c590]
mov qword [rbx + 0x38c0], rax
xor r15b, r15b
mov rbx, qword [rbx + 0x50]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x10], xmm2
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x50], xmm2
movups xmmword [rbp + 0x60], xmm2
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x1c], 1
mov dword [rbp + 0x28], 3
mov edi, 1
mov dword [rbp + 0x2c], edi
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov esi, 0xffff
mov word [rbp + 0x64], si
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp - 0x70], xmm2
movaps xmmword [rbp - 0x60], xmm2
movaps xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp - 0x20], xmm2
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x14005f0d0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x317f8
mov dword [rbp - 0x7c], 0x41500000
lea rax, [0x140055e24]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140035de0
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x10], xmm2
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x50], xmm2
movups xmmword [rbp + 0x60], xmm2
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x1c], dil
mov dword [rbp + 0x28], 3
mov dword [rbp + 0x2c], edi
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov word [rbp + 0x64], si
mov byte [rbp + 0x58], dil
mov byte [rbp + 0x30], dil
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm2
movaps xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp - 0x20], xmm2
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1400908d0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x32dc0
mov dword [rbp - 0x7c], 0x41800000
lea rax, [0x140055e1c]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140035de0
movdqa xmm6, xmmword [0x140056520]
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004e38a
nop word [rax + rax]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx r15d, r15b
cmp dword [rbp + 0x18], 0x12
cmove r15d, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14004e350
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14004e53e
test r15b, r15b
jne 0x14004e53e
mov rax, qword [0x1400c3fe0]
test rax, rax
je 0x14004e3bb
mov rcx, qword [rax + 0xa0]
jmp 0x14004e3bd
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14004e3c9
call fcn.14003bce0
call fcn.14003d450
call fcn.14000b4c0
call fcn.140001df0
call fcn.14000e080
call fcn.14000e5a0
movups xmmword [rbp + 0x120], xmm6
mov rcx, qword [0x1400c4008]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400c4000]
mov edx, edi
call qword [rax + 0x108]
mov rcx, qword [0x1400c4008]
mov rax, qword [rcx]
lea r8, [rbp + 0x120]
mov rdx, qword [0x1400c4000]
call qword [rax + 0x190]
mov rax, qword [0x1400c3fe0]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
xor ecx, ecx
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14003b060
test dword [r13 + 8], 0x400
je 0x14004e51f
call fcn.14001ec70
mov rbx, qword [0x1400c3fe0]
mov r14d, edi
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x14004e4c5
mov esi, 8
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004e4ae
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x14004e49b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14004e4ae
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x38d8]
cmp r14d, eax
jl 0x14004e474
mov edi, 1
mov esi, edi
cmp eax, 1
jle 0x14004e51f
mov r14d, 8
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [r14 + rax]
test dword [rdi + 4], 0x400
jne 0x14004e50c
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x14004e4f9
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x14004e50c
xor edx, edx
mov rcx, rdi
call rax
inc esi
add r14, 8
cmp esi, dword [rbx + 0x38d8]
jl 0x14004e4d2
mov edi, 1
mov rcx, qword [0x1400c4010]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, edi
call qword [rax + 0x40]
cmp byte [0x14005f0c0], 0
jne 0x14004e330
mov rdi, qword [0x1400c3fe0]
xor esi, esi
test rdi, rdi
je 0x14004e555
mov rbx, qword [rdi + 0xa0]
jmp 0x14004e558
mov rbx, rsi
call fcn.14001f250
call fcn.14003c0d0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004e571
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004e57f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004e58e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
mov rax, qword [0x1400c3fe0]
test rax, rax
je 0x14004e5ae
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400c3fe0]
test rbx, rbx
je 0x14004e5cc
mov rdi, qword [rbx + 0x98]
jmp 0x14004e5cf
mov rdi, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.14001f250
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14004e5fb
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
mov rax, qword [0x1400c3fe0]
test rax, rax
je 0x14004e61b
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400c3fe0]
mov qword [0x1400c3fe0], rbx
call fcn.14000ca30
mov qword [0x1400c3fe0], rsi
test rbx, rbx
je 0x14004e666
mov rcx, rbx
call fcn.14002a2c0
mov rax, qword [0x1400c3fe0]
test rax, rax
je 0x14004e65d
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14004da00
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x14004e67d
call fcn.14004da00
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14004e720
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret