Function at 0x1400bf398
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x14c0]
mov eax, 0x15c0
call fcn.1400ec1b0
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1610], rbx
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x14b0], rax
mov r12, r9
mov r13b, r8b
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov word [rbp + 0x11b0], bx
mov edi, 0x200
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp + 0x12b0]
lea rdx, str.PasswordData
mov rcx, r14
call fcn.14009dbe8
test eax, eax
jne 0x1400bf4df
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.1400ed430
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, str.PasswordWide
mov rcx, r14
call fcn.14009dbe8
mov r8d, eax
test eax, eax
jne 0x1400bf49e
mov byte [rbp - 0x50], bl
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, str.Password
mov rcx, r14
call fcn.14009dbe8
mov r8d, ebx
test eax, eax
jle 0x1400bf486
movsxd rdx, r8d
lea ecx, [r8 + 0x49]
xor byte [rbp + rdx - 0x50], cl
je 0x1400bf486
inc r8d
cmp r8d, eax
jl 0x1400bf471
mov r8d, 0x80
lea rdx, [rbp + 0x11b0]
lea rcx, [rbp - 0x50]
call fcn.14008f2c8
jmp 0x1400bf4ce
mov ecx, ebx
test r8d, r8d
jle 0x1400bf4b8
lea rdx, [rbp - 0x50]
lea eax, [rcx + 0x49]
xor byte [rdx], al
inc ecx
inc rdx
cmp ecx, r8d
jl 0x1400bf4a9
mov r8d, 0x80
lea rdx, [rbp + 0x11b0]
lea rcx, [rbp - 0x50]
call fcn.14008f398
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14008a03c
jmp 0x1400bf75e
lea rcx, [rsp + 0x50]
call fcn.14007c494
nop
mov r8, rdi
lea rdx, [rbp + 0x12b0]
lea rcx, [rsp + 0x50]
call fcn.14007c7bc
lea rcx, [rsp + 0x50]
call fcn.14007c4d8
mov esi, 0x100
cmp al, 1
jne 0x1400bf754
lea rcx, [rsp + 0x50]
call fcn.14007c534
mov ebx, eax
shr ebx, 0x18
mov edi, 0x10
mov r8d, edi
lea rdx, [rbp + 0x11a0]
lea rcx, [rsp + 0x50]
call fcn.14007c5ac
mov r8d, edi
lea rdx, [rbp + 0x1190]
lea rcx, [rsp + 0x50]
call fcn.14007c5ac
lea r8d, [rdi - 8]
lea rdx, [rbp + 0x1180]
lea rcx, [rsp + 0x50]
call fcn.14007c5ac
lea rcx, [rbp + 0xc0]
call fcn.14005e96c
nop
lea edi, [rsi - 0x80]
lea rcx, [rbp - 0x50]
call fcn.140089c84
nop
xor eax, eax
lea rcx, [rbp - 0x50]
cmp byte [0x140199fc0], al
je 0x1400bf5ec
lea rax, [0x140199ec0]
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 0x1400bf59a
movzx eax, word [rax]
mov word [rcx], ax
jmp 0x1400bf5f8
lea rdx, [0x14010e9f4]
call fcn.140089fe4
lea rax, [rbp + 0x1188]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x1190]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x11a0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rbp + 0xc0]
call fcn.14005f1b0
mov rax, qword [rbp + 0x1180]
cmp rax, qword [rbp + 0x1188]
setne al
test al, al
je 0x1400bf684
mov r9, r12
xor r8d, r8d
lea rdx, [0x140199ec0]
mov rcx, r15
call fcn.140046764
nop
lea rcx, [rbp - 0x50]
test al, al
je 0x1400bf67a
call fcn.140089cac
jmp 0x1400bf576
call fcn.140089cac
jmp 0x1400bf72f
lea rcx, [rbp - 0x50]
call fcn.140089cac
mov r8, qword [rbp - 0x80]
sub r8, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x50]
add rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0xc0]
call fcn.14005eed4
lea rcx, [rsp + 0x50]
call fcn.14007c4f8
movzx ebx, ax
cmp rbx, rdi
cmovb rdi, rbx
mov r8, rdi
lea rdx, [rbp + 0x11b0]
lea rcx, [rsp + 0x50]
call fcn.14007c714
mov eax, 0x7f
cmp rbx, rax
cmovb eax, ebx
add rax, rax
cmp rax, rsi
jae 0x1400bf74e
xor ecx, ecx
mov word [rbp + rax + 0x11b0], cx
mov r8, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x50]
or ecx, 0xffffffff
call fcn.14005e628
mov ebx, eax
not ebx
lea rcx, [rsp + 0x50]
call fcn.14007c534
cmp ebx, eax
je 0x1400bf72f
xor ebx, ebx
mov word [rbp + 0x11b0], bx
mov ecx, 0x5d0
call fcn.1400868b8
mov rcx, rax
call fcn.1400cf438
jmp 0x1400bf731
xor ebx, ebx
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x50]
call fcn.14008a03c
nop
lea rcx, [rbp + 0xc0]
call fcn.14005ea8c
jmp 0x1400bf754
call fcn.1400ebf90
nop
lea rcx, [rsp + 0x50]
call fcn.140003ea4
test r13b, r13b
je 0x1400bf77b
cmp byte [0x140153750], bl
jne 0x1400bf7c4
cmp byte [0x140153752], bl
jne 0x1400bf7c4
cmp byte [0x140158a32], bl
jne 0x1400bf7c4
lea rdx, [rbp + 0x11b0]
lea rcx, [0x140153650]
call fcn.140089fe4
xor r8d, r8d
lea rdx, str.EncryptHeaders
mov rcx, r14
call fcn.14009dbd0
test eax, eax
setne byte [0x140153752]
xor r8d, r8d
lea rdx, str.ZipLegacyEncrypt
mov rcx, r14
call fcn.14009dbd0
test eax, eax
setne byte [0x140158a32]
mov rdx, rsi
lea rcx, [rbp + 0x11b0]
call fcn.14008a03c
mov rcx, qword [rbp + 0x14b0]
xor rcx, rsp
call fcn.1400ec220
mov rbx, qword [rsp + 0x1610]
add rsp, 0x15c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret