Function at 0x14000117c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
xor r13d, r13d
mov dword [rsp + 0x20], 0x68297959
mov dword [rsp + 0x24], 0x6929766e
mov dword [rsp + 0x28], 0x5e263038
mov dword [rsp + 0x2c], 0x326e215a
mov dword [rsp + 0x30], 0x37537a77
mov word [rbp - 0x79], r13w
mov word [rsp + 0x34], 0x7a
mov dword [rsp + 0x38], 0x65006b
mov dword [rsp + 0x3c], 0x6e0072
mov dword [rsp + 0x40], 0x6c0065
mov dword [rsp + 0x44], 0x320033
mov dword [rsp + 0x48], 0x64002e
mov dword [rbp - 0x7d], 0x6c006c
mov edx, 0x3d090c
nop dword [rax + rax]
mov eax, r13d
lea rcx, [rbp - 0x59]
nop word [rax + rax]
mov byte [rcx], al
inc eax
lea rcx, [rcx + 1]
cmp eax, 0x6a
jb 0x1400010c0
dec rdx
jne 0x1400010b0
cmp byte [rbp - 0x29], 0x30
jne 0x1400010e7
lea rcx, [rsp + 0x38]
call fcn.1400015a0
mov rbx, rax
jmp 0x1400010eb
mov rbx, qword [rbp + 0x6f]
mov edx, 0xe3142
mov rcx, rbx
call fcn.140001600
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.140001600
mov edx, 0x348bfa
mov rcx, rbx
mov qword [rbp - 0x69], rax
call fcn.140001600
xor ecx, ecx
mov edx, 0x8c200
lea r9d, [rcx + 4]
mov r8d, 0x3000
mov qword [rbp - 0x71], rax
call rdi
movsx edx, byte [rbp + 8]
movsx r8, byte [rbp - 0x59]
imul edx, r8d
movabs r11, section.4PmT
mov r12, rax
imul ecx, edx, 0x3c8
imul rdx, r8, 0x21
sub r11, rdx
mov r9d, r13d
movabs rsi, 0x2e8ba2e8ba2e8ba3
sub r11, rax
movsxd rbx, ecx
lea r10, [rdx + rax]
nop
movsxd rcx, r9d
mov rax, rsi
inc r9d
lea r10, [r10 + 1]
mul rcx
shr rdx, 2
imul rax, rdx, 0x16
sub rcx, rax
add rcx, rbx
movzx eax, byte [rsp + rcx + 0x20]
xor al, byte [r11 + r10 - 1]
mov byte [r10 - 1], al
cmp r9d, 0x8c200
jb 0x140001170
mov rcx, r12
call fcn.140001450
movsx r9d, byte [rbp - 0x51]
mov r8d, 0x3000
shl r9d, 3
mov rdx, rax
xor ecx, ecx
call rdi
mov rsi, rax
test rax, rax
je 0x140001436
movsxd r11, dword [r12 + 0x3c]
mov rdx, r12
mov rcx, rsi
add r11, r12
mov qword [rsp + 0xe8], r14
sub rax, qword [r11 + 0x30]
movzx ebx, word [r11 + 0x14]
mov r8d, dword [r11 + 0x54]
add rbx, 0x24
mov qword [rbp + 0x77], r11
mov qword [rbp + 0x6f], rax
add rbx, r11
mov qword [r11 + 0x30], rsi
call fcn.140001480
mov r10, qword [r11 + 0xb0]
mov rax, qword [rbp + 0x77]
mov r11, qword [r11 + 0x90]
xor ecx, ecx
mov qword [rbp + 0x7f], r10
mov r14, r13
mov edi, ecx
cmp cx, word [rax + 6]
jae 0x14000142c
mov r15, rax
mov r9d, dword [rbx]
cmp r10d, r9d
jb 0x14000124b
mov ecx, dword [rbx - 4]
add ecx, r9d
cmp r10d, ecx
jae 0x14000124b
lea r14, [rbx - 0xc]
cmp r11d, r9d
jb 0x14000125f
mov ecx, dword [rbx - 4]
add ecx, r9d
cmp r11d, ecx
jae 0x14000125f
lea r13, [rbx - 0xc]
mov edx, dword [rbx + 8]
mov r8d, dword [rbx + 4]
lea rcx, [rsi + r9]
add rdx, r12
call fcn.140001480
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jl 0x140001234
mov r15, qword [rbp - 0x71]
test r13, r13
je 0x14000142c
mov eax, dword [rbp + 0x83]
xor r11d, r11d
test rax, rax
je 0x140001339
mov r13, qword [rbp + 0x6f]
mov edx, 0xf000
xor r15d, r15d
nop dword [rax]
mov edi, dword [r14 + 0x14]
add rdi, r11
add r11, 8
mov ebx, dword [rdi + r12 + 4]
sub rbx, 8
shr rbx, 1
je 0x14000132c
nop dword [rax]
mov eax, dword [r14 + 0x14]
add rax, r11
add r11, 2
movzx ecx, word [rax + r12]
test dx, cx
je 0x140001321
mov r10d, dword [rdi + r12]
and ecx, 0xfff
mov r8d, 8
lea rax, [rsi + rcx]
lea rcx, [rbp + 0x6f]
mov qword [rbp + 0x6f], r15
add r10, rax
mov rdx, r10
call fcn.140001480
add qword [rbp + 0x6f], r13
lea rdx, [rbp + 0x6f]
mov rcx, r10
call fcn.140001480
mov edx, 0xf000
dec rbx
jne 0x1400012d0
mov eax, dword [rbp + 0x83]
cmp r11, rax
jb 0x1400012b0
mov r15, qword [rbp - 0x71]
mov rdi, qword [rbp + 0x77]
mov r14d, dword [rdi + 0x90]
add r14, rsi
je 0x14000142c
add r14, 0xc
cmp dword [r14], 0
je 0x1400013ca
mov r13, qword [rbp - 0x69]
nop dword [rax + rax]
mov ecx, dword [r14]
add rcx, rsi
call r13
mov rdi, rax
test rax, rax
je 0x14000142c
invalid
mov bh, 0
add byte [rax], al
mov ebx, dword [r14 + 4]
add rbx, rsi
cmp qword [rbx], 0
je 0x1400013bc
movabs r13, 0x8000000000000000
nop dword [rax]
mov rcx, qword [rbx]
test r13, rcx
je 0x14000139d
movzx edx, cx
jmp 0x1400013a4
lea rdx, [rcx + 2]
add rdx, rsi
mov rcx, rdi
call r15
add rbx, 8
mov qword [rbx - 8], rax
cmp qword [rbx], 0
jne 0x140001390
mov r13, qword [rbp - 0x69]
add r14, 0x14
cmp dword [r14], 0
jne 0x140001360
mov rdi, qword [rbp + 0x77]
invalid
invalid