Function at 0x180003720
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, [0x18007f730]
lea rdx, [0x18006ab40]
call qword [rax + 0x38]
test eax, eax
js 0x180004029
mov rcx, qword [0x18007f730]
mov rax, qword [rcx]
lea rdx, [0x18007f708]
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 [0x18007f710], rax
mov rax, qword [rbx]
lea r9, [rbp + 0xa0]
lea r8, [0x18006ac28]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
mov rcx, qword [0x18007f730]
mov rax, qword [rcx]
lea r9, [0x18007f6d8]
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, [0x180003390]
mov edx, 0xfffffffc
mov rcx, qword [0x18007f710]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x18007f718], rax
mov rax, qword [0x18007f7d8]
test rax, rax
je 0x18000382a
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 0x180003861
mov rcx, rax
call fcn.180011990
jmp 0x180003864
mov rax, r15
cmp qword [0x18007f7d8], 0
jne 0x180003875
mov qword [0x18007f7d8], rax
mov rcx, rax
call fcn.180017780
mov rbx, qword [0x18007f7d8]
movups xmm0, xmmword [0x18006ab70]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x18006ab80]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x18006ab88]
mov dword [rbp - 0x18], eax
mov esi, 4
lea r14d, [rsi + 0x1b]
mov edi, dword [0x180079018]
cmp byte [0x18006ab8b], 0
je 0x180003a4c
mov ecx, r15d
cmp edi, 2
jl 0x180003a10
movdqa xmm5, xmmword [0x18006d3c0]
movdqa xmm4, xmmword [0x18006d510]
movd xmm6, esi
movdqa xmm7, xmmword [0x18006d3e0]
movd xmm8, r14d
movdqa xmm0, xmmword [0x18006d430]
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
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 [0x18006d410]
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
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 [0x18006d410]
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 0x180003910
cmp ecx, 0x1c
jge 0x180003a4c
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x180003a20
movss xmm2, dword [0x18006d1fc]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0xa8]
call fcn.18002fe80
movups xmm0, xmmword [0x18006ab70]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x18006ab80]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x18006ab88]
mov dword [rbp - 0x18], eax
cmp byte [0x18006ab8b], 0
je 0x180003c1c
mov ecx, r15d
cmp edi, 2
jl 0x180003be0
movdqa xmm5, xmmword [0x18006d3c0]
movdqa xmm4, xmmword [0x18006d510]
movd xmm6, esi
movdqa xmm7, xmmword [0x18006d3e0]
movd xmm8, r14d
movdqa xmm0, xmmword [0x18006d430]
movdqa xmmword [rbp + 0x90], xmm0
lea rdx, [rbp - 0x2c]
mov r8d, dword [rbp + 0x90]
nop word [rax + 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
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 [0x18006d410]
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
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 [0x18006d410]
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 0x180003ae0
cmp ecx, 0x1c
jge 0x180003c1c
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x180003bf0
movss xmm2, dword [0x18006d1f0]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbx + 0xa8]
call fcn.18002fe80
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, [0x180079290]
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], 0x51cc
mov dword [rbp + 4], 0x41c80000
lea rdi, [0x18006ac18]
mov qword [rbp + 0x28], rdi
lea rdx, [rbp - 0x10]
mov rcx, qword [rbx + 0xa8]
call fcn.18002fbd0
mov qword [0x18007f8d8], 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.18002fbd0
mov qword [0x18007f8e8], rax
mov dword [rbx + 8], 0x20
call fcn.18002cb80
mov rdx, qword [0x18007f7d8]
mov dword [rdx + 0x1564], r15d
mov rbx, qword [0x18007f710]
lea rcx, [0x18007fa58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180003f49
lea rcx, [0x18007fa50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180003f49
mov qword [0x18007fa48], rbx
mov rax, qword [0x18007f7d8]
or dword [rax + 0xc], 6
lea rcx, [0x18006bd88]
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 0x180003f50
mov rax, qword [0x18007f7d8]
mov rdi, qword [0x18007f708]
mov rbx, qword [0x18007f730]
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, [0x18006bd58]
mov rcx, rbx
call qword [rax]
test eax, eax
jne 0x180003feb
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
lea rdx, [0x18006bd68]
call qword [rax + 0x30]
test eax, eax
jne 0x180003feb
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
lea rdx, [0x18006bd78]
call qword [rax + 0x30]
test eax, eax
jne 0x180003feb
mov qword [0x18007fa20], rbx
mov qword [0x18007fa38], rdi
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x180003ffd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x18000400f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x18007fa20]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x18007fa38]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180061a00
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