Function at 0x1400cb180
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.1400fc460
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1620], rbx
mov rax, qword [0x140160370]
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.1400a78b4
test eax, eax
jne 0x1400cb2cf
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400fd6e0
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, str.PasswordWide
mov rcx, r14
call fcn.1400a78b4
mov r8d, eax
test eax, eax
jne 0x1400cb28d
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.1400a78b4
mov r8d, r15d
test eax, eax
jle 0x1400cb275
movsxd rdx, r8d
lea ecx, [r8 + 0x49]
xor byte [rbp + rdx - 0x40], cl
je 0x1400cb275
inc r8d
cmp r8d, eax
jl 0x1400cb260
mov r8d, 0x80
lea rdx, [rbp + 0x11c0]
lea rcx, [rbp - 0x40]
call fcn.140098cf8
jmp 0x1400cb2be
mov ecx, r15d
test r8d, r8d
jle 0x1400cb2a8
lea rdx, [rbp - 0x40]
lea eax, [rcx + 0x49]
xor byte [rdx], al
inc ecx
inc rdx
cmp ecx, r8d
jl 0x1400cb299
mov r8d, 0x80
lea rdx, [rbp + 0x11c0]
lea rcx, [rbp - 0x40]
call fcn.140098e24
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140093830
jmp 0x1400cb591
lea rcx, [rsp + 0x60]
call fcn.140083b24
nop
mov r8, rdi
lea rdx, [rbp + 0x12c0]
lea rcx, [rsp + 0x60]
call fcn.140083e4c
lea rcx, [rsp + 0x60]
call fcn.140083b68
mov esi, 0x100
cmp al, 1
jne 0x1400cb587
lea rcx, [rsp + 0x60]
call fcn.140083bc4
mov r15d, eax
shr r15d, 0x18
mov ebx, 0x10
mov r8d, ebx
lea rdx, [rbp + 0x11b0]
lea rcx, [rsp + 0x60]
call fcn.140083c3c
mov r8d, ebx
lea rdx, [rbp + 0x11a0]
lea rcx, [rsp + 0x60]
call fcn.140083c3c
lea r8d, [rbx - 8]
lea rdx, [rbp + 0x1190]
lea rcx, [rsp + 0x60]
call fcn.140083c3c
lea rcx, [rbp + 0xd0]
call fcn.140065240
nop
xor bl, bl
lea edi, [rsi - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140093450
nop
lea rcx, [rbp - 0x40]
cmp byte [0x1401bdf00], 0
je 0x1400cb3df
lea rax, [0x1401bde00]
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 0x1400cb38d
movzx eax, word [rax]
mov word [rcx], ax
jmp 0x1400cb3eb
lea rdx, [0x140120b44]
call fcn.1400937d8
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.140065a9c
mov rax, qword [rbp + 0x1190]
cmp rax, qword [rbp + 0x1198]
setne al
test al, al
je 0x1400cb4b6
test bl, bl
je 0x1400cb475
mov ecx, 0x66
call fcn.1400900b8
mov rbx, rax
mov ecx, 0x606
call fcn.1400900b8
mov rdx, rax
xor r9d, r9d
mov r8, rbx
mov rcx, qword [0x140167d30]
call fcn.1400d00d0
mov r9, r13
xor r8d, r8d
lea rdx, [0x1401bde00]
mov rcx, r12
call fcn.14004be44
test al, al
je 0x1400cb49e
lea rcx, [rbp - 0x40]
call fcn.140093524
mov bl, 1
jmp 0x1400cb36a
mov byte [0x14017ddba], 1
lea rcx, [rbp - 0x40]
call fcn.140093524
xor r15d, r15d
jmp 0x1400cb560
lea rcx, [rbp - 0x40]
call fcn.140093524
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.1400657c0
lea rcx, [rsp + 0x60]
call fcn.140083b88
movzx ebx, ax
cmp rbx, rdi
cmovb rdi, rbx
mov r8, rdi
lea rdx, [rbp + 0x11c0]
lea rcx, [rsp + 0x60]
call fcn.140083da4
mov eax, 0x7f
cmp rbx, rax
cmovb eax, ebx
add rax, rax
cmp rax, rsi
jae 0x1400cb581
xor r15d, r15d
mov word [rbp + rax + 0x11c0], r15w
mov r8, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
or ecx, 0xffffffff
call fcn.140064efc
mov ebx, eax
not ebx
lea rcx, [rsp + 0x60]
call fcn.140083bc4
cmp ebx, eax
je 0x1400cb560
mov word [rbp + 0x11c0], r15w
mov ecx, 0x5d0
call fcn.1400900b8
mov rcx, rax
call fcn.1400d4924
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.140093830
nop
lea rcx, [rbp + 0xd0]
call fcn.140065368
mov bl, byte [rsp + 0x50]
jmp 0x1400cb587
call fcn.1400fc234
nop
lea rcx, [rsp + 0x60]
call fcn.140004abc
test bl, bl
je 0x1400cb5b0
cmp byte [0x1401789b0], r15b
jne 0x1400cb5f9
cmp byte [0x1401789b2], r15b
jne 0x1400cb5f9
cmp byte [0x14017ddcc], r15b
jne 0x1400cb5f9
lea rdx, [rbp + 0x11c0]
lea rcx, [0x1401788b0]
call fcn.1400937d8
xor r8d, r8d
lea rdx, str.EncryptHeaders
mov rcx, r14
call fcn.1400a789c
test eax, eax
setne byte [0x1401789b2]
xor r8d, r8d
lea rdx, str.ZipLegacyEncrypt
mov rcx, r14
call fcn.1400a789c
test eax, eax
setne byte [0x14017ddcc]
mov rdx, rsi
lea rcx, [rbp + 0x11c0]
call fcn.140093830
mov rcx, qword [rbp + 0x14c0]
xor rcx, rsp
call fcn.1400fc4d0
mov rbx, qword [rsp + 0x1620]
add rsp, 0x15d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret