Function at 0x1804f66c2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
cmp dh, 0x7a
stc
test rax, rax
jne 0x18096172c
lea rcx, [rsp + 0x40]
cwde
mov rax, qword [0x180468140]
call rax
mov r11, rax
test r9b, r14b
stc
test rax, rax
jmp 0x180961726
call rax
jmp 0x180961861
mov byte [rsp + 0x18], r8b
stc
push rbp
bsr bp, ax
push rsi
btr rsi, 0xa2
sub rsp, 0x158
rol ebp, cl
ror sil, cl
mov rbp, rdx
mov rsi, rcx
cmc
test r14d, 0x69b15423
cmp r10w, di
test rcx, rcx
je 0x180961329
test rdx, rdx
jmp 0x180961310
je 0x180961329
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x180961323
je 0x180961344
xor eax, eax
add rsp, 0x158
xchg bpl, sil
setle sil
bswap bp
pop rsi
pop rbp
jmp 0x180961343
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jmp 0x180961354
jne 0x180961329
mov r9d, dword [rax + rcx + 0x88]
cmc
mov dword [rsp + 0x24], r9d
jmp 0x18096136f
test r9d, r9d
je 0x180961329
mov r10d, dword [rax + rcx + 0x8c]
lea rdx, [rcx + r9]
test bpl, dil
mov qword [rsp + 0x178], rbx
cmp dil, sil
mov qword [rsp + 0x150], rdi
jmp 0x18096139f
or r8d, 0xffffffff
cmc
sub edi, edi
cmp r15b, r8b
test r15, r12
mov dword [rsp + 0x170], r10d
jmp 0x1809613b9
mov qword [rsp + 0x28], rdx
cmp rbp, 0xffff
jmp 0x1809613ca
ja 0x1809613e7
mov r8d, ebp
jmp 0x1809613d9
sub r8d, dword [rdx + 0x10]
jmp 0x1809613e2
jmp 0x1809615b9
mov eax, dword [rdx + 0x18]
cmp r15w, 0x6ea1
cmp esi, ebp
cmc
test eax, eax
jmp 0x1809613fa
je 0x1809615b9
mov r10d, dword [rdx + 0x20]
movzx cx, bpl
dec eax
bts rcx, r12
mov ecx, edi
test cl, r10b
cmc
add r10, rsi
stc
mov dword [rsp + 0x20], ecx
cmp ah, 0x40
clc
mov dword [rsp + 0x188], eax
mov qword [rsp + 0x30], r10
test eax, eax
js 0x1809615b0
lea ebx, [rax + rcx]
mov r11, rdi
sar r9d, 0x18
shr r8b, cl
xchg r9b, r8b
sar ebx, 1
rcr al, cl
xor rdx, r13
test r15w, 0x7843
mov eax, ebx
movsx r8, sp
stc
movzx eax, byte [rsp + 0x180]
bt dx, 0xfd
mov r8d, dword [r10 + rbx*4]
sal dl, cl
cmp bh, 0xec
and dl, 2
mov r10, rbp
btc r9d, r15d
rcr r9b, 0x6a
lea r8, [r8 + rsi]
rcl edx, cl
sub r10, r8
cmovp r9, r12
nop
inc dh
movzx edx, byte [r10 + r8]
movsx r9d, si
mov r9d, r12d
movzx r9d, byte [r8]
jmp 0x1809614a2
inc r8
test r10, rdx
test al, al
jmp 0x1809614af
je 0x1809614ea
mov ecx, r11d
btc ax, 0xab
lahf
mov eax, 0xca358ac
jmp 0x1809614c8
rol eax, cl
clc
add al, r11b
clc
cmp r14w, 0x4e18
xor dl, al
bswap eax
movzx eax, byte [rsp + 0x180]
jmp 0x1809614e6
inc r11
clc
test dl, dl
je 0x180961500
cmp dl, r9b
jmp 0x1809614fa
je 0x18096148d
cmp dl, r9b
jmp 0x180961508
jb 0x180961538
jbe 0x180961568
mov eax, dword [rsp + 0x188]
mov rcx, 0x44d05f57
lea ecx, [rbx + 1]
jmp 0x18096152a
mov dword [rsp + 0x20], ecx
jmp 0x180961533
jmp 0x18096154c
mov ecx, dword [rsp + 0x20]
lea eax, [rbx - 1]
jmp 0x180961544
mov dword [rsp + 0x188], eax
clc
cmp ecx, eax
jmp 0x180961553
jg 0x180961597
mov r10, qword [rsp + 0x30]
jmp 0x180961563
jmp 0x180961435
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
movsx ecx, bx
movsx cx, r9b
movsx r8, sp
lea rcx, [rsi + rax]
setae r8b
movsx r8w, r9b
movsx r8d, si
movzx r8d, word [rcx + rbx*2]
jmp 0x18096159b
or r8d, 0xffffffff
mov r9d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
movsxd r10, r8d
adc r10b, r9b
jmp 0x1809615b0
mov r10d, dword [rsp + 0x170]
cmc
cmp r8d, dword [rdx + 0x14]
jmp 0x1809615c2
jae 0x180961679
mov eax, dword [rdx + 0x1c]
test sp, ax
add dh, 0x9a
mov ecx, r8d
shr dh, cl
movsx edx, r12w
lea rax, [rax + rsi]
adc rdx, r8
cdq
mov edx, dword [rax + r8*4]
cmp dil, 0x93
test edx, edx
jmp 0x1809615f1
je 0x180961679
cmp edx, r9d
jb 0x18096185d
lea eax, [r10 + r9]
test r14b, 0x47
cmp edx, eax
jmp 0x18096160f
jae 0x18096185d
movzx ecx, byte [rsi + rdx]
shr ah, cl
xor rax, 0x1684567a
ror bh, 0x4e
lea rax, [rsi + rdx]
shr bx, cl
sbb bl, r11b
mov rbx, rax
cmc
test r13b, bpl
cmp r11b, dil
test cl, cl
je 0x180961679
nop
test r13d, 0x59e86873
cmp rbp, r10
cmp cl, 0x2e
jmp 0x180961654
je 0x180961685
movzx ecx, byte [rbx + 1]
jmp 0x180961663
inc rbx
jmp 0x18096166c
test cl, cl
jmp 0x180961673
jne 0x18096164c
sub eax, eax
jmp 0x180961680
jmp 0x180961861
mov r8, rbx
cmp r13b, 0x45
clc
cmp r12b, bl
sub r8, rax
cmp dil, al
cmp r8, 0x104
jmp 0x1809616a2
jae 0x180961679
mov rcx, rdi
cmp r8b, r14b
test r8, r8
je 0x1809616fc
lea r9, [rsp + 0x40]
test r9b, r9b
mov dx, 0x1a72
add dl, 0x6a
sub r9, rax
cmp bpl, dl
movzx edx, byte [rax]
cmc
clc
test dl, dl
jmp 0x1809616d8
je 0x1809616fc
inc rcx
mov byte [r9 + rax], dl
jmp 0x1809616ea
inc rax
stc
cmp rcx, r8
jmp 0x1809616f6
jb 0x1809616cc
mov byte [rsp + rcx + 0x40], dil
movzx eax, r14w
movsx rcx, di
movsx ax, r9b
lea rcx, [rsp + 0x40]
movzx eax, r15w
setae al
mov rax, qword [0x180468148]
jmp 0x1804f66c0
je 0x180961679
cmp r11, rsi
jmp 0x180961734
jne 0x1809617c7
cmp byte [rsp + 0x180], dil
jmp 0x180961747
je 0x1809617af
lea rax, [rsp + 0x40]
cmovb ecx, edi
rcl dh, cl
btr dx, 0x35
sub rbp, rax
movzx eax, ax
rcl ah, cl
nop
cbw
lea rdx, [rsp + rdi + 0x40]
btr ecx, 0x41
setp cl
mov ecx, edi
mov al, 0xee
rcr ah, 0x19
mov eax, 0xca358ac
rol eax, cl
stc
add al, dil
xor al, byte [rdx + rbp]
mov byte [rdx], al
jmp 0x18096178f
je 0x1809617a6
inc rdi
clc
cmp rdi, 0x104
jb 0x180961767
lea rbp, [rsp + 0x40]
cqo
rdtsc
mov rdx, rbp
mov rcx, rsi
movzx rax, r13w
cdqe
mov rax, qword [0x180468150]
jmp 0x180912f06
cmp byte [rbx + 1], 0x23
mov edx, edx
movsx rdx, ax
lea rdx, [rbx + 1]
jmp 0x1809617da
jne 0x180961843
movzx edx, byte [rbx + 2]
add rbx, 2
cmp r12b, r11b
test dl, dl
jmp 0x1809617f2
je 0x18096183c
nop
lea eax, [rdx - 0x30]
jmp 0x180961801
inc rbx
cmp r13b, 0x13
stc
cmp al, 9
jmp 0x180961810
ja 0x18096183c
movsx eax, dl
movzx edx, byte [rbx]
ror cl, cl
lea ecx, [rdi + rdi*4]
movzx di, r9b
lea edi, [rax + rcx*2 - 0x30]
jmp 0x18096182f
test dl, dl
jmp 0x180961836
jne 0x1809617f9
movsxd rdx, edi
movzx rcx, ax
sub r8d, r8d
movzx cx, sil
mov rcx, r11
jmp 0x180961853
call fcn.1809612d0
jmp 0x180961861
lea rax, [rsi + rdx]
mov rbx, qword [rsp + 0x178]
ror bpl, 0xf1
clc
shld si, si, 0x16
mov rdi, qword [rsp + 0x150]
add rsp, 0x158
not si
xchg ebp, esi
movzx si, cl
pop rsi
cmovp rbp, rax
pop rbp
jmp 0x180961896
ret