Function at 0x1400cc9ac
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.140101610
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1620], rbx
mov rax, qword [0x140192630]
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.1400a86e4
test eax, eax
jne 0x1400ccafb
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140120b70
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, str.PasswordWide
mov rcx, r14
call fcn.1400a86e4
mov r8d, eax
test eax, eax
jne 0x1400ccab9
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.1400a86e4
mov r8d, r15d
test eax, eax
jle 0x1400ccaa1
movsxd rdx, r8d
lea ecx, [r8 + 0x49]
xor byte [rbp + rdx - 0x40], cl
je 0x1400ccaa1
inc r8d
cmp r8d, eax
jl 0x1400cca8c
mov r8d, 0x80
lea rdx, [rbp + 0x11c0]
lea rcx, [rbp - 0x40]
call fcn.1400999b4
jmp 0x1400ccaea
mov ecx, r15d
test r8d, r8d
jle 0x1400ccad4
lea rdx, [rbp - 0x40]
lea eax, [rcx + 0x49]
xor byte [rdx], al
inc ecx
inc rdx
cmp ecx, r8d
jl 0x1400ccac5
mov r8d, 0x80
lea rdx, [rbp + 0x11c0]
lea rcx, [rbp - 0x40]
call fcn.140099ae0
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140094598
jmp 0x1400ccdbd
lea rcx, [rsp + 0x60]
call fcn.14008493c
nop
mov r8, rdi
lea rdx, [rbp + 0x12c0]
lea rcx, [rsp + 0x60]
call fcn.140084c64
lea rcx, [rsp + 0x60]
call fcn.140084980
mov esi, 0x100
cmp al, 1
jne 0x1400ccdb3
lea rcx, [rsp + 0x60]
call fcn.1400849dc
mov r15d, eax
shr r15d, 0x18
mov ebx, 0x10
mov r8d, ebx
lea rdx, [rbp + 0x11b0]
lea rcx, [rsp + 0x60]
call fcn.140084a54
mov r8d, ebx
lea rdx, [rbp + 0x11a0]
lea rcx, [rsp + 0x60]
call fcn.140084a54
lea r8d, [rbx - 8]
lea rdx, [rbp + 0x1190]
lea rcx, [rsp + 0x60]
call fcn.140084a54
lea rcx, [rbp + 0xd0]
call fcn.1400659d0
nop
xor bl, bl
lea edi, [rsi - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400941b8
nop
lea rcx, [rbp - 0x40]
cmp byte [0x1401f7940], 0
je 0x1400ccc0b
lea rax, [0x1401f7840]
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 0x1400ccbb9
movzx eax, word [rax]
mov word [rcx], ax
jmp 0x1400ccc17
lea rdx, [0x14014718c]
call fcn.140094540
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.14006622c
mov rax, qword [rbp + 0x1190]
cmp rax, qword [rbp + 0x1198]
setne al
test al, al
je 0x1400ccce2
test bl, bl
je 0x1400ccca1
mov ecx, 0x66
call fcn.140090e20
mov rbx, rax
mov ecx, 0x606
call fcn.140090e20
mov rdx, rax
xor r9d, r9d
mov r8, rbx
mov rcx, qword [0x14019b708]
call fcn.1400d19e0
mov r9, r13
xor r8d, r8d
lea rdx, [0x1401f7840]
mov rcx, r12
call fcn.14004c2e4
test al, al
je 0x1400cccca
lea rcx, [rbp - 0x40]
call fcn.1400941e0
mov bl, 1
jmp 0x1400ccb96
mov byte [0x1401b46ea], 1
lea rcx, [rbp - 0x40]
call fcn.1400941e0
xor r15d, r15d
jmp 0x1400ccd8c
lea rcx, [rbp - 0x40]
call fcn.1400941e0
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.140065f50
lea rcx, [rsp + 0x60]
call fcn.1400849a0
movzx ebx, ax
cmp rbx, rdi
cmovb rdi, rbx
mov r8, rdi
lea rdx, [rbp + 0x11c0]
lea rcx, [rsp + 0x60]
call fcn.140084bbc
mov eax, 0x7f
cmp rbx, rax
cmovb eax, ebx
add rax, rax
cmp rax, rsi
jae 0x1400ccdad
xor r15d, r15d
mov word [rbp + rax + 0x11c0], r15w
mov r8, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
or ecx, 0xffffffff
call fcn.14006568c
mov ebx, eax
not ebx
lea rcx, [rsp + 0x60]
call fcn.1400849dc
cmp ebx, eax
je 0x1400ccd8c
mov word [rbp + 0x11c0], r15w
mov ecx, 0x5d0
call fcn.140090e20
mov rcx, rax
call fcn.1400d63e4
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.140094598
nop
lea rcx, [rbp + 0xd0]
call fcn.140065af8
mov bl, byte [rsp + 0x50]
jmp 0x1400ccdb3
call fcn.1401013e4
nop
lea rcx, [rsp + 0x60]
call fcn.140004f0c
test bl, bl
je 0x1400ccddc
cmp byte [0x1401ae2e0], r15b
jne 0x1400cce25
cmp byte [0x1401ae2e2], r15b
jne 0x1400cce25
cmp byte [0x1401b5703], r15b
jne 0x1400cce25
lea rdx, [rbp + 0x11c0]
lea rcx, [0x1401ae1e0]
call fcn.140094540
xor r8d, r8d
lea rdx, str.EncryptHeaders
mov rcx, r14
call fcn.1400a86cc
test eax, eax
setne byte [0x1401ae2e2]
xor r8d, r8d
lea rdx, str.ZipLegacyEncrypt
mov rcx, r14
call fcn.1400a86cc
test eax, eax
setne byte [0x1401b5703]
mov rdx, rsi
lea rcx, [rbp + 0x11c0]
call fcn.140094598
mov rcx, qword [rbp + 0x14c0]
xor rcx, rsp
call fcn.140101680
mov rbx, qword [rsp + 0x1620]
add rsp, 0x15d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret