Function at 0x1801c4692
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
movsx ax, bh
push r14
lahf
bsr r14, r13
rol r15b, 0xb0
push r12
cmp r12w, dx
bt r12, 0x24
push rsi
push rdi
shl dil, cl
bts r14w, r8w
push rbp
neg esi
push rbx
shl bl, cl
stc
lahf
sub rsp, 0x30
dec ah
mov esi, r8d
movsxd rdi, r15d
and dil, 0xba
shld rbx, r12, 0x18
mov edi, edx
mov eax, r8d
btc ebx, 3
sub eax, edx
movsx r14d, r11w
mov edx, 0xd89854b7
setne bl
mov r14d, 0x8f6230df
cmovg r14d, edx
mov rbx, rcx
shrd r15, r12, 0xb5
mov ebp, eax
bswap r15w
and r15b, dil
shr ebp, 0x1f
shl r12b, 0x92
sub r15w, 0xe9f
add ebp, eax
mov r12w, r12w
and r12b, 0x16
xadd r12b, r15b
sar ebp, 1
add ebp, edi
xadd r12b, al
mov eax, 0xe6d24654
xor r12d, 0x6f10e789
mov r15d, 0xdee27077
mov r12d, 0x89a84f56
cmp dx, 0x8c96
stc
cmp eax, 0xdee27076
jg 0x1801c478d
cmp eax, 0xa44b10b0
jmp 0x1801c475d
jg 0x1801c47c7
cmp eax, 0x89a84f56
jmp 0x1801c476d
je 0x1801c482f
cmp eax, 0xa3103f74
jmp 0x1801c477d
jne 0x1801c49da
mov eax, 0xa44b10b1
jmp 0x1801c4748
cmp eax, 0x63d2ac2c
jg 0x1801c4802
cmp eax, 0xdee27077
jmp 0x1801c47a2
je 0x1801c483e
cmp eax, 0xe6d24654
jmp 0x1801c47b2
jne 0x1801c4748
mov eax, 0x6db3a0ea
jmp 0x1801c47c2
jmp 0x1801c4748
cmp eax, 0xa44b10b1
jmp 0x1801c47d1
je 0x1801c48e5
cmp eax, 0xd89854b7
jmp 0x1801c47e1
jne 0x1801c4748
mov dword [rsp + 0x2c], ebp
not ax
mov eax, 0x3397ec94
mov eax, 0xa3103f74
jmp 0x1801c47fd
jmp 0x1801c4748
cmp eax, 0x63d2ac2d
jmp 0x1801c480c
je 0x1801c4934
cmp eax, 0x6db3a0ea
jmp 0x1801c481c
jne 0x1801c4748
mov eax, r14d
jmp 0x1801c482a
jmp 0x1801c4748
mov eax, 0x8f6230df
jmp 0x1801c4839
jmp 0x1801c4748
mov r8d, dword [rsp + 0x2c]
movsx rdx, r13w
mov rcx, rbx
mov edx, edi
jmp 0x1801c4851
call fcn.1801c4692
mov edx, dword [rsp + 0x2c]
inc edx
mov rcx, rbx
mov r8d, esi
jmp 0x1801c4867
call fcn.1801c4692
mov r8d, dword [rsp + 0x2c]
movzx r9d, r12w
movzx rdx, r8w
not ch
mov rcx, rbx
bswap rdx
movsxd rdx, r9d
mov edx, edi
movzx r9d, r8w
cmovae r9w, r10w
mov r9d, esi
call fcn.180006aa9
mov eax, dword [0x180049b98]
movzx ecx, r9w
rcr ecx, cl
lea ecx, [rax - 1]
clc
imul ecx, eax
shrd ax, r15w, 0x35
sal ax, cl
test cl, 1
movzx rax, r11w
movsx eax, dx
mov eax, 0x63d2ac2d
jmp 0x1801c48c7
cmove eax, r12d
stc
cmp sil, 0xb0
cmp dword [0x180049b9c], 0xa
cmovl eax, r12d
jmp 0x1801c48e0
jmp 0x1801c4748
mov eax, dword [0x180049b98]
rol cx, 0xb1
cmc
cmp sp, si
lea ecx, [rax - 1]
jmp 0x1801c48fb
imul ecx, eax
bts ax, si
test cl, 1
bswap eax
mov eax, 0x63d2ac2d
jmp 0x1801c4911
cmove eax, r15d
test spl, sil
cmp di, di
test sil, 0xa6
cmp dword [0x180049b9c], 0xa
jmp 0x1801c492b
cmovl eax, r15d
jmp 0x1801c4748
mov r8d, dword [rsp + 0x2c]
movsx rcx, r15w
mov rcx, rbx
not dh
mov edx, edi
call fcn.1801c4692
mov eax, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x2c]
movzx rcx, r12w
bswap r8d
mov eax, dword [rsp + 0x2c]
cwd
cbw
movsx eax, r15w
mov eax, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x2c]
movzx dx, bh
dec dx
cdq
mov edx, dword [rsp + 0x2c]
not r8
mov r8w, cx
movzx cx, r15b
inc edx
cmovs cx, r10w
movsx r8d, bx
movsx r8w, r9b
mov rcx, rbx
mov r8d, esi
jmp 0x1801c49ab
call fcn.1801c4692
mov r8d, dword [rsp + 0x2c]
cqo
movzx r9d, cx
mov rcx, rbx
mov edx, edi
movzx r9, r10w
setle r9b
mov r9d, esi
call fcn.180006aa9
mov eax, 0xdee27077
jmp 0x1801c4748
cmp eax, 0x8f6230df
jmp 0x1801c49e4
jne 0x1801c4748
add rsp, 0x30
movsx r14, r8w
pop rbx
movsx r15d, bp
movsx r15, r10w
movzx rbp, si
pop rbp
pop rdi
mov r15b, cl
setle sil
mov r12b, 0xb
pop rsi
movsx r14d, r11w
pop r12
cmovg r14d, r12d
movzx r15d, r13w
movzx r14, cx
pop r14
movzx r15w, dl
movsxd r15, r8d
movzx r15, r8w
pop r15
jmp 0x1801c4a33
ret