Function at 0x1400d2194
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x14c0]
mov eax, 0x15c0
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x14b0], rax
mov qword [rsp + 0x58], r9
mov bl, r8b
mov byte [rsp + 0x50], bl
mov r14, rdx
mov r13, rcx
xor r15d, r15d
mov word [rbp + 0x11b0], r15w
mov edi, 0x200
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp + 0x12b0]
lea rdx, str.PasswordData
mov rcx, r14
call fcn.1400add48
test eax, eax
jne 0x1400d22d9
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140108940
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, str.PasswordWide
mov rcx, r14
call fcn.1400add48
mov r8d, eax
test eax, eax
jne 0x1400d2297
mov byte [rbp - 0x50], r15b
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, str.Password
mov rcx, r14
call fcn.1400add48
mov r8d, r15d
test eax, eax
jle 0x1400d227f
movsxd rdx, r8d
lea ecx, [r8 + 0x49]
xor byte [rbp + rdx - 0x50], cl
je 0x1400d227f
inc r8d
cmp r8d, eax
jl 0x1400d226a
mov r8d, 0x80
lea rdx, [rbp + 0x11b0]
lea rcx, [rbp - 0x50]
call fcn.14009f7cc
jmp 0x1400d22c8
mov ecx, r15d
test r8d, r8d
jle 0x1400d22b2
lea rdx, [rbp - 0x50]
lea eax, [rcx + 0x49]
xor byte [rdx], al
inc ecx
inc rdx
cmp ecx, r8d
jl 0x1400d22a3
mov r8d, 0x80
lea rdx, [rbp + 0x11b0]
lea rcx, [rbp - 0x50]
call fcn.14009f8f8
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14009a3b0
jmp 0x1400d2597
lea rcx, [rsp + 0x60]
call fcn.14008ae40
nop
mov r8, rdi
lea rdx, [rbp + 0x12b0]
lea rcx, [rsp + 0x60]
call fcn.14008b138
lea rcx, [rsp + 0x60]
call fcn.14008ae74
mov esi, 0x100
cmp al, 1
jne 0x1400d258d
lea rcx, [rsp + 0x60]
call fcn.14008aec8
mov r12d, eax
shr r12d, 0x18
mov ebx, 0x10
mov r8d, ebx
lea rdx, [rbp + 0x11a0]
lea rcx, [rsp + 0x60]
call fcn.14008af40
mov r8d, ebx
lea rdx, [rbp + 0x1190]
lea rcx, [rsp + 0x60]
call fcn.14008af40
lea r8d, [rbx - 8]
lea rdx, [rbp + 0x1180]
lea rcx, [rsp + 0x60]
call fcn.14008af40
lea rcx, [rbp + 0xc0]
call fcn.14006bf04
nop
lea edi, [rsi - 0x80]
lea rcx, [rbp - 0x50]
call fcn.140099ff4
nop
lea rcx, [rbp - 0x50]
cmp byte [0x1401d14d0], 0
je 0x1400d23e7
lea rax, [0x1401d13d0]
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 0x1400d2395
movzx eax, word [rax]
mov word [rcx], ax
jmp 0x1400d23f3
lea rdx, [0x14012ec3c]
call fcn.14009a358
lea rax, [rbp + 0x1188]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], r12d
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.14006c6b8
mov rax, qword [rbp + 0x1180]
cmp rax, qword [rbp + 0x1188]
setne bl
test bl, bl
je 0x1400d24b8
test r15b, r15b
je 0x1400d247e
mov ecx, 0x66
call fcn.140096d58
mov rbx, rax
mov ecx, 0x606
call fcn.140096d58
xor r9d, r9d
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x140172488]
call fcn.1400d7004
mov r9, qword [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x1401d13d0]
mov rcx, r13
call fcn.140053170
xor r15d, r15d
test al, al
je 0x1400d24ad
lea rcx, [rbp - 0x50]
call fcn.14009a01c
mov r15b, 1
jmp 0x1400d2372
mov byte [0x14018d452], 1
mov bl, 1
jmp 0x1400d24bb
xor r15d, r15d
lea rcx, [rbp - 0x50]
call fcn.14009a01c
test bl, bl
jne 0x1400d256e
mov r8, qword [rbp - 0x70]
sub r8, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
add rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0xc0]
call fcn.14006c3dc
lea rcx, [rsp + 0x60]
call fcn.14008ae90
movzx ebx, ax
cmp rbx, rdi
cmovb rdi, rbx
mov r8, rdi
lea rdx, [rbp + 0x11b0]
lea rcx, [rsp + 0x60]
call fcn.14008b094
mov eax, 0x7f
cmp rbx, rax
cmovb eax, ebx
add rax, rax
cmp rax, rsi
jae 0x1400d2638
mov word [rbp + rax + 0x11b0], r15w
mov r8, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x60]
or ecx, 0xffffffff
call fcn.14006bc0c
mov ebx, eax
not ebx
lea rcx, [rsp + 0x60]
call fcn.14008aec8
cmp ebx, eax
je 0x1400d256e
mov word [rbp + 0x11b0], r15w
mov ecx, 0x5d0
call fcn.140096d58
mov rcx, rax
call fcn.1400dba04
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.14009a3b0
nop
lea rcx, [rbp + 0xc0]
call fcn.14006bfec
mov bl, byte [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004d0c
test bl, bl
je 0x1400d25b6
cmp byte [0x140187040], r15b
jne 0x1400d25ff
cmp byte [0x140187042], r15b
jne 0x1400d25ff
cmp byte [0x14018e46b], r15b
jne 0x1400d25ff
lea rdx, [rbp + 0x11b0]
lea rcx, [0x140186f40]
call fcn.14009a358
xor r8d, r8d
lea rdx, str.EncryptHeaders
mov rcx, r14
call fcn.1400add30
test eax, eax
setne byte [0x140187042]
xor r8d, r8d
lea rdx, str.ZipLegacyEncrypt
mov rcx, r14
call fcn.1400add30
test eax, eax
setne byte [0x14018e46b]
mov rdx, rsi
lea rcx, [rbp + 0x11b0]
call fcn.14009a3b0
mov rcx, qword [rbp + 0x14b0]
xor rcx, rsp
call fcn.140105c50
mov rbx, qword [rsp + 0x1610]
add rsp, 0x15c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401059c4
nop
int3