Function at 0x140609e40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14061f010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [0x140afd9c0]
test rax, rax
je 0x140609e94
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140609e94
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.1405f8dd0
test eax, eax
je 0x140609f1a
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140afdbb8], eax
jle 0x140609ef3
lea rcx, [0x140afdbb8]
call fcn.14060b700
cmp dword [0x140afdbb8], 0xffffffff
jne 0x140609ef3
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140afdbc8], rax
lea rcx, [0x140afdbb8]
call fcn.14060b6a0
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x140afdbc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140609f1a
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140609f9f
mov edx, 3
lea ecx, [rdx + 3]
call fcn.1405f8dd0
test eax, eax
je 0x140609f99
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140afdbc0], eax
jle 0x140609f77
lea rcx, [0x140afdbc0]
call fcn.14060b700
cmp dword [0x140afdbc0], 0xffffffff
jne 0x140609f77
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140afdba8], rax
lea rcx, [0x140afdbc0]
call fcn.14060b6a0
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x140afdba8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140609f99
mov ecx, 2
call rax
jmp 0x140609f9f
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 0x40
lea rax, [0x140609d10]
mov qword [rbp + 0x18], rax
xor r12d, r12d
mov qword [rbp + 0x20], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
lea rbx, str.FovPakMaker
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], r12
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
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 + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x6c], r12
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov r15d, 1
mov dword [rbp - 0x74], r15d
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], r15
mov qword [rbp - 0x48], r15
mov dword [rbp + 0x88], 0xb000
mov dword [rbp + 0x8c], 0xa000
lea rax, [0x140afd9e0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [0x140afd9d0]
mov qword [rsp + 0x48], rax
lea rax, [0x140afd9e8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14060a112
call fcn.140609c90
jmp 0x14060a9b9
call fcn.140609c20
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140afd9c0]
test rbx, rbx
je 0x14060a13d
inc dword [rbx + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x88], rcx
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14060a16f
xor edx, edx
mov rcx, rax
call fcn.1405bf2e0
jmp 0x14060a172
mov rax, r12
mov qword [0x140afd9c0], rax
call fcn.1405c6f50
mov r13, qword [0x140afd9c0]
test rbx, rbx
cmovne r13, rbx
mov qword [0x140afd9c0], r13
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.1405ec600
mov rax, qword [0x140afd9c0]
test dword [r13 + 8], 0x400
je 0x14060a40d
mov dword [rax + 0x394c], 0x40c00000
mov dword [rax + 0x3988], 0x40c00000
mov dword [rax + 0x393c], 0x40c00000
mov dword [rax + 0x3980], 0x41400000
mov dword [rax + 0x3990], 0x40c00000
mov dword [rax + 0x3918], 0x41000000
mov dword [rax + 0x3934], 0x40c00000
mov dword [rax + 0x3950], 0x3f800000
movaps xmm0, xmmword [0x140614a60]
movups xmmword [rax + 0x39d0], xmm0
movaps xmm1, xmmword [0x140614820]
movups xmmword [rax + 0x39f0], xmm1
movaps xmm0, xmmword [0x140614840]
movups xmmword [rax + 0x3a00], xmm0
movaps xmm1, xmmword [0x1406148a0]
movups xmmword [rax + 0x3a10], xmm1
movaps xmm0, xmmword [0x1406148c0]
movups xmmword [rax + 0x3a20], xmm0
movaps xmm1, xmmword [0x1406148d0]
movups xmmword [rax + 0x3a40], xmm1
movaps xmm0, xmmword [0x140614930]
movups xmmword [rax + 0x3a50], xmm0
movaps xmm1, xmmword [0x140614900]
movups xmmword [rax + 0x3a60], xmm1
movaps xmm0, xmmword [0x140614880]
movups xmmword [rax + 0x3a70], xmm0
movaps xmm1, xmmword [0x140614890]
movups xmmword [rax + 0x3a80], xmm1
movaps xmm0, xmmword [0x140614870]
movups xmmword [rax + 0x3aa0], xmm0
movaps xmm1, xmmword [0x140614800]
movups xmmword [rax + 0x3ab0], xmm1
movaps xmm0, xmmword [0x140614930]
movups xmmword [rax + 0x3ac0], xmm0
movaps xmm1, xmmword [0x140614970]
movups xmmword [rax + 0x3ad0], xmm1
movaps xmm0, xmmword [0x140614990]
movups xmmword [rax + 0x3ae0], xmm0
movaps xmm1, xmmword [0x1406149d0]
movups xmmword [rax + 0x3af0], xmm1
movaps xmm0, xmmword [0x1406149f0]
movups xmmword [rax + 0x3b00], xmm0
movaps xmm1, xmmword [0x140614a00]
movups xmmword [rax + 0x3b10], xmm1
movaps xmm0, xmmword [0x1406148f0]
movups xmmword [rax + 0x3b20], xmm0
movaps xmm1, xmmword [0x140614950]
movups xmmword [rax + 0x3b30], xmm1
movaps xmm0, xmmword [0x140614960]
movups xmmword [rax + 0x3b40], xmm0
movaps xmm1, xmmword [0x1406148f0]
movups xmmword [rax + 0x3b50], xmm1
movaps xmm2, xmmword [0x140614950]
movups xmmword [rax + 0x3b60], xmm2
movups xmmword [rax + 0x3b70], xmm0
movaps xmm1, xmmword [0x1406148c0]
movups xmmword [rax + 0x3b80], xmm1
movaps xmm0, xmmword [0x140614970]
movups xmmword [rax + 0x3b90], xmm0
movaps xmm1, xmmword [0x140614990]
movups xmmword [rax + 0x3ba0], xmm1
movaps xmm0, xmmword [0x1406149f0]
movups xmmword [rax + 0x3bb0], xmm0
movaps xmm1, xmmword [0x140614a00]
movups xmmword [rax + 0x3bc0], xmm1
movaps xmm0, xmmword [0x140614a10]
movups xmmword [rax + 0x3bd0], xmm0
movaps xmm1, xmmword [0x1406148a0]
movups xmmword [rax + 0x3be0], xmm1
movaps xmm0, xmmword [0x140614970]
movups xmmword [rax + 0x3bf0], xmm0
movaps xmm1, xmmword [0x140614930]
movups xmmword [rax + 0x3c00], xmm1
movaps xmm0, xmmword [0x140614830]
movups xmmword [rax + 0x3c10], xmm0
movaps xmm1, xmmword [0x1406148d0]
movups xmmword [rax + 0x3c20], xmm1
movaps xmm0, xmmword [0x140614970]
movups xmmword [rax + 0x3c30], xmm0
movaps xmm1, xmmword [0x140614930]
movups xmmword [rax + 0x3ce0], xmm1
movups xmmword [rax + 0x3d00], xmm2
mov edx, 2
mov rcx, r14
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x60], 0x28
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rbp + 0x70]
sub eax, dword [rbp + 0x68]
cmp eax, 0x438
jle 0x14060a4cc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r15d
movss xmm0, dword [0x140614580]
movss dword [rbp - 0x3c], xmm0
movss xmm1, dword [0x1406144cc]
movss dword [rbp - 0x30], xmm1
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movss xmm0, dword [0x140614538]
movss dword [rbp - 0x6c], xmm0
lea rdx, [rbp - 0x80]
mov rcx, qword [0x140afd9c0]
mov rcx, qword [rcx + 0x50]
call fcn.1405f0e50
mov rax, qword [0x140afd9c0]
mov qword [rax + 0x20], r12
mov rcx, r14
call fcn.1405f6ec0
mov r14, qword [0x140afd9e0]
mov rsi, qword [0x140afd9d0]
mov rdi, qword [0x140afd9c0]
test rdi, rdi
je 0x14060a4ff
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14060a540
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x14060a543
mov rbx, r12
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rsp + 0x78], r12
mov qword [rbp + 0x88], r12
mov qword [rsp + 0x70], r12
mov rax, qword [rsi]
lea r8, [rsp + 0x78]
lea rdx, [0x140614098]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14060a5d2
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
lea rdx, [0x1406140a8]
call qword [rax + 0x30]
test eax, eax
jne 0x14060a5d2
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1406140c8]
call qword [rax + 0x30]
test eax, eax
jne 0x14060a5d2
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14060a5e2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14060a5f4
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]
test dword [rdi + 8], 0x400
je 0x14060a65d
mov rax, qword [0x140afd9c0]
lea rcx, [0x1405f6b20]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x1405f6c70]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x1405f6d00]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x1405f6df0]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x1405f6ea0]
mov qword [rax + 0x38c0], rcx
xor dil, dil
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14060a6bb
nop dword [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx edi, dil
cmp dword [rbp - 0x78], 0x12
cmove edi, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14060a680
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14060a883
test dil, dil
jne 0x14060a883
mov rax, qword [0x140afd9c0]
test rax, rax
je 0x14060a6ec
mov rcx, qword [rax + 0xa0]
jmp 0x14060a6ef
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x14060a6fb
call fcn.1405f6600
call fcn.1405f7d40
call fcn.1405c5d60
call fcn.1405bbef0
call fcn.1405c8930
call fcn.1405c8e40
movaps xmm0, xmmword [0x1406149c0]
movups xmmword [rbp + 0x90], xmm0
mov rcx, qword [0x140afd9e0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140afd9d8]
mov edx, r15d
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x140afd9e0]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
mov rdx, qword [0x140afd9d8]
call qword [rax + 0x190]
mov rax, qword [0x140afd9c0]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r12
cmp byte [rax], 0
cmovne rcx, rax
call fcn.1405f5980
test dword [r13 + 8], 0x400
je 0x14060a863
call fcn.1405d9d80
mov rbx, qword [0x140afd9c0]
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x14060a7fc
mov r14d, 8
nop
mov rax, qword [rbx + 0x38e0]
mov rsi, qword [r14 + rax]
test dword [rsi + 4], 0x400
jne 0x14060a7ea
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x14060a7d7
xor edx, edx
mov rcx, rsi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14060a7ea
xor edx, edx
mov rcx, rsi
call rax
inc r15d
add r14, 8
mov eax, dword [rbx + 0x38d8]
cmp r15d, eax
jl 0x14060a7b0
mov r15d, 1
mov r14d, r15d
cmp eax, r15d
jle 0x14060a860
mov r15d, 8
mov rax, qword [rbx + 0x38e0]
mov rsi, qword [r15 + rax]
test dword [rsi + 4], 0x400
jne 0x14060a84a
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x14060a837
xor edx, edx
mov rcx, rsi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x14060a84a
xor edx, edx
mov rcx, rsi
call rax
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x14060a810
mov r15d, 1
xor r12d, r12d
mov rcx, qword [0x140afd9e8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r15d
call qword [rax + 0x40]
cmp byte [0x14061f050], 1
je 0x14060a660
mov rdi, qword [0x140afd9c0]
test rdi, rdi
je 0x14060a898
mov rbx, qword [rdi + 0xa0]
jmp 0x14060a89b
mov rbx, r12
call fcn.1405da380
call fcn.1405f6a00
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14060a8b4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14060a8c2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14060a8d1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r12
mov qword [rdi + 0xa0], r12
mov rax, qword [0x140afd9c0]
test rax, rax
je 0x14060a8f1
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140afd9c0]
test rbx, rbx
je 0x14060a90f
mov rdi, qword [rbx + 0x98]
jmp 0x14060a912
mov rdi, r12
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.1405da380
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14060a93e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
mov rax, qword [0x140afd9c0]
test rax, rax
je 0x14060a95e
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140afd9c0]
mov qword [0x140afd9c0], rbx
call fcn.1405c72b0
mov qword [0x140afd9c0], r12
test rbx, rbx
je 0x14060a9a9
mov rcx, rbx
call fcn.1405e4f70
mov rax, qword [0x140afd9c0]
test rax, rax
je 0x14060a9a0
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140609c90
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14060b2c0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret