Function at 0x1803f5b17
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
jmp 0x1804c8d71
mov byte [rsp + 0x18], r8b
test sil, r13b
mov qword [rsp + 0x10], rdx
cmp r14w, cx
test bp, 0x30e1
push rbp
rol bp, cl
xor ebp, r14d
bts bp, r8w
push rsi
shl esi, 0x3e
adc si, 0x3278
sub rsp, 0x178
adc bp, 0x1e5b
mov rbp, rdx
rol sil, cl
sar sil, cl
mov rsi, rcx
test rcx, rcx
jmp 0x1804c88aa
je 0x1804c88d9
test rdx, rdx
jmp 0x1804c88b8
je 0x1804c88d9
mov eax, 0x5a4d
cmc
test rsp, 0x2adf70d8
cmp word [rcx], ax
jmp 0x1804c88d3
je 0x1804c8902
sub eax, eax
movsxd rbp, ecx
mov sil, 0x7c
ror rbp, cl
add rsp, 0x178
movzx rbp, sp
movsx rsi, r9w
pop rsi
xchg bpl, bpl
movzx ebp, r11w
pop rbp
jmp 0x1804c8901
ret
movsxd rax, dword [rcx + 0x3c]
test r13d, 0x33046bd5
clc
cmp dword [rax + rcx], 0x4550
jmp 0x1804c891a
jne 0x1804c88d9
mov r8d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x30], r8d
jmp 0x1804c8936
test r8d, r8d
jmp 0x1804c893e
je 0x1804c88d9
mov r9d, dword [rax + rcx + 0x8c]
setle dl
lea rdx, [rsi + r8]
bt cx, bp
sar ch, cl
xadd cx, cx
mov qword [rsp + 0x170], rbx
stc
mov qword [rsp + 0x168], rdi
bsr ecx, r14d
adc ecx, 0x38e1d57
mov ecx, 0xffffffff
cmp r11b, r12b
cmp r14d, 0x3a4478c
xor edi, edi
cmp r11b, 0x6b
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
cmp r9d, 0x34bf22d3
cmp rbp, 0xffff
jmp 0x1804c89b1
ja 0x1804c8a04
mov ecx, ebp
cmp r9b, r10b
sub ecx, dword [rdx + 0x10]
jmp 0x1804c89c5
cmp ecx, dword [rdx + 0x14]
jae 0x1804c89f8
mov eax, dword [rdx + 0x1c]
adc dl, 0x52
movsx edx, r9w
movsx dx, spl
add rax, rsi
mov edx, dword [rax + rcx*4]
clc
cmp bl, r10b
test r12w, r15w
test edx, edx
jmp 0x1804c89f2
jne 0x1804c8c5f
xor eax, eax
jmp 0x1804c89ff
jmp 0x1804c8efa
mov eax, dword [rdx + 0x18]
test eax, eax
jmp 0x1804c8a0e
je 0x1804c8c34
mov r9d, dword [rdx + 0x20]
test r9w, 0x7055
lea r11d, [rax - 1]
shr ebx, 2
rcr ebx, cl
sar bh, 0xe6
mov ebx, edi
cmp sil, r15b
lea r9, [r9 + rsi]
jmp 0x1804c8a39
mov qword [rsp + 0x40], r9
test r11d, r11d
jmp 0x1804c8a46
js 0x1804c8c28
nop
btc dx, 0xc5
mov r10, qword [rsp + 0x198]
movsx r8, bx
lea eax, [r11 + rbx]
adc dh, 0xf8
ror bpl, cl
xadd dl, r8b
mov rbp, rdi
cmc
cmp bl, 0xaf
rol rdx, 0xa
sar eax, 1
sal r8, 0xd0
sar r8b, 0x78
sbb r8b, dl
mov dword [rsp + 0x1a8], eax
shrd edx, ebp, 0x23
stc
mov qword [rsp + 0x38], rax
or r8w, 0x39e8
rcr dx, 0x24
xchg edx, r8d
mov r8d, dword [r9 + rax*4]
movzx rdx, sp
mov eax, dword [r9 + rax*4]
cdq
bts r9w, si
rcl dl, 0x3f
sub r10, rax
movzx eax, byte [rsp + 0x1a0]
btc r9w, sp
add r8, rsi
rcr r9w, 0x26
movzx r9w, spl
sub r10, rsi
setg dl
nop
movzx r9d, r8w
setns dh
movzx edx, byte [r10 + r8]
cmovae r9w, r11w
movsxd r9, r10d
movzx r9d, byte [r8]
jmp 0x1804c8af8
inc r8
cmp spl, bpl
test al, al
jmp 0x1804c8b05
je 0x1804c8b34
mov ecx, ebp
rcr al, 0xf5
rcr eax, cl
mov eax, 0x55f45787
stc
cmc
rol eax, cl
add al, bpl
test bpl, cl
xor dl, al
inc al
mov al, byte [rsp + 0x1a0]
jmp 0x1804c8b31
inc rbp
test dl, dl
jmp 0x1804c8b3b
je 0x1804c8b4f
cmp dl, r9b
jmp 0x1804c8b49
je 0x1804c8ae2
cmp dl, r9b
jb 0x1804c8bcb
cmp dl, r9b
jmp 0x1804c8b60
jbe 0x1804c8b99
mov ebx, dword [rsp + 0x1a8]
movsxd rdx, ebp
mov rdx, qword [rsp + 0x28]
movzx cx, r9b
movzx ecx, r11w
mov cl, bpl
mov ecx, dword [rsp + 0x190]
jmp 0x1804c8b8d
inc ebx
jmp 0x1804c8b94
jmp 0x1804c8bf2
mov rdx, qword [rsp + 0x28]
lea ebx, [r11 + 1]
movsxd rcx, r12d
mov cl, r12b
movzx rax, bp
mov eax, dword [rdx + 0x24]
lea rcx, [rsi + rax]
movsxd rax, edx
mov rax, qword [rsp + 0x38]
movzx ecx, word [rcx + rax*2]
mov dword [rsp + 0x190], ecx
jmp 0x1804c8bf2
mov r11d, dword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x28]
bswap r9w
mov ecx, dword [rsp + 0x190]
bswap r9w
mov r9w, si
dec r11d
movsx r9d, r10w
cmp ebx, r11d
bswap r9d
movzx r9, r10w
mov r9, qword [rsp + 0x40]
jmp 0x1804c8c06
jle 0x1804c8a52
mov rbp, qword [rsp + 0x198]
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x20]
jmp 0x1804c8c23
jmp 0x1804c8c34
mov r9d, dword [rsp + 0x20]
jmp 0x1804c8c34
cmp ecx, dword [rdx + 0x14]
jmp 0x1804c8c3c
jae 0x1804c89f8
mov eax, dword [rdx + 0x1c]
lea rax, [rax + rsi]
bswap dx
neg dh
mov edx, dword [rax + rcx*4]
jmp 0x1804c8c57
test edx, edx
je 0x1804c89f8
cmp edx, r8d
jmp 0x1804c8c67
jb 0x1804c8ee4
lea eax, [r9 + r8]
cmp edx, eax
jmp 0x1804c8c78
jae 0x1804c8ee4
mov eax, edx
not bh
btc ecx, 0x43
add rax, rsi
mov rbx, rax
btr cx, sp
add cl, r8b
movzx ecx, byte [rax]
cmp dx, 0x5195
test cl, cl
jmp 0x1804c8ca2
je 0x1804c89f8
cmp cl, 0x2e
je 0x1804c8cd5
mov cl, byte [rbx + 1]
jmp 0x1804c8cb9
inc rbx
test cl, cl
jmp 0x1804c8cc3
jne 0x1804c8ca8
xor eax, eax
jmp 0x1804c8cd0
jmp 0x1804c8efa
mov r8, rbx
sub r8, rax
cmp r8, 0x104
jmp 0x1804c8ce7
jae 0x1804c89f8
mov rcx, rdi
test r8, r8
jmp 0x1804c8cf8
je 0x1804c8d54
lea r9, [rsp + 0x50]
cmovno dx, r11w
sub dx, 0x5cf1
or dh, 0x84
sub r9, rax
movsx rdx, r10w
nop
sbb dh, 0xbc
movzx edx, byte [rax]
jmp 0x1804c8d27
test dl, dl
jmp 0x1804c8d2e
je 0x1804c8d54
inc rcx
mov byte [r9 + rax], dl
jmp 0x1804c8d40
inc rax
cmp r13, rbx
cmp rcx, r8
jmp 0x1804c8d4e
jb 0x1804c8d1b
mov byte [rsp + rcx + 0x50], dil
lea rcx, [rsp + 0x50]
cmovg eax, ebp
not ax
lahf
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x1803f5b15
jne 0x1804c8da0
lea rcx, [rsp + 0x50]
cbw
not rax
movzx rax, sp
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov r11, rax
stc
test rax, rax
jmp 0x1804c8d9a
je 0x1804c89f8
cmp r11, rsi
jmp 0x1804c8da8
jne 0x1804c8e52
cmp byte [rsp + 0x1a0], dil
jmp 0x1804c8dbb
je 0x1804c8e33
lea rax, [rsp + 0x50]
sub rbp, rax
rol al, 0xb7
nop
stc
movzx dx, r8b
movsx edx, dx
lea rdx, [rsp + rdi + 0x50]
ror al, 0x38
stc
bt ax, dx
mov ecx, edi
mov eax, 0x55f45787
stc
jmp 0x1804c8df0
rol eax, cl
cmp r14d, eax
cmp sp, 0x7348
stc
add al, dil
test spl, r10b
clc
xor al, byte [rdx + rbp]
jmp 0x1804c8e0a
mov byte [rdx], al
jmp 0x1804c8e11
je 0x1804c8e2c
inc rdi
cmp rdi, 0x104
jmp 0x1804c8e26
jb 0x1804c8dd6
lea rbp, [rsp + 0x50]
cwd
mov rdx, rbp
movsxd rax, ecx
cbw
mov rcx, rsi
cdqe
lahf
movsx eax, ax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
jmp 0x1804c8efa
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jmp 0x1804c8e5f
jne 0x1804c8ecc
movzx edx, byte [rbx + 2]
test cx, si
add rbx, 2
stc
cmp r9b, 0x72
clc
test dl, dl
jmp 0x1804c8e7d
je 0x1804c8ec9
nop
lea eax, [rdx - 0x30]
jmp 0x1804c8e8c
inc rbx
test bl, dil
cmc
cmp rbp, r15
cmp al, 9
ja 0x1804c8ec9
movsx eax, dl
shld rcx, r8, 0x11
rol dl, 0x2b
mov dl, byte [rbx]
lea ecx, [rdi + rdi*4]
adc dil, r15b
rol dil, 0x1a
rcl di, cl
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jmp 0x1804c8ec3
jne 0x1804c8e84
movsxd rdx, edi
xor r8d, r8d
setl cl
mov rcx, r11
jmp 0x1804c8eda
call fcn.1804c885f
jmp 0x1804c8efa
mov eax, edx
movzx rdi, r8w
lea rax, [rax + rsi]
adc bpl, 0x53
mov ebp, 0x79bc06be
xadd edi, esi
mov rbx, qword [rsp + 0x170]
adc rsi, rbx
mov rdi, qword [rsp + 0x168]
bsf rbp, rcx
test r14b, al
or bpl, bl
add rsp, 0x178
xchg si, bp
setle sil
pop rsi
movzx bp, dil
bswap rbp
pop rbp
jmp 0x1804c8f34
ret