Function at 0x14004f000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140ce2080]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x140cc63d0]
xor ebx, ebx
mov rsi, rcx
mov dword [rbp - 0x20], 0x100d1ce
movdqu xmmword [rbp - 0x30], xmm0
mov ecx, ebx
nop dword [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x12
jb 0x14004f040
mov rdi, 0xffffffffffffffff
mov byte [rbp - 0x1d], bl
mov rax, rdi
lea rcx, [rbp - 0x30]
inc rax
cmp byte [rcx + rax], bl
jne 0x14004f061
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
jb 0x14004f076
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x88], r14
xor r8d, r8d
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x20], rax
call fcn.1400368b0
cmp rax, rdi
jne 0x14004f3e3
movdqa xmm0, xmmword [0x140cc55d0]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x20], IStream_Reset
mov byte [rbp - 0x1e], 1
nop
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x11
jb 0x14004f0c0
mov r15, qword [rsi + 0x10]
lea rcx, [rbp - 0x30]
mov r14, qword [rsi + 0x18]
mov rax, rdi
mov byte [rbp - 0x1e], bl
inc rax
cmp byte [rcx + rax], bl
jne 0x14004f0e2
mov rcx, rsi
cmp r14, 0x10
jb 0x14004f0f6
mov rcx, qword [rsi]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.1400368b0
cmp rax, rdi
jne 0x14004f3e3
movdqa xmm0, xmmword [0x140cc55d0]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xcbf4fbd3
mov word [rbp - 0x1c], reloc.SHLWAPI.dll_IStream_Size
mov byte [rbp - 0x1a], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x15
jb 0x14004f140
mov byte [rbp - 0x1a], bl
lea rcx, [rbp - 0x30]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x14004f160
mov rcx, rsi
cmp r14, 0x10
jb 0x14004f174
mov rcx, qword [rsi]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.1400368b0
cmp rax, rdi
jne 0x14004f3e3
movdqa xmm0, xmmword [0x140cc55c0]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x20], IStream_Reset
mov byte [rbp - 0x1e], 1
nop dword [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x11
jb 0x14004f1b0
mov byte [rbp - 0x1e], bl
lea rcx, [rbp - 0x30]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x14004f1d0
mov rcx, rsi
cmp r14, 0x10
jb 0x14004f1e4
mov rcx, qword [rsi]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.1400368b0
cmp rax, rdi
jne 0x14004f3e3
movdqa xmm0, xmmword [0x140cc67d0]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xd7ccfbf4
mov word [rbp - 0x1c], 0x100
nop
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x14
jb 0x14004f220
mov byte [rbp - 0x1b], bl
lea rcx, [rbp - 0x30]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x14004f240
mov rcx, rsi
cmp r14, 0x10
jb 0x14004f254
mov rcx, qword [rsi]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.1400368b0
cmp rax, rdi
jne 0x14004f3e3
movdqa xmm0, xmmword [0x140cc67d0]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xd6ccfbf4
mov dword [rbp - 0x1c], 0xdbc8f1fc
mov word [rbp - 0x18], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x18
jb 0x14004f2a0
mov byte [rbp - 0x17], bl
lea rcx, [rbp - 0x30]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x14004f2c0
mov rcx, rsi
cmp r14, 0x10
jb 0x14004f2d4
mov rcx, qword [rsi]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.1400368b0
cmp rax, rdi
jne 0x14004f3e3
movdqa xmm0, xmmword [0x140cc4f90]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x92b1a3a2
mov dword [rbp - 0x1c], 0xa1a7aaa0
mov dword [rbp - 0x18], 0x9a87bbb7
mov word [rbp - 0x14], 0x100
nop dword [rax]
lea eax, [rcx - 0x42]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x1c
jb 0x14004f320
mov byte [rbp - 0x13], bl
lea rcx, [rbp - 0x30]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x14004f340
mov rcx, rsi
cmp r14, 0x10
jb 0x14004f354
mov rcx, qword [rsi]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.1400368b0
cmp rax, rdi
jne 0x14004f3e3
mov dword [rbp - 0x30], 0xc5f1ebc0
mov dword [rbp - 0x2c], 0xebe6f2f1
mov dword [rbp - 0x28], 0xe1e4c8e2
mov word [rbp - 0x24], 0xef
mov byte [rbp - 0x22], 1
nop dword [rax]
lea eax, [rbx - 0x7f]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0xd
jb 0x14004f390
mov byte [rbp - 0x22], 0
lea rax, [rbp - 0x30]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004f3b0
cmp r14, 0x10
jb 0x14004f3c2
mov rsi, qword [rsi]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call fcn.1400368b0
cmp rax, 0xffffffffffffffff
jne 0x14004f3e3
xor al, al
jmp 0x14004f3e5
mov al, 1
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x88]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401308a0
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret