Function at 0x1402413c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [rdx + 0x10]
mov rsi, qword [rdx]
xor r10d, r10d
movsxd r14, dword [rax + 0x14]
mov r9, qword [rax]
or ebp, 0xffffffff
mov rbx, rcx
mov dword [rcx + Ordinal_5280], r10d
mov dword [rcx + reloc.mfc120u.dll_Ordinal_5280], 0x23d
mov r15, rdx
mov r8d, r10d
mov ecx, r10d
test r14d, r14d
jle 0x14024144e
cmp word [rsi + rcx*4], r10w
je 0x14024143d
inc dword [rbx + 0x149c]
movsxd rax, dword [rbx + 0x149c]
mov ebp, r8d
mov dword [rbx + rax*4 + 0xba8], r8d
mov byte [rcx + rbx + reloc.mfc120u.dll_Ordinal_5284], r10b
jmp 0x140241443
mov word [rsi + rcx*4 + 2], r10w
inc rcx
inc r8d
cmp rcx, r14
jl 0x140241414
cmp dword [rbx + 0x149c], 2
mov r12d, 1
jge 0x1402414b2
nop dword [rax]
cmp ebp, 2
jge 0x14024146b
inc ebp
mov ecx, ebp
jmp 0x14024146e
mov ecx, r10d
inc dword [rbx + 0x149c]
movsxd rax, dword [rbx + 0x149c]
mov dword [rbx + rax*4 + 0xba8], ecx
movsxd rax, ecx
mov word [rsi + rax*4], r12w
mov byte [rax + rbx + reloc.mfc120u.dll_Ordinal_5284], r10b
dec dword [rbx + 0x1700]
test r9, r9
je 0x1402414a9
movzx eax, word [r9 + rax*4 + 2]
sub dword [rbx + 0x1704], eax
cmp dword [rbx + 0x149c], 2
jl 0x140241460
mov dword [rdx + 8], ebp
mov eax, dword [rbx + 0x149c]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp eax, r12d
jl 0x1402414f0
nop word [rax + rax]
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.140241e40
dec edi
cmp edi, r12d
jge 0x1402414d0
nop word [rax + rax]
movsxd rax, dword [rbx + 0x149c]
movsxd rdi, dword [rbx + 0xbac]
mov r8d, r12d
mov ecx, dword [rbx + rax*4 + 0xba8]
mov rdx, rsi
mov dword [rbx + 0xbac], ecx
dec dword [rbx + 0x149c]
mov rcx, rbx
call fcn.140241e40
movsxd rcx, dword [rbx + 0xbac]
dec dword [rbx + reloc.mfc120u.dll_Ordinal_5280]
movsxd rax, dword [rbx + reloc.mfc120u.dll_Ordinal_5280]
mov rdx, rcx
lea r8, [rsi + rdi*4]
mov dword [rbx + rax*4 + 0xba8], edi
dec dword [rbx + reloc.mfc120u.dll_Ordinal_5280]
movsxd rax, dword [rbx + reloc.mfc120u.dll_Ordinal_5280]
mov dword [rbx + rax*4 + 0xba8], ecx
movzx eax, word [rsi + rdx*4]
movsxd r9, r14d
add ax, word [r8]
mov rcx, rdi
mov word [rsi + r9*4], ax
movzx eax, byte [rdi + rbx + reloc.mfc120u.dll_Ordinal_5284]
movzx ecx, byte [rdx + rbx + reloc.mfc120u.dll_Ordinal_5284]
cmp al, cl
movzx eax, al
jae 0x140241582
movzx eax, cl
inc al
mov rcx, rbx
mov byte [r9 + rbx + reloc.mfc120u.dll_Ordinal_5284], al
mov word [rsi + rdx*4 + 2], r14w
mov word [r8 + 2], r14w
mov dword [rbx + 0xbac], r14d
mov r8d, r12d
mov rdx, rsi
inc r14d
call fcn.140241e40
cmp dword [rbx + 0x149c], 2
jge 0x1402414f0
dec dword [rbx + reloc.mfc120u.dll_Ordinal_5280]
movsxd r8, dword [rbx + reloc.mfc120u.dll_Ordinal_5280]
mov eax, dword [rbx + 0xbac]
mov rdx, r15
mov dword [rbx + r8*4 + 0xba8], eax
call fcn.140241b10
lea r8, [rbx + 0xb88]
mov edx, ebp
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp 0x140241d20
push rbx
sub rsp, 0x50
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x22]
mov rbx, rcx
sub r8, rax
movzx r10d, r9w
mov r11d, 1
nop dword [rax]
lea rax, [r8 + r11*2]
inc r11
add r10w, word [rsp + rax + 0x20]
add r10w, r10w
mov word [rsp + r11*2 + 0x1e], r10w
cmp r11, 0xf
jle 0x140241d50
movsxd r10, edx
test edx, edx
js 0x140241da5
movzx edx, word [rbx + r9*4 + 2]
test edx, edx
je 0x140241d9d
lea r8, [rsp + 0x20]
movzx ecx, word [r8 + rdx*2]
lea r8, [r8 + rdx*2]
lea eax, [rcx + 1]
mov word [r8], ax
call fcn.140241270
mov word [rbx + r9*4], ax
inc r9
cmp r9, r10
jle 0x140241d74
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x50
pop rbx
ret