Function at 0x1800037e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x240
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x180079010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, rcx
mov rax, qword [rcx]
lea r8, [0x18007f7e0]
lea rdx, [0x18006aaa0]
call qword [rax + 0x38]
test eax, eax
js 0x1800040ed
mov rcx, qword [0x18007f7e0]
mov rax, qword [rcx]
lea rdx, [0x18007f7b8]
call qword [rax + 0x140]
mov rax, qword [rbx]
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call qword [rax + 0x60]
mov rax, qword [rbp + 0xe0]
mov qword [0x18007f7c0], rax
mov rax, qword [rbx]
lea r9, [rbp + 0xa0]
lea r8, [0x18006ab30]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
mov rcx, qword [0x18007f7e0]
mov rax, qword [rcx]
lea r9, [0x18007f788]
xor r8d, r8d
mov rdx, qword [rbp + 0xa0]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r8, [0x180003450]
mov edx, 0xfffffffc
mov rcx, qword [0x18007f7c0]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x18007f7c8], rax
mov rax, qword [0x18007f888]
test rax, rax
je 0x1800038ea
inc dword [rax + 0x3bc]
mov ecx, 0x3d68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x90], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x80], rax
xor r15d, r15d
test rax, rax
je 0x180003921
mov rcx, rax
call fcn.180011190
jmp 0x180003924
mov rax, r15
cmp qword [0x18007f888], 0
jne 0x180003935
mov qword [0x18007f888], rax
mov rcx, rax
call fcn.180016f80
mov rbx, qword [0x18007f888]
movups xmm0, xmmword [0x18006aae0]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x18006aaf0]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x18006aaf8]
mov dword [rbp - 0x18], eax
mov esi, 5
lea r14d, [rsi + 0x1a]
mov edi, dword [0x180079018]
cmp byte [0x18006aafb], 0
je 0x180003b10
mov ecx, r15d
cmp edi, 2
jl 0x180003ad8
movdqa xmm5, xmmword [0x18006d2b0]
movdqa xmm4, xmmword [0x18006d440]
movd xmm6, esi
movdqa xmm7, xmmword [0x18006d2f0]
movd xmm8, r14d
movdqa xmm0, xmmword [0x18006d320]
movdqa xmmword [rbp + 0x90], xmm0
lea rdx, [rbp - 0x2c]
mov r8d, dword [rbp + 0x90]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18006d300]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18006d300]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x1800039d0
cmp ecx, 0x1c
jge 0x180003b10
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x180003ae2
movss xmm2, dword [0x18006d0dc]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0xa8]
call fcn.18002f680
movups xmm0, xmmword [0x18006aae0]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x18006aaf0]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x18006aaf8]
mov dword [rbp - 0x18], eax
cmp byte [0x18006aafb], 0
je 0x180003ce0
mov ecx, r15d
cmp edi, 2
jl 0x180003ca8
movdqa xmm5, xmmword [0x18006d2b0]
movdqa xmm4, xmmword [0x18006d440]
movd xmm6, esi
movdqa xmm7, xmmword [0x18006d2f0]
movd xmm8, r14d
movdqa xmm0, xmmword [0x18006d320]
movdqa xmmword [rbp + 0x90], xmm0
lea rdx, [rbp - 0x2c]
mov r8d, dword [rbp + 0x90]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18006d300]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18006d300]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x180003ba0
cmp ecx, 0x1c
jge 0x180003ce0
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x180003cb2
movss xmm2, dword [0x18006d0d0]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0xa8]
call fcn.18002f680
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov byte [rsp + 0x4c], 1
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 1
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x64], 0
mov qword [rsp + 0x6c], 0
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], 0
mov dword [rbp - 0x7c], 0x7f7fffff
mov byte [rbp - 0x78], 0
mov dword [rbp - 0x74], r15d
mov dword [rbp - 0x70], 0x3f800000
mov r14d, 0xffff
mov word [rbp - 0x6c], r14w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6a], xmm0
movups xmmword [rbp - 0x5a], xmm0
mov qword [rbp - 0x4a], rax
mov qword [rbp - 0x40], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x70], xmm0
lea rsi, [0x1800792b0]
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], 0x51cc
mov dword [rbp + 4], 0x41c80000
lea rdi, [0x18006ab20]
mov qword [rbp + 0x28], rdi
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0xa8]
call fcn.18002f3d0
mov qword [0x18007f8b0], rax
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov byte [rsp + 0x4c], 1
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 1
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x64], 0
mov qword [rsp + 0x6c], 0
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], 0
mov dword [rbp - 0x7c], 0x7f7fffff
mov byte [rbp - 0x78], 0
mov dword [rbp - 0x74], r15d
mov dword [rbp - 0x70], 0x3f800000
mov word [rbp - 0x6c], r14w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6a], xmm0
movups xmmword [rbp - 0x5a], xmm0
mov qword [rbp - 0x4a], rax
mov qword [rbp - 0x40], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x70], xmm0
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], 0x51cc
mov dword [rbp + 4], 0x41500000
mov qword [rbp + 0x28], rdi
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0xa8]
call fcn.18002f3d0
mov qword [0x18007f8c0], rax
mov dword [rbx + 8], 0x20
call fcn.18002c380
mov rdx, qword [0x18007f888]
mov dword [rdx + 0x1564], r15d
mov rbx, qword [0x18007f7c0]
lea rcx, [0x18007fa38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18000400d
lea rcx, [0x18007fa30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18000400d
mov qword [0x18007fa28], rbx
mov rax, qword [0x18007f888]
or dword [rax + 0xc], 6
lea rcx, [0x18006bca8]
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 dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0xd
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 0x180004014
mov rax, qword [0x18007f888]
mov rdi, qword [0x18007f7b8]
mov rbx, qword [0x18007f7e0]
lea rcx, str.imgui_impl_dx11
mov qword [rax + 0xe0], rcx
or dword [rax + 0xc], 8
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], r15
mov rax, qword [rbx]
lea r8, [rbp + 0x80]
lea rdx, [0x18006bc78]
mov rcx, rbx
call qword [rax]
test eax, eax
jne 0x1800040af
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
lea rdx, [0x18006bc88]
call qword [rax + 0x30]
test eax, eax
jne 0x1800040af
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
lea rdx, [0x18006bc98]
call qword [rax + 0x30]
test eax, eax
jne 0x1800040af
mov qword [0x18007fa00], rbx
mov qword [0x18007fa18], rdi
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1800040c1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x1800040d3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x18007fa00]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x18007fa18]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180061490
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret