Function at 0x180caa41d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
stc
test rax, rax
jmp 0x18196e796
call rax
mov r11, rax
cmp r12d, r8d
cmp ah, 0x93
test rax, rax
jne 0x18196e79c
lea rcx, [rsp + 0x50]
cbw
movzx rax, r15w
mov rax, qword [0x180cbc158]
jmp 0x180caa41b
call rax
jmp 0x18196e8e9
mov byte [rsp + 0x18], r8b
cmc
mov qword [rsp + 0x10], rdx
push rbp
push rsi
shld bp, r9w, 0xce
or bpl, r14b
sub rsp, 0x178
mov rbp, rdx
mov rsi, rcx
test esp, 0x43d80012
test rcx, rcx
jmp 0x18196e2ef
je 0x18196e317
test rdx, rdx
jmp 0x18196e2fd
je 0x18196e317
mov eax, 0x5a4d
stc
cmp word [rcx], ax
jmp 0x18196e311
je 0x18196e32b
sub eax, eax
add rsp, 0x178
pop rsi
movzx bp, spl
mov bpl, 1
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
test rsp, rdx
cmc
cmp dword [rax + rcx], 0x4550
jmp 0x18196e33f
jne 0x18196e317
mov r8d, dword [rax + rcx + 0x88]
jmp 0x18196e356
mov dword [rsp + 0x30], r8d
cmp r15d, 0x1bc1716f
test ebx, r13d
test r8d, r8d
jmp 0x18196e36d
je 0x18196e317
mov r9d, dword [rax + rcx + 0x8c]
xor cl, cl
lea rdx, [rsi + r8]
movzx cx, bpl
xor cx, 0x7fa8
inc cx
mov qword [rsp + 0x170], rbx
cmovne cx, r10w
sbb ch, 0xee
bswap rcx
mov qword [rsp + 0x168], rdi
add cl, bpl
mov cx, 0x3599
mov ecx, 0xffffffff
cmc
stc
xor edi, edi
mov dword [rsp + 0x20], r9d
test spl, r15b
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
cmp esp, 0x7113702d
cmc
cmp rbp, 0xffff
jmp 0x18196e3e0
ja 0x18196e429
mov ecx, ebp
sub ecx, dword [rdx + 0x10]
jmp 0x18196e3f1
cmp ecx, dword [rdx + 0x14]
jmp 0x18196e3f9
jae 0x18196e422
mov eax, dword [rdx + 0x1c]
lea rax, [rax + rsi]
stc
mov edx, dword [rax + rcx*4]
test rdi, r8
clc
cmp r15d, 0x673869fc
test edx, edx
jmp 0x18196e41c
jne 0x18196e6a3
xor eax, eax
jmp 0x18196e8e9
mov eax, dword [rdx + 0x18]
jmp 0x18196e438
test eax, eax
jmp 0x18196e43f
je 0x18196e66d
mov r9d, dword [rdx + 0x20]
lea r11d, [rax - 1]
xor bl, r8b
sbb bx, bp
mov ebx, edi
stc
cmp r12b, spl
cmc
lea r9, [r9 + rsi]
stc
mov qword [rsp + 0x40], r9
cmp bx, 0x13d0
test r11d, r11d
js 0x18196e664
nop
not bp
cmp r11d, 0x36f91745
bsr ebp, edi
mov r10, qword [rsp + 0x198]
movsxd r8, r15d
add bp, r12w
lea eax, [r11 + rbx]
mov rbp, rdi
rol dl, cl
test sil, 0xc7
mov r8b, sil
sar eax, 1
dec r8b
shl dl, cl
mov dword [rsp + 0x1a8], eax
movsx r8, dx
mov qword [rsp + 0x38], rax
sal r8w, 3
bts dx, bp
mov r8d, dword [r9 + rax*4]
inc dh
mov eax, dword [r9 + rax*4]
sub r10, rax
or dl, 0x29
movzx eax, byte [rsp + 0x1a0]
dec r9b
test dl, r9b
lea r8, [r8 + rsi]
sub r10, rsi
cwd
xchg r9w, dx
cdq
nop
bswap r9d
movzx edx, byte [r10 + r8]
not r9b
mov r9b, 0x6f
dec r9d
movzx r9d, byte [r8]
jmp 0x18196e506
inc r8
cmc
test al, al
jmp 0x18196e511
je 0x18196e53b
mov ecx, ebp
mov eax, 0xd715891
cmc
stc
rol eax, cl
clc
stc
add al, bpl
cmp dil, 0xc7
xor dl, al
mov al, byte [rsp + 0x1a0]
inc rbp
test r14b, 0x18
test dl, dl
je 0x18196e551
cmp dl, r9b
jmp 0x18196e54b
je 0x18196e4ef
cmp dl, r9b
jb 0x18196e5ec
cmp dl, r9b
jmp 0x18196e562
jbe 0x18196e59b
mov ebx, dword [rsp + 0x1a8]
cwd
movzx rdx, r8w
mov rdx, qword [rsp + 0x28]
inc ch
movzx rcx, sp
setne cl
mov ecx, dword [rsp + 0x190]
jmp 0x18196e58f
inc ebx
jmp 0x18196e596
jmp 0x18196e61e
mov rdx, qword [rsp + 0x28]
movsxd rcx, r10d
movzx ecx, dx
jmp 0x18196e5ab
lea ebx, [r11 + 1]
movsx cx, r15b
movsxd rcx, esi
cdqe
mov eax, dword [rdx + 0x24]
bswap cx
sets cl
mov cl, 0xca
lea rcx, [rsi + rax]
mov rax, qword [rsp + 0x38]
jmp 0x18196e5d2
movzx ecx, word [rcx + rax*2]
jmp 0x18196e5db
mov dword [rsp + 0x190], ecx
jmp 0x18196e5e7
jmp 0x18196e61e
mov r11d, dword [rsp + 0x1a8]
cmovle r9w, dx
inc edx
mov rdx, qword [rsp + 0x28]
setnp r9b
mov ecx, dword [rsp + 0x190]
movzx r9, ax
movsx r9, r13w
movsxd r9, edx
dec r11d
btr r9w, r11w
cmp ebx, r11d
bswap r9w
mov r9, qword [rsp + 0x40]
jmp 0x18196e62f
jle 0x18196e480
mov rbp, qword [rsp + 0x198]
mov r8w, 0x7261
movsx r9w, r13b
movsxd r8, r14d
mov r8d, dword [rsp + 0x30]
bswap r9d
jmp 0x18196e65a
mov r9d, dword [rsp + 0x20]
jmp 0x18196e66d
mov r9d, dword [rsp + 0x20]
test r14b, r9b
stc
cmp ecx, dword [rdx + 0x14]
jmp 0x18196e675
jae 0x18196e422
mov eax, dword [rdx + 0x1c]
shl dl, cl
btr dx, 0xb9
lea rax, [rax + rsi]
seto dh
cmp r12w, 0x145
cdq
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x18196e69d
je 0x18196e422
cmp edx, r8d
jmp 0x18196e6ab
jb 0x18196e8dd
lea eax, [r9 + r8]
cmc
jmp 0x18196e6bb
cmp edx, eax
jmp 0x18196e6c2
jae 0x18196e8dd
mov eax, edx
shl cx, 0x2c
add rax, rsi
mov rbx, rax
movzx ecx, byte [rax]
test cl, cl
je 0x18196e422
cmp cl, 0x2e
je 0x18196e707
mov cl, byte [rbx + 1]
jmp 0x18196e6f0
inc rbx
test cl, cl
jne 0x18196e6df
xor eax, eax
jmp 0x18196e702
jmp 0x18196e8e9
mov r8, rbx
clc
sub r8, rax
cmp r8, 0x104
jmp 0x18196e71a
jae 0x18196e422
mov rcx, rdi
test r15d, r13d
test r8, r8
je 0x18196e770
lea r9, [rsp + 0x50]
dec dx
xor dl, 0xe2
sub r9, rax
nop
bts dx, cx
movzx edx, byte [rax]
test dl, dl
jmp 0x18196e74c
je 0x18196e770
inc rcx
mov byte [r9 + rax], dl
jmp 0x18196e75e
inc rax
cmc
cmp rcx, r8
jmp 0x18196e76a
jb 0x18196e742
mov byte [rsp + rcx + 0x50], dil
cmova cx, r13w
cwde
cdqe
lea rcx, [rsp + 0x50]
movzx ax, spl
not ax
mov rax, qword [0x180cbc160]
jmp 0x1818e8f93
je 0x18196e422
cmp r11, rsi
jmp 0x18196e7a4
jne 0x18196e83c
cmp byte [rsp + 0x1a0], dil
je 0x18196e818
lea rax, [rsp + 0x50]
ror rdx, cl
sub rbp, rax
cdqe
stc
btc eax, 0x9d
nop
movzx eax, r15w
ror ch, 0xac
cdq
lea rdx, [rsp + rdi + 0x50]
mov ecx, edi
mov eax, 0xd715891
rol eax, cl
add al, dil
test eax, r13d
xor al, byte [rdx + rbp]
mov byte [rdx], al
jmp 0x18196e7f1
je 0x18196e80c
inc rdi
cmp rdi, 0x104
jmp 0x18196e806
jb 0x18196e7d3
lea rbp, [rsp + 0x50]
cmovnp dx, bp
cwde
cqo
mov rdx, rbp
movzx ecx, r9w
movzx cx, r10b
mov rcx, rsi
mov al, r14b
movsx eax, r14w
cbw
mov rax, qword [0x180cbc168]
jmp 0x18194dd63
cmp byte [rbx + 1], 0x23
mov dl, dh
setno dl
bswap dx
lea rdx, [rbx + 1]
jmp 0x18196e851
jne 0x18196e8c6
movzx edx, byte [rbx + 2]
stc
jmp 0x18196e865
add rbx, 2
cmc
jmp 0x18196e86f
test dl, dl
jmp 0x18196e876
je 0x18196e8c0
nop
movsxd rax, eax
lea eax, [rdx - 0x30]
jmp 0x18196e888
inc rbx
cmc
cmp al, 9
ja 0x18196e8c0
movsx eax, dl
seta dl
sbb cl, 0xda
stc
mov dl, byte [rbx]
lea ecx, [rdi + rdi*4]
sbb dil, 0xa6
ror dil, cl
add di, r10w
lea edi, [rax + rcx*2 - 0x30]
cmc
test dl, dl
jmp 0x18196e8ba
jne 0x18196e880
movsxd rdx, edi
cmp r13, rbp
xor r8d, r8d
jmp 0x18196e8d0
mov rcx, r11
call fcn.18196e2be
jmp 0x18196e8e9
mov eax, edx
xor edi, 0x49051f8c
lea rax, [rax + rsi]
mov rbx, qword [rsp + 0x170]
test r11w, r12w
cmc
movsx di, r10b
mov rdi, qword [rsp + 0x168]
ror bp, 0x4b
and si, 0x5d6
add rsp, 0x178
mov si, bp
pop rsi
setge bpl
xchg rbp, rbp
cmovo ebp, r12d
pop rbp
ret