Function at 0x1405f6a77
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
jmp 0x1409a7a8d
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
stc
test r11, 0x722439fb
cmp r15d, 0x12eb4c44
push rbp
push rsi
sub rsp, 0x178
sbb si, cx
dec esi
shr bpl, 0x38
mov rbp, rdx
test r13b, 0x32
bts rsi, rsp
mov rsi, rcx
test r8d, 0x2f8e5fb8
cmc
jmp 0x1409a75bd
test rcx, rcx
jmp 0x1409a75c5
je 0x1409a75e2
test rdx, rdx
je 0x1409a75e2
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x1409a760b
xor eax, eax
neg bpl
shld si, di, 0x59
test dil, 0x92
add rsp, 0x178
pop rsi
xchg bpl, bpl
jmp 0x1409a7604
pop rbp
jmp 0x1409a760a
ret
movsxd rax, dword [rcx + 0x3c]
clc
cmp dword [rax + rcx], 0x4550
jmp 0x1409a761c
jne 0x1409a75e2
mov r8d, dword [rax + rcx + 0x88]
jmp 0x1409a7630
mov dword [rsp + 0x30], r8d
clc
test r8d, r8d
je 0x1409a75e2
mov r9d, dword [rax + rcx + 0x8c]
btr rdx, 0x9e
movsx rdx, si
add dx, bp
lea rdx, [rsi + r8]
movsx ecx, r15w
neg cl
and ecx, edi
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x168], rdi
mov ecx, 0xffffffff
xor edi, edi
test dil, 0xd0
clc
mov dword [rsp + 0x20], r9d
jmp 0x1409a7689
mov qword [rsp + 0x28], rdx
clc
cmc
mov dword [rsp + 0x190], ecx
cmp rbp, 0xffff
jmp 0x1409a76a3
ja 0x1409a76f4
mov ecx, ebp
clc
cmp r11b, 0xff
sub ecx, dword [rdx + 0x10]
test r12w, di
cmp ecx, dword [rdx + 0x14]
jmp 0x1409a76bf
jae 0x1409a76e8
mov eax, dword [rdx + 0x1c]
lea rax, [rax + rsi]
mov rdx, 0x306754c
btr dx, 7
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x1409a76e2
jne 0x1409a7951
xor eax, eax
jmp 0x1409a76ef
jmp 0x1409a7c06
mov eax, dword [rdx + 0x18]
cmc
test eax, eax
je 0x1409a7925
mov r9d, dword [rdx + 0x20]
lea r11d, [rax - 1]
adc ebx, r10d
mov ebx, edi
stc
lea r9, [r9 + rsi]
stc
test r9b, al
mov qword [rsp + 0x40], r9
stc
cmp r10w, 0x57ef
test r11d, r11d
jmp 0x1409a772a
js 0x1409a791d
nop
sbb dh, bl
cmovb ax, r8w
mov r10, qword [rsp + 0x198]
xchg r8, rdx
shr dh, cl
shl ah, cl
lea eax, [r11 + rbx]
mov rbp, rdi
movsx dx, bpl
sal r8b, cl
movzx edx, bx
sar eax, 1
mov dword [rsp + 0x1a8], eax
and dx, 0x47c4
rol r8w, cl
mov qword [rsp + 0x38], rax
mov r8d, dword [r9 + rax*4]
rcr dh, cl
rcl dx, cl
mov eax, dword [r9 + rax*4]
bts r9d, r14d
cdq
sub r10, rax
neg dh
rdtsc
movzx eax, byte [rsp + 0x1a0]
or r9b, 0xb1
lea r8, [r8 + rsi]
movsx rdx, r13w
setg dl
sub r10, rsi
cwd
movzx r9, di
xchg r9d, r9d
nop
xchg r9d, r9d
movzx r9, r10w
movzx edx, byte [r10 + r8]
mov r9b, spl
movzx r9d, byte [r8]
jmp 0x1409a77c5
inc r8
jmp 0x1409a77cd
test al, al
je 0x1409a7809
mov ecx, ebp
movzx eax, r8w
rol ax, cl
cwde
mov eax, 0x136b65ab
clc
rol eax, cl
cmp r8, rcx
stc
add al, bpl
test rbp, rdx
xor dl, al
mov al, byte [rsp + 0x1a0]
jmp 0x1409a77ff
inc rbp
test r13w, 0x4e81
clc
test dl, dl
jmp 0x1409a7810
je 0x1409a7824
cmp dl, r9b
jmp 0x1409a781e
je 0x1409a77b4
cmp dl, r9b
jmp 0x1409a782c
jb 0x1409a78ad
cmp dl, r9b
jmp 0x1409a783a
jbe 0x1409a786b
mov ebx, dword [rsp + 0x1a8]
movzx cx, ah
mov rdx, qword [rsp + 0x28]
inc cx
mov ecx, dword [rsp + 0x190]
jmp 0x1409a785f
inc ebx
jmp 0x1409a7866
jmp 0x1409a78d7
mov rdx, qword [rsp + 0x28]
movsx rcx, dx
lea ebx, [r11 + 1]
mov eax, dword [rdx + 0x24]
movzx cx, r14b
lea rcx, [rsi + rax]
nop
jmp 0x1409a788e
mov rax, qword [rsp + 0x38]
movzx ecx, word [rcx + rax*2]
jmp 0x1409a789c
mov dword [rsp + 0x190], ecx
jmp 0x1409a78a8
jmp 0x1409a78d7
mov r11d, dword [rsp + 0x1a8]
cqo
mov rdx, qword [rsp + 0x28]
movsx r9w, cl
movsx r9, dx
movsxd rcx, esi
mov ecx, dword [rsp + 0x190]
cmovp r9w, r11w
dec r11d
cmp ebx, r11d
movzx r9, ax
mov r9b, 0x7a
not r9b
mov r9, qword [rsp + 0x40]
jmp 0x1409a78ee
jle 0x1409a7738
mov rbp, qword [rsp + 0x198]
mov r8d, dword [rsp + 0x30]
mov r9w, cx
movsx r9, ax
movzx r9w, r11b
mov r9d, dword [rsp + 0x20]
jmp 0x1409a7918
jmp 0x1409a7925
mov r9d, dword [rsp + 0x20]
test r11, r10
cmp ecx, dword [rdx + 0x14]
jmp 0x1409a792d
jae 0x1409a76e8
mov eax, dword [rdx + 0x1c]
add dl, 0x8a
add rax, rsi
bt dx, 0xcc
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x1409a794b
je 0x1409a76e8
cmp edx, r8d
jmp 0x1409a7959
jb 0x1409a7bf6
lea eax, [r9 + r8]
stc
cmp edx, eax
jmp 0x1409a796b
jae 0x1409a7bf6
mov eax, edx
sal bx, cl
cmp spl, 0xb2
ror cl, cl
lea rax, [rax + rsi]
adc cl, r15b
bsf bx, r15w
dec bx
mov rbx, rax
neg cl
movzx cx, r15b
bt ecx, 0x62
movzx ecx, byte [rax]
cmp rbp, rbx
jmp 0x1409a79a4
test cl, cl
jmp 0x1409a79ab
je 0x1409a76e8
cmp cl, 0x2e
jmp 0x1409a79b9
je 0x1409a79eb
mov cl, byte [rbx + 1]
jmp 0x1409a79c7
inc rbx
test sp, r10w
test r13b, 0xaf
test cl, cl
jmp 0x1409a79d9
jne 0x1409a79b1
xor eax, eax
jmp 0x1409a79e6
jmp 0x1409a7c06
mov r8, rbx
stc
cmp r13b, 0xbd
jmp 0x1409a79f8
sub r8, rax
cmp r8, 0x104
jae 0x1409a76e8
mov rcx, rdi
cmp sil, al
clc
test r8, r8
je 0x1409a7a72
lea r9, [rsp + 0x50]
sbb dx, 0x1b93
test r15d, 0x2f613a6f
sub r9, rax
cdq
rcr rdx, 0x38
or edx, ebx
nop
bsf dx, bx
shr edx, 0xe9
movzx edx, byte [rax]
test dl, dl
jmp 0x1409a7a45
je 0x1409a7a72
inc rcx
jmp 0x1409a7a53
mov byte [r9 + rax], dl
jmp 0x1409a7a5c
inc rax
cmp si, 0x7e91
cmp rcx, r8
jmp 0x1409a7a6c
jb 0x1409a7a3b
mov byte [rsp + rcx + 0x50], dil
jmp 0x1409a7a7c
lea rcx, [rsp + 0x50]
mov rax, qword [0x1405fa168]
jmp 0x1405f6a75
jne 0x1409a7ab2
lea rcx, [rsp + 0x50]
mov rax, qword [0x1405fa160]
call rax
mov r11, rax
test sp, 0x1dfb
test rax, rax
je 0x1409a76e8
cmp r11, rsi
jne 0x1409a7b5e
cmp byte [rsp + 0x1a0], dil
je 0x1409a7b3c
lea rax, [rsp + 0x50]
bsf dx, r8w
btc edx, 0x6b
sub rbp, rax
movzx edx, bx
btr ax, r14w
bt cx, si
nop
clc
xchg ah, ah
rcl ax, 0xf2
lea rdx, [rsp + rdi + 0x50]
movzx eax, sp
mov ecx, edi
cbw
mov eax, 0x136b65ab
clc
stc
rol eax, cl
cmp ebx, r15d
add al, dil
jmp 0x1409a7b12
xor al, byte [rdx + rbp]
jmp 0x1409a7b1a
mov byte [rdx], al
jmp 0x1409a7b21
je 0x1409a7b37
inc rdi
cmp rdi, 0x104
jb 0x1409a7aee
lea rbp, [rsp + 0x50]
mov rdx, rbp
not ch
bswap eax
mov rcx, rsi
bswap rax
mov al, r8b
movsx rax, cx
mov rax, qword [0x1405fa170]
call rax
jmp 0x1409a7c06
cmp byte [rbx + 1], 0x23
setl dl
movzx rdx, cx
lea rdx, [rbx + 1]
jne 0x1409a7be1
movzx edx, byte [rbx + 2]
add rbx, 2
clc
test dl, dl
jmp 0x1409a7b83
je 0x1409a7bd6
nop
mov al, 0xee
lea eax, [rdx - 0x30]
inc rbx
stc
cmp al, 9
jmp 0x1409a7b9a
ja 0x1409a7bd6
movsx eax, dl
shl cl, 0x17
mov dl, byte [rbx]
dec cx
btr ecx, 0x5a
neg cl
lea ecx, [rdi + rdi*4]
and di, 0x2833
stc
lea edi, [rax + rcx*2 - 0x30]
stc
test r9b, 0xc2
cmp r12w, 0x6ec2
test dl, dl
jmp 0x1409a7bd0
jne 0x1409a7b8c
movsxd rdx, edi
ror ch, 0x87
rcl ecx, 0x10
bswap ecx
sub r8d, r8d
mov rcx, r11
jmp 0x1409a7bec
call fcn.1409a7577
jmp 0x1409a7c06
mov eax, edx
lea rax, [rax + rsi]
adc si, sp
or rbx, 0x57a42763
mov rbx, qword [rsp + 0x170]
bts si, r12w
mov rdi, qword [rsp + 0x168]
btc rbp, 0xf7
cmp r9b, 0x56
sbb bpl, r15b
add rsp, 0x178
pop rsi
pop rbp
ret