Function at 0x1403d1d26
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x78
nop
mov rax, qword [0x1400db970]
mov qword [rsp + 0x28], rax
cwde
movsx eax, r12w
cmovs rax, rbx
mov rax, qword [rsp + 0x28]
jmp 0x1403d1d4a
mov eax, dword [rax + 0x1be8]
jmp 0x1403d1d55
dec eax
mov dword [rsp + 0x24], eax
test esi, edx
cmp r15b, 0x2b
cmp dword [rsp + 0x24], 0
jl 0x1403d1e4f
mov rax, qword [rsp + 0x28]
cmc
test r11b, r10b
mov eax, dword [rax + 0x1bd8]
cmp ax, si
cmp dword [rsp + 0x24], eax
jge 0x1403d1e4f
mov rax, qword [rsp + 0x28]
cmc
or rcx, 0xffffffff802a9139
rcr dh, cl
add rax, 0x1be8
bsr rdx, r11
btc cx, cx
movsx edx, r13w
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
rcl cx, cl
movsx rcx, r10w
add rax, 0x1bd8
shld rcx, rbx, 0x88
mov qword [rsp + 0x48], rax
shr dh, cl
sbb ecx, 0xefa5b13d
movsxd rax, dword [rsp + 0x24]
test r11w, bp
sete dl
xchg dl, dl
imul rax, rax, 0x30
cqo
mov rcx, qword [rsp + 0x48]
bts edx, r14d
xor dx, 0xb43b
shrd rdx, r15, 0xaa
add rax, qword [rcx + 8]
mov qword [rsp + 0x58], rax
lahf
movsxd rax, dword [rsp + 0x24]
shl cx, cl
mov rcx, 0x62399fb4
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x50]
adc rdx, r9
xadd dx, dx
bsf rdx, r13
mov rcx, qword [rcx + 8]
sar dx, 0x97
btc rdx, rsi
movzx edx, r13w
mov rdx, qword [rsp + 0x58]
cmp r9b, r10b
cmc
mov edx, dword [rdx]
cmp dword [rcx + rax], edx
jmp 0x1403d1e49
je 0x1403d1e54
jmp 0x1403d2049
cmp dword [rsp + 0x24], 0
jle 0x1403d1ff3
mov rax, qword [rsp + 0x28]
rcl ecx, cl
add cl, 0x17
setbe ch
add rax, 0x1bd8
and cx, r10w
sbb ecx, ecx
sal ch, 0x93
mov qword [rsp + 0x60], rax
movsx ecx, r11w
movsxd rax, dword [rsp + 0x24]
btc rcx, rdx
bts cx, bx
imul rax, rax, 0x30
ror ch, cl
mov cl, 0xa9
mov rcx, qword [rsp + 0x60]
clc
mov rcx, qword [rcx + 8]
cmp r15w, 0x81a0
clc
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x30], rax
shl cl, cl
mov rax, qword [rsp + 0x28]
stc
sbb ecx, 0x5390100c
add rax, 0x1bd8
xchg cx, cx
mov ecx, 0x19000fa7
bswap rcx
mov qword [rsp + 0x68], rax
mov al, dil
setb ah
movsx cx, r9b
mov eax, dword [rsp + 0x24]
setno ch
movzx cx, cl
movsx rcx, r9w
dec eax
not ecx
sal cx, cl
ror rcx, 0x95
cdqe
jmp 0x1403d1f04
imul rax, rax, 0x30
movsx cx, r14b
adc ecx, 0x8d0a6cb7
shr cx, 0x8b
mov rcx, qword [rsp + 0x68]
cmp r15w, di
jmp 0x1403d1f25
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax + 8]
stc
test si, 0x521b
mov qword [rsp + 0x38], rax
cmc
cmp r14d, 0x8b8229b8
mov byte [rsp + 0x20], 0
test bpl, 0x15
clc
cmp qword [rsp + 0x30], 0
je 0x1403d1fb9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
cmp r8b, r13b
test spl, r12b
cmc
and eax, 0x10000000
test eax, eax
jmp 0x1403d1f72
je 0x1403d1fb9
cmp qword [rsp + 0x38], 0
je 0x1403d1fae
mov rax, qword [rsp + 0x38]
jmp 0x1403d1f98
mov eax, dword [rax + 0xc]
and eax, 0x8000000
cmc
test eax, eax
jmp 0x1403d1fa8
jne 0x1403d1fb9
mov byte [rsp + 0x20], 1
adc al, r13b
sbb rax, rdx
movzx eax, byte [rsp + 0x20]
cmc
test r11b, 0x91
test eax, eax
jmp 0x1403d1fca
jne 0x1403d1fd5
jmp 0x1403d1ff3
mov eax, dword [rsp + 0x24]
jmp 0x1403d1fde
dec eax
jmp 0x1403d1fe5
mov dword [rsp + 0x24], eax
jmp 0x1403d1fee
jmp 0x1403d1e54
mov dl, 1
movsxd rcx, r10d
cmovnp cx, r10w
movzx cx, r11b
mov ecx, dword [rsp + 0x24]
call fcn.1403d1b71
mov rax, qword [rsp + 0x28]
stc
mov rax, qword [rax + 0x1bf8]
mov qword [rsp + 0x40], rax
stc
cmp qword [rsp + 0x40], 0
jmp 0x1403d2029
je 0x1403d2049
mov rax, qword [rsp + 0x40]
clc
test rsi, 0x2f300485
mov byte [rax + 0x150], 1
cmp spl, sil
test dil, r8b
add rsp, 0x78
ret