Function at 0x140421389
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
mov rdx, qword [rcx]
rol r9b, 0x58
mov r9, qword [rcx + 0x18]
inc sil
sbb sil, 0x6d
mov esi, dword [rdx + 4]
test r13b, 0x94
cmc
imul esi, dword [rdx]
stc
clc
cmp dword [rdx + 0xc], 3
jne 0x14042151a
test esi, esi
jmp 0x1404213ba
je 0x1404217a6
lea ecx, [rsi - 1]
jmp 0x1404213cb
cmp ecx, 3
jmp 0x1404213d3
jb 0x1404214b4
mov ecx, esi
bts dx, r15w
and ecx, 0xfffffffc
bswap dx
movzx rax, bx
nop dword [rax]
rcl al, 0xb0
movzx edx, byte [r9]
dec eax
and al, r8b
cwde
movzx eax, byte [r9 + 2]
test r8w, sp
jmp 0x140421409
mov byte [r9], al
mov byte [r9 + 2], dl
test sil, r12b
rcl ax, cl
movzx eax, byte [r9 + 3]
xor dh, 0x34
movsx edx, si
rol rdx, cl
movzx edx, byte [r9 + 5]
test dx, bx
jmp 0x140421431
mov byte [r9 + 3], dl
btr dx, r10w
shr dl, 0x74
mov byte [r9 + 5], al
adc dx, ax
mov edx, r11d
movzx eax, byte [r9 + 6]
sar dh, cl
btr dx, dx
movzx edx, byte [r9 + 8]
cmc
mov byte [r9 + 6], dl
shr dl, cl
cwd
not dl
mov byte [r9 + 8], al
test r13b, cl
bswap dx
rol eax, cl
movzx eax, byte [r9 + 9]
movsx rdx, si
bts rdx, r12
bt dx, bx
movzx edx, byte [r9 + 0xb]
jmp 0x140421489
mov byte [r9 + 9], dl
clc
test r11, 0x4057468f
mov byte [r9 + 0xb], al
test dl, 0x9b
cmp ecx, 0x55ea5e12
add r9, 0xc
add ecx, 0xfffffffc
jmp 0x1404214ae
jne 0x1404213f0
test sil, 3
jmp 0x1404214bd
je 0x1404217a6
and esi, 3
lea rsi, [rsi + rsi*2]
mov al, r12b
bswap rax
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, byte [r9 + rcx]
movzx eax, byte [r9 + rcx + 2]
jmp 0x1404214f0
mov byte [r9 + rcx], al
test spl, 0xba
cmp al, 0x2c
mov byte [r9 + rcx + 2], dl
test cx, r10w
cmc
add rcx, 3
cmp esi, ecx
jmp 0x14042150f
jne 0x1404214e0
jmp 0x1404217a6
mov eax, dword [0x1400b9350]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
bswap edx
stc
sbb ch, 0xb2
lea rcx, [rax + 0x18]
lea rdx, [0x1400b925c]
clc
cmp byte [rax + 0x1c], 0
cmovne rdx, rcx
cmc
test r8b, 0xb1
cmp dword [rdx], 0
jmp 0x14042155a
je 0x140421684
test esi, esi
jmp 0x140421567
je 0x1404217a6
mov r8d, esi
cmc
xor ecx, ecx
jmp 0x1404215ab
movzx edx, byte [r9 + rcx*4 + 2]
jmp 0x140421583
mov byte [r9 + rcx*4], dl
jmp 0x14042158c
mov byte [r9 + rcx*4 + 2], al
inc rcx
clc
cmp r8w, sp
test r13b, 0xdd
cmp r8d, ecx
jmp 0x1404215a5
je 0x1404217a6
movzx r10d, byte [r9 + rcx*4 + 3]
movzx rax, r12w
cwde
movzx eax, byte [r9 + rcx*4]
test r10d, r10d
jmp 0x1404215c3
je 0x140421578
movzx esi, al
sar ax, cl
shrd rax, rcx, 0x3f
sar dl, 0x27
mov r11d, r10d
cwde
shr r11d, 1
clc
movzx edx, byte [r9 + rcx*4 + 2]
mov eax, edx
clc
test r13w, 0x2441
test r14b, spl
shl eax, 8
test r13b, 0xa9
sub eax, edx
jmp 0x1404215ff
add eax, r11d
test bpl, r12b
cmp dh, 0xa0
sub edx, edx
clc
test sil, 0xb
cmc
div r10w
sal dl, 0x77
mov byte [r9 + rcx*4], al
lahf
movzx rdx, si
movzx edx, byte [r9 + rcx*4 + 1]
bt rax, 0x5d
cmp r9, r8
mov eax, edx
stc
shl eax, 8
sub eax, edx
add eax, r11d
cmp cl, 0x5c
sub edx, edx
test r11w, ax
div r10w
cmp ax, 0x58d6
cmc
mov byte [r9 + rcx*4 + 1], al
cbw
bts rax, rbp
shl al, 0xf5
mov eax, esi
jmp 0x140421667
shl eax, 8
sub eax, esi
add eax, r11d
xor edx, edx
div r10w
mov byte [r9 + rcx*4 + 2], al
jmp 0x14042167f
jmp 0x140421591
test esi, esi
jmp 0x14042168b
je 0x1404217a6
lea eax, [rsi - 1]
cmp eax, 3
jmp 0x14042169c
jb 0x140421752
mov ecx, esi
cmc
inc dx
and ecx, 0xfffffffc
or dx, 0x7f1e
cbw
movsxd rdx, r12d
nop word cs:[rax + rax]
movzx eax, byte [r9]
movzx edx, byte [r9 + 2]
mov byte [r9], dl
rcr dh, 0x72
mov byte [r9 + 2], al
cbw
movzx eax, byte [r9 + 4]
and dx, sp
clc
movzx edx, byte [r9 + 6]
mov byte [r9 + 4], dl
jmp 0x1404216ec
mov byte [r9 + 6], al
setb ah
movzx rdx, r14w
bswap ax
movzx eax, byte [r9 + 8]
not rdx
cdq
sub dx, r8w
movzx edx, byte [r9 + 0xa]
stc
mov byte [r9 + 8], dl
mov byte [r9 + 0xa], al
movzx ax, r15b
cdqe
movzx eax, byte [r9 + 0xc]
movzx edx, byte [r9 + 0xe]
cmp spl, 0xcb
mov byte [r9 + 0xc], dl
clc
cmp r11b, 0xbe
mov byte [r9 + 0xe], al
test ebx, r13d
cmp r8d, esp
add r9, 0x10
test dh, 0x4d
jmp 0x140421749
add ecx, 0xfffffffc
jne 0x1404216c0
test sil, 3
je 0x1404217a6
and esi, 3
xor eax, eax
and eax, r12d
xor ecx, ecx
nop word [rax + rax]
inc rax
lahf
cwde
movzx eax, byte [r9 + rcx*4]
movzx rdx, r10w
xchg dh, dh
movzx edx, byte [r9 + rcx*4 + 2]
jmp 0x140421787
mov byte [r9 + rcx*4], dl
jmp 0x140421790
mov byte [r9 + rcx*4 + 2], al
inc rcx
clc
cmp esi, ecx
jmp 0x1404217a0
jne 0x140421771
pop rsi
ret