Function at 0x1800019b8
Capabilities:
Encode data using xor

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 - 0x38]
sub rsp, 0x120
mov rax, qword [0x18003b010]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rax, qword [0x18003b940]
xor r15d, r15d
test rax, rax
je 0x1800019fa
inc dword [rax + 0x3c0]
mov ecx, 0x3d68
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 + 8], rcx
mov qword [rbp], rax
test rax, rax
je 0x180001a28
mov rcx, rax
call fcn.180006d64
mov rdi, rax
jmp 0x180001a2b
mov rdi, r15
mov rbx, qword [0x18003b940]
test rbx, rbx
jne 0x180001a41
mov rbx, rdi
mov qword [0x18003b940], rbx
mov dword [rsp + 0x3c], r15d
mov qword [rsp + 0x58], r15
lea rax, [0x18002948c]
mov qword [rsp + 0x30], rax
xor r8d, r8d
xor edx, edx
lea rcx, [0x180029494]
call fcn.180007c78
mov dword [rsp + 0x38], eax
lea rax, [0x180014fc8]
mov qword [rsp + 0x40], rax
lea rax, [0x180014ff8]
mov qword [rsp + 0x48], rax
lea rax, [0x1800150cc]
mov qword [rsp + 0x50], rax
mov esi, dword [rdi + 0x2f10]
mov ecx, dword [rdi + 0x2f14]
cmp esi, ecx
jne 0x180001b37
inc esi
test ecx, ecx
je 0x180001ab5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180001aba
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x180001b37
test rbx, rbx
je 0x180001ace
inc dword [rbx + 0x3c0]
movsxd rax, esi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov rbx, qword [rdi + 0x2f18]
test rbx, rbx
je 0x180001b23
movsxd rcx, dword [rdi + 0x2f10]
lea r8, [rcx + rcx*2]
shl r8, 4
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x18003b940]
test rax, rax
je 0x180001b1a
dec dword [rax + 0x3c0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x2f18], r14
mov dword [rdi + 0x2f14], esi
mov rbx, qword [0x18003b940]
movsxd rax, dword [rdi + 0x2f10]
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [rdi + 0x2f18]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + rcx*8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rdi + 0x2f10]
mov byte [rdi], 1
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], r15d
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x80], r15d
and dword [rbp - 0x7c], 0
and dword [rbp - 0x6c], 0
and dword [rbp - 0x68], 0
and dword [rbp - 0x64], 0
and dword [rbp - 0x60], 0
mov qword [rbp - 0x58], r15
and dword [rbp - 0x50], 0
mov dword [rbp - 0x4c], 0x7f7fffff
mov byte [rbp - 0x48], r15b
mov dword [rbp - 0x44], r15d
mov dword [rbp - 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x3c], ax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3a], xmm0
movups xmmword [rbp - 0x2a], xmm0
mov qword [rbp - 0x1a], rax
mov qword [rbp - 0x10], r15
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 1
mov byte [rbp - 0x70], 1
movdqa xmm0, xmmword [str.r1H._e]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x13262e01
mov dword [rsp + 0x44], 0x131f1d1a
mov dword [rsp + 0x48], 0x1406065c
mov byte [rsp + 0x4c], al
mov rcx, r15
mov al, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
inc rcx
cmp rcx, 0x1b
jb 0x180001c1c
mov byte [rsp + 0x4c], r15b
lea rax, [0x180037e80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
movss xmm2, dword [0x180037fb8]
lea rdx, [rsp + 0x31]
mov rcx, qword [rbx + 0xa8]
call fcn.18001eabc
movdqa xmm0, xmmword [0x180038130]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x20337d21
mov dword [rsp + 0x44], 0x7c3e333b
mov dword [rsp + 0x48], 0x342626
mov rcx, r15
mov al, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
inc rcx
cmp rcx, 0x1a
jb 0x180001c85
mov byte [rsp + 0x4b], r15b
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x180037fb8]
lea rdx, [rsp + 0x31]
mov rcx, qword [rbx + 0xa8]
call fcn.18001eabc
mov qword [0x18003b8c8], rax
movdqa xmm0, xmmword [0x180038290]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x62713f63
mov dword [rsp + 0x44], 0x3e7c7179
mov dword [rsp + 0x48], 0x766464
mov rcx, r15
mov al, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
inc rcx
cmp rcx, 0x1a
jb 0x180001cec
mov byte [rsp + 0x4b], r15b
mov qword [rsp + 0x20], r15
xor r9d, r9d
movss xmm2, dword [0x180037fc4]
lea rdx, [rsp + 0x31]
mov rcx, qword [rbx + 0xa8]
call fcn.18001eabc
mov rbx, qword [0x18003b940]
xor ecx, ecx
call fcn.18001b29c
mov qword [rbx + 0x1568], 0x3f800000
mov eax, 0x40a00000
mov dword [rbx + 0x1574], eax
mov ecx, 0x40800000
mov dword [rbx + 0x15a0], ecx
mov dword [rbx + 0x15a4], 0x40400000
mov dword [rbx + 0x1570], r15d
mov dword [rbx + 0x15b8], ecx
mov dword [rbx + 0x15bc], ecx
mov dword [rbx + 0x15b0], 0x41000000
mov dword [rbx + 0x15b4], eax
mov eax, 0x41400000
mov dword [rbx + 0x15a8], eax
mov dword [rbx + 0x15d0], 0x40000000
mov dword [rbx + 0x15d4], eax
mov dword [rbx + 0x1598], ecx
mov rbx, qword [0x18003b8e8]
lea rcx, [0x18003ba58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180001ea0
lea rcx, [0x18003ba50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180001ea0
mov qword [0x18003ba48], rbx
mov rax, qword [0x18003b940]
or dword [rax + 0xc], 6
lea rcx, str.imgui_impl_win32
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x120], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov ecx, 0xd
mov dword [rax + 0x70], ecx
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], ecx
mov dword [rax + 0x7c], 0x41
mov dword [rax + 0x80], 0x43
mov dword [rax + 0x84], 0x56
mov dword [rax + 0x88], 0x58
mov dword [rax + 0x8c], 0x59
mov dword [rax + 0x90], 0x5a
jmp 0x180001ea7
mov rax, qword [0x18003b940]
mov rdi, qword [0x18003b8e0]
mov rbx, qword [0x18003b928]
lea rcx, str.imgui_impl_dx11
mov qword [rax + 0xe0], rcx
or dword [rax + 0xc], 8
mov qword [rbp], r15
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
mov rax, qword [rbx]
lea r8, [rbp]
lea rdx, [0x180037eb8]
mov rcx, rbx
call qword [rax]
test eax, eax
jne 0x180001f2a
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x180037ec8]
call qword [rax + 0x30]
test eax, eax
jne 0x180001f2a
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
lea rdx, [0x180037ed8]
call qword [rax + 0x30]
test eax, eax
jne 0x180001f2a
mov qword [0x18003ba20], rbx
mov qword [0x18003ba38], rdi
mov rcx, qword [rbp]
test rcx, rcx
je 0x180001f39
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x180001f48
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x18003ba20]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x18003ba38]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1800266a0
lea r11, [rsp + 0x120]
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