Function at 0x14004fcc0
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 - 0x190]
sub rsp, 0x290
mov rax, qword [0x140063010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov dword [rbp + 0x20], 0x50
mov dword [rbp + 0x24], 0x40
lea rax, [0x1400507e0]
mov qword [rbp + 0x28], rax
xor r13d, r13d
mov qword [rbp + 0x30], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
lea rdi, str.ImGui_Example
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], r13
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r12d, 1
mov ecx, r12d
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 + 0x38]
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
mov r8, rdi
mov rdx, qword [rbp + 0x60]
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 [0x14005ae70]
movdqu xmmword [rbp + 0x170], xmm0
lea rdx, [rbp + 0x170]
mov rcx, rdi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp - 0x5c], r13
mov qword [rbp - 0x48], 2
mov qword [rbp - 0x30], 2
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x60], 0x1c
mov dword [rbp - 0x68], 0x3c
mov dword [rbp - 0x64], r12d
mov dword [rbp - 0x4c], 0x20
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x54], r12
mov qword [rbp - 0x38], r12
mov dword [rsp + 0x70], 0xb000
mov dword [rsp + 0x74], 0xa000
lea rbx, [0x14008cbc0]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x70]
mov qword [rsp + 0x50], rax
lea rsi, [0x14008cbb8]
mov qword [rsp + 0x48], rsi
lea r14, [0x14008cba8]
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14004fedf
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x70]
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 0x14004feed
call fcn.140050760
jmp 0x14005071a
mov rcx, qword [0x14008cba8]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [0x14005aca8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x14008cbb8]
mov rax, qword [rcx]
lea r9, [0x14008cba0]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14008cae0]
test rbx, rbx
je 0x14004ff58
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14004ff87
xor edx, edx
mov rcx, rax
call fcn.140004450
jmp 0x14004ff8a
mov rax, r13
mov qword [0x14008cae0], rax
call fcn.140008410
test rbx, rbx
je 0x14004ffa4
mov qword [0x14008cae0], rbx
jmp 0x14004ffab
mov rbx, qword [0x14008cae0]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x58], 3
mov dword [rbp - 0x54], r12d
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x1c], ax
mov byte [rbp - 0x64], 0
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x90], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xa0], xmm1
movaps xmmword [rbp + 0xb0], xmm2
movaps xmmword [rbp + 0xc0], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0xe0], xmm1
movaps xmmword [rbp + 0xf0], xmm2
movaps xmmword [rbp + 0x100], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0x110], xmm0
lea rax, [0x140086380]
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x98], 0x602c
mov dword [rbp + 0xa4], 0x41600000
lea rdx, [rbp + 0x90]
mov rcx, qword [rbx + 0x38]
call fcn.14002a430
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x20], r13
or dword [rbx + 8], 3
call fcn.14004fbc0
mov dword [rsp + 0x70], r13d
mov dword [rbp + 0x70], r13d
mov qword [rbp + 0xa0], r13
mov dword [rbp + 0xc0], r13d
mov dword [rbp + 0x148], r13d
lea rax, [0x140057100]
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x150], rax
lea rax, [0x140058974]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x158], rax
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.14003ed80
mov rbx, rax
mov qword [rbp - 0x5c], 1
mov qword [rbp - 0x4c], r13
mov eax, dword [rsp + 0x70]
mov dword [rbp - 0x70], eax
mov ecx, dword [rbp + 0x70]
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x68], r12d
mov dword [rbp - 0x64], r12d
mov dword [rbp - 0x60], 0x1c
mov dword [rbp - 0x54], r13d
mov dword [rbp - 0x50], 8
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], rbx
lea eax, [rax*4]
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], r13d
mov rcx, qword [0x14008cbb8]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x70]
call qword [rax + 0x28]
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x78], 0x1c
mov qword [rbp + 0x7c], 4
mov eax, dword [rbp - 0x68]
mov dword [rbp + 0x84], eax
mov rcx, qword [0x14008cbb8]
mov rax, qword [rcx]
lea r9, [0x14008cb30]
lea r8, [rbp + 0x78]
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [rbp + 0x70], r13d
mov dword [rsp + 0x70], r13d
mov qword [rbp + 0xa0], r13
mov dword [rbp + 0xc0], r13d
mov dword [rbp + 0x148], r13d
lea rax, [0x140063180]
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x150], rax
lea rax, [0x140086353]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x158], rax
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.14003ed80
mov rbx, rax
mov qword [rbp - 0x5c], 1
mov qword [rbp - 0x4c], r13
mov eax, dword [rbp + 0x70]
mov dword [rbp - 0x70], eax
mov ecx, dword [rsp + 0x70]
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x68], r12d
mov dword [rbp - 0x64], r12d
mov dword [rbp - 0x60], 0x1c
mov dword [rbp - 0x54], r13d
mov dword [rbp - 0x50], 8
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], rbx
lea eax, [rax*4]
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], r13d
mov rcx, qword [0x14008cbb8]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x70]
call qword [rax + 0x28]
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x78], 0x1c
mov qword [rbp + 0x7c], 4
mov eax, dword [rbp - 0x68]
mov dword [rbp + 0x84], eax
mov rcx, qword [0x14008cbb8]
mov rax, qword [rcx]
lea r9, [0x14008cb38]
lea r8, [rbp + 0x78]
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call fcn.14002fb20
mov r15, qword [0x14008cbc0]
mov r14, qword [0x14008cbb8]
mov rsi, qword [0x14008cae0]
test rsi, rsi
je 0x1400502d6
inc dword [rsi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140050317
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 0x14005031a
mov rbx, r13
mov qword [rsi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x88], rax
or dword [rsi + 0xc], 8
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x78], r13
mov rax, qword [r14]
lea r8, [rsp + 0x68]
lea rdx, [0x14005a288]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x14005039d
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x14005a298]
call qword [rax + 0x30]
test eax, eax
jne 0x14005039d
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rbp - 0x78]
lea rdx, [0x14005a2a8]
call qword [rax + 0x30]
test eax, eax
jne 0x14005039d
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400503ad
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400503bd
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]
xor bl, bl
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
test eax, eax
js 0x1400503f8
lea rdx, [rbp + 0x70]
mov rcx, qword [0x14008cb08]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
movzx ebx, bl
cmp dword [rbp + 0x70], 0
cmove ebx, r12d
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140050415
cmp byte [0x14008cbe0], 0
sete byte [0x14008cbe0]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005046a
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp - 0x68], 0x12
cmove ebx, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140050430
test bl, bl
jne 0x1400505ff
mov r8d, dword [0x14008cb7c]
test r8d, r8d
je 0x140050522
mov r9d, dword [0x14008cbb0]
test r9d, r9d
je 0x140050522
mov rcx, qword [0x14008cba0]
test rcx, rcx
je 0x1400504b9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14008cba0], r13
mov r8d, dword [0x14008cb7c]
mov r9d, dword [0x14008cbb0]
mov rcx, qword [0x14008cba8]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x14008cbb0], r13d
mov dword [0x14008cb7c], r13d
mov rcx, qword [0x14008cba8]
mov rax, qword [rcx]
lea r9, [rsp + 0x78]
lea r8, [0x14005aca8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x14008cbb8]
mov rax, qword [rcx]
lea r9, [0x14008cba0]
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x14008cae0]
test rax, rax
je 0x140050537
mov rcx, qword [rax + 0x98]
jmp 0x14005053a
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x140050546
call fcn.14002f4c0
call fcn.1400304a0
call fcn.14000a610
cmp byte [0x14008cbe0], 0
je 0x140050566
call fcn.140001030
mov r8d, 0x80088
jmp 0x14005056c
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.1400030a0
call fcn.14000c740
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov rcx, qword [0x14008cbc0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14008cba0]
mov edx, r12d
call qword [rax + 0x108]
mov rcx, qword [0x14008cbc0]
mov rax, qword [rcx]
lea r8, [rbp + 0x78]
mov rdx, qword [0x14008cba0]
call qword [rax + 0x190]
mov rax, qword [0x14008cae0]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.14002ea50
mov rcx, qword [0x14008cba8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r12d
call qword [rax + 0x40]
jmp 0x1400503d2
mov rbx, qword [0x14008cae0]
test rbx, rbx
je 0x140050614
mov rsi, qword [rbx + 0x98]
jmp 0x140050617
mov rsi, r13
call fcn.14002fa00
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14005062b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140050639
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140050648
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r13
mov qword [rbx + 0x98], r13
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x14008cae0]
test rax, rax
je 0x14005066c
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14008cae0]
test rax, rax
je 0x14005068a
mov rsi, qword [rax + 0x90]
jmp 0x14005068d
mov rsi, r13
lea rbx, [rax + 8]
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1400506a7
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14008cae0]
mov qword [rbx + 0x78], r13
mov qword [rbx + 0x88], r13
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x1400506c1
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14008cae0]
mov qword [0x14008cae0], rbx
call fcn.140008850
mov qword [0x14008cae0], r13
test rbx, rbx
je 0x14005070c
mov rcx, rbx
call fcn.14001e4b0
mov rax, qword [0x14008cae0]
test rax, rax
je 0x140050703
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140050760
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400508a0
lea r11, [rsp + 0x290]
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