Function at 0x1806ca564
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
je 0x1807a887e
cmp r11, rsi
jmp 0x1807a8c09
call rax
mov r11, rax
test rax, rax
jmp 0x1807a8bef
call rax
jmp 0x1807a8d46
mov byte [rsp + 0x18], r8b
cmc
mov qword [rsp + 0x10], rdx
cmp spl, r15b
push rbp
cmc
or ebp, 0x570749e3
sbb bp, r11w
push rsi
sub rsp, 0x178
sbb sil, 5
btc bp, 0x6b
btr rsi, r12
mov rbp, rdx
or rsi, r10
sar sil, 0x84
mov rsi, rcx
test rbx, 0x79de76db
test rcx, rcx
jmp 0x1807a8766
je 0x1807a8790
test rdx, rdx
jmp 0x1807a8774
je 0x1807a8790
mov eax, 0x5a4d
test ah, ah
clc
cmp word [rcx], ax
jmp 0x1807a878a
je 0x1807a87b4
sub eax, eax
add rsp, 0x178
movsx rbp, cx
pop rsi
cmovbe bp, r12w
jmp 0x1807a87ad
pop rbp
jmp 0x1807a87b3
ret
movsxd rax, dword [rcx + 0x3c]
cmp r12d, 0x29123ec7
cmp dword [rax + rcx], 0x4550
jmp 0x1807a87cb
jne 0x1807a8790
mov r8d, dword [rax + rcx + 0x88]
cmp sil, 0xc7
mov dword [rsp + 0x30], r8d
test r8d, r8d
jmp 0x1807a87ea
je 0x1807a8790
mov r9d, dword [rax + rcx + 0x8c]
lea rdx, [rsi + r8]
sar ecx, cl
inc ch
shl ecx, cl
mov qword [rsp + 0x170], rbx
cmc
mov qword [rsp + 0x168], rdi
mov ecx, 0xffffffff
cmc
clc
xor edi, edi
mov dword [rsp + 0x20], r9d
cmp cx, di
cmp rbp, 0x6e80121b
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
cmc
jmp 0x1807a8840
cmp rbp, 0xffff
jmp 0x1807a884c
ja 0x1807a888a
mov ecx, ebp
sub ecx, dword [rdx + 0x10]
cmp ecx, dword [rdx + 0x14]
jae 0x1807a887e
mov eax, dword [rdx + 0x1c]
cwd
clc
lea rax, [rax + rsi]
mov edx, dword [rax + rcx*4]
cmc
test bl, 0xdf
test edx, edx
jmp 0x1807a8878
jne 0x1807a8ae4
xor eax, eax
jmp 0x1807a8885
jmp 0x1807a8d46
mov eax, dword [rdx + 0x18]
clc
test eax, eax
jmp 0x1807a8895
je 0x1807a8ab2
mov r9d, dword [rdx + 0x20]
add bx, r11w
lea r11d, [rax - 1]
movsx ebx, sp
mov ebx, edi
cmp bl, r10b
cmc
add r9, rsi
clc
test r15b, 0x8b
test spl, r8b
mov qword [rsp + 0x40], r9
jmp 0x1807a88c5
test r11d, r11d
jmp 0x1807a88cd
js 0x1807a8aad
nop
shrd r10, rbx, 0xd4
mov r10, qword [rsp + 0x198]
rdtsc
cdqe
lea eax, [r11 + rbx]
sal r8w, 0xa4
shr r8w, cl
cqo
mov rbp, rdi
inc r8b
sar eax, 1
cwd
not r8b
mov dword [rsp + 0x1a8], eax
mov qword [rsp + 0x38], rax
rcr dl, cl
movsx edx, bp
mov r8d, dword [r9 + rax*4]
setne dl
mov eax, dword [r9 + rax*4]
shl r9, cl
sub r10, rax
movzx eax, byte [rsp + 0x1a0]
adc r9b, r10b
not r9
add r8, rsi
and r9w, bp
sub r10, rsi
cwd
nop
inc r9b
movzx edx, byte [r10 + r8]
movzx r9d, byte [r8]
inc r8
test dil, spl
test al, al
jmp 0x1807a8957
je 0x1807a8993
mov ecx, ebp
rcl eax, cl
mov ah, 0xb2
mov eax, 0x324a31a8
clc
rol eax, cl
cmp sp, r15w
cmp sil, 0x7d
add al, bpl
jmp 0x1807a897d
xor dl, al
xchg al, al
mov al, bpl
mov al, byte [rsp + 0x1a0]
jmp 0x1807a8990
inc rbp
test dl, dl
jmp 0x1807a899a
je 0x1807a89ae
cmp dl, r9b
jmp 0x1807a89a8
je 0x1807a8941
cmp dl, r9b
jb 0x1807a8a41
cmp dl, r9b
jmp 0x1807a89bf
jbe 0x1807a89ec
mov ebx, dword [rsp + 0x1a8]
movsxd rcx, esp
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x190]
jmp 0x1807a89e0
inc ebx
jmp 0x1807a89e7
jmp 0x1807a8a64
mov rdx, qword [rsp + 0x28]
movzx rbx, r14w
cbw
lea ebx, [r11 + 1]
cbw
jmp 0x1807a8a05
mov eax, dword [rdx + 0x24]
movzx rcx, si
cmovnp cx, r13w
not cl
lea rcx, [rsi + rax]
movsxd rax, r9d
cwde
nop
mov rax, qword [rsp + 0x38]
jmp 0x1807a8a27
movzx ecx, word [rcx + rax*2]
jmp 0x1807a8a30
mov dword [rsp + 0x190], ecx
jmp 0x1807a8a3c
jmp 0x1807a8a64
mov r11d, dword [rsp + 0x1a8]
jmp 0x1807a8a4e
mov rdx, qword [rsp + 0x28]
not cx
mov ecx, dword [rsp + 0x190]
movzx r9, dx
dec r11d
cmp ebx, r11d
movsx r9d, r12w
movsx r9w, r11b
mov r9, qword [rsp + 0x40]
jle 0x1807a88d9
mov rbp, qword [rsp + 0x198]
not r8
setns r9b
movsxd r9, esp
mov r8d, dword [rsp + 0x30]
mov r9, r11
movsx r9w, sil
movsx r9d, r8w
mov r9d, dword [rsp + 0x20]
jmp 0x1807a8aa8
jmp 0x1807a8ab2
mov r9d, dword [rsp + 0x20]
cmp ecx, dword [rdx + 0x14]
jmp 0x1807a8aba
jae 0x1807a887e
mov eax, dword [rdx + 0x1c]
cmp ecx, 0x1153533a
sar dh, cl
add rax, rsi
or rdx, rsi
rcl dl, 0x11
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x1807a8ade
je 0x1807a887e
cmp edx, r8d
jb 0x1807a8d2f
lea eax, [r9 + r8]
cmp edx, eax
jmp 0x1807a8af8
jae 0x1807a8d2f
mov eax, edx
sbb bl, r8b
shl bl, cl
setp cl
lea rax, [rax + rsi]
bt cx, 0x1b
mov bh, 0x9d
mov rbx, rax
bsr cx, r10w
shl cx, cl
movzx ecx, byte [rax]
cmc
test cl, cl
jmp 0x1807a8b2a
je 0x1807a887e
cmp cl, 0x2e
je 0x1807a8b62
mov cl, byte [rbx + 1]
inc rbx
cmp esp, r13d
test r15w, 0x1720
stc
test cl, cl
jmp 0x1807a8b50
jne 0x1807a8b30
sub eax, eax
jmp 0x1807a8b5d
jmp 0x1807a8d46
mov r8, rbx
clc
sub r8, rax
cmp r8, 0x104
jae 0x1807a887e
mov rcx, rdi
jmp 0x1807a8b82
test r8, r8
jmp 0x1807a8b8a
je 0x1807a8bd4
lea r9, [rsp + 0x50]
add dl, 0x9c
cmp eax, r13d
sub r9, rax
mov dx, 0x64f5
nop
movzx edx, byte [rax]
clc
cmp sil, 0x8e
test r15w, 0xfd6
test dl, dl
je 0x1807a8bd4
inc rcx
mov byte [r9 + rax], dl
jmp 0x1807a8bc5
inc rax
cmp dl, r12b
cmp rcx, r8
jb 0x1807a8ba3
mov byte [rsp + rcx + 0x50], dil
lea rcx, [rsp + 0x50]
cmovbe ax, r15w
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x1806d46e2
jne 0x1806ca570
lea rcx, [rsp + 0x50]
mov ah, 3
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x1806ca562
jne 0x1807a8ca4
cmp byte [rsp + 0x1a0], dil
je 0x1807a8c89
lea rax, [rsp + 0x50]
bsr rcx, r8
shr dh, cl
sub rbp, rax
bts dx, dx
seto ah
bt dx, 0x39
nop
bts rcx, rbp
lea rdx, [rsp + rdi + 0x50]
mov ecx, edi
clc
lahf
movzx eax, r9w
mov eax, 0x324a31a8
rol eax, cl
cmp bh, 0x2b
add al, dil
clc
xor al, byte [rdx + rbp]
jmp 0x1807a8c5f
mov byte [rdx], al
jmp 0x1807a8c66
je 0x1807a8c7d
inc rdi
stc
cmp rdi, 0x104
jb 0x1807a8c3c
lea rbp, [rsp + 0x50]
movzx cx, dil
not cl
mov rdx, rbp
movsx cx, ch
mov rcx, rsi
movsxd rax, edi
not al
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x180740973
cmp byte [rbx + 1], 0x23
movsx rdx, r13w
lea rdx, [rbx + 1]
jne 0x1807a8d1c
movzx edx, byte [rbx + 2]
jmp 0x1807a8cc0
add rbx, 2
jmp 0x1807a8cc9
test dl, dl
jmp 0x1807a8cd0
je 0x1807a8d19
nop
seta al
mov rax, 0x78c54a36
lea eax, [rdx - 0x30]
inc rbx
cmp al, 9
jmp 0x1807a8cee
ja 0x1807a8d19
movsx eax, dl
movzx rcx, r14w
mov dl, 0xda
mov dl, byte [rbx]
rcr cl, 0x48
lea ecx, [rdi + rdi*4]
cmp r10b, r8b
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jmp 0x1807a8d13
jne 0x1807a8ce1
movsxd rdx, edi
sub r8d, r8d
setns ch
mov rcx, r11
call fcn.1807a871b
jmp 0x1807a8d46
mov eax, edx
btr ebx, 0x3b
cmove rbp, r14
lea rax, [rax + rsi]
movsxd rbp, esi
and di, 0x3bcc
cmc
mov rbx, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x168]
test r10b, sil
mov bp, 0x12c2
add rsp, 0x178
pop rsi
bswap bp
setne bpl
pop rbp
jmp 0x1807a8d72
ret