Function at 0x180023300
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18008a040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [0x1800d9728]
test rax, rax
je 0x180023348
inc dword [rax + 0x3b0]
mov ecx, 0x3e50
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
xor r12d, r12d
test rax, rax
je 0x18002337b
xor edx, edx
mov rcx, rax
call fcn.18002baf0
jmp 0x18002337e
mov rax, r12
cmp qword [0x1800d9728], 0
jne 0x18002338f
mov qword [0x1800d9728], rax
mov rcx, rax
call fcn.180031c50
mov r15, qword [0x1800d9728]
lea rbx, [0x18007d8f0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x18007db40]
mov r8d, 0x4d33c
lea rdx, [0x18008a100]
mov rcx, qword [r15 + 0xa8]
call fcn.180058fe0
mov qword [0x1800d97e0], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x18007db34]
mov r8d, 0x4d33c
lea rdx, [0x18008a100]
mov rcx, qword [r15 + 0xa8]
call fcn.180058fe0
mov qword [0x1800d97d8], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
movss xmm3, dword [0x18007db54]
mov r8d, 0xfa0
lea rdx, [0x1800d7520]
mov rcx, qword [r15 + 0xa8]
call fcn.180058fe0
mov qword [0x1800d97d0], rax
mov qword [r15 + 0x20], r12
or dword [r15 + 8], 0x400
xor ecx, ecx
call fcn.180054cf0
call fcn.18005e850
mov rcx, qword [0x1800d96f0]
mov rbx, qword [0x1800d9728]
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
or dword [rbx + 0xc], 0x1008
mov qword [0x1800d9760], rcx
mov rax, qword [rcx]
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x1800234d9
mov rax, qword [0x1800d9728]
lea rcx, [fcn.18005e520]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.18005e5f0]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x18005e670]
mov qword [rax + 0x1600], rcx
lea rcx, [0x18005e6d0]
mov qword [rax + 0x1608], rcx
lea rcx, [0x18005e820]
mov qword [rax + 0x1610], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movss xmm6, dword [0x18007dab0]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x18002353a
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x18002389e
mov ecx, dword [0x1800d7440]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180023558
cmp byte [0x1800d84c0], 0
sete byte [0x1800d84c0]
mov ecx, dword [0x18008a0d4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x180023969
cmp qword [0x1800d9750], 0
jne 0x18002357b
call fcn.18005e270
mov rbx, qword [0x1800d9728]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1800d9778]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [0x1800d88c1], 0
je 0x180023615
mov rdi, qword [0x1800d9728]
mov ecx, dword [rdi + 0x161c]
test ecx, ecx
jns 0x1800235f3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r12d
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x1618]
call fcn.18004cf20
mov dword [rdi + 0x1618], r12d
xor r9d, r9d
lea r8, [0x18005f1f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [0x1800d88c1], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
sub rax, qword [0x1800d9780]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1800d9788]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [0x1800d9780], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13c], al
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13d], al
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13e], al
mov byte [rbx + 0x13f], 0
call fcn.18005ed30
cmp byte [rbx + 0xd0], 0
je 0x1800236b1
mov eax, 0xffffffff
jmp 0x1800236be
mov rax, qword [0x1800d9728]
mov eax, dword [rax + 0x1ef8]
cmp dword [0x1800d88c4], eax
je 0x1800236d1
mov dword [0x1800d88c4], eax
call fcn.18005ebb0
call fcn.18005ef40
call fcn.180030e00
cmp byte [0x1800d84c0], 0
je 0x1800236e9
call fcn.180022640
call fcn.180032fe0
mov rcx, qword [0x1800d96f0]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r12d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r12d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1800d96f0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x180023767
call fcn.1800334d0
mov rax, qword [0x1800d9728]
mov rcx, qword [rax + 0x1d48]
mov rax, qword [rcx]
add rax, 0xb0
mov rcx, r12
cmp byte [rax], cl
cmovne rcx, rax
call fcn.18005dc90
mov rcx, qword [0x1800d96f0]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r15 + 8], 0x400
je 0x180023845
call fcn.180043910
mov rbx, qword [0x1800d9728]
mov ebp, 1
mov eax, dword [rbx + 0x1630]
cmp eax, ebp
jle 0x1800237e7
mov esi, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x1638]
mov rdi, qword [rsi + rax]
test byte [rdi + 4], 0x80
jne 0x1800237d7
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x1800237c4
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x1800237d7
xor edx, edx
mov rcx, rdi
call rax
inc ebp
add rsi, 8
mov eax, dword [rbx + 0x1630]
cmp ebp, eax
jl 0x1800237a0
mov ebp, 1
cmp eax, ebp
jle 0x180023845
mov esi, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x1638]
mov rdi, qword [rsi + rax]
test byte [rdi + 4], 0x80
jne 0x180023837
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x180023824
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x180023837
xor edx, edx
mov rcx, rdi
call rax
inc ebp
add rsi, 8
cmp ebp, dword [rbx + 0x1630]
jl 0x180023800
mov rcx, qword [0x1800d96f0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x18002389e
mov rcx, qword [0x1800d96f0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x18002389e
call fcn.18005e440
mov rcx, qword [0x1800d96f0]
mov rax, qword [rcx]
lea rdx, [0x1800d96b0]
call qword [rax + 0x80]
call fcn.18005e270
cmp dword [rsp + 0x70], 0x12
jne 0x180023500
call fcn.180043ef0
call fcn.18005e440
mov rcx, qword [0x1800d9760]
test rcx, rcx
je 0x1800238cc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1800d9760], 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]
mov qword [0x1800d9778], r12
mov rbx, qword [0x1800d9728]
mov rcx, rbx
call fcn.180031f90
cmp qword [0x1800d9728], rbx
jne 0x18002390a
mov qword [0x1800d9728], r12
test rbx, rbx
je 0x180023932
mov rcx, rbx
call fcn.18004d9a0
mov rax, qword [0x1800d9728]
test rax, rax
je 0x180023929
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800717c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]