Function at 0x180e830e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
stc
clc
test rax, rax
jmp 0x180f316d9
call rax
mov r11, rax
cmp sil, 0x58
test rax, rax
jmp 0x180f316f8
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
clc
test dil, r13b
cmc
push rbp
sub bpl, r10b
rol bp, cl
bt ebp, 0xaf
push rsi
or ebp, ecx
jmp 0x180f311f7
sub rsp, 0x178
jmp 0x180f31203
mov rbp, rdx
sar esi, 0xe6
xor sil, r12b
mov rsi, rcx
test bpl, spl
cmc
clc
test rcx, rcx
jmp 0x180f3121c
je 0x180f31243
test rdx, rdx
jmp 0x180f3122a
je 0x180f31243
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x180f3123d
je 0x180f3126a
xor eax, eax
movzx si, dl
sbb sil, 0x5e
xor sil, 0x7a
add rsp, 0x178
movsx ebp, r8w
pop rsi
mov bpl, 0x2b
not bpl
pop rbp
jmp 0x180f31269
ret
movsxd rax, dword [rcx + 0x3c]
clc
cmc
cmp dword [rax + rcx], 0x4550
jmp 0x180f3127c
jne 0x180f31243
mov r8d, dword [rax + rcx + 0x88]
test cl, bpl
clc
mov dword [rsp + 0x30], r8d
test r8d, r8d
je 0x180f31243
mov r9d, dword [rax + rcx + 0x8c]
btr rdx, 0xdf
sbb rcx, 0x5e95603
lea rdx, [rsi + r8]
sbb ecx, ebp
setns ch
mov qword [rsp + 0x170], rbx
movzx rcx, bp
ror cx, 0xb6
movzx ecx, sp
mov qword [rsp + 0x168], rdi
test r11b, dl
xchg ch, ch
bt cx, 0xb
mov ecx, 0xffffffff
test r12b, 0x12
test r10w, r11w
cmc
sub edi, edi
test ch, 8
jmp 0x180f312f6
mov dword [rsp + 0x20], r9d
stc
mov qword [rsp + 0x28], rdx
clc
test r11b, 0x79
mov dword [rsp + 0x190], ecx
cmp rbp, 0xffff
jmp 0x180f31319
ja 0x180f31369
mov ecx, ebp
sub ecx, dword [rdx + 0x10]
stc
test r14w, 0x3909
cmp ecx, dword [rdx + 0x14]
jae 0x180f3135d
mov eax, dword [rdx + 0x1c]
cmovbe edx, esi
movzx edx, bp
sbb dh, 0xcd
lea rax, [rax + rsi]
shrd dx, di, 0x62
or dl, r9b
mov edx, dword [rax + rcx*4]
cmc
test edx, edx
jmp 0x180f31357
jne 0x180f315da
sub eax, eax
jmp 0x180f31364
jmp 0x180f3184c
mov eax, dword [rdx + 0x18]
test eax, eax
jmp 0x180f31373
je 0x180f315ab
mov r9d, dword [rdx + 0x20]
sal rbx, cl
xor rbx, r14
lea r11d, [rax - 1]
movzx rbx, sp
shl ebx, cl
mov ebx, edi
test dl, 0xde
clc
lea r9, [r9 + rsi]
clc
mov qword [rsp + 0x40], r9
test bh, 0xce
clc
test r11d, r11d
jmp 0x180f313a9
js 0x180f315a6
nop
xchg r10d, r10d
rol dh, cl
mov r10, qword [rsp + 0x198]
test r9b, r9b
sub r8b, r10b
sbb al, al
lea eax, [r11 + rbx]
shr edx, 0xed
mov rbp, rdi
mov dl, 0xd5
cmovl r8d, r10d
sar eax, 1
movsxd r8, ebx
adc r8w, 0x363
mov dword [rsp + 0x1a8], eax
and r8b, 0xd4
cwd
not r8d
mov qword [rsp + 0x38], rax
mov r8d, dword [r9 + rax*4]
sal dl, 0x61
mov eax, dword [r9 + rax*4]
sets r9b
sub r10, rax
rol ah, 0xf
movzx eax, byte [rsp + 0x1a0]
shl r9, cl
adc r9w, r12w
lea r8, [r8 + rsi]
sub r10, rsi
nop
movzx edx, byte [r10 + r8]
movsx r9, di
not r9b
movsx r9d, si
movzx r9d, byte [r8]
jmp 0x180f3143a
inc r8
test dil, 0x21
cmc
cmp r15b, 0x72
test al, al
je 0x180f31485
mov ecx, ebp
rol ah, cl
ror al, cl
mov eax, 0x1b3554a5
clc
rol eax, cl
stc
test r11b, r8b
add al, bpl
jmp 0x180f3146f
xor dl, al
jmp 0x180f31476
mov al, byte [rsp + 0x1a0]
jmp 0x180f31482
inc rbp
test dl, dl
jmp 0x180f3148c
je 0x180f314a0
cmp dl, r9b
jmp 0x180f3149a
je 0x180f31421
cmp dl, r9b
jb 0x180f3152b
cmp dl, r9b
jmp 0x180f314b1
jbe 0x180f314e5
mov ebx, dword [rsp + 0x1a8]
cwd
cqo
movsx rcx, r15w
mov rdx, qword [rsp + 0x28]
inc ecx
mov ecx, dword [rsp + 0x190]
jmp 0x180f314d9
inc ebx
jmp 0x180f314e0
jmp 0x180f31560
mov rdx, qword [rsp + 0x28]
movsx rbx, r8w
cbw
movzx bx, al
lea ebx, [r11 + 1]
cmovbe cx, r15w
mov eax, dword [rdx + 0x24]
movsxd rcx, r13d
lea rcx, [rsi + rax]
movsxd rax, eax
cdqe
movsx ax, dil
mov rax, qword [rsp + 0x38]
movzx ecx, word [rcx + rax*2]
mov dword [rsp + 0x190], ecx
jmp 0x180f31526
jmp 0x180f31560
mov r11d, dword [rsp + 0x1a8]
movsxd rdx, r10d
movzx r9d, ax
mov rdx, qword [rsp + 0x28]
mov ecx, eax
movzx ecx, dx
inc r9b
mov ecx, dword [rsp + 0x190]
movsx r9w, sil
xchg r9b, r9b
mov r9, 0x34e22e83
dec r11d
cmp ebx, r11d
movzx r9w, r15b
not r9w
movsxd r9, ebx
mov r9, qword [rsp + 0x40]
jmp 0x180f31579
jle 0x180f313b5
mov rbp, qword [rsp + 0x198]
jmp 0x180f31593
mov r8d, dword [rsp + 0x30]
bswap r9w
mov r9d, dword [rsp + 0x20]
jmp 0x180f315ab
mov r9d, dword [rsp + 0x20]
cmp ecx, dword [rdx + 0x14]
jmp 0x180f315b3
jae 0x180f3135d
mov eax, dword [rdx + 0x1c]
lea rax, [rax + rsi]
btr dx, 0x62
cdq
mov edx, dword [rax + rcx*4]
cmp r8w, bp
test edx, edx
jmp 0x180f315d4
je 0x180f3135d
cmp edx, r8d
jb 0x180f31834
lea eax, [r9 + r8]
jmp 0x180f315ed
cmp edx, eax
jmp 0x180f315f4
jae 0x180f31834
mov eax, edx
movzx ebx, r15w
movzx cx, dl
add rax, rsi
mov rbx, rax
and cl, 0x59
movzx ecx, byte [rax]
test cl, cl
jmp 0x180f31617
je 0x180f3135d
cmp cl, 0x2e
jmp 0x180f31625
je 0x180f31645
mov cl, byte [rbx + 1]
jmp 0x180f31633
inc rbx
test cl, cl
jne 0x180f3161d
sub eax, eax
jmp 0x180f3184c
mov r8, rbx
jmp 0x180f3164e
sub r8, rax
cmp r8, 0x104
jmp 0x180f3165d
jae 0x180f3135d
mov rcx, rdi
clc
test sil, bl
stc
test r8, r8
jmp 0x180f31673
je 0x180f316bc
lea r9, [rsp + 0x50]
test ax, 0x2434
sub r9, rax
nop
sal dx, cl
movzx edx, byte [rax]
test bp, 0x2a24
test dl, dl
jmp 0x180f31698
je 0x180f316bc
inc rcx
jmp 0x180f316a6
mov byte [r9 + rax], dl
jmp 0x180f316af
inc rax
clc
cmp rcx, r8
jb 0x180f31689
mov byte [rsp + rcx + 0x50], dil
lea rcx, [rsp + 0x50]
not ah
jmp 0x180f316cd
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA_2]
jmp 0x180e830e4
jne 0x180f316fe
lea rcx, [rsp + 0x50]
cbw
movzx rax, r10w
mov al, 0xdd
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA_2]
jmp 0x180ec16eb
je 0x180f3135d
cmp r11, rsi
jne 0x180f3179b
cmp byte [rsp + 0x1a0], dil
jmp 0x180f31714
je 0x180f3177d
lea rax, [rsp + 0x50]
rol rdx, cl
cmc
sal ch, 7
sub rbp, rax
btc rax, 0x4b
nop
rcr ch, cl
cbw
lea rdx, [rsp + rdi + 0x50]
mov ecx, edi
mov eax, 0x1b3554a5
clc
rol eax, cl
add al, dil
cmp dil, r9b
xor al, byte [rdx + rbp]
mov byte [rdx], al
jmp 0x180f31752
je 0x180f31773
inc rdi
jmp 0x180f31761
cmp rdi, 0x104
jmp 0x180f3176d
jb 0x180f31733
lea rbp, [rsp + 0x50]
movsx ax, bpl
mov rdx, rbp
movzx cx, r13b
mov rcx, rsi
movsxd rax, ecx
cdqe
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress_2]
call rax
jmp 0x180f3184c
cmp byte [rbx + 1], 0x23
movzx edx, r8w
movsx rdx, dx
lea rdx, [rbx + 1]
jmp 0x180f317b0
jne 0x180f31818
movzx edx, byte [rbx + 2]
cmp r15b, 0x70
add rbx, 2
cmp si, 0xdc6
test eax, r13d
test dl, dl
jmp 0x180f317d1
je 0x180f31815
nop
dec al
lea eax, [rdx - 0x30]
jmp 0x180f317e2
inc rbx
cmp al, 9
jmp 0x180f317ec
ja 0x180f31815
movsx eax, dl
or cl, 0x1b
adc dl, dl
mov dl, byte [rbx]
lea ecx, [rdi + rdi*4]
add dil, 0x11
setae dil
lea edi, [rax + rcx*2 - 0x30]
cmc
stc
test dl, dl
jne 0x180f317da
movsxd rdx, edi
sub r8d, r8d
movzx ecx, r10w
setb ch
mov rcx, r11
jmp 0x180f3182a
call fcn.180f311d1
jmp 0x180f3184c
mov eax, edx
add di, 0x5bfa
bsf rdi, rsi
rcl dil, cl
add rax, rsi
not dil
shr bp, 0x77
mov rbx, qword [rsp + 0x170]
movzx bp, r10b
mov rdi, qword [rsp + 0x168]
shl sil, cl
add rsp, 0x178
mov si, 0x3f48
movzx rsi, sp
pop rsi
xchg bp, bp
movzx bp, bl
movzx rbp, bx
pop rbp
jmp 0x180f31885
ret