Function at 0x140089870
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x58]
sub rsp, 0x150
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x20], rax
cmp byte [0x14025504c], 0
je 0x140089f22
lea rcx, str.bOJ_NT
mov qword [r11 + 8], rbx
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
mov qword [r11 + 0x10], rdi
movups xmm1, xmmword [rcx + 0x10]
mov edi, dword [0x140152090]
lea rcx, [rcx + 0x80]
mov eax, dword [rcx + 0x50]
xor ebx, ebx
movaps xmmword [r11 - 0x18], xmm6
mov r8d, ebx
movdqa xmm6, xmmword [0x140138fb0]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm1
movups xmm1, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm1
mov dword [rdx + 0x50], eax
movzx eax, word [rcx + 0x54]
mov word [rdx + 0x54], ax
movzx eax, byte [rcx + 0x56]
mov byte [rdx + 0x56], al
cmp edi, 2
jl 0x140089a7f
movdqa xmm0, xmmword [0x140139010]
lea rcx, [rsp + 0x44]
movdqa xmm4, xmmword [0x140138f00]
movdqa xmm3, xmmword [0x140138ff0]
movdqa xmm5, xmmword [str.7777]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0xd0
jl 0x140089990
cmp r8d, 0xd7
jge 0x140089ac3
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0xd7
jl 0x140089a90
movdqa xmm0, xmmword [0x140139280]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.14004bbc0
xor ecx, ecx
call fcn.14000e510
test al, al
je 0x140089e51
xor ecx, ecx
movaps xmmword [rsp + 0x130], xmm7
call fcn.140020260
movsd xmm0, qword [0x140136588]
movzx eax, byte [0x140136590]
movsd qword [rsp + 0x30], xmm0
mov byte [rsp + 0x38], al
movups xmm7, xmmword [str.bOJ_N]
movups xmmword [rsp + 0x20], xmm7
cmp edi, 2
jl 0x140089d9a
movdqa xmm4, xmmword [0x140138ff0]
movdqa xmm3, xmmword [0x140138f00]
movdqa xmm2, xmmword [0x140138f30]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov ecx, dword [0x140139010]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm3
movdqa xmm3, xmmword [0x140138f60]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x24]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rsp + 0x24], xmm2
movdqa xmm2, xmmword [0x140138f70]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x28]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x28], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x140138f80]
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x2c]
mov ebx, 0x18
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
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 [rsp + 0x2c], xmm2
movdqa xmm2, xmmword [0x140138f90]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x30]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rsp + 0x30], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x34]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
movaps xmm7, xmmword [rsp + 0x130]
lea r8, [rsp + 0x20]
mov eax, ebx
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x19
jl 0x140089db0
lea rcx, [rsp + 0x20]
call fcn.14004bb50
mov rdi, qword [0x140256ce8]
mov rbx, qword [0x140256ce0]
cmp rbx, rdi
je 0x140089e1b
nop dword [rax]
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
jbe 0x140089e0d
mov rcx, qword [rbx]
call fcn.14004be40
add rbx, 0x20
cmp rbx, rdi
jne 0x140089e00
mov rax, qword [0x140255230]
mov rcx, qword [rax + 0x4140]
test dword [rcx + 0x14], 0x2000000
jne 0x140089e4c
mov r8d, 0x2c3e
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.1400193f0
mov rcx, qword [0x140255230]
movss xmm6, dword [0x140138d5c]
mov rdi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x160]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x140089eab
movaps xmm1, xmm6
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.14001ec30
mov rcx, qword [0x140255230]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x140089ee6
movaps xmm1, xmm6
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.14001ec30
mov rcx, qword [0x140255230]
mov rax, qword [rcx + 0x4140]
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
cmp byte [rax + 0xf8], 0
jne 0x140089f1a
movaps xmm1, xmm6
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.14001ec30
movaps xmm6, xmmword [rsp + 0x140]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14010fe20
add rsp, 0x150
pop rbp
ret