Function at 0x140155558
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 - 0x1030]
mov eax, 0x1130
call fcn.1401ae760
sub rsp, rax
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov qword [rbp - 0x70], r9
mov r14b, r8b
mov byte [rsp + 0x50], r8b
mov rdi, rdx
mov qword [rbp - 0x68], rcx
xor r13d, r13d
mov word [rbp + 0xa20], r13w
mov qword [rbp - 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
lea r8d, [r13 + 0xc]
lea rdx, str.PasswordData
lea rcx, [rbp - 0x60]
call fcn.1400041a8
nop
mov qword [rbp - 0x40], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
or rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r13w
jne 0x1401555e0
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400041a8
nop
mov r12d, 0x200
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp + 0xe20]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140115394
mov ebx, eax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14015565b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140155656
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140155ce9
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r13w
lea rcx, [rbp - 0x60]
call fcn.140006b84
test ebx, ebx
jne 0x14015583c
mov r15d, 0x400
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.1401b0b80
mov qword [rbp - 0x40], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
lea r8d, [rbx + 0xc]
lea rdx, str.PasswordWide
lea rcx, [rbp - 0x40]
call fcn.1400041a8
nop
mov qword [rbp - 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r13w
jne 0x1401556c2
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041a8
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140115394
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.140006b84
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14015573e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140155739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140155cef
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r13w
test ebx, ebx
jne 0x1401557ff
mov byte [rbp + 0x20], r13b
mov qword [rbp - 0x20], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
lea r8d, [rbx + 8]
lea rdx, str.Password
lea rcx, [rbp - 0x20]
call fcn.1400041a8
nop
mov qword [rbp - 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r13w
jne 0x14015578c
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041a8
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.140115394
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.140006b84
nop
lea rcx, [rbp - 0x20]
call fcn.140006b84
mov edx, r13d
test ebx, ebx
jle 0x1401557ea
movsxd rcx, edx
lea eax, [rdx + 0x49]
xor byte [rbp + rcx + 0x20], al
je 0x1401557ea
inc edx
cmp edx, ebx
jl 0x1401557d8
mov r8, r12
lea rdx, [rbp + 0xa20]
lea rcx, [rbp + 0x20]
call fcn.140103fc8
jmp 0x14015582b
mov ecx, r13d
test ebx, ebx
jle 0x140155818
lea rdx, [rbp + 0x20]
lea eax, [rcx + 0x49]
xor byte [rdx], al
inc ecx
inc rdx
cmp ecx, ebx
jl 0x14015580a
mov r8, r12
lea rdx, [rbp + 0xa20]
lea rcx, [rbp + 0x20]
call fcn.1401041c8
mov rdx, r15
lea rcx, [rbp + 0x20]
call fcn.1400fa728
jmp 0x140155b81
lea rcx, [rsp + 0x58]
call fcn.1400e6d9c
nop
mov r8, r12
lea rdx, [rbp + 0xe20]
lea rcx, [rsp + 0x58]
call fcn.1400e7094
lea rcx, [rsp + 0x58]
call fcn.1400e6dd0
mov r15d, 0x400
cmp al, 1
jne 0x140155b37
lea rcx, [rsp + 0x58]
call fcn.1400e6e24
mov r13d, eax
shr r13d, 0x18
mov ebx, 0x10
mov r8d, ebx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400e6e9c
mov r8d, ebx
lea rdx, [rbp + 0xa10]
lea rcx, [rsp + 0x58]
call fcn.1400e6e9c
lea r8d, [rbx - 8]
lea rdx, [rbp + 0xa00]
lea rcx, [rsp + 0x58]
call fcn.1400e6e9c
lea rcx, [rbp + 0x20]
call fcn.1400bb230
nop
xor ebx, ebx
mov r14b, bl
lea rcx, [rbp]
call fcn.1400fa270
nop
lea rcx, [rbp]
cmp byte [0x140256478], bl
je 0x14015590b
mov r9b, byte [rsp + 0x50]
mov r8, qword [0x140256468]
mov rdx, qword [0x140256460]
call fcn.140006e0c
mov al, byte [0x140256478]
mov byte [rbp + 0x18], al
jmp 0x140155917
lea rdx, [0x1401de3ac]
call fcn.1400fa6c8
lea rax, [rbp + 0xa08]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r13d
lea rax, [rbp + 0xa10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [rbp + 0x20]
call fcn.1400bb9f0
mov rax, qword [rbp + 0xa00]
cmp rax, qword [rbp + 0xa08]
setne bl
test bl, bl
je 0x140155a37
xor ebx, ebx
test r14b, r14b
je 0x140155a02
lea ecx, [rbx + 0x66]
call fcn.1400f5fe0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov r8, rsi
inc r8
cmp word [rax + r8*2], bx
jne 0x140155990
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400041a8
nop
mov ecx, 0x606
call fcn.1400f5fe0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov r8, rsi
inc r8
cmp word [rax + r8*2], bx
jne 0x1401559c0
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400041a8
nop
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x20]
mov rcx, qword [0x140231af0]
call fcn.140161ea0
nop
lea rcx, [rbp - 0x20]
call fcn.140006b84
nop
lea rcx, [rbp - 0x60]
call fcn.140006b84
mov r9, qword [rbp - 0x70]
xor r8d, r8d
lea rdx, [0x140256460]
mov rcx, qword [rbp - 0x68]
call fcn.140096db8
test al, al
je 0x140155a2e
lea rcx, [rbp]
call fcn.1400fa2d0
mov r14b, 1
jmp 0x1401558d2
mov byte [0x140232e83], 1
mov bl, 1
lea rcx, [rbp]
call fcn.1400fa2d0
xor r13d, r13d
test bl, bl
jne 0x140155aeb
mov r8, qword [rsp + 0x78]
sub r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x58]
add rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.1400bb714
lea rcx, [rsp + 0x58]
call fcn.1400e6dec
movzx ebx, ax
cmp rbx, r12
cmovb r12, rbx
mov r8, r12
lea rdx, [rbp + 0xa20]
lea rcx, [rsp + 0x58]
call fcn.1400e6ff0
mov eax, 0x1ff
cmp rbx, rax
cmovb eax, ebx
add rax, rax
cmp rax, r15
jae 0x140155ce3
mov word [rbp + rax + 0xa20], r13w
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x58]
or ecx, 0xffffffff
call fcn.1400baf38
mov ebx, eax
not ebx
lea rcx, [rsp + 0x58]
call fcn.1400e6e24
cmp ebx, eax
je 0x140155aeb
mov word [rbp + 0xa20], r13w
mov ecx, 0x5d0
call fcn.1400f5fe0
mov rcx, rax
call fcn.1401687cc
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call fcn.1400fa728
nop
lea r9, [0x1400962c0]
mov ebx, 4
mov r8d, ebx
mov edx, 0x98
lea rcx, [rbp + 0x168]
call fcn.1401ae820
nop
lea r9, [0x140096260]
mov r8d, ebx
lea edx, [rbx + 0x4c]
lea rcx, [rbp + 0x20]
call fcn.1401ae820
mov r14b, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140155b81
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140155b6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140155cf5
call fcn.1401addcc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
test r14b, r14b
je 0x140155bad
cmp byte [0x1402333a8], r13b
jne 0x140155caa
cmp byte [0x140232a98], r13b
jne 0x140155caa
cmp byte [0x140232ea7], r13b
jne 0x140155caa
lea rdx, [rbp + 0xa20]
lea rcx, [0x140233390]
call fcn.1400fa6c8
mov qword [rbp - 0x20], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov r8d, 0xe
lea rdx, str.EncryptHeaders
lea rcx, [rbp - 0x20]
call fcn.1400041a8
nop
mov qword [rbp - 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r13w
jne 0x140155bf2
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041a8
nop
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.14011537c
test eax, eax
setne byte [0x140232a98]
lea rcx, [rbp - 0x60]
call fcn.140006b84
nop
lea rcx, [rbp - 0x20]
call fcn.140006b84
mov qword [rbp], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov r8d, 0x10
lea rdx, str.ZipLegacyEncrypt
lea rcx, [rbp]
call fcn.1400041a8
nop
mov qword [rbp - 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x140155c64
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041a8
nop
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.14011537c
test eax, eax
setne byte [0x140232ea7]
lea rcx, [rbp - 0x60]
call fcn.140006b84
nop
lea rcx, [rbp]
call fcn.140006b84
mov rdx, r15
lea rcx, [rbp + 0xa20]
call fcn.1400fa728
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.1401adee0
mov rbx, qword [rsp + 0x1180]
add rsp, 0x1130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401ae314
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
int3
call fcn.1401b4fa4
int3