Function at 0x1401564dc
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.1401afd00
sub rsp, rax
mov rax, qword [0x140231eb8]
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.1400041b8
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 0x140156564
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400041b8
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.140115fa4
mov ebx, eax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1401565df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401565da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140156c6d
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r13w
lea rcx, [rbp - 0x60]
call fcn.140006b94
test ebx, ebx
jne 0x1401567c0
mov r15d, 0x400
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.1401b2120
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.1400041b8
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 0x140156646
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041b8
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140115fa4
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.140006b94
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1401566c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401566bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140156c73
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r13w
test ebx, ebx
jne 0x140156783
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.1400041b8
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 0x140156710
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041b8
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.140115fa4
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.140006b94
nop
lea rcx, [rbp - 0x20]
call fcn.140006b94
mov edx, r13d
test ebx, ebx
jle 0x14015676e
movsxd rcx, edx
lea eax, [rdx + 0x49]
xor byte [rbp + rcx + 0x20], al
je 0x14015676e
inc edx
cmp edx, ebx
jl 0x14015675c
mov r8, r12
lea rdx, [rbp + 0xa20]
lea rcx, [rbp + 0x20]
call fcn.140104bac
jmp 0x1401567af
mov ecx, r13d
test ebx, ebx
jle 0x14015679c
lea rdx, [rbp + 0x20]
lea eax, [rcx + 0x49]
xor byte [rdx], al
inc ecx
inc rdx
cmp ecx, ebx
jl 0x14015678e
mov r8, r12
lea rdx, [rbp + 0xa20]
lea rcx, [rbp + 0x20]
call fcn.140104dac
mov rdx, r15
lea rcx, [rbp + 0x20]
call fcn.1400fb13c
jmp 0x140156b05
lea rcx, [rsp + 0x58]
call fcn.1400e785c
nop
mov r8, r12
lea rdx, [rbp + 0xe20]
lea rcx, [rsp + 0x58]
call fcn.1400e7b48
lea rcx, [rsp + 0x58]
call fcn.1400e7890
mov r15d, 0x400
cmp al, 1
jne 0x140156abb
lea rcx, [rsp + 0x58]
call fcn.1400e78e4
mov r13d, eax
shr r13d, 0x18
mov ebx, 0x10
mov r8d, ebx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400e7950
mov r8d, ebx
lea rdx, [rbp + 0xa10]
lea rcx, [rsp + 0x58]
call fcn.1400e7950
lea r8d, [rbx - 8]
lea rdx, [rbp + 0xa00]
lea rcx, [rsp + 0x58]
call fcn.1400e7950
lea rcx, [rbp + 0x20]
call fcn.1400bb878
nop
xor ebx, ebx
mov r14b, bl
lea rcx, [rbp]
call fcn.1400fac84
nop
lea rcx, [rbp]
cmp byte [0x14025a468], bl
je 0x14015688f
mov r9b, byte [rsp + 0x50]
mov r8, qword [0x14025a458]
mov rdx, qword [0x14025a450]
call fcn.140006e1c
mov al, byte [0x14025a468]
mov byte [rbp + 0x18], al
jmp 0x14015689b
lea rdx, [0x1401e03bc]
call fcn.1400fb0dc
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.1400bc02c
mov rax, qword [rbp + 0xa00]
cmp rax, qword [rbp + 0xa08]
setne bl
test bl, bl
je 0x1401569bb
xor ebx, ebx
test r14b, r14b
je 0x140156986
lea ecx, [rbx + 0x66]
call fcn.1400f6aa0
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 0x140156914
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400041b8
nop
mov ecx, 0x606
call fcn.1400f6aa0
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 0x140156944
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400041b8
nop
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x20]
mov rcx, qword [0x140233a48]
call fcn.140162f50
nop
lea rcx, [rbp - 0x20]
call fcn.140006b94
nop
lea rcx, [rbp - 0x60]
call fcn.140006b94
mov r9, qword [rbp - 0x70]
xor r8d, r8d
lea rdx, [0x14025a450]
mov rcx, qword [rbp - 0x68]
call fcn.140096f54
test al, al
je 0x1401569b2
lea rcx, [rbp]
call fcn.1400face4
mov r14b, 1
jmp 0x140156856
mov byte [0x140234e43], 1
mov bl, 1
lea rcx, [rbp]
call fcn.1400face4
xor r13d, r13d
test bl, bl
jne 0x140156a6f
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.1400bbd50
lea rcx, [rsp + 0x58]
call fcn.1400e78ac
movzx ebx, ax
cmp rbx, r12
cmovb r12, rbx
mov r8, r12
lea rdx, [rbp + 0xa20]
lea rcx, [rsp + 0x58]
call fcn.1400e7aa4
mov eax, 0x1ff
cmp rbx, rax
cmovb eax, ebx
add rax, rax
cmp rax, r15
jae 0x140156c67
mov word [rbp + rax + 0xa20], r13w
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x58]
or ecx, 0xffffffff
call fcn.1400bb4fc
mov ebx, eax
not ebx
lea rcx, [rsp + 0x58]
call fcn.1400e78e4
cmp ebx, eax
je 0x140156a6f
mov word [rbp + 0xa20], r13w
mov ecx, 0x5d0
call fcn.1400f6aa0
mov rcx, rax
call fcn.14016b0ac
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call fcn.1400fb13c
nop
lea r9, [0x140096430]
mov ebx, 4
mov r8d, ebx
mov edx, 0x98
lea rcx, [rbp + 0x168]
call fcn.1401afdc0
nop
lea r9, [0x1400963d0]
mov r8d, ebx
lea edx, [rbx + 0x4c]
lea rcx, [rbp + 0x20]
call fcn.1401afdc0
mov r14b, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140156b05
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140156af2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140156c79
call fcn.1401af36c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
test r14b, r14b
je 0x140156b31
cmp byte [0x140235368], r13b
jne 0x140156c2e
cmp byte [0x140234a58], r13b
jne 0x140156c2e
cmp byte [0x140234e67], r13b
jne 0x140156c2e
lea rdx, [rbp + 0xa20]
lea rcx, [0x140235350]
call fcn.1400fb0dc
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.1400041b8
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 0x140156b76
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041b8
nop
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.140115f8c
test eax, eax
setne byte [0x140234a58]
lea rcx, [rbp - 0x60]
call fcn.140006b94
nop
lea rcx, [rbp - 0x20]
call fcn.140006b94
mov qword [rbp], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov r8d, 0x10
lea rdx, str.ZipLegacyEncrypt
lea rcx, [rbp]
call fcn.1400041b8
nop
mov qword [rbp - 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x140156be8
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400041b8
nop
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.140115f8c
test eax, eax
setne byte [0x140234e67]
lea rcx, [rbp - 0x60]
call fcn.140006b94
nop
lea rcx, [rbp]
call fcn.140006b94
mov rdx, r15
lea rcx, [rbp + 0xa20]
call fcn.1400fb13c
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.1401af480
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.1401af8b4
nop
call fcn.1401b6544
nop
call fcn.1401b6544
int3
call fcn.1401b6544
int3