Function at 0x1400cc298
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x14d0]
mov eax, 0x15d0
call fcn.140100e60
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1620], rbx
mov rax, qword [0x140191630]
xor rax, rsp
mov qword [rbp + 0x14c0], rax
mov r13, r9
mov bl, r8b
mov byte [rsp + 0x50], bl
mov r14, rdx
mov r12, rcx
xor r15d, r15d
mov word [rbp + 0x11c0], r15w
mov edi, 0x200
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp + 0x12c0]
lea rdx, str.PasswordData
mov rcx, r14
call fcn.1400a84f4
test eax, eax
jne 0x1400cc3e7
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1401203b0
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, str.PasswordWide
mov rcx, r14
call fcn.1400a84f4
mov r8d, eax
test eax, eax
jne 0x1400cc3a5
mov byte [rbp - 0x40], r15b
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, str.Password
mov rcx, r14
call fcn.1400a84f4
mov r8d, r15d
test eax, eax
jle 0x1400cc38d
movsxd rdx, r8d
lea ecx, [r8 + 0x49]
xor byte [rbp + rdx - 0x40], cl
je 0x1400cc38d
inc r8d
cmp r8d, eax
jl 0x1400cc378
mov r8d, 0x80
lea rdx, [rbp + 0x11c0]
lea rcx, [rbp - 0x40]
call fcn.140099900
jmp 0x1400cc3d6
mov ecx, r15d
test r8d, r8d
jle 0x1400cc3c0
lea rdx, [rbp - 0x40]
lea eax, [rcx + 0x49]
xor byte [rdx], al
inc ecx
inc rdx
cmp ecx, r8d
jl 0x1400cc3b1
mov r8d, 0x80
lea rdx, [rbp + 0x11c0]
lea rcx, [rbp - 0x40]
call fcn.140099a2c
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140094368
jmp 0x1400cc6a9
lea rcx, [rsp + 0x60]
call fcn.14008486c
nop
mov r8, rdi
lea rdx, [rbp + 0x12c0]
lea rcx, [rsp + 0x60]
call fcn.140084b94
lea rcx, [rsp + 0x60]
call fcn.1400848b0
mov esi, 0x100
cmp al, 1
jne 0x1400cc69f
lea rcx, [rsp + 0x60]
call fcn.14008490c
mov r15d, eax
shr r15d, 0x18
mov ebx, 0x10
mov r8d, ebx
lea rdx, [rbp + 0x11b0]
lea rcx, [rsp + 0x60]
call fcn.140084984
mov r8d, ebx
lea rdx, [rbp + 0x11a0]
lea rcx, [rsp + 0x60]
call fcn.140084984
lea r8d, [rbx - 8]
lea rdx, [rbp + 0x1190]
lea rcx, [rsp + 0x60]
call fcn.140084984
lea rcx, [rbp + 0xd0]
call fcn.140065a30
nop
xor bl, bl
lea edi, [rsi - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140093f88
nop
lea rcx, [rbp - 0x40]
cmp byte [0x1401f6940], 0
je 0x1400cc4f7
lea rax, [0x1401f6840]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, rdi
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, rdi
sub rdx, 1
jne 0x1400cc4a5
movzx eax, word [rax]
mov word [rcx], ax
jmp 0x1400cc503
lea rdx, [0x1401461a4]
call fcn.140094310
lea rax, [rbp + 0x1198]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], r15d
lea rax, [rbp + 0x11a0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x11b0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rbp + 0xd0]
call fcn.14006628c
mov rax, qword [rbp + 0x1190]
cmp rax, qword [rbp + 0x1198]
setne al
test al, al
je 0x1400cc5ce
test bl, bl
je 0x1400cc58d
mov ecx, 0x66
call fcn.140090bf0
mov rbx, rax
mov ecx, 0x606
call fcn.140090bf0
mov rdx, rax
xor r9d, r9d
mov r8, rbx
mov rcx, qword [0x14019a708]
call fcn.1400d1204
mov r9, r13
xor r8d, r8d
lea rdx, [0x1401f6840]
mov rcx, r12
call fcn.14004c5d4
test al, al
je 0x1400cc5b6
lea rcx, [rbp - 0x40]
call fcn.14009405c
mov bl, 1
jmp 0x1400cc482
mov byte [0x1401b36ea], 1
lea rcx, [rbp - 0x40]
call fcn.14009405c
xor r15d, r15d
jmp 0x1400cc678
lea rcx, [rbp - 0x40]
call fcn.14009405c
mov r8, qword [rbp - 0x70]
sub r8, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
add rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0xd0]
call fcn.140065fb0
lea rcx, [rsp + 0x60]
call fcn.1400848d0
movzx ebx, ax
cmp rbx, rdi
cmovb rdi, rbx
mov r8, rdi
lea rdx, [rbp + 0x11c0]
lea rcx, [rsp + 0x60]
call fcn.140084aec
mov eax, 0x7f
cmp rbx, rax
cmovb eax, ebx
add rax, rax
cmp rax, rsi
jae 0x1400cc699
xor r15d, r15d
mov word [rbp + rax + 0x11c0], r15w
mov r8, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
or ecx, 0xffffffff
call fcn.1400656ec
mov ebx, eax
not ebx
lea rcx, [rsp + 0x60]
call fcn.14008490c
cmp ebx, eax
je 0x1400cc678
mov word [rbp + 0x11c0], r15w
mov ecx, 0x5d0
call fcn.140090bf0
mov rcx, rax
call fcn.1400d5c14
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.140094368
nop
lea rcx, [rbp + 0xd0]
call fcn.140065b58
mov bl, byte [rsp + 0x50]
jmp 0x1400cc69f
call fcn.140100c34
nop
lea rcx, [rsp + 0x60]
call fcn.140004e1c
test bl, bl
je 0x1400cc6c8
cmp byte [0x1401ad2e0], r15b
jne 0x1400cc711
cmp byte [0x1401ad2e2], r15b
jne 0x1400cc711
cmp byte [0x1401b4703], r15b
jne 0x1400cc711
lea rdx, [rbp + 0x11c0]
lea rcx, [0x1401ad1e0]
call fcn.140094310
xor r8d, r8d
lea rdx, str.EncryptHeaders
mov rcx, r14
call fcn.1400a84dc
test eax, eax
setne byte [0x1401ad2e2]
xor r8d, r8d
lea rdx, str.ZipLegacyEncrypt
mov rcx, r14
call fcn.1400a84dc
test eax, eax
setne byte [0x1401b4703]
mov rdx, rsi
lea rcx, [rbp + 0x11c0]
call fcn.140094368
mov rcx, qword [rbp + 0x14c0]
xor rcx, rsp
call fcn.140100ed0
mov rbx, qword [rsp + 0x1620]
add rsp, 0x15d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret