Function at 0x140161300
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov edi, r9d
mov r12, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [rbp + 0x218]
mov qword [rsp + 0x30], rax
mov r14, qword [rbp + 0x228]
mov qword [rsp + 0x38], r14
lea r13, [0x140111af0]
mov qword [rsp + 0x20], r13
lea r9, [0x140111ad0]
mov edx, 0xb0
mov r8d, 1
lea rcx, [rbp]
call fcn.14036195c
nop
mov qword [rsp + 0x20], r13
lea r9, [0x140111ad0]
mov edx, 0xb0
mov r8d, 1
lea rcx, [rbp + 0xb0]
call fcn.14036195c
nop
mov qword [rsp + 0x20], r13
lea r9, [0x140111ad0]
mov edx, 0xb0
mov r8d, 1
lea rcx, [rsp + 0x50]
call fcn.14036195c
nop
mov r13d, dword [rbp + 0x220]
cmp byte [rbp + 0x230], 0
je 0x14016145e
mov rax, qword [r14]
mov r8b, 1
lea rdx, str.ZipAes_derive_key
mov rcx, r14
call qword [rax + 0x40]
mov r9d, ebx
mov r8, rsi
lea rdx, [0x1404b4540]
mov rcx, r14
call fcn.1400aa710
mov r11, qword [r14]
mov r8d, ebx
lea rdx, str.pwd_len
mov rcx, r14
call qword [r11 + 0x58]
mov r9d, edi
mov r8, r12
lea rdx, str.salt
mov rcx, r14
call fcn.1400aa710
mov r11, qword [r14]
mov r8d, edi
lea rdx, str.salt_len
mov rcx, r14
call qword [r11 + 0x58]
mov r11, qword [r14]
mov r8d, r13d
lea rdx, str.key_len
mov rcx, r14
call qword [r11 + 0x58]
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0x48]
lea rcx, [rbp]
call fcn.1401610a0
lea r8, [rbp]
mov edx, ebx
mov rcx, rsi
call fcn.1401610b0
lea rcx, [rbp + 0xb0]
lea rdx, [rbp]
mov r8d, 0xb0
call fcn.14035fcd0
lea r8, [rbp + 0xb0]
mov edx, edi
mov rcx, r12
call fcn.140161160
lea r11d, [r13 - 1]
mov eax, 0xcccccccd
mul r11d
mov r15d, edx
shr r15d, 4
mov rbx, qword [rsp + 0x30]
inc r15d
je 0x140161636
xor edi, edi
lea r12d, [rdi + 1]
mov r14d, dword [rbp + 0x210]
nop word [rax + rax]
xor eax, eax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x170], eax
lea rcx, [rsp + 0x50]
lea rdx, [rbp + 0xb0]
mov r8d, 0xb0
call fcn.14035fcd0
mov r11d, r12d
shr r11d, 0x18
mov byte [rbp + 0x178], r11b
mov eax, r12d
shr eax, 0x10
mov byte [rbp + 0x179], al
mov eax, r12d
shr eax, 8
mov byte [rbp + 0x17a], al
mov byte [rbp + 0x17b], r12b
mov esi, 4
test r14d, r14d
je 0x1401615f3
mov rbx, r14
nop dword [rax + rax]
lea r8, [rsp + 0x50]
mov edx, esi
lea rcx, [rbp + 0x178]
call fcn.140161160
lea r8, [rsp + 0x50]
mov edx, socket
lea rcx, [rbp + 0x178]
call fcn.140161230
xor r11d, r11d
lea ecx, [r11 + 4]
lea esi, [rcx + 0x10]
movzx eax, byte [rbp + r11 + 0x178]
xor byte [rbp + r11 + 0x160], al
movzx eax, byte [rbp + r11 + 0x179]
xor byte [rbp + r11 + 0x161], al
movzx eax, byte [rbp + r11 + 0x17a]
xor byte [rbp + r11 + 0x162], al
movzx eax, byte [rbp + r11 + 0x17b]
xor byte [rbp + r11 + 0x163], al
movzx eax, byte [rbp + r11 + 0x17c]
xor byte [rbp + r11 + 0x164], al
add r11, 5
dec rcx
jne 0x140161573
lea rcx, [rsp + 0x50]
lea rdx, [rbp]
mov r8d, 0xb0
call fcn.14035fcd0
dec rbx
jne 0x140161540
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
movsxd rdx, edi
add rdx, rbx
lea r8, [rbp + 0x160]
lea eax, [rdi + rcx]
cmp eax, r13d
jae 0x14016161d
movzx eax, byte [r8]
mov byte [rdx], al
inc rdx
inc ecx
inc r8
cmp ecx, 0x14
jb 0x140161602
inc r12d
add edi, 0x14
lea eax, [r12 - 1]
cmp eax, r15d
jb 0x1401614d0
mov r14, qword [rsp + 0x38]
cmp byte [rbp + 0x230], 0
je 0x140161672
mov rax, qword [r14]
mov r8d, r13d
lea rdx, str.key_len
mov rcx, r14
call qword [rax + 0x58]
mov r9d, r13d
mov r8, rbx
lea rdx, [0x140463348]
mov rcx, r14
call fcn.1400aa710
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0x48]
nop
lea r9, [0x140111af0]
mov edx, 0xb0
mov r8d, 1
lea rcx, [rsp + 0x50]
call fcn.14036080c
nop
lea r9, [0x140111af0]
mov edx, 0xb0
mov r8d, 1
lea rcx, [rbp + 0xb0]
call fcn.14036080c
nop
lea r9, [0x140111af0]
mov edx, 0xb0
mov r8d, 1
lea rcx, [rbp]
call fcn.14036080c
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret