Function at 0x140009ad0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rax, qword [0x140046a38]
movups xmm0, xmmword [str.BWZNPRD]
mov qword [r11 + 8], rbx
xor ebx, ebx
mov qword [r11 + 0x10], rsi
mov r8d, ebx
or dword [rax + 0x3f30], 2
mov qword [r11 + 0x18], rdi
mov dword [rax + 0x3f50], 0x43c80000
lea esi, [rbx + 5]
mov dword [rax + 0x3f54], 0x437a0000
mov dword [rax + 0x3f38], 1
mov eax, dword [0x140039d30]
mov edi, dword [0x140046018]
mov qword [r11 + 0x20], r14
lea r14d, [rbx + 0x1f]
mov dword [rbp - 1], eax
movzx eax, word [0x140039d34]
movaps xmmword [r11 - 0x18], xmm6
mov word [rbp + 3], ax
movzx eax, byte [0x140039d36]
movaps xmmword [r11 - 0x28], xmm7
mov byte [rbp + 5], al
movaps xmmword [r11 - 0x38], xmm8
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x140039d28]
movsd qword [rbp - 9], xmm0
cmp edi, 2
jl 0x140009ccc
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x14003eb50]
movdqa xmm4, xmmword [0x14003ece0]
movdqa xmm7, xmmword [0x14003eba0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movd xmm6, esi
movd xmm8, r14d
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14003ebb0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ebb0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140009bc0
cmp r8d, r14d
jge 0x140009d13
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, r14d
jl 0x140009ce0
xor edx, edx
lea rcx, [rbp - 0x19]
lea r8d, [rdx + 0x2b]
call fcn.1400158a0
mov rcx, qword [0x140046a38]
lea rdx, [rbp + 0x17]
movss xmm8, dword [0x14003ea54]
mov dword [rbp + 0x17], 0x42a00000
mov dword [rbp + 0x1b], 0x41d00000
mov rax, qword [rcx + 0x3e28]
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x3e28]
movzx ecx, word [0x140039cc8]
mov word [rbp + 0xb], cx
xor cl, 0x35
xor byte [rbp + 0xc], 0x36
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [rax + 0x5c]
movss xmm2, dword [rax + 0x14]
subss xmm2, dword [rax + 0x60]
mov byte [rbp + 0xb], cl
lea rcx, [rbp + 7]
addss xmm0, dword [0x14003ea44]
addss xmm2, xmm8
movss dword [rax + 0xd8], xmm0
movss dword [rax + 0xdc], xmm2
movss xmm1, dword [rax + 0xf0]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf4]
maxss xmm0, xmm2
movss dword [rax + 0xf0], xmm1
movss dword [rax + 0xf4], xmm0
mov eax, dword [str.r_VTB7]
mov dword [rbp + 7], eax
movzx eax, byte [0x140039cca]
xor byte [rbp + 8], 0x32
xor al, 0x37
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
mov byte [rbp + 0xd], al
mov byte [rbp + 7], 0x43
call fcn.140033f40
test al, al
je 0x140009dff
mov dword [0x140046b90], ebx
cmp byte [0x140039d3f], bl
mov rcx, qword [0x140046a38]
mov dword [rbp + 0x17], 0x42a00000
mov dword [rbp + 0x1b], 0x41d00000
mov rax, qword [rcx + 0x3e28]
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x3e28]
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [rax + 0x5c]
movss xmm2, dword [rax + 0x14]
subss xmm2, dword [rax + 0x60]
addss xmm0, dword [0x14003ea68]
addss xmm2, xmm8
movss dword [rax + 0xd8], xmm0
movss dword [rax + 0xdc], xmm2
movss xmm1, dword [rax + 0xf0]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf4]
maxss xmm0, xmm2
movss dword [rax + 0xf0], xmm1
movss dword [rax + 0xf4], xmm0
mov rax, qword [str.g__ATZD8imgui.ini]
mov qword [rbp + 7], rax
je 0x140009fdf
cmp edi, 2
jl 0x140009fa7
movdqa xmm2, xmmword [0x14003eb50]
movdqa xmm3, xmmword [0x14003eb60]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14003ece0]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14003eba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ebb0]
movd xmm1, dword [rbp + 7]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 7], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14003eba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ebb0]
movd xmm1, dword [rbp + 0xb]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0xb], xmm2
jmp 0x140009fdf
lea r8, [rbp + 7]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 8
jl 0x140009fb0
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 7]
call fcn.140033f40
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
mov r14, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
test al, al
je 0x14000a02a
mov dword [0x140046b90], 1
mov rcx, qword [0x140046a38]
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x17], 0x42a00000
mov dword [rbp + 0x1b], 0x41d00000
mov rax, qword [rcx + 0x3e28]
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x3e28]
lea rcx, [rbp + 7]
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [rax + 0x5c]
movss xmm2, dword [rax + 0x14]
subss xmm2, dword [rax + 0x60]
addss xmm0, dword [0x14003ea84]
addss xmm2, xmm8
movss dword [rax + 0xd8], xmm0
movss dword [rax + 0xdc], xmm2
movss xmm1, dword [rax + 0xf0]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xf4]
maxss xmm0, xmm2
movss dword [rax + 0xf0], xmm1
movss dword [rax + 0xf4], xmm0
mov eax, dword [0x140039d10]
mov dword [rbp + 7], eax
movzx eax, byte [0x140039d14]
xor byte [rbp + 8], 0x32
xor al, 0x35
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
mov byte [rbp + 0xb], al
mov byte [rbp + 7], 0x4d
call fcn.140033f40
movaps xmm8, xmmword [rsp + 0x90]
test al, al
je 0x14000a0fb
mov dword [0x140046b90], 2
jmp 0x14000a375
mov eax, dword [0x140046b90]
test eax, eax
jne 0x14000a2ca
movzx ecx, word [0x140039cb4]
lea rdx, [0x140046048]
mov eax, dword [str.tRVYS7]
mov dword [rbp + 7], eax
movzx eax, byte [0x140039cb6]
xor byte [rbp + 8], 0x32
xor al, 0x37
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
mov word [rbp + 0xb], cx
xor cl, 0x35
xor byte [rbp + 0xc], 0x36
mov byte [rbp + 0xb], cl
lea rcx, [rbp + 7]
mov byte [rbp + 7], 0x45
mov byte [rbp + 0xd], al
call fcn.140034d30
movzx eax, byte [0x140039ce0]
lea rdx, [0x140046049]
movsd xmm0, qword [str.u_RC]
lea rcx, [rbp + 7]
movsd qword [rbp + 7], xmm0
xor al, 0x39
xor byte [rbp + 8], 0x32
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
xor byte [rbp + 0xb], 0x35
xor byte [rbp + 0xc], 0x36
xor byte [rbp + 0xd], 0x37
xor byte [rbp + 0xe], 0x38
mov byte [rbp + 0xf], al
mov byte [rbp + 7], 0x44
call fcn.140034d30
movzx eax, byte [0x140039c48]
lea r9, [rbp + 7]
movsd xmm0, qword [0x140039c40]
lea r8, [0x140046050]
movsd qword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
xor byte [rbp - 0x28], 0x32
xor al, 0x39
xor byte [rbp - 0x27], 0x33
xor byte [rbp - 0x26], 0x34
xor byte [rbp - 0x25], 0x35
xor byte [rbp - 0x24], 0x36
xor byte [rbp - 0x23], 0x37
xor byte [rbp - 0x22], 0x38
mov byte [rbp - 0x21], al
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov byte [rbp - 0x29], 0x46
mov dword [rbp + 0x17], 0x32
mov dword [rbp + 7], 1
call fcn.1400360a0
cmp byte [0x140039cc1], 0
movsd xmm0, qword [str.b__AV:]
movzx eax, word [0x140039cc0]
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], ax
je 0x14000a249
xor byte [rbp - 0x28], 0x32
xor byte [rbp - 0x27], 0x33
xor byte [rbp - 0x26], 0x34
xor byte [rbp - 0x25], 0x35
xor byte [rbp - 0x24], 0x36
xor byte [rbp - 0x23], 0x37
xor byte [rbp - 0x22], 0x38
xor byte [rbp - 0x21], 0x39
xor byte [rbp - 0x20], 0x3a
mov byte [rbp - 0x29], 0x53
lea rax, [rbp + 7]
mov dword [rbp + 7], 0x23
lea r9, [rbp + 0x17]
mov qword [rsp + 0x20], rax
lea r8, [0x140046044]
mov dword [rbp + 0x17], 1
lea rcx, [rbp - 0x29]
call fcn.1400360a0
movss xmm0, dword [0x14003ea80]
call fcn.1400191a0
movzx ecx, word [0x140039cd0]
mov eax, dword [str.y_GVZN7]
mov dword [rbp + 7], eax
movzx eax, byte [0x140039cd2]
xor byte [rbp + 8], 0x32
xor al, 0x37
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
mov word [rbp + 0xb], cx
xor cl, 0x35
xor byte [rbp + 0xc], 0x36
mov byte [rbp + 0xb], cl
lea rcx, [rbp + 7]
mov byte [rbp + 7], 0x48
mov byte [rbp + 0xd], al
call fcn.140035d30
mov eax, dword [0x140046b90]
cmp eax, 1
jne 0x14000a36c
movzx ecx, word [0x140039cb4]
lea rdx, [0x140046055]
mov eax, dword [str.tRVYS7]
mov dword [rbp + 7], eax
movzx eax, byte [0x140039cb6]
xor byte [rbp + 8], 0x32
xor al, 0x37
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
mov word [rbp + 0xb], cx
xor cl, 0x35
xor byte [rbp + 0xc], 0x36
mov byte [rbp + 0xb], cl
lea rcx, [rbp + 7]
mov byte [rbp + 7], 0x45
mov byte [rbp + 0xd], al
call fcn.140034d30
movsd xmm0, qword [0x140039c20]
lea rdx, [0x140046054]
movzx eax, byte [0x140039c28]
lea rcx, [rbp - 0x29]
movsd qword [rbp - 0x29], xmm0
xor al, 0x39
xor byte [rbp - 0x28], 0x32
xor byte [rbp - 0x27], 0x33
xor byte [rbp - 0x26], 0x34
xor byte [rbp - 0x25], 0x35
xor byte [rbp - 0x24], 0x36
xor byte [rbp - 0x23], 0x37
xor byte [rbp - 0x22], 0x38
mov byte [rbp - 0x21], al
mov byte [rbp - 0x29], 0x44
call fcn.140034d30
mov eax, dword [0x140046b90]
cmp eax, 2
jne 0x14000a3fb
movzx eax, byte [0x140039c38]
lea rdx, [0x140046056]
movsd xmm0, qword [0x140039c30]
lea rcx, [rbp + 7]
movsd qword [rbp + 7], xmm0
xor al, 0x39
xor byte [rbp + 8], 0x32
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
xor byte [rbp + 0xb], 0x35
xor byte [rbp + 0xc], 0x36
xor byte [rbp + 0xd], 0x37
xor byte [rbp + 0xe], 0x38
mov byte [rbp + 0xf], al
mov byte [rbp + 7], 0x44
call fcn.140034d30
mov eax, dword [str.gaJZV6]
lea rdx, [0x140046240]
mov dword [rbp + 7], eax
lea rcx, [rbp + 7]
movzx eax, word [0x140039bf4]
xor byte [rbp + 8], 0x32
xor byte [rbp + 9], 0x33
xor byte [rbp + 0xa], 0x34
mov word [rbp + 0xb], ax
xor al, 0x35
xor byte [rbp + 0xc], 0x36
mov byte [rbp + 0xb], al
mov byte [rbp + 7], 0x56
call fcn.140034d30
call fcn.140017c10
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400373e0
add rsp, 0xc0
pop rbp
ret