Function at 0x1406b4f54
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400cb7b8]
mov qword [rsp + 0x28], rax
jmp 0x1406b4f70
mov rax, qword [rsp + 0x28]
jmp 0x1406b4f7a
mov eax, dword [rax + 0x1be8]
jmp 0x1406b4f85
dec eax
test ah, 0x2a
cmp dil, 0x92
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jmp 0x1406b4f9c
jl 0x1406b5087
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1bd8]
cmp ax, 0x5e20
clc
test r13b, cl
cmp dword [rsp + 0x24], eax
jmp 0x1406b4fbe
jge 0x1406b5087
mov rax, qword [rsp + 0x28]
xadd rdx, rcx
test r14b, 0x10
add dx, 0x1ea7
add rax, 0x1be8
neg rcx
mov qword [rsp + 0x50], rax
movsx dx, r12b
cmc
cmp ch, bl
mov rax, qword [rsp + 0x28]
sbb dl, cl
not rcx
clc
add rax, 0x1bd8
mov qword [rsp + 0x48], rax
xchg ch, cl
movsxd rax, dword [rsp + 0x24]
bsr cx, bx
neg cx
imul rax, rax, 0x30
shl dh, 0xbc
mov rcx, qword [rsp + 0x48]
jmp 0x1406b5021
add rax, qword [rcx + 8]
shr dl, cl
btr cx, sp
mov qword [rsp + 0x58], rax
cmp r14b, sil
or cx, 0x9299
movsxd rax, dword [rsp + 0x24]
bswap rdx
imul rax, rax, 0x30
cmp ebx, 0xa9a9fa0a
sar dh, 0x2b
adc dl, 0
mov rcx, qword [rsp + 0x50]
movzx edx, bp
mov rcx, qword [rcx + 8]
btr edx, esi
shr dl, 0x32
or edx, 0x51a8df00
mov rdx, qword [rsp + 0x58]
stc
test r12b, 0x1f
mov edx, dword [rdx]
clc
cmp dil, 1
cmp dword [rcx + rax], edx
jmp 0x1406b5081
je 0x1406b508c
jmp 0x1406b524c
cmp dword [rsp + 0x24], 0
jmp 0x1406b5096
jle 0x1406b51f9
mov rax, qword [rsp + 0x28]
add rax, 0x1bd8
mov qword [rsp + 0x60], rax
ror ch, 0xb1
mov cl, r10b
ror eax, cl
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x30
sub cl, 0x12
xor cl, 0xba
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
clc
jmp 0x1406b50d2
mov rax, qword [rcx + rax + 8]
or rcx, rbp
movsx rcx, r15w
mov qword [rsp + 0x30], rax
bsf ecx, eax
test r8d, r14d
mov rax, qword [rsp + 0x28]
movsxd rcx, r11d
rcr cx, cl
add rax, 0x1bd8
movzx ecx, r10w
mov qword [rsp + 0x68], rax
movsx rax, r13w
mov eax, dword [rsp + 0x24]
mov ch, 0
not ch
dec eax
rcl cl, cl
cdqe
imul rax, rax, 0x30
rcr cx, cl
rcl cx, 0x3c
sar ch, 0x2f
mov rcx, qword [rsp + 0x68]
clc
test ah, dh
mov rcx, qword [rcx + 8]
test dil, 0x15
mov rax, qword [rcx + rax + 8]
clc
cmp r15w, cx
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x20], 0
jmp 0x1406b514d
cmp qword [rsp + 0x30], 0
jmp 0x1406b5158
je 0x1406b51c9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
test r15d, r10d
jmp 0x1406b516e
and eax, 0x10000000
jmp 0x1406b517b
test eax, eax
jmp 0x1406b5182
je 0x1406b51c9
cmp qword [rsp + 0x38], 0
jmp 0x1406b5193
je 0x1406b51bd
mov rax, qword [rsp + 0x38]
test ax, 0xa3be
mov eax, dword [rax + 0xc]
and eax, 0x8000000
cmc
jmp 0x1406b51b0
test eax, eax
jmp 0x1406b51b7
jne 0x1406b51c9
mov byte [rsp + 0x20], 1
and ax, 0x7088
sal ax, cl
movzx eax, byte [rsp + 0x20]
test eax, eax
jmp 0x1406b51d5
jne 0x1406b51e0
jmp 0x1406b51f9
mov eax, dword [rsp + 0x24]
jmp 0x1406b51e9
dec eax
mov dword [rsp + 0x24], eax
jmp 0x1406b51f4
jmp 0x1406b508c
mov dl, 1
mov ecx, 0x60b0888e
cmovo ecx, ebp
movzx ecx, r13w
mov ecx, dword [rsp + 0x24]
jmp 0x1406b5210
call fcn.1406b4d61
mov rax, qword [rsp + 0x28]
cmp r8b, r12b
jmp 0x1406b5222
mov rax, qword [rax + 0x1bf8]
cmc
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jmp 0x1406b523a
je 0x1406b524c
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x150], 1
add rsp, 0x78
jmp 0x1406b5255
ret