Function at 0x14003e150
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov dword [rbp - 0x40], 0x50
mov dword [rbp - 0x3c], 0x40
lea rax, [0x14003e9b0]
mov qword [rbp - 0x38], rax
xor r14d, r14d
mov qword [rbp - 0x30], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
lea rdi, str.ImGui_Example
mov qword [rbp], rdi
mov qword [rbp + 8], r14
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 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], r14
mov rcx, qword [rbp - 0x28]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0x80000000
mov r8, rdi
mov rdx, qword [rbp]
mov ecx, 0x80008
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140048490]
movdqu xmmword [rbp + 0x18], xmm0
lea rdx, [rbp + 0x18]
mov rcx, rsi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp - 0x7c], r14
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r14
mov dword [rbp - 0x80], 0x1c
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x74], 1
mov qword [rbp - 0x58], 1
mov dword [rbp + 0x28], 0xb000
mov dword [rbp + 0x2c], 0xa000
lea rbx, [0x140050c08]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
lea rdi, [0x140050c00]
mov qword [rsp + 0x48], rdi
lea r15, [0x140050bf8]
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14003e36c
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14003e8ec
mov rcx, qword [0x140050bf8]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [0x140048340]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140050c00]
mov rax, qword [rcx]
lea r9, [0x140050bf0]
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, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140050bb8]
mov ecx, 0x6278
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x140050bb8]
test r8, r8
je 0x14003e44e
mov r10d, dword [r8 + 0x3f68]
movsx rax, word [r8 + 0x60e8]
lea rdx, [r8 + 0x60ec]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x14003e443
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rdx, [r8 + 0x60ec]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r8 + 0x60e0]
mov qword [rsp + 0x68], r9
lea rax, [rsp + 0x60]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x10], r9
test r9, r9
je 0x14003e471
xor edx, edx
mov rcx, r9
call fcn.140001460
jmp 0x14003e474
mov rax, r14
mov qword [0x140050bb8], rax
call fcn.140005a50
test rbx, rbx
je 0x14003e48e
mov qword [0x140050bb8], rbx
jmp 0x14003e495
mov rbx, qword [0x140050bb8]
or dword [rbx + 8], 3
xor ecx, ecx
call fcn.140024cd0
mov rcx, rsi
call fcn.14002e9c0
call fcn.14002e7f0
nop dword [rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003e4ed
cmp byte [0x140050300], 0
sete al
mov byte [0x140050300], al
mov edx, 0xffffffec
mov rcx, rsi
test al, al
mov r8d, 8
jne 0x14003e4e7
mov r8d, 0x80028
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14003e550
nop dword [rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x78], 0x12
je 0x14003e6c0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14003e510
mov r8d, dword [0x140050be8]
test r8d, r8d
je 0x14003e600
mov r9d, dword [0x140050bec]
test r9d, r9d
je 0x14003e600
mov rcx, qword [0x140050bf0]
test rcx, rcx
je 0x14003e597
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140050bf0], r14
mov r8d, dword [0x140050be8]
mov r9d, dword [0x140050bec]
mov rcx, qword [0x140050bf8]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x140050bec], r14d
mov dword [0x140050be8], r14d
mov rcx, qword [0x140050bf8]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [0x140048340]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140050c00]
mov rax, qword [rcx]
lea r9, [0x140050bf0]
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 rax, qword [0x140050bb8]
test rax, rax
je 0x14003e615
mov rcx, qword [rax + 0x98]
jmp 0x14003e618
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x14003e624
call fcn.14002e2d0
call fcn.14002f3d0
call fcn.1400082f0
cmp byte [0x140050300], 0
je 0x14003e63c
call fcn.14003cfb0
call fcn.14000a200
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov rcx, qword [0x140050c08]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140050bf0]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x140050c08]
mov rax, qword [rcx]
lea r8, [rbp + 0x28]
mov rdx, qword [0x140050bf0]
call qword [rax + 0x190]
mov rax, qword [0x140050bb8]
mov rcx, qword [rax + 0x4b28]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r14
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.14002d6a0
mov rcx, qword [0x140050bf8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
jmp 0x14003e4b0
mov rbx, qword [0x140050bb8]
test rbx, rbx
je 0x14003e6d5
mov rdi, qword [rbx + 0x98]
jmp 0x14003e6d8
mov rdi, r14
call fcn.14002e6d0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003e6ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003e6fa
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003e709
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x140050bb8]
test r8, r8
je 0x14003e787
mov r9d, dword [r8 + 0x3f68]
movsx rdx, word [r8 + 0x60e8]
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14003e77c
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x140050bb8]
test r8, r8
je 0x14003e7a5
mov rdi, qword [r8 + 0x90]
jmp 0x14003e7a8
mov rdi, r14
lea rbx, [r8 + 8]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14003e7c2
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x140050bb8]
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
and dword [rbx + 4], 0xfffffff8
test r8, r8
je 0x14003e836
mov r9d, dword [r8 + 0x3f68]
movsx rdx, word [r8 + 0x60e8]
lea rcx, [rdx*8 + 0x60ec]
add rcx, r8
cmp dword [rcx], r9d
je 0x14003e82b
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60ec]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140050bb8]
mov qword [0x140050bb8], rbx
call fcn.140005f60
mov qword [0x140050bb8], r14
test rbx, rbx
je 0x14003e8dc
mov rcx, rbx
call fcn.14001d0b0
mov r8, qword [0x140050bb8]
test r8, r8
je 0x14003e8d3
mov r9d, dword [r8 + 0x3f68]
movsx r10, word [r8 + 0x60e8]
lea rdx, [r8 + 0x60ec]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14003e8c8
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rdx, [r8 + 0x60ec]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r14d
inc word [rdx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14003e930
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x14003e8f1
call fcn.14003e930
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14003ea70
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret