Function at 0x1400590c0
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 - 0x130]
sub rsp, 0x230
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov dword [rbp + 0xb0], 0x50
mov dword [rbp + 0xb4], 0x40
lea rax, [0x140059a90]
mov qword [rbp + 0xb8], rax
xor r12d, r12d
mov qword [rbp + 0xc0], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xc8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
lea rdi, str.ImGui_Example
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0xf8], r12
lea rcx, [rbp + 0xb0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r13d, 1
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], r12
mov rcx, qword [rbp + 0xc8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80000000
mov r8, rdi
mov rdx, qword [rbp + 0xf0]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
lea r9d, [r12 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400af8f0]
movdqu xmmword [rbp + 0x108], xmm0
lea rdx, [rbp + 0x108]
mov rcx, r14
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp + 0x34], r12
mov qword [rbp + 0x48], 2
mov qword [rbp + 0x60], 2
mov qword [rbp + 0x20], r12
mov dword [rbp + 0x30], 0x1c
mov dword [rbp + 0x28], 0x3c
mov dword [rbp + 0x2c], r13d
mov dword [rbp + 0x44], 0x20
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x3c], r13
mov qword [rbp + 0x58], r13
mov dword [rbp], 0xb000
mov dword [rbp + 4], 0xa000
lea rbx, [0x1400e1eb0]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
lea rdi, [0x1400e1ea8]
mov qword [rsp + 0x48], rdi
lea rsi, [0x1400e1e98]
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x140059307
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 5]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140059315
call fcn.140059a10
jmp 0x1400599c3
mov rcx, qword [0x1400e1e98]
mov rax, qword [rcx]
lea r9, [rbp + 8]
lea r8, [0x1400af608]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400e1ea8]
mov rax, qword [rcx]
lea r9, [0x1400e1e90]
xor r8d, r8d
mov rdx, qword [rbp + 8]
call qword [rax + 0x48]
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400e1b20]
test rbx, rbx
je 0x14005937d
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x10], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 8], rax
test rax, rax
je 0x1400593aa
xor edx, edx
mov rcx, rax
call fcn.14000a400
jmp 0x1400593ad
mov rax, r12
mov qword [0x1400e1b20], rax
call fcn.14000e450
test rbx, rbx
je 0x1400593c7
mov qword [0x1400e1b20], rbx
jmp 0x1400593ce
mov rbx, qword [0x1400e1b20]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x60], xmm2
movups xmmword [rbp + 0x70], xmm2
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0x38], 3
mov dword [rbp + 0x3c], r13d
mov dword [rbp + 0x64], 0x7f7fffff
mov dword [rbp + 0x70], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x74], ax
mov byte [rbp + 0x2c], 0
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp - 0x70], xmm2
movaps xmmword [rbp - 0x60], xmm2
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp - 0x20], xmm2
movsd xmm0, qword [rbp + 0xa0]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1400db350]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x602c
mov dword [rbp - 0x7c], 0x41600000
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 0x38]
call fcn.1400304e0
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x20], r12
or dword [rbx + 8], 3
call fcn.140058fc0
call fcn.140058610
mov rcx, r14
call fcn.140035bd0
mov r15, qword [0x1400e1eb0]
mov rsi, qword [0x1400e1ea8]
mov rdi, qword [0x1400e1b20]
test rdi, rdi
je 0x1400594b5
inc dword [rdi + 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 0x1400594f6
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 0x1400594f9
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x18], r12
mov rax, qword [rsi]
lea r8, [rbp]
lea rdx, [0x1400aec58]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140059576
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x1400aec68]
call qword [rax + 0x30]
test eax, eax
jne 0x140059576
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
lea rdx, [0x1400aec78]
call qword [rax + 0x30]
test eax, eax
jne 0x140059576
mov qword [rbx], rsi
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0x18]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp]
test rcx, rcx
je 0x140059585
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140059594
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
mov esi, dword [rbp + 0x100]
nop
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
test eax, eax
js 0x1400595dc
lea rdx, [rbp + 0x100]
mov rcx, qword [0x1400e1bc8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
movzx ebx, bl
cmp dword [rbp + 0x100], 0
cmove ebx, r13d
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400595f9
cmp byte [0x1400e1ed0], 0
sete byte [0x1400e1ed0]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005964e
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp + 0x28], 0x12
cmove ebx, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140059614
test bl, bl
jne 0x1400598a8
mov r8d, dword [0x1400e1e6c]
test r8d, r8d
je 0x140059703
mov r9d, dword [0x1400e1ea0]
test r9d, r9d
je 0x140059703
mov rcx, qword [0x1400e1e90]
test rcx, rcx
je 0x14005969d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400e1e90], r12
mov r8d, dword [0x1400e1e6c]
mov r9d, dword [0x1400e1ea0]
mov rcx, qword [0x1400e1e98]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x1400e1ea0], r12d
mov dword [0x1400e1e6c], r12d
mov rcx, qword [0x1400e1e98]
mov rax, qword [rcx]
lea r9, [rbp + 0x10]
lea r8, [0x1400af608]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400e1ea8]
mov rax, qword [rcx]
lea r9, [0x1400e1e90]
xor r8d, r8d
mov rdx, qword [rbp + 0x10]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400e1b20]
test rax, rax
je 0x140059718
mov rcx, qword [rax + 0x98]
jmp 0x14005971b
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x140059727
call fcn.140035570
call fcn.140036550
call fcn.140010750
cmp byte [0x1400e1ed0], 0
je 0x140059747
call fcn.140001f30
mov r8d, 0x80088
jmp 0x14005974d
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.140007600
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14005977e
imul rax, rax, 0x64
jmp 0x14005979c
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
sub rax, qword [0x1400e1b98]
cmp rax, 0x77359400
jge 0x1400597b5
mov eax, dword [0x1400e1ba0]
inc eax
jmp 0x140059813
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x1400597d3
imul rax, rax, 0x64
jmp 0x1400597f1
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
mov qword [0x1400e1b98], rax
mov esi, dword [0x1400e1ba0]
mov dword [0x1400e1ba4], esi
inc dword [0x1400e1bd8]
add dword [0x1400e1bdc], esi
mov eax, r12d
mov dword [0x1400e1ba0], eax
mov dword [0x1400e1b68], esi
call fcn.140012880
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov rcx, qword [0x1400e1eb0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400e1e90]
mov edx, r13d
call qword [rax + 0x108]
mov rcx, qword [0x1400e1eb0]
mov rax, qword [rcx]
lea r8, [rbp + 0x118]
mov rdx, qword [0x1400e1e90]
call qword [rax + 0x190]
mov rax, qword [0x1400e1b20]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140034b00
mov rcx, qword [0x1400e1e98]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [0x1400e1ac0]
call qword [rax + 0x40]
jmp 0x1400595b0
mov rbx, qword [0x1400e1b20]
test rbx, rbx
je 0x1400598bd
mov rdi, qword [rbx + 0x98]
jmp 0x1400598c0
mov rdi, r12
call fcn.140035ab0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400598d4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400598e2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400598f1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1400e1b20]
test rax, rax
je 0x140059915
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400e1b20]
test rax, rax
je 0x140059933
mov rdi, qword [rax + 0x90]
jmp 0x140059936
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140059950
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400e1b20]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14005996a
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400e1b20]
mov qword [0x1400e1b20], rbx
call fcn.14000e890
mov qword [0x1400e1b20], r12
test rbx, rbx
je 0x1400599b5
mov rcx, rbx
call fcn.140024560
mov rax, qword [0x1400e1b20]
test rax, rax
je 0x1400599ac
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140059a10
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.14005c140
lea r11, [rsp + 0x230]
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