Function at 0x140026700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov r12, rdx
mov r14, rcx
mov rsi, qword [rdx]
mov r13, qword [rdx + 8]
cmp rsi, r13
je 0x1400267b2
mov rcx, rsi
call fcn.14002bbc0
mov rdi, rax
test rax, rax
je 0x140026ade
mov rbx, qword [rsi + 0x20]
mov r15, qword [rsi + 0x28]
cmp rbx, r15
je 0x1400267a9
nop word [rax + rax]
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.14000bfe0
mov rcx, rax
test rax, rax
jne 0x140026799
mov rdx, qword [0x140041b80]
cmp rdi, rdx
je 0x140026799
mov r8, rbx
mov rcx, r14
call fcn.14000bfe0
mov rcx, rax
test rax, rax
je 0x14002684f
mov rax, qword [rbx + 0x20]
mov qword [rax], rcx
add rbx, 0x28
cmp rbx, r15
jne 0x140026760
add rsi, 0x38
cmp rsi, r13
jne 0x140026736
mov rcx, qword [r12]
test rcx, rcx
je 0x14002682d
mov rdx, qword [r12 + 8]
call fcn.140027c40
mov r8, qword [r12]
mov rcx, qword [r12 + 0x10]
sub rcx, r8
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x38
cmp rdx, 0x1000
jb 0x140026815
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x140026e4e
mov r8, rcx
mov rcx, r8
call fcn.14002c18c
xor edi, edi
mov qword [r12], rdi
mov qword [r12 + 8], rdi
mov qword [r12 + 0x10], rdi
mov al, 1
mov rbx, qword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [0x14003a5e0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x14003a5f0]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x14003a600]
movups xmmword [rbp - 0x30], xmm0
movzx eax, word [0x14003a610]
mov word [rbp - 0x20], ax
xor edi, edi
cmp dword [0x140041010], 2
jl 0x1400269ca
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b500]
movdqa xmm6, xmmword [0x14003b460]
movdqa xmm0, xmmword [0x14003b4c0]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x4c]
mov edx, dword [rbp - 0x60]
nop word [rax + rax]
movd xmm2, edi
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003b490]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003b490]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x30
jl 0x1400268c0
cmp eax, 0x32
jge 0x140026a11
movsxd rax, edi
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, dil
xor byte [r8], dl
inc edi
lea r8, [r8 + 1]
cmp edi, 0x32
jl 0x1400269e0
lea rdx, [rbp - 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027a30
mov r8, qword [rbx + 0x10]
mov rcx, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x140026a47
mov rdx, qword [rbx]
call fcn.140027d20
mov r8, rax
movzx eax, word [0x14003ab78]
mov word [rbp + 0x58], ax
jmp 0x140026a5d
mov rdx, rbx
call fcn.140027d20
mov r8, rax
movzx ecx, word [0x14003ab78]
mov word [rbp + 0x58], cx
movzx eax, byte [0x14003ab7a]
mov byte [rbp + 0x58], 0x20
xor byte [rbp + 0x59], 0x3a
xor al, 0x3b
mov byte [rbp + 0x5a], al
lea rdx, [rbp + 0x58]
mov rcx, r8
call fcn.140027a30
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140026a8b
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140027d20
movzx ecx, word [0x14003a860]
mov word [rbp + 0x50], cx
cmp byte [0x14003a861], 0
je 0x140026ab2
mov byte [rbp + 0x50], 0x29
xor byte [rbp + 0x51], 0x3a
lea rdx, [rbp + 0x50]
mov rcx, rax
call fcn.140027a30
lea rdx, [0x140027c00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, r12
call fcn.140026e60
xor al, al
jmp 0x14002682f
movups xmm0, xmmword [0x14003a2b8]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x14003a2c8]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x14003a2d8]
movups xmmword [rbp - 0x30], xmm0
mov eax, dword [0x14003a2e8]
mov dword [rbp - 0x20], eax
movzx eax, word [0x14003a2ec]
mov word [rbp - 0x1c], ax
xor edi, edi
mov ecx, edi
mov ebx, dword [0x140041010]
cmp ebx, 2
jl 0x140026c5d
movdqa xmm5, xmmword [0x14003b400]
movdqa xmm4, xmmword [0x14003b500]
movdqa xmm6, xmmword [0x14003b460]
movdqa xmm0, xmmword [0x14003b4c0]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x4c]
mov r8d, dword [rbp - 0x60]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003b490]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003b490]
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, 0x30
jl 0x140026b53
cmp ecx, 0x36
jge 0x140026ca0
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x36
jl 0x140026c70
lea rdx, [rbp - 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027a30
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140026cbe
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140027d20
mov r10, rax
mov ecx, dword [0x14003a990]
mov dword [rbp + 0x50], ecx
cmp byte [0x14003a993], dil
je 0x140026db5
cmp ebx, 2
jl 0x140026d6c
movdqa xmm3, xmmword [0x14003b400]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14003b500]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14003b500]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14003b460]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003b490]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14003b4c0]
movd xmm0, ecx
xorps xmm2, xmm0
movd dword [rbp + 0x50], xmm2
jmp 0x140026db5
lea r9, [rbp + 0x50]
mov r8d, edi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140026d80
lea rdx, [rbp + 0x50]
mov rcx, r10
call fcn.140027a30
lea rdx, [0x140027c00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x140026e47
mov rdx, qword [r12 + 8]
call fcn.140027c40
mov r8, qword [r12]
mov rcx, qword [r12 + 0x10]
sub rcx, r8
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x38
cmp rdx, 0x1000
jb 0x140026e31
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x140026e4e
mov r8, rcx
mov rcx, r8
call fcn.14002c18c
mov qword [r12], rdi
mov qword [r12 + 8], rdi
mov qword [r12 + 0x10], rdi
xor al, al
jmp 0x14002682f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3