Function at 0x1404d75ff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
stc
mov qword [rsp + 0x10], rsi
cmc
mov qword [rsp + 0x18], rdi
cmp bpl, r9b
test dil, dil
push rbp
xor bp, bp
ror bp, cl
setbe bpl
push r12
push r13
cmc
btr ebp, r10d
cmp r12w, ax
push r14
btc r12d, 0x6c
inc r14
push r15
shl r12b, cl
rcr r12b, cl
setg r14b
mov rbp, rsp
sub rsp, 0x40
mov r14, qword [rdx + 0x150]
sbb r12w, r14w
mov r12, rcx
movsx rcx, r8w
ror cx, 0xd
sar cx, 0xaa
xor esi, esi
movzx rcx, ax
sete cl
mov qword [rbp - 0x10], rdx
movzx ecx, r14w
movzx cx, r9b
movzx rcx, si
mov rcx, r14
jmp 0x1404d7687
mov qword [rbp - 8], rsi
jmp 0x1404d7690
call fcn.1404b4a3b
mov qword [r12 + 0x2b8], rax
lea r15d, [rsi + 0x31]
test r9b, r14b
lea r13d, [rsi + 7]
ror r9b, 0x38
bt r8w, 0xcc
lea ecx, [r15 - 0x30]
cmc
mov eax, 0x24924925
mul ecx
rcl r9, 0x53
mov eax, ecx
adc r9d, 0x6a781daa
ror r8b, cl
cmovns r8, r14
mov r9d, r15d
btr di, 0xdc
sbb dil, 0x60
shr di, cl
sub eax, edx
bts r8d, r14d
movsxd rdi, esp
movsx edi, si
mov r8, r14
shr eax, 1
add eax, edx
bswap edx
mov edx, 1
shr eax, 2
imul eax, eax, 7
shr dil, cl
and dil, 0x18
add di, r13w
sub ecx, eax
cmovo di, si
movzx di, dl
movzx rdi, ax
lea rdi, [r12 + rcx*8]
lea rcx, [rbp - 0x10]
jmp 0x1404d7727
mov qword [rsp + 0x20], rdi
jmp 0x1404d7731
call fcn.1404d0cc5
or esi, eax
lea r9d, [r15 - 7]
lea rax, [rdi + 0x38]
jmp 0x1404d774b
mov r8, r14
mov edx, 1
mov cl, cl
mov qword [rsp + 0x20], rax
setne ch
cmova ecx, r11d
lea rcx, [rbp - 0x10]
jmp 0x1404d776a
call fcn.1404d0cc5
or esi, eax
cwd
lea rcx, [rbp - 0x10]
movsx r8, bp
lea rax, [rdi + 0x160]
setae r8b
movzx r8d, ax
mov r9d, r15d
mov dl, 0xa8
mov r8, r14
not dx
mov qword [rsp + 0x20], rax
mov dh, 0xa0
jmp 0x1404d77a5
mov edx, 2
jmp 0x1404d77af
call fcn.1404d0cc5
or esi, eax
lea r9d, [r15 - 7]
bswap rdx
cbw
mov eax, esp
lea rax, [rdi + 0x198]
movsx cx, al
mov r8, r14
movsx edx, bx
mov edx, 2
setae ch
mov qword [rsp + 0x20], rax
movzx ecx, r10w
movsx ecx, r13w
lea rcx, [rbp - 0x10]
jmp 0x1404d77f0
call fcn.1404d0cc5
or esi, eax
jmp 0x1404d77fc
inc r15d
jmp 0x1404d7808
sub r13, 1
jne 0x1404d76b2
lea r15d, [r13 + 0x38]
mov r9d, 0x5fbb2085
movsx rdx, r13w
lea r13d, [r15 - 0x2c]
movzx rdx, r13w
setno r9b
cwde
lea rdi, [r12 + 0xd0]
lahf
movsxd rcx, r13d
movzx r8, r11w
lea rax, [rdi - 0x60]
not ch
mov r8, r14
xchg r9b, r9b
movzx rdx, sp
movsx ecx, dx
lea r9d, [r15 + 0xc]
mov qword [rsp + 0x20], rax
not ecx
mov edx, 1
lea rcx, [rbp - 0x10]
jmp 0x1404d7869
call fcn.1404d0cc5
mov r9d, r15d
mov qword [rsp + 0x20], rdi
mov r8, r14
lea rcx, [rbp - 0x10]
mov edx, 1
or esi, eax
jmp 0x1404d7889
call fcn.1404d0cc5
or esi, eax
movzx r9w, dil
cbw
lahf
lea r9d, [r15 + 0xc]
cmovae r8d, r14d
lahf
lea rax, [rdi + 0x100]
mov ebx, 2
not edx
movsxd rdx, edi
mov r8, r14
mov qword [rsp + 0x20], rax
bswap rdx
cqo
cmovs cx, r15w
mov edx, ebx
not ch
bswap ecx
lea rcx, [rbp - 0x10]
call fcn.1404d0cc5
or esi, eax
setge r8b
lea rcx, [rbp - 0x10]
movsx r8w, dil
lea rax, [rdi + 0x160]
movsx r8d, cx
mov r9b, r13b
xchg r9b, dl
mov r9d, r15d
mov r8d, 0x2075a05
mov r8, r14
mov qword [rsp + 0x20], rax
not edx
cmovb edx, ebp
mov edx, ebx
call fcn.1404d0cc5
or esi, eax
stc
jmp 0x1404d791c
add rdi, 8
jmp 0x1404d7925
inc r15d
test r12, rsp
sub r13, 1
jmp 0x1404d7934
jne 0x1404d783d
lea rax, [r12 + 0x130]
movzx rdx, r13w
bswap r9
mov r8, r14
lea edi, [rbx + 0x26]
setle r9b
movsx r9, r14w
mov qword [rsp + 0x20], rax
mov r9d, edi
movzx ecx, r14w
xchg ecx, edx
lea edx, [rbx - 1]
movsx rcx, r10w
cmovge ecx, r11d
lea rcx, [rbp - 0x10]
call fcn.1404d0cc5
or esi, eax
cdqe
jmp 0x1404d7982
lea ebx, [rdi + 1]
lea rax, [r12 + 0x138]
movsx r8d, r9w
mov r9d, ebx
movzx r13w, dl
movsxd r8, edi
cmovbe cx, si
lea r13d, [rdi - 0x27]
mov qword [rsp + 0x20], rax
mov r8, r14
lea rcx, [rbp - 0x10]
cdq
movzx dx, sil
xchg dx, dx
mov edx, r13d
jmp 0x1404d79c1
call fcn.1404d0cc5
mov r9d, edi
lea rcx, [rbp - 0x10]
rol r8w, cl
bsf rdx, r10
or esi, eax
mov dx, di
cbw
cwde
lea edi, [rbx - 0x27]
jmp 0x1404d79e5
lea rax, [r12 + 0x290]
jmp 0x1404d79f7
mov edx, edi
jmp 0x1404d7a02
mov r8, r14
jmp 0x1404d7a0a
mov qword [rsp + 0x20], rax
jmp 0x1404d7a14
call fcn.1404d0cc5
or esi, eax
cwd
mov rax, 0x47e76fea
cmovle ax, si
lea rcx, [rbp - 0x10]
movsx ax, bh
lea rax, [r12 + 0x298]
cmovb r9d, r10d
mov r9d, ebx
mov r8, r14
bswap rdx
mov rdx, 0x1dfa1675
mov qword [rsp + 0x20], rax
cwd
mov edx, edi
jmp 0x1404d7a5a
call fcn.1404d0cc5
or esi, eax
lea r15d, [rbx - 0xa]
jmp 0x1404d7a6a
lea rax, [r12 + 0x140]
bswap cx
mov r9d, r15d
mov r8, r14
mov qword [rsp + 0x20], rax
mov edx, r13d
movzx cx, r15b
lea rcx, [rbp - 0x10]
jmp 0x1404d7a91
call fcn.1404d0cc5
or esi, eax
lea edi, [rbx - 9]
lea rax, [r12 + 0x148]
setge r9b
mov r9d, edi
mov r8, r14
mov rdx, r10
movsx edx, di
mov qword [rsp + 0x20], rax
movzx rdx, r13w
movzx ecx, bp
movsxd rdx, r13d
mov edx, r13d
movsxd rcx, r13d
movsx cx, r14b
lea rcx, [rbp - 0x10]
jmp 0x1404d7ad6
call fcn.1404d0cc5
or esi, eax
cdqe
lea rcx, [rbp - 0x10]
jmp 0x1404d7aed
lea rax, [r12 + 0x150]
mov ebx, 0x1003
mov edx, 0x72421019
mov r9d, ebx
movzx r8d, r8w
jmp 0x1404d7b0b
mov qword [rsp + 0x20], rax
movzx edx, bp
mov r8, r14
cwd
movsx rdx, r11w
mov edx, r13d
call fcn.1404d0cc5
or esi, eax
test rbx, 0x149c0027
shr r8w, cl
bsf cx, dx
lea r9d, [rbx + 6]
lea rax, [r12 + 0x158]
mov r8, r14
shl cx, cl
xor edx, edx
not cl
cmovae cx, r12w
movsx rcx, dx
mov qword [rsp + 0x20], rax
movzx cx, sil
xchg cx, cx
lea rcx, [rbp - 0x10]
jmp 0x1404d7b6a
call fcn.1404d0cc5
mov r9d, r15d
movsx rcx, sp
btr dx, r10w
movzx rcx, r11w
lea rcx, [rbp - 0x10]
xor r8b, 0xbd
or esi, eax
movzx rax, sp
mov r8, r8
lea r15d, [r13 + 1]
movsx rdx, r14w
movsx r8w, r9b
cbw
lea rax, [r12 + 0x2a0]
mov dx, ax
cwd
mov edx, r15d
mov r8, r14
jmp 0x1404d7bb7
mov qword [rsp + 0x20], rax
jmp 0x1404d7bc1
call fcn.1404d0cc5
or esi, eax
lea rax, [r12 + 0x2a8]
mov r9d, edi
mov qword [rsp + 0x20], rax
movsx rcx, di
mov r8, r14
lea rcx, [rbp - 0x10]
not dl
cdq
mov edx, r15d
jmp 0x1404d7bee
call fcn.1404d0cc5
or esi, eax
cdq
lea rcx, [rbp - 0x10]
lahf
lea rax, [r12 + 0x2b0]
mov r9d, ebx
movsxd r8, r12d
bswap edx
mov r8, r14
cwd
mov qword [rsp + 0x20], rax
mov edx, r15d
call fcn.1404d0cc5
lea r11, [rsp + 0x40]
or bpl, 0xaf
rol r13w, cl
or eax, esi
cmovno r15, rax
xchg bp, r13w
mov rbx, qword [r11 + 0x30]
jmp 0x1404d7c3d
mov rsi, qword [r11 + 0x38]
movsx r14w, r15b
setae r13b
cmovns bp, r15w
sete al
jmp 0x1404d7c5a
mov rdi, qword [r11 + 0x40]
movzx r14w, dil
bswap r13d
mov rsp, r11
mov r12, r11
movsx rbp, si
pop r15
jmp 0x1404d7c77
pop r14
pop r13
mov r12b, 0xa1
pop r12
pop rbp
jmp 0x1404d7c86
ret