Function at 0x18001b440
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 r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1801593f0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
cmp byte [0x1801a8838], 0
je 0x18001b668
cmp qword [0x1801a88a0], 0
jne 0x18001b49b
call fcn.18004f340
mov rdi, qword [0x1801a7f28]
lea rdx, [rbp + 0xa8]
mov rcx, qword [0x1801a88d8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0xb0]
sub eax, dword [rbp + 0xa8]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp + 0xb4]
sub eax, dword [rbp + 0xac]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 8]
mov rax, rcx
sub rax, qword [0x1801a88e0]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1801a88e8]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1801a88e0], 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 [0x1801a7f28]
lea rbx, [rcx + 0xe08]
cmp byte [rcx + 0xdb], 0
je 0x18001b5c0
cvttss2si eax, dword [rbx]
mov dword [rbp + 0xa0], eax
cvttss2si eax, dword [rcx + 0xe0c]
mov dword [rbp + 0xa4], eax
lea rdx, [rbp + 0xa0]
mov rcx, qword [0x1801a88d8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0xa4]
mov ecx, dword [rbp + 0xa0]
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 0x18001b62d
mov rdx, qword [0x1801a88d8]
cmp rax, rdx
je 0x18001b5f1
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18001b62d
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18001b62d
lea rdx, [rbp]
mov rcx, qword [0x1801a88d8]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18001b62d
movd xmm0, dword [rbp]
cvtdq2ps xmm0, xmm0
movd xmm1, dword [rbp + 4]
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x78], 0
je 0x18001b63c
mov rcx, 0xffffffffffffffff
jmp 0x18001b649
mov rax, qword [0x1801a7f28]
mov ecx, dword [rax + 0x4a70]
cmp dword [0x1801a59b4], ecx
je 0x18001b65c
mov dword [0x1801a59b4], ecx
call fcn.18004f790
call fcn.180026360
mov al, 1
jmp 0x18001c019
mov rsi, qword [0x1801a7ed0]
mov rax, qword [rsi]
lea r8, [rbp + 0xa0]
lea rdx, [0x180134528]
mov rcx, rsi
call qword [rax + 0x38]
test eax, eax
js 0x18001c017
mov rax, qword [rsi]
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x40]
mov qword [0x1801a8840], rcx
cmp qword [0x1801a8850], 0
jne 0x18001b6c9
lea r8, [0x18001b1c0]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x1801a8850], rax
mov eax, dword [rbp + 0x38]
mov dword [0x1801a883c], eax
call fcn.18001df90
mov r8d, dword [0x1801a883c]
mov rbx, qword [0x1801a8868]
mov rcx, rbx
mov r10, qword [0x1801a8860]
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 0x18001b761
lea rax, [r8 + r8*2]
lea r14, [r10 + rax*8]
mov rdi, r14
cmp r14, rbx
je 0x18001b758
nop dword [rax + rax]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18001b740
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x18001b74f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
add rdi, 0x18
cmp rdi, rbx
jne 0x18001b730
mov qword [0x1801a8868], r14
jmp 0x18001b7bc
jbe 0x18001b7bc
mov rcx, qword [0x1801a8870]
sub rcx, r10
mov rax, r11
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jbe 0x18001b790
mov rdx, r8
call fcn.18001f6c0
jmp 0x18001b7bc
sub r8, r9
je 0x18001b7b5
nop word [rax + rax]
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov qword [rbx + 8], r15
add rbx, 0x18
sub r8, 1
jne 0x18001b7a0
mov qword [0x1801a8868], rbx
mov qword [rbp + 0xb0], 1
mov dword [rbp + 0xa8], r15d
mov eax, dword [0x1801a883c]
mov dword [rbp + 0xac], eax
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
lea r9, [0x1801a8148]
lea r8, [0x180134518]
lea rdx, [rbp + 0xa8]
call qword [rax + 0x70]
test eax, eax
jne 0x18001c017
mov dword [rbp + 0xa8], 2
mov eax, dword [0x1801a883c]
mov dword [rbp + 0xac], eax
mov dword [rbp + 0xb0], r15d
mov dword [rbp + 0xb4], 1
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
lea r9, [0x1801a85b8]
lea r8, [0x180134518]
lea rdx, [rbp + 0xa8]
call qword [rax + 0x70]
test eax, eax
jne 0x18001c017
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
mov edx, 2
call qword [rax + 0x78]
mov ebx, eax
mov rcx, qword [0x1801a85b8]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x48]
lea rdx, [rbp]
call r8
mov edi, r15d
cmp dword [0x1801a883c], r15d
jbe 0x18001b904
mov r14d, ebx
mov rax, qword [rbp]
mov ecx, edi
lea rbx, [rcx + rcx*2]
mov rcx, qword [0x1801a8860]
mov qword [rcx + rbx*8 + 0x10], rax
mov rax, qword [rsi]
mov r10, qword [rax + 0x48]
mov r9, qword [0x1801a8860]
add r9, 8
lea r9, [r9 + rbx*8]
lea r8, [0x180134588]
mov edx, edi
mov rcx, rsi
call r10
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
mov r10, qword [rax + 0xa0]
mov rax, qword [0x1801a8860]
mov r9, qword [rbp]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 8]
call r10
mov rax, qword [rbp]
add rax, r14
mov qword [rbp], rax
inc edi
cmp edi, dword [0x1801a883c]
jb 0x18001b891
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
lea r9, [rbp + 8]
lea r8, [0x1801345a8]
xor edx, edx
call qword [rax + 0x48]
test eax, eax
jne 0x18001c017
mov rbx, r15
cmp dword [0x1801a883c], r15d
jbe 0x18001b97e
mov rdi, r15
nop word [rax + rax]
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
mov r10, qword [rax + 0x48]
mov r9, qword [0x1801a8860]
add r9, rdi
lea r8, [0x1801345a8]
xor edx, edx
call r10
test eax, eax
jne 0x18001c017
inc rbx
add rdi, 0x18
mov eax, dword [0x1801a883c]
cmp rbx, rax
jb 0x18001b940
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
mov r10, qword [rax + 0x60]
mov rax, qword [0x1801a8860]
lea rdx, [0x1801a8168]
mov qword [rsp + 0x30], rdx
lea rdx, [0x180134578]
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 0x18001c017
mov rcx, qword [0x1801a8168]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jne 0x18001c017
mov rbx, qword [0x1801a7f28]
test rbx, rbx
je 0x18001b9ea
inc dword [rbx + 0xf4]
mov ecx, 0x5e30
call fcn.1800b3b00
mov qword [rbp + 8], rax
lea rcx, [rsp + 0x40]
mov qword [rbp], rcx
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x18001ba19
xor edx, edx
mov rcx, rax
call fcn.1800209c0
jmp 0x18001ba1c
mov rax, r15
mov qword [0x1801a7f28], rax
call fcn.180024850
mov rax, qword [0x1801a7f28]
test rbx, rbx
cmovne rax, rbx
mov qword [0x1801a7f28], rax
xorps xmm7, xmm7
xor eax, eax
movups xmmword [rbp + 0x10], xmm7
movups xmmword [rbp + 0x20], xmm7
movups xmmword [rbp + 0x30], xmm7
movups xmmword [rbp + 0x50], xmm7
movups xmmword [rbp + 0x60], xmm7
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x1c], 1
movss xmm0, dword [0x1801448ec]
movss dword [rbp + 0x54], xmm0
mov eax, 0xffff
mov word [rbp + 0x64], ax
mov byte [rbp + 0x30], 0
mov dword [rbp + 0x28], 5
mov dword [rbp + 0x2c], 5
movss xmm0, dword [0x180144608]
movss dword [rbp + 0x60], xmm0
xor ecx, ecx
call fcn.1800415a0
mov rbx, qword [0x1801a8840]
lea rcx, [0x1801a88e8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18001bbd1
lea rcx, [0x1801a88e0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18001bbd1
mov qword [0x1801a88d8], rbx
mov rax, qword [0x1801a7f28]
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 [0x1801a8148]
mov rax, qword [rcx]
lea rdx, [rbp + 0xa8]
call qword [rax + 0x50]
mov rbx, qword [rax]
mov rcx, qword [0x1801a8148]
mov rax, qword [rcx]
lea rdx, [rbp + 8]
call qword [rax + 0x48]
mov rax, qword [rax]
movsxd rdi, dword [0x1801a883c]
mov rdx, qword [rbp + 0xa0]
mov rcx, qword [0x1801a7f28]
lea r8, str.imgui_impl_dx12
mov qword [rcx + 0x90], r8
or dword [rcx + 0xc], 8
mov qword [0x1801a88c0], rdx
mov dword [0x1801a88b8], 0x1c
mov qword [0x1801a8898], rax
mov qword [0x1801a88b0], rbx
mov eax, 0x18
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18009d6d0
mov qword [0x1801a88c8], rax
mov dword [0x1801a88bc], edi
mov dword [0x1801a59b0], 0xffffffff
mov rcx, rdi
test edi, edi
jle 0x18001bc9f
add rax, 0x10
nop
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 0x18001bc80
mov rbx, qword [0x1801a7f28]
movabs rax, 0xd71497b163ef12d8
mov qword [rsp + 0x50], rax
movabs rax, 0x41db3a7e6f42173b
mov qword [rsp + 0x58], rax
movabs r13, 0xefdcee9589d4b401
mov qword [rsp + 0x60], r13
movabs r12, 0x978af16bb33bfcb2
mov qword [rsp + 0x68], r12
movabs r15, 0xb870f9d834b3289b
mov qword [rbp + 0xc0], r15
movabs r14, 0x32af5411291e644c
mov qword [rbp + 0xc8], r14
movabs rsi, 0xc1bd83fae1b5e05d
mov qword [rbp + 0xd0], rsi
movabs rdi, 0x978af16bb35d88c6
mov qword [rbp + 0xd8], rdi
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rbp + 0xd0]
movdqa xmmword [rsp + 0x60], xmm1
movss xmm2, dword [0x18014472c]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.180048cb0
movabs rax, 0xd71497b163ef12d8
mov qword [rsp + 0x50], rax
movabs rax, 0x41db3a7e6f42173b
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r12
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], rdi
movdqa xmm0, xmmword [rbp + 0xc0]
pxor xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
pxor xmm1, xmmword [rbp + 0xd0]
movdqa xmmword [rsp + 0x60], xmm1
movss xmm6, dword [0x180144738]
movaps xmm2, xmm6
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x58]
call fcn.180048cb0
mov qword [0x1801a7f40], rax
lea rdi, [0x1801355c0]
mov qword [rsp + 0x28], rdi
xor esi, esi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180144728]
mov r8d, 0xf428
lea rdx, str.OTTO
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180144750]
mov r8d, 0xf850
lea rdx, [0x18015be20]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180144714]
mov r8d, 0xf428
lea rdx, str.OTTO
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180144734]
mov r8d, 0x1de0
lea rdx, [0x18015a040]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movaps xmm3, xmm6
mov r8d, 0x13dc
lea rdx, [0x18017be80]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [0x1801a7f50], rax
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm7
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm7
movups xmmword [rbp - 0x20], xmm7
movsd xmm0, qword [rbp + 0x90]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1801a35d0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x1d14
movss xmm0, dword [0x180144768]
movss dword [rbp - 0x7c], xmm0
lea rax, [0x1801345b8]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 0x58]
call fcn.1800489f0
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movaps xmm3, xmm6
mov r8d, 0x26368
lea rdx, [0x18017d260]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movaps xmm3, xmm6
mov r8d, 0x26368
lea rdx, [0x18017d260]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movaps xmm3, xmm6
mov r8d, 0x13dc
lea rdx, [0x18017aaa0]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x180144724]
mov r8d, 0x13dc
lea rdx, [0x18017aaa0]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov qword [0x1801a7f48], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x18014478c]
mov r8d, 0x26368
lea rdx, [0x18017d260]
mov rcx, qword [rbx + 0x58]
call fcn.180048f10
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov byte [0x1801a8838], 1
mov al, 1
jmp 0x18001c019
xor al, al
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.18009d2c0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret