Function at 0x140003b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [rcx + 0xdef8]
lea r13, [rcx + 0xd2f8]
mov r15, qword [rcx + 0x110]
lea r14, [rsp + 0x60]
mov r12, qword [rcx + 0x168]
sub r14, r8
xor esi, esi
mov qword [rsp + 0x20], rax
lea rax, [rcx + 0x170]
mov dword [rsp + 0x2b8], 1
xor edi, edi
mov qword [rsp + 0x38], r13
xor ebx, ebx
mov qword [rsp + 0x30], rax
xor ebp, ebp
mov qword [rsp + 0x40], r14
sub r8, rcx
mov qword [rsp + 0x48], 3
lea rcx, [r8 - 0xd0f8]
mov qword [rsp + 0x58], rcx
nop dword [rax + rax]
add rbp, qword [rax]
lea rcx, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov r8d, 0x200
call fcn.1400b1c70
mov qword [r13 + 0x600], rdi
mov qword [r13], rsi
mov r13, rbp
sub r13, rbx
cmp r13, rdi
cmovge r13, rdi
sub rdi, r13
mov rcx, r13
test r13, r13
jle 0x140003c75
xor r8d, r8d
mov rax, qword [r12 + rbx*8]
dec rcx
inc rbx
mov word [r15 + rax*4 + 2], r8w
test rcx, rcx
jg 0x140003c60
cmp rbx, rbp
jge 0x140003ea1
mov rcx, qword [rsp + 0x2a8]
movsxd rax, dword [rsp + 0x2b8]
sar rax, 1
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x2a0]
mov qword [rsp + 0x50], rax
lea r14, [rcx + 0xd058]
nop dword [rax]
movsxd rdx, dword [rax]
mov rdx, qword [rcx + rdx*8 + 0xd078]
mov rcx, r14
call fcn.14000b6c0
mov rdx, qword [rsp + 0x20]
movsxd rdi, eax
mov byte [rsi + rdx], dil
inc rsi
cmp rdi, 0xf
jae 0x140003dcf
mov r9d, dword [r14]
lea rax, [0x140000000]
movzx r11d, byte [rax + rdi + 0x1395d8]
mov r8d, dword [r14 + 0x18]
test r11d, r11d
jne 0x140003d03
xor r8d, r8d
mov r9d, r8d
jmp 0x140003d95
cmp r8d, r11d
jge 0x140003d73
mov rdx, qword [r14 + 8]
mov r10, qword [r14 + 0x10]
cmp r8d, 0x18
jg 0x140003d3d
mov ecx, 0x20
sub ecx, r8d
nop
cmp rdx, r10
jae 0x140003d3d
movzx eax, byte [rdx]
sub ecx, 8
shl eax, cl
add r8d, 8
or r9d, eax
inc rdx
cmp r8d, 0x18
jle 0x140003d20
mov qword [r14 + 8], rdx
cmp r11d, r8d
jle 0x140003d6a
cmp rdx, r10
jb 0x140003d5b
mov dword [r14 + 0x1c], 1
mov r8d, 0x40000000
jmp 0x140003d6a
movzx edx, byte [rdx]
movzx ecx, r8b
and ecx, 7
shr edx, cl
or r9d, edx
mov rdx, qword [rsp + 0x20]
mov dword [r14 + 0x18], r8d
lea eax, [r9 + r9]
sub r8d, r11d
lea ecx, [r11 - 1]
mov dword [r14 + 0x18], r8d
shl eax, cl
mov ecx, 0x20
sub ecx, r11d
mov dword [r14], eax
shr r9d, cl
xor r8d, r8d
mov byte [rsi + rdx], r9b
inc rsi
test edi, edi
jne 0x140003dac
mov eax, r9d
sar eax, 8
mov byte [rsi + rdx], al
inc rsi
cmp edi, 0xc
mov ecx, r8d
mov eax, r8d
setl cl
neg ecx
and ecx, 0x15
cmp edi, 2
setl al
neg eax
and eax, 0xfffffff3
add ecx, eax
shl r9d, cl
jmp 0x140003dd5
xor r8d, r8d
mov r9d, r8d
lea rax, [0x140000000]
mov edx, dword [rax + rdi*4 + 0x1395f0]
add edx, r9d
mov edi, edx
sar rdi, 8
and edi, 0xfff
test edx, edx
jne 0x140003e02
movabs rdi, 0x7fffffffffffffff
jmp 0x140003e07
test rdi, rdi
je 0x140003e57
mov rbp, qword [rsp + 0x28]
mov rax, r8
mov rcx, rbp
sub rcx, rbx
cmp rcx, rdi
mov rcx, rbp
setge al
sub rcx, rdi
dec rax
sub rcx, rbx
and rax, rcx
add rax, rdi
add r13, rax
sub rdi, rax
test rax, rax
jle 0x140003e86
nop dword [rax + rax]
mov rcx, qword [r12 + rbx*8]
dec rax
inc rbx
mov word [r15 + rcx*4 + 2], r8w
test rax, rax
jg 0x140003e40
jmp 0x140003e86
mov rbp, qword [rsp + 0x28]
mov ecx, edx
and ecx, 0x100000
movzx eax, dl
neg ecx
xor ecx, edx
sar ecx, 0x15
test dl, dl
cmovne ecx, r8d
inc qword [rsp + rax*8 + 0x60]
mov rax, qword [r12 + rbx*8]
inc rbx
mov word [r15 + rax*4 + 2], cx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
cmp rbx, rbp
jl 0x140003cb0
mov r14, qword [rsp + 0x40]
add qword [rsp + 0x258], r13
mov ecx, VarI4FromDisp
nop
mov rax, qword [rsp + rcx*8 + 0x60]
dec rcx
add qword [rsp + rcx*8 + 0x60], rax
test rcx, rcx
jg 0x140003eb0
mov r13, qword [rsp + 0x38]
mov edx, reloc.OLEAUT32.dll_VarI4FromDisp
mov rcx, qword [rsp + 0x58]
add rcx, r13
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r14 + rcx - 8]
lea rcx, [rcx - 8]
sub qword [rcx], rax
dec rdx
test rdx, rdx
jg 0x140003ee0
mov rax, qword [rsp + 0x30]
add r13, 0x200
inc dword [rsp + 0x2b8]
add rax, 8
sub r14, 0x200
mov qword [rsp + 0x30], rax
sub qword [rsp + 0x48], 1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r14
jne 0x140003c20
mov rcx, qword [rsp + 0x2a0]
mov rax, rdi
mov rbx, qword [rsp + 0x2b0]
mov dword [rcx + 0xdf08], esi
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret