Function at 0x1800163e0
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x210
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
mov rax, qword [0x18014a3c0]
xor rax, rsp
mov qword [rbp + 0x98], rax
cmp byte [0x18025e318], 0
je 0x180016620
cmp qword [0x18025e380], 0
jne 0x180016453
call fcn.180045330
mov rdi, qword [0x18025da68]
lea rdx, [rbp + 0x88]
mov rcx, qword [0x18025e3b8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x90]
sub eax, dword [rbp + 0x88]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp + 0x94]
sub eax, dword [rbp + 0x8c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
sub rax, qword [0x18025e3c0]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x18025e3c8]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x18025e3c0], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe20], al
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe21], al
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe22], al
mov byte [rdi + 0xe23], 0
mov rcx, qword [0x18025da68]
lea rbx, [rcx + 0xe08]
cmp byte [rcx + 0xdb], 0
je 0x180016578
cvttss2si eax, dword [rbx]
mov dword [rbp + 0x80], eax
cvttss2si eax, dword [rcx + 0xe0c]
mov dword [rbp + 0x84], eax
lea rdx, [rbp + 0x80]
mov rcx, qword [0x18025e3b8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x84]
mov ecx, dword [rbp + 0x80]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1800165e5
mov rdx, qword [0x18025e3b8]
cmp rax, rdx
je 0x1800165a9
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1800165e5
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1800165e5
lea rdx, [rbp - 0x20]
mov rcx, qword [0x18025e3b8]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1800165e5
movd xmm0, dword [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movd xmm1, dword [rbp - 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x78], 0
je 0x1800165f4
mov rcx, 0xffffffffffffffff
jmp 0x180016601
mov rax, qword [0x18025da68]
mov ecx, dword [rax + 0x4a48]
cmp dword [0x18025b780], ecx
je 0x180016614
mov dword [0x18025b780], ecx
call fcn.180045790
call fcn.1800208e0
mov al, 1
jmp 0x180017051
mov rsi, qword [0x18025da10]
mov rax, qword [rsi]
lea r8, [rbp + 0x80]
lea rdx, [0x180123d80]
mov rcx, rsi
call qword [rax + 0x38]
test eax, eax
js 0x18001704f
mov rax, qword [rsi]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x20]
mov qword [0x18025e320], rcx
cmp qword [0x18025e330], 0
jne 0x180016681
lea r8, [0x180016190]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x18025e330], rax
mov eax, dword [rbp + 0x18]
mov dword [0x18025e31c], eax
call fcn.180019060
mov r8d, dword [0x18025e31c]
mov rbx, qword [0x18025e348]
mov rcx, rbx
mov r10, qword [0x18025e340]
sub rcx, r10
movabs r11, 0x2aaaaaaaaaaaaaab
mov rax, r11
imul rcx
mov r9, rdx
sar r9, 2
mov rax, r9
shr rax, 0x3f
add r9, rax
xor r15d, r15d
cmp r8, r9
jae 0x180016714
lea rax, [r8 + r8*2]
lea r14, [r10 + rax*8]
mov rdi, r14
cmp r14, rbx
je 0x18001670b
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800166f3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x180016702
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
add rdi, 0x18
cmp rdi, rbx
jne 0x1800166e3
mov qword [0x18025e348], r14
jmp 0x18001676c
jbe 0x18001676c
mov rcx, qword [0x18025e350]
sub rcx, r10
mov rax, r11
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jbe 0x180016743
mov rdx, r8
call fcn.18001a510
jmp 0x18001676c
sub r8, r9
je 0x180016765
nop dword [rax + rax]
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov qword [rbx + 8], r15
add rbx, 0x18
sub r8, 1
jne 0x180016750
mov qword [0x18025e348], rbx
mov qword [rbp + 0x90], 1
mov dword [rbp + 0x88], r15d
mov eax, dword [0x18025e31c]
mov dword [rbp + 0x8c], eax
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea r9, [0x18025dc98]
lea r8, [0x180123d70]
lea rdx, [rbp + 0x88]
call qword [rax + 0x70]
test eax, eax
jne 0x18001704f
mov dword [rbp + 0x88], 2
mov eax, dword [0x18025e31c]
mov dword [rbp + 0x8c], eax
mov dword [rbp + 0x90], r15d
mov dword [rbp + 0x94], 1
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea r9, [0x18025e108]
lea r8, [0x180123d70]
lea rdx, [rbp + 0x88]
call qword [rax + 0x70]
test eax, eax
jne 0x18001704f
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
mov edx, 2
call qword [rax + 0x78]
mov ebx, eax
mov rcx, qword [0x18025e108]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x48]
lea rdx, [rbp - 0x20]
call r8
mov edi, r15d
cmp dword [0x18025e31c], r15d
jbe 0x1800168c3
mov r14d, ebx
mov rax, qword [rbp - 0x20]
nop word [rax + rax]
mov ecx, edi
lea rbx, [rcx + rcx*2]
mov rcx, qword [0x18025e340]
mov qword [rcx + rbx*8 + 0x10], rax
mov rax, qword [rsi]
mov r10, qword [rax + 0x48]
mov r9, qword [0x18025e340]
add r9, 8
lea r9, [r9 + rbx*8]
lea r8, [0x180123de0]
mov edx, edi
mov rcx, rsi
call r10
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
mov r10, qword [rax + 0xa0]
mov rax, qword [0x18025e340]
mov r9, qword [rbp - 0x20]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 8]
call r10
mov rax, qword [rbp - 0x20]
add rax, r14
mov qword [rbp - 0x20], rax
inc edi
cmp edi, dword [0x18025e31c]
jb 0x180016850
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea r9, [rbp - 0x18]
lea r8, [0x180123e00]
xor edx, edx
call qword [rax + 0x48]
test eax, eax
jne 0x18001704f
mov rbx, r15
cmp dword [0x18025e31c], r15d
jbe 0x18001693e
mov rdi, r15
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
mov r10, qword [rax + 0x48]
mov r9, qword [0x18025e340]
add r9, rdi
lea r8, [0x180123e00]
xor edx, edx
call r10
test eax, eax
jne 0x18001704f
inc rbx
add rdi, 0x18
mov eax, dword [0x18025e31c]
cmp rbx, rax
jb 0x180016900
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
mov r10, qword [rax + 0x60]
mov rax, qword [0x18025e340]
lea rdx, [0x18025dcb8]
mov qword [rsp + 0x30], rdx
lea rdx, [0x180123dd0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r15
mov r9, qword [rax]
xor r8d, r8d
xor edx, edx
call r10
test eax, eax
jne 0x18001704f
mov rcx, qword [0x18025dcb8]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jne 0x18001704f
mov rbx, qword [0x18025da68]
test rbx, rbx
je 0x1800169aa
inc dword [rbx + 0xf4]
mov ecx, 0x5e20
call fcn.1800a6ad8
mov qword [rbp - 0x18], rax
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x20], rcx
mov qword [rbp + 0x88], rax
test rax, rax
je 0x1800169d9
xor edx, edx
mov rcx, rax
call fcn.18001b690
jmp 0x1800169dc
mov rax, r15
mov qword [0x18025da68], rax
call fcn.18001f1a0
test rbx, rbx
je 0x1800169f4
mov qword [0x18025da68], rbx
xor ecx, ecx
call fcn.18003b070
mov rbx, qword [0x18025e320]
lea rcx, [0x18025e3c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180016b2f
lea rcx, [0x18025e3c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180016b2f
mov qword [0x18025e3b8], rbx
mov rax, qword [0x18025da68]
or dword [rax + 0xc], 6
lea rcx, str.imgui_impl_win32
mov qword [rax + 0x88], rcx
mov qword [rax + 0xd0], rbx
mov dword [rax + 0x900], 9
mov dword [rax + 0x904], 0x25
mov dword [rax + 0x908], 0x27
mov dword [rax + 0x90c], 0x26
mov dword [rax + 0x910], 0x28
mov dword [rax + 0x914], 0x21
mov dword [rax + 0x918], 0x22
mov dword [rax + 0x91c], 0x24
mov dword [rax + 0x920], 0x23
mov dword [rax + 0x924], 0x2d
mov dword [rax + 0x928], 0x2e
mov dword [rax + 0x92c], 8
mov dword [rax + 0x930], 0x20
mov dword [rax + 0x934], 0xd
mov dword [rax + 0x938], 0x1b
mov dword [rax + 0xa9c], 0xd
mov dword [rax + 0x988], 0x41
mov dword [rax + 0x990], 0x43
mov dword [rax + 0x9dc], 0x56
mov dword [rax + 0x9e4], 0x58
mov dword [rax + 0x9e8], 0x59
mov dword [rax + 0x9ec], 0x5a
mov rcx, qword [0x18025dc98]
mov rax, qword [rcx]
lea rdx, [rbp + 0x88]
call qword [rax + 0x50]
mov rbx, qword [rax]
mov rcx, qword [0x18025dc98]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + 0x48]
mov rax, qword [rax]
movsxd rdi, dword [0x18025e31c]
mov rdx, qword [rbp + 0x80]
mov rcx, qword [0x18025da68]
lea r8, str.imgui_impl_dx12
mov qword [rcx + 0x90], r8
or dword [rcx + 0xc], 8
mov qword [0x18025e3a0], rdx
mov dword [0x18025e398], 0x1c
mov qword [0x18025e378], rax
mov qword [0x18025e390], rbx
mov eax, 0x18
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180090340
mov qword [0x18025e3a8], rax
mov dword [0x18025e39c], edi
mov dword [0x18025b77c], 0xffffffff
mov rcx, rdi
test edi, edi
jle 0x180016bff
add rax, 0x10
nop dword [rax]
mov qword [rax - 0x10], r15
mov qword [rax - 8], r15
mov dword [rax], 0x2710
mov dword [rax + 4], 0x1388
lea rax, [rax + 0x18]
sub rcx, 1
jne 0x180016be0
mov rbx, qword [0x18025da68]
xorps xmm12, xmm12
xor eax, eax
movups xmmword [rbp - 0x10], xmm12
movups xmmword [rbp], xmm12
movups xmmword [rbp + 0x10], xmm12
movups xmmword [rbp + 0x30], xmm12
movups xmmword [rbp + 0x40], xmm12
mov qword [rbp + 0x70], rax
mov byte [rbp - 4], 1
mov dword [rbp + 0x34], 0x7f7fffff
mov eax, 0xffff
mov word [rbp + 0x44], ax
mov byte [rbp + 0x10], 0
mov dword [rbp + 8], 5
mov dword [rbp + 0xc], 5
mov dword [rbp + 0x40], 0x3f99999a
movaps xmm11, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm11
movaps xmm10, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm10
movaps xmm9, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmm8, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm8
movaps xmm7, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd xmm6, qword [rbp + 0x70]
movsd qword [rbp - 0x30], xmm6
lea rsi, [0x1801e5060]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x1d4b0
mov dword [rsp + 0x64], 0x41800000
lea r14, [0x180123e10]
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
mov qword [0x18025daa0], rax
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x1d4b0
mov dword [rsp + 0x64], 0x41a00000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
lea rax, [0x18016bb00]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x20b0
mov dword [rsp + 0x64], 0x41b00000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
lea rax, [0x180254570]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x2fcc
mov dword [rsp + 0x64], 0x41b00000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
lea rdi, [0x18014b040]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x20ac0
mov dword [rsp + 0x64], 0x42c00000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
mov qword [0x18025da98], rax
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x20ac0
mov dword [rsp + 0x64], 0x41a00000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x1d4b0
mov dword [rsp + 0x64], 0x41400000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
lea rax, [0x180257540]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x3b74
mov dword [rsp + 0x64], 0x42100000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rbp - 0x80], xmm12
movaps xmmword [rbp - 0x70], xmm8
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm12
movaps xmmword [rbp - 0x40], xmm12
movsd qword [rbp - 0x30], xmm6
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 0x20ac0
mov dword [rsp + 0x64], 0x41700000
mov qword [rbp - 0x78], r14
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.18003ff30
lea rdi, [0x180124e50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x180133a58]
mov r8d, 0x25608
lea rdx, [0x1801bfa50]
mov rcx, qword [rbx + 0x58]
call fcn.180040200
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x180133a5c]
mov r8d, 0x5205c
lea rdx, str.OTTO
mov rcx, qword [rbx + 0x58]
call fcn.180040200
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x180133a64]
mov r8d, 0x51e98
lea rdx, [0x18016dbb0]
mov rcx, qword [rbx + 0x58]
call fcn.180040200
mov qword [0x18025da90], rax
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov byte [0x18025e318], 1
mov al, 1
jmp 0x180017051
xor al, al
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.18008ff40
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop rbp
ret