Function at 0x1406d8aa1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
cmc
stc
cmp rdi, 0x5e177b32
push rsi
test r10d, 0x77b52ba0
cmc
push rdi
cmc
sub rsp, 0x88
cmp bpl, 0xb4
cmp dword [rsp + 0xa8], 0xc
jmp 0x1406d8ad6
jle 0x1406d930a
mov eax, dword [rsp + 0xa8]
sub r8b, r9b
sar eax, 1
cwd
dec r8w
movzx r8w, r15b
mov dword [rsp + 0x28], eax
movsx r8w, bl
cbw
sar ah, 0xf
mov eax, 0x14
imul rax, rax, 0
movsxd rcx, dword [rsp + 0x28]
rol dl, 0xa0
sbb r8b, al
imul rcx, rcx, 0x14
movzx r8w, dil
cmovnp r8w, r13w
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa0]
jmp 0x1406d8b38
movss xmm0, dword [rdx + rcx + 4]
jmp 0x1406d8b43
comiss xmm0, dword [r8 + rax + 4]
jbe 0x1406d8b61
mov dword [rsp + 0x2c], 1
jmp 0x1406d8b5c
jmp 0x1406d8b6d
mov dword [rsp + 0x2c], 0
sets r8b
mov eax, dword [rsp + 0x2c]
movzx ecx, bp
bsf ecx, ecx
add ch, 0x25
mov dword [rsp + 0x44], eax
neg rdx
movsxd rax, dword [rsp + 0x28]
xor cl, r10b
neg dh
and cl, 0x28
imul rax, rax, 0x14
dec ecx
movsxd r8, r9d
movzx cx, bpl
mov ecx, dword [rsp + 0xa8]
movsx r8, dx
dec ecx
sar dx, cl
btr dx, 0x19
bts dx, r8w
movsxd rcx, ecx
imul rcx, rcx, 0x14
jmp 0x1406d8bc4
mov rdx, qword [rsp + 0xa0]
sete r8b
mov r8, qword [rsp + 0xa0]
movss xmm0, dword [rdx + rcx + 4]
jmp 0x1406d8be3
comiss xmm0, dword [r8 + rax + 4]
jbe 0x1406d8c01
mov dword [rsp + 0x30], 1
jmp 0x1406d8bfc
jmp 0x1406d8c09
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
cmc
test r9d, 0xdab870a
stc
mov dword [rsp + 0x38], eax
sub al, 0x2a
mov eax, dword [rsp + 0x38]
test dil, r9b
stc
cmp spl, 7
cmp dword [rsp + 0x44], eax
jmp 0x1406d8c31
je 0x1406d8e56
mov eax, 0x14
sbb cl, r11b
imul rax, rax, 0
movsxd rcx, r11d
mov ecx, dword [rsp + 0xa8]
mov edx, 0xdb31ea2b
jmp 0x1406d8c59
dec ecx
sal dh, cl
sbb r8w, di
shld edx, r9d, 0xb0
movsxd rcx, ecx
rcl r8b, cl
and r8w, r15w
imul rcx, rcx, 0x14
movzx dx, r12b
setns r8b
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa0]
jmp 0x1406d8c92
movss xmm0, dword [rdx + rcx + 4]
comiss xmm0, dword [r8 + rax + 4]
jbe 0x1406d8cb1
mov dword [rsp + 0x34], 1
jmp 0x1406d8cbf
mov dword [rsp + 0x34], 0
sub al, r11b
add ah, 0xae
mov eax, dword [rsp + 0x34]
test r10b, 0xa8
stc
test spl, r15b
mov dword [rsp + 0x48], eax
bt ax, cx
ror ax, cl
cmp r9d, 0xec0424af
mov eax, dword [rsp + 0x38]
stc
cmp sil, 0x3a
cmp dword [rsp + 0x48], eax
jmp 0x1406d8cef
jne 0x1406d8d07
mov dword [rsp + 0x3c], 0
jmp 0x1406d8d02
jmp 0x1406d8d31
mov eax, dword [rsp + 0xa8]
movzx rdx, cx
movsx edx, bp
dec eax
btc rsi, 0xab
cmova esi, ecx
bswap edi
mov dword [rsp + 0x3c], eax
shr dil, 0xa1
cmovne edx, r13d
bts dx, bx
mov eax, dword [rsp + 0x3c]
xadd cx, di
mov dword [rsp + 0x40], eax
movsx di, bpl
setnp dil
movsxd rax, dword [rsp + 0x40]
movsx ecx, r11w
and cx, r13w
clc
imul rax, rax, 0x14
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0xa0]
mov edi, esi
movzx edi, ax
mov rdi, rcx
not ch
movzx ecx, r13w
movzx cx, ah
lea rsi, [rdx + rax]
bswap dx
movsx rdx, di
cdqe
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
or sil, 0x92
rol ax, 0xb3
movsxd rax, dword [rsp + 0x28]
btc si, r11w
imul rax, rax, 0x14
movsxd rcx, dword [rsp + 0x40]
cdq
movsx esi, ax
sub sil, 0x29
imul rcx, rcx, 0x14
movsx si, spl
bswap di
cdq
mov rdx, qword [rsp + 0xa0]
cmovg di, cx
movsxd rdi, r13d
movsx rsi, r11w
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rdi
xchg dil, sil
mov sil, 0x8a
lea rdi, [rdx + rcx]
setle cl
mov cx, bp
movsx rcx, dx
mov rcx, qword [rsp + 0x68]
cdq
mov dl, 0xbf
cqo
lea rsi, [rcx + rax]
rdtsc
movzx rax, cx
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x28]
cmovg edx, r8d
imul rax, rax, 0x14
movsx cx, r10b
not ch
mov dx, 0x4789
mov rcx, qword [rsp + 0xa0]
not si
cmova dx, sp
lea rdx, [rsp + 0x50]
movzx rsi, r10w
mov dil, bl
lea rdi, [rcx + rax]
mov rsi, rdx
mov ecx, 0x14
movsx eax, cx
rep movsb byte [rdi], byte [rsi]
add cx, r8w
sub dil, 0x2e
mov eax, 0x14
not si
shl sil, cl
rol sil, cl
imul rax, rax, 0
cqo
cdq
lea rcx, [rsp + 0x50]
cwd
mov rdx, qword [rsp + 0xa0]
movsxd rdi, eax
xchg di, si
not edi
mov rdi, rcx
not esi
lea rsi, [rdx + rax]
cqo
cmovl cx, r9w
mov ecx, 0x14
mov al, dil
rep movsb byte [rdi], byte [rsi]
bsr ecx, eax
cmc
jmp 0x1406d8ea5
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x14
cdq
mov ecx, 0x14
not rdi
mov dl, r9b
imul rcx, rcx, 0
cdq
movsxd rdi, r15d
mov rdx, 0xffffffff9d114d15
mov rdx, qword [rsp + 0xa0]
bswap rsi
mov rdi, qword [rsp + 0xa0]
movzx esi, r8w
mov qword [rsp + 0x70], rdi
bswap rsi
jmp 0x1406d8ef1
lea rdi, [rdx + rcx]
xchg dx, dx
cqo
mov rcx, qword [rsp + 0x70]
mov dh, 0x93
lea rsi, [rcx + rax]
mov dh, bh
cdq
mov ecx, 0x14
cwd
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x28]
imul rax, rax, 0x14
cmovo si, si
not dh
xchg sil, dil
mov rcx, qword [rsp + 0xa0]
movzx edx, bp
movsxd rsi, eax
lea rdx, [rsp + 0x50]
jmp 0x1406d8f3f
lea rdi, [rcx + rax]
sete al
movsxd rsi, esi
mov rsi, rdx
lahf
mov ecx, 0x14
cmovle ax, sp
mov rax, r9
lahf
rep movsb byte [rdi], byte [rsi]
cdqe
movsx rax, di
mov dword [rsp + 0x20], 1
inc al
movsxd rax, r14d
mov eax, dword [rsp + 0xa8]
jmp 0x1406d8f7b
dec eax
mov dword [rsp + 0x24], eax
jmp 0x1406d8f86
jmp 0x1406d8fa6
mov eax, dword [rsp + 0x20]
cwd
inc eax
movzx rdx, cx
sal dil, cl
mov dword [rsp + 0x20], eax
setae al
cwd
xor dil, sil
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x14
adc dx, r11w
sbb di, 0x9a8b
not dil
mov ecx, 0x14
sub di, si
ror di, cl
shr dh, 3
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xa0]
movzx rdi, si
cmovno di, dx
movzx edi, r9w
mov rdi, qword [rsp + 0xa0]
jmp 0x1406d8fee
movss xmm0, dword [rdx + rcx + 4]
comiss xmm0, dword [rdi + rax + 4]
ja 0x1406d9004
jmp 0x1406d9009
jmp 0x1406d8f8b
jmp 0x1406d9031
mov eax, dword [rsp + 0x24]
movzx cx, bpl
cdq
jmp 0x1406d901d
dec eax
rol ch, cl
shld ecx, r15d, 0xad
mov dword [rsp + 0x24], eax
bsf rdx, rsi
xor ax, sp
mov eax, 0x14
movsxd rdx, edi
imul rax, rax, 0
adc cl, r10b
movsxd rcx, dword [rsp + 0x24]
btc di, 0x2e
sbb dil, r10b
clc
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0xa0]
cmovbe di, bx
bswap di
mov rdi, qword [rsp + 0xa0]
jmp 0x1406d906e
movss xmm0, dword [rdx + rcx + 4]
jmp 0x1406d9079
comiss xmm0, dword [rdi + rax + 4]
ja 0x1406d9089
jmp 0x1406d908e
jmp 0x1406d900e
mov eax, dword [rsp + 0x24]
clc
jmp 0x1406d9098
cmp dword [rsp + 0x20], eax
jmp 0x1406d90a1
jl 0x1406d90ac
jmp 0x1406d91d1
movsxd rax, dword [rsp + 0x20]
cwd
imul rax, rax, 0x14
movzx cx, r11b
cqo
cmovb si, cx
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0xa0]
mov rdi, rcx
lea rsi, [rdx + rax]
movzx eax, dx
mov ecx, 0x14
movsx rdx, ax
cbw
movzx ax, r10b
rep movsb byte [rdi], byte [rsi]
sar si, cl
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x14
rcr ch, cl
movsxd rcx, dword [rsp + 0x20]
mov dl, r13b
imul rcx, rcx, 0x14
cwd
cmovl edi, r10d
mov dx, r12w
mov rdx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa0]
movsx esi, r13w
movsxd rsi, r11d
mov sil, bpl
mov qword [rsp + 0x78], rdi
setb dil
mov esi, 0xb9b64011
cmovns esi, r8d
lea rdi, [rdx + rcx]
cwd
mov rcx, qword [rsp + 0x78]
lea rsi, [rcx + rax]
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
rol cl, cl
movsxd rax, dword [rsp + 0x24]
sal si, 0x2b
shrd rcx, r12, 0xb5
imul rax, rax, 0x14
movzx rdx, r14w
mov rcx, qword [rsp + 0xa0]
movzx si, r9b
movsxd rdx, r10d
setle sil
lea rdx, [rsp + 0x50]
mov dil, 0x38
movsxd rsi, r12d
lea rdi, [rcx + rax]
mov rsi, rdx
movzx ax, cl
cbw
movsxd rax, ebp
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
cbw
mov eax, dword [rsp + 0x20]
inc eax
jmp 0x1406d91ac
mov dword [rsp + 0x20], eax
bswap eax
cwde
mov eax, dword [rsp + 0x24]
jmp 0x1406d91bc
dec eax
jmp 0x1406d91c3
mov dword [rsp + 0x24], eax
jmp 0x1406d91cc
jmp 0x1406d8f86
mov eax, dword [rsp + 0x20]
or cl, 4
mov ecx, dword [rsp + 0xa8]
sub ecx, eax
cbw
btc ax, 0x83
ror ax, 0xab
mov eax, ecx
cmc
cmp dword [rsp + 0x24], eax
jmp 0x1406d91f8
jge 0x1406d929a
mov edx, dword [rsp + 0x24]
not cl
mov rcx, qword [rsp + 0xa0]
jmp 0x1406d9211
call fcn.1406d8aa1
movsxd rax, dword [rsp + 0x20]
movsxd rcx, r9d
sal cx, cl
bts rcx, rbp
imul rax, rax, 0x14
btc rcx, 0x18
mov rcx, qword [rsp + 0xa0]
test r15w, r10w
cmp r15d, esi
lea rcx, [rcx + rax]
cmp r12w, 0xcba4
cmp r12b, dl
movzx rax, r12w
mov rax, rcx
xchg cl, cl
shld ecx, ebx, 0xbd
mov qword [rsp + 0xa0], rax
movzx eax, r15w
rcl cx, 0xf
mov eax, dword [rsp + 0x20]
not ecx
sar cx, 0xab
mov ecx, dword [rsp + 0xa8]
cmp r12w, bx
sub ecx, eax
lahf
movsxd rax, edx
mov eax, ecx
jmp 0x1406d9289
mov dword [rsp + 0xa8], eax
jmp 0x1406d9295
jmp 0x1406d9305
mov eax, dword [rsp + 0x20]
movzx dx, spl
bt rcx, 0xa8
mov ecx, dword [rsp + 0xa8]
sub ecx, eax
cdqe
add edx, r11d
inc dx
mov eax, ecx
movsx edx, cx
btc cx, r14w
movsxd rcx, dword [rsp + 0x20]
movsxd rdx, r11d
sub edx, edi
and dl, sil
imul rcx, rcx, 0x14
cwd
rcl dh, 1
mov rdx, qword [rsp + 0xa0]
add rdx, rcx
movzx ecx, sp
mov rcx, rdx
mov edx, eax
jmp 0x1406d92f0
call fcn.1406d8aa1
mov eax, dword [rsp + 0x24]
jmp 0x1406d92fe
mov dword [rsp + 0xa8], eax
jmp 0x1406d8ac9
add rsp, 0x88
movsxd rsi, r13d
bswap si
pop rdi
xchg sil, sil
jmp 0x1406d9323
pop rsi
jmp 0x1406d9329
ret