Function at 0x140006e10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x14000e8e8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov esi, edx
mov r14, rcx
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetpos]
test eax, eax
jne 0x140007164
mov r8d, dword [section..data]
lea r10, [rsp + 0x30]
mov r9d, dword [0x14000e004]
mov r11d, 0xc0
mov qword [rsp + 0x128], rbx
mov rbx, qword [r14 + 0x170]
mov qword [rsp + 0x130], rdi
mov rdi, qword [r14 + 0x178]
mov qword [rsp + 0x138], r15
nop word [rax + rax]
mov ecx, r8d
lea r10, [r10 + 1]
shr ecx, 0x19
mov eax, r9d
shl eax, 7
or ecx, eax
mov eax, r8d
shr eax, 0xc
movzx eax, al
movzx edx, cl
mov ecx, r8d
xor edx, eax
shr ecx, 0x18
mov eax, r9d
shl r8d, 8
shl eax, 8
mov r9d, ecx
or r9d, eax
mov byte [r10 - 1], dl
or r8d, edx
sub r11, 1
jne 0x140006e90
movdqa xmm0, xmmword [0x14000bd60]
lea rcx, [rbp - 0x39]
xor r15d, r15d
mov dword [section..data], r8d
mov dword [0x14000e004], r9d
lea r8, str.1.2.13
mov qword [rsp + 0x30], rdi
lea r9d, [r11 + 0x58]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov rax, qword [rbx]
mov qword [rbp - 0x79], rax
mov rax, qword [rbx + 8]
mov qword [rbp - 0x71], rax
mov dword [rbp - 0x69], esi
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], r15d
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov dword [rbp + 0x23], 0xffffffff
mov dword [rbp + 0x2b], r15d
mov dword [rbp - 0x59], r15d
movdqa xmmword [rbp - 0x49], xmm0
call sub.zlib.dll_inflateInit2_
mov dword [rbp + 0x27], eax
lea rcx, [rsp + 0x30]
test eax, eax
jne 0x14000711e
mov dword [rbp + 0x23], r15d
call fcn.140007650
cmp eax, 0xffffffff
je 0x14000705d
test eax, eax
je 0x140007046
cmp eax, 1
jne 0x140007128
mov rax, qword [rbp - 0x71]
mov ecx, dword [rbp - 0x3d]
test byte [rax], 4
jne 0x140006f95
mov eax, dword [rbp - 0x45]
cmp dword [rbp + 0x2b], eax
jne 0x140006f95
test ecx, ecx
je 0x140007108
cmp dword [rbp - 0x49], 1
jle 0x140006fa2
mov ebx, 0xf
jmp 0x14000701d
movzx eax, word [rbp - 0x55]
mov edx, 0x4000
cmp ax, dx
jbe 0x140006fb7
mov ebx, 0xf
jmp 0x14000701d
mov edx, 0x2000
cmp ax, dx
jbe 0x140006fc8
mov ebx, 0xe
jmp 0x14000701d
mov edx, 0x1000
cmp ax, dx
jbe 0x140006fd9
mov ebx, 0xd
jmp 0x14000701d
mov edx, 0x800
cmp ax, dx
jbe 0x140006fea
mov ebx, 0xc
jmp 0x14000701d
mov edx, 0x400
cmp ax, dx
jbe 0x140006ffb
mov ebx, 0xb
jmp 0x14000701d
mov edx, 0x200
cmp ax, dx
jbe 0x14000700c
mov ebx, 0xa
jmp 0x14000701d
mov ebx, r15d
mov edx, 0x100
cmp ax, dx
seta bl
add ebx, 8
cmp dword [rbp - 0x41], ebx
mov esi, 8
cmovl ebx, dword [rbp - 0x41]
test ecx, ecx
je 0x140007070
mov rcx, qword [rsp + 0x38]
lea r8, str.zlib_checksum
mov edx, dword [rcx + 0x3c]
mov rcx, qword [rcx]
call fcn.140006560
jmp 0x140007070
lea rax, str._truncated_
xor edx, edx
mov qword [rbp - 0x19], rax
lea rcx, [rsp + 0x30]
jmp 0x140007123
or dword [r14 + 0x18], 1
mov ebx, 0xf
mov esi, dword [rbp + 0x2b]
inc esi
nop dword [rax]
cmp esi, ebx
jl 0x14000707d
cmp ebx, dword [rbp - 0x41]
jge 0x140007108
lea edi, [rbx + rsi]
mov qword [rbp - 0x39], r15
sar edi, 1
lea rcx, [rbp - 0x39]
xor edx, edx
mov dword [rbp + 0x2b], edi
mov dword [rbp - 0x31], r15d
mov qword [rbp - 0x29], r15
mov dword [rbp - 0x21], r15d
mov dword [rbp - 0x59], r15d
mov dword [rbp - 0x49], r15d
mov dword [rbp + 0x23], r15d
call sub.zlib.dll_inflateReset2
mov dword [rbp + 0x27], eax
test eax, eax
jne 0x140007119
mov rcx, qword [r14 + 0x40]
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fsetpos]
test eax, eax
jne 0x140007183
lea rcx, [rsp + 0x30]
call fcn.140007650
cmp eax, 0xffffffff
je 0x1400070e2
cmp eax, 1
jne 0x140007128
mov ebx, edi
jmp 0x140007070
lea esi, [rdi + 1]
cmp esi, ebx
jle 0x140007072
mov rax, qword [rbp - 0x19]
lea rcx, str.invalid_distance_too_far_back
test rax, rax
cmovne rcx, rax
xor edx, edx
mov qword [rbp - 0x19], rcx
lea rcx, [rsp + 0x30]
jmp 0x140007123
lea rcx, [rsp + 0x30]
call fcn.1400071b0
mov eax, 1
jmp 0x140007134
lea rcx, [rsp + 0x30]
mov edx, 1
call fcn.1400074a0
lea rcx, [rsp + 0x30]
call fcn.1400071b0
xor eax, eax
mov rdi, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x128]
mov r15, qword [rsp + 0x138]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140007ba0
add rsp, 0x100
pop r14
pop rsi
pop rbp
ret
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea r8, [0x14000b720]
mov edx, 5
mov rcx, r14
call fcn.140005fe0
int3
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
lea r8, [0x14000b728]
mov edx, 5
mov rcx, r14
call fcn.140005fe0
int3