Function at 0x14005ed60
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 - 0x120]
sub rsp, 0x220
mov rax, qword [0x14008c040]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov dword [rbp + 0xa0], 0x50
mov dword [rbp + 0xa4], 0x40
lea rax, [0x14005f8d0]
mov qword [rbp + 0xa8], rax
xor r13d, r13d
mov qword [rbp + 0xb0], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xb8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
lea rax, [0x140081e90]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], r13
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea ecx, [r13 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], r13
mov rcx, qword [rbp + 0xb8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, 0x80000000
lea r8, str.ImGui_Example
mov rdx, qword [rbp + 0xe0]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
lea r9d, [r13 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140082380]
movdqu xmmword [rbp + 0xf0], xmm0
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp + 0x24], r13
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x50], 2
mov qword [rbp + 0x10], r13
mov dword [rbp + 0x20], 0x1c
mov dword [rbp + 0x18], 0x3c
mov dword [rbp + 0x1c], 1
mov dword [rbp + 0x34], 0x20
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x2c], 1
mov qword [rbp + 0x48], 1
mov dword [rbp + 0x100], 0xb000
mov dword [rbp + 0x104], 0xa000
lea rbx, [0x1401071c0]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 8]
mov qword [rsp + 0x50], rax
lea rsi, [0x1401071b8]
mov qword [rsp + 0x48], rsi
lea r14, [0x1401071b0]
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14005efb6
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 5]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14005f027
mov rcx, qword [0x1401071a8]
test rcx, rcx
je 0x14005efd3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071a8], r13
mov rcx, qword [0x1401071b0]
test rcx, rcx
je 0x14005efec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071b0], r13
mov rcx, qword [0x1401071c0]
test rcx, rcx
je 0x14005f005
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071c0], r13
mov rcx, qword [0x1401071b8]
test rcx, rcx
je 0x14005f80d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071b8], r13
jmp 0x14005f80d
call fcn.14005f860
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rsi, qword [0x140107150]
test rsi, rsi
je 0x14005f055
inc dword [rsi + 0xf4]
mov ecx, 0x6460
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x100], rcx
mov qword [rbp + 8], rax
test rax, rax
je 0x14005f085
xor edx, edx
mov rcx, rax
call fcn.140008300
jmp 0x14005f088
mov rax, r13
mov qword [0x140107150], rax
call fcn.140010b40
test rsi, rsi
je 0x14005f0a2
mov qword [0x140107150], rsi
jmp 0x14005f0a9
mov rsi, qword [0x140107150]
or dword [rsi + 8], 3
xor ecx, ecx
call fcn.140036050
mov rcx, rdi
call fcn.140041540
mov r12, qword [0x1401071c0]
mov r15, qword [0x1401071b8]
mov r14, qword [0x140107150]
test r14, r14
je 0x14005f0dd
inc dword [r14 + 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 0x14005f11e
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 0x14005f121
mov rbx, r13
mov qword [r14 + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [r14 + 0x90], rax
or dword [r14 + 0xc], 0x1008
mov qword [rbp + 0x100], r13
mov qword [rbp + 8], r13
mov qword [rbp], r13
mov rax, qword [r15]
lea r8, [rbp + 0x100]
lea rdx, [0x140081fa8]
mov rcx, r15
call qword [rax]
test eax, eax
jne 0x14005f1ab
mov rcx, qword [rbp + 0x100]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x140081fb8]
call qword [rax + 0x30]
test eax, eax
jne 0x14005f1ab
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp]
lea rdx, [0x140081fd8]
call qword [rax + 0x30]
test eax, eax
jne 0x14005f1ab
mov qword [rbx], r15
mov qword [rbx + 8], r12
mov rax, qword [rbp]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x14005f1bd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14005f1cc
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 [r14 + 8], 0x400
je 0x14005f236
mov rax, qword [0x140107150]
lea rcx, [0x1400411a0]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x1400412f0]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x140041380]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x140041470]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x140041520]
mov qword [rax + 0x38c0], rcx
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 r14d, 1
mov dword [rbp + 0x2c], r14d
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov ebx, 0xffff
mov word [rbp + 0x64], bx
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, [0x14008e110]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x3bfcc
mov dword [rbp - 0x7c], 0x41500000
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x50]
call fcn.14003b050
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], r14b
mov dword [rbp + 0x28], 3
mov dword [rbp + 0x2c], r14d
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov word [rbp + 0x64], bx
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, [0x14008c1d0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x1f3c
mov dword [rbp - 0x7c], 0x41700000
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x50]
call fcn.14003b050
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], r14b
mov dword [rbp + 0x28], 3
mov dword [rbp + 0x2c], r14d
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov word [rbp + 0x64], bx
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, [0x1400ca0e0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x3baf4
mov dword [rbp - 0x7c], 0x41a00000
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x50]
call fcn.14003b050
xor bl, bl
nop
mov ecx, dword [0x14008c170]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r14b, al
je 0x14005f44f
cmp byte [0x140107610], 0
sete byte [0x140107610]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005f4b2
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_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp + 0x18], 0x12
cmove ebx, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14005f470
test bl, bl
jne 0x14005f67a
mov r8d, dword [0x1401071a0]
test r8d, r8d
je 0x14005f55f
mov r9d, dword [0x1401071a4]
test r9d, r9d
je 0x14005f55f
mov rcx, qword [0x1401071a8]
test rcx, rcx
je 0x14005f4f9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071a8], r13
mov r8d, dword [0x1401071a0]
mov r9d, dword [0x1401071a4]
mov rcx, qword [0x1401071b0]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x1401071a4], r13d
mov dword [0x1401071a0], r13d
mov rcx, qword [0x1401071b0]
mov rax, qword [rcx]
lea r9, [rbp]
lea r8, [0x140081fc8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1401071b8]
mov rax, qword [rcx]
lea r9, [0x1401071a8]
xor r8d, r8d
mov rdx, qword [rbp]
call qword [rax + 0x48]
mov rcx, qword [rbp]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
cmp byte [0x140107208], 0
je 0x14005f572
mov edx, 0x11
jmp 0x14005f574
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rax, qword [0x140107150]
test rax, rax
je 0x14005f58f
mov rcx, qword [rax + 0xa0]
jmp 0x14005f592
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x14005f59e
call fcn.140040b50
call fcn.1400424a0
call fcn.14000f930
call fcn.140006cf0
lea rcx, [0x14010694f]
call fcn.140004630
call fcn.140006fc0
call fcn.140007180
call fcn.1400066a0
cmp byte [0x140107610], 0
jne 0x14005f5de
call fcn.14005d690
mov r8d, 0x80088
jmp 0x14005f5e4
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.140012a40
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov rcx, qword [0x1401071c0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1401071a8]
mov edx, r14d
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1401071c0]
mov rax, qword [rcx]
lea r8, [rbp + 0x100]
mov rdx, qword [0x1401071a8]
call qword [rax + 0x190]
mov rax, qword [0x140107150]
mov rcx, qword [rax + 0x4220]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.1400400f0
mov rcx, qword [0x1401071b0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r14d
call qword [rax + 0x40]
jmp 0x14005f430
mov rsi, qword [0x140107150]
test rsi, rsi
je 0x14005f68f
mov rbx, qword [rsi + 0xa0]
jmp 0x14005f692
mov rbx, r13
call fcn.140023d50
call fcn.140041080
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005f6ab
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005f6b9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005f6c8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x90], r13
mov qword [rsi + 0xa0], r13
mov rax, qword [0x140107150]
test rax, rax
je 0x14005f6e8
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140107150]
test rbx, rbx
je 0x14005f706
mov rsi, qword [rbx + 0x98]
jmp 0x14005f709
mov rsi, r13
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.140023d50
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x14005f735
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r13
mov qword [rbx + 0x98], r13
mov rax, qword [0x140107150]
test rax, rax
je 0x14005f755
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140107150]
mov qword [0x140107150], rbx
call fcn.140010ea0
mov qword [0x140107150], r13
test rbx, rbx
je 0x14005f7a0
mov rcx, rbx
call fcn.14002ebd0
mov rax, qword [0x140107150]
test rax, rax
je 0x14005f797
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1401071a8]
test rcx, rcx
je 0x14005f7b9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071a8], r13
mov rcx, qword [0x1401071b0]
test rcx, rcx
je 0x14005f7d2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071b0], r13
mov rcx, qword [0x1401071c0]
test rcx, rcx
je 0x14005f7eb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071c0], r13
mov rcx, qword [0x1401071b8]
test rcx, rcx
je 0x14005f804
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1401071b8], r13
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14005fdc0
lea r11, [rsp + 0x220]
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