Function at 0x14007dd10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x78], rdx
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x20], 0x4220424f
mov dword [rsp + 0x24], 0x4221423f
xor r13d, r13d
mov word [rsp + 0x28], r13w
mov byte [rsp + 0x2a], 1
mov ecx, r13d
mov ebx, 0x4210
lea eax, [rbx + rcx]
xor word [rsp + rcx*2 + 0x20], ax
inc rcx
cmp rcx, 4
jb 0x14007dd91
mov byte [rsp + 0x2a], r13b
movdqa xmm0, xmmword [0x140283f90]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140085c20
nop
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140085d80
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14007daa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14007de2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007de2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007de2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e6234
movdqa xmm0, xmmword [0x140283f90]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
mov rax, qword [rbp - 0x78]
mov r15, qword [rbp - 0x80]
sub rax, r15
sar rax, 5
cmp rax, 1
jbe 0x14007e084
mov dword [rsp + 0x20], 0x4231422a
mov word [rsp + 0x24], r13w
mov byte [rsp + 0x26], 1
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx + rcx]
xor word [rsp + rcx*2 + 0x20], ax
inc rcx
cmp rcx, 2
jb 0x14007de80
mov byte [rsp + 0x26], 0
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14007dea2
mov rdi, r15
cmp qword [r15 + 0x18], 8
jb 0x14007deb9
mov rdi, qword [r15]
mov rsi, qword [r15 + 0x10]
test rbx, rbx
je 0x14007e084
test rsi, rsi
je 0x14007e084
mov r13d, 0x100
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x20]
lea rdx, [rdx + rbx*2]
lea rax, [rsp + 0x20]
cmp rax, rdx
je 0x14007df1a
nop dword [rax + rax]
movzx eax, word [rcx]
cmp ax, r13w
jae 0x14007df53
movzx eax, al
mov byte [rbp + rax - 0x60], 1
add rcx, 2
cmp rcx, rdx
jne 0x14007df00
lea rcx, [rsi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rdi + rax*2]
movzx eax, word [r8]
cmp ax, r13w
jae 0x14007df44
movzx eax, ax
cmp byte [rbp + rax - 0x60], 0
jne 0x14007dfa4
cmp r8, rdi
je 0x14007e081
sub r8, 2
jmp 0x14007df30
lea rcx, [rsi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rdi + rax*2]
nop dword [rax]
mov rcx, rbx
lea rax, [rsp + 0x20]
test rbx, rbx
je 0x14007df90
movzx edx, word [r8]
cmp word [rax], dx
je 0x14007dfa4
add rax, 2
sub rcx, 1
jne 0x14007df81
cmp r8, rdi
je 0x14007df9b
sub r8, 2
jmp 0x14007df70
mov r8, 0xffffffffffffffff
jmp 0x14007dfaa
sub r8, rdi
sar r8, 1
cmp r8, 0xffffffffffffffff
je 0x14007e081
inc r8
mov r9, 0xffffffffffffffff
mov rdx, r12
mov rcx, r15
call fcn.140085a80
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14007e028
mov rdx, qword [rbp - 0x78]
call fcn.1400897a0
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e013
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e6234
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor ebx, ebx
mov qword [rbp - 0x70], rbx
jmp 0x14007e02a
xor ebx, ebx
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14007e065
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14007e060
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e07a
mov rcx, r8
call fcn.1401e6234
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 7
mov word [r14], bx
jmp 0x14007e14c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor r13d, r13d
mov qword [r12 + 0x10], r13
mov qword [r12 + 0x18], 7
mov word [r12], r13w
lea rdx, [0x140282a8c]
mov rcx, r12
call fcn.140085c20
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14007e101
mov rdx, qword [rbp - 0x78]
call fcn.1400897a0
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007e0f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e0f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e6234
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14007e13c
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14007e137
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e179
mov rcx, r8
call fcn.1401e6234
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov rax, r12
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401e6210
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3