Function at 0x1405761c1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
cmc
test rax, rax
jmp 0x1405f85b5
call rax
mov r11, rax
clc
test edx, ebx
test rax, rax
jmp 0x1405f85cc
mov byte [rsp + 0x18], r8b
movsx r11w, cl
sar r11b, cl
bt r11d, 0x27
push rbp
rcr ebp, cl
sub bpl, r11b
push rsi
sub rsp, 0x158
neg rbp
movzx r11d, r8b
bsr rbp, r15
movzx bp, spl
mov rbp, rdx
mov esi, r14d
mov rsi, rcx
jmp 0x1405f81f2
test rcx, rcx
jmp 0x1405f81fa
je 0x1405f821c
test rdx, rdx
jmp 0x1405f8208
je 0x1405f821c
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x1405f8232
sub eax, eax
add rsp, 0x158
movsxd rsi, r15d
mov ebp, 0xb320f916
bswap esi
pop rsi
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jmp 0x1405f8242
jne 0x1405f821c
mov r9d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x24], r9d
test r9d, r9d
jmp 0x1405f825d
je 0x1405f821c
mov r10d, dword [rax + rcx + 0x8c]
cdq
shl edx, cl
mov qword [rsp + 0x178], rbx
rcl dl, 0xbb
shl dl, 0x26
ror dl, 0x16
lea rdx, [rcx + r9]
jmp 0x1405f8288
or r8d, 0xffffffff
test r15w, 0x7b29
xor ebx, ebx
test r10, 0x25083b20
mov qword [rsp + 0x150], rdi
cmc
mov dword [rsp + 0x170], r10d
stc
mov qword [rsp + 0x28], rdx
jmp 0x1405f82b9
cmp rbp, 0xffff
ja 0x1405f82de
mov r8d, ebp
test r10d, edi
test spl, 0x32
sub r8d, dword [rdx + 0x10]
jmp 0x1405f82d9
jmp 0x1405f8480
mov eax, dword [rdx + 0x18]
cmp r10b, r8b
test eax, eax
je 0x1405f8480
mov r10d, dword [rdx + 0x20]
mov cx, 0x6f1b
movzx rcx, r10w
dec eax
ror cl, 0x94
mov ecx, ebx
jmp 0x1405f8304
add r10, rsi
clc
jmp 0x1405f8314
mov dword [rsp + 0x188], ebx
cmc
mov dword [rsp + 0x20], eax
jmp 0x1405f8325
mov qword [rsp + 0x30], r10
test eax, eax
jmp 0x1405f8331
js 0x1405f8474
nop
cmp r14d, 0xb81c0427
shl dx, cl
lea edi, [rax + rcx]
movzx r8d, r11b
shr dx, cl
movzx rcx, r14w
mov rcx, rbp
sar edi, 1
mov edx, dword [r10 + rdi*4]
jmp 0x1405f835f
add rdx, rsi
jmp 0x1405f8367
call fcn.1405f8007
test eax, eax
jmp 0x1405f8373
jns 0x1405f839d
mov ecx, dword [rsp + 0x188]
movsxd rax, eax
jmp 0x1405f838c
lea eax, [rdi - 1]
jmp 0x1405f8394
mov dword [rsp + 0x20], eax
jmp 0x1405f83c4
test eax, eax
jle 0x1405f8419
mov eax, dword [rsp + 0x20]
ror ch, 0xab
sbb r10b, 0xbd
lea ecx, [rdi + 1]
jmp 0x1405f83b9
mov dword [rsp + 0x188], ecx
sal r10b, 0x20
cmp ecx, eax
mov r10, qword [rsp + 0x30]
mov r11b, byte [rsp + 0x180]
jmp 0x1405f83d8
jle 0x1405f8342
mov rdx, qword [rsp + 0x28]
test r15, 0x75b86e92
movsx r10d, bx
stc
mov r9d, dword [rsp + 0x24]
cmp al, 0x17
xor r10, 0xffffffff96268ab4
or r10w, 0xceb1
mov r10d, dword [rsp + 0x170]
or r8d, 0xffffffff
jmp 0x1405f8414
jmp 0x1405f8480
mov rax, qword [rsp + 0x28]
cmovle dx, r9w
xchg r10w, r9w
mov rdx, qword [rsp + 0x28]
cmovbe r9, r14
mov r9d, dword [rsp + 0x24]
movsx r8w, r9b
cmovb r10, r15
mov eax, dword [rax + 0x24]
movzx r10w, r15b
jmp 0x1405f844b
mov r10d, dword [rsp + 0x170]
mov r8b, 0xb1
setle ch
lea rcx, [rsi + rax]
mov r8w, dx
setae r8b
movzx r8d, word [rcx + rdi*2]
jmp 0x1405f846f
jmp 0x1405f8480
mov r10d, dword [rsp + 0x170]
cmc
cmp r13d, edx
cmp r8d, dword [rdx + 0x14]
jmp 0x1405f8489
jae 0x1405f8525
mov eax, dword [rdx + 0x1c]
movzx edx, cx
adc rdx, 0xffffffff96959525
mov ecx, r8d
cwd
add rax, rsi
sal rdx, cl
xadd dh, dl
mov edx, dword [rax + r8*4]
test edx, edx
jmp 0x1405f84b5
je 0x1405f8525
cmp edx, r9d
jmp 0x1405f84c3
jb 0x1405f871f
lea eax, [r10 + r9]
cmp edx, eax
jmp 0x1405f84d4
jae 0x1405f871f
movzx ecx, byte [rsi + rdx]
inc dil
lea rax, [rsi + rdx]
mov rdi, rax
clc
test sil, 0x1e
test cl, cl
jmp 0x1405f84f4
je 0x1405f8525
nop
cmp r14b, 0x3a
cmp cl, 0x2e
jmp 0x1405f8507
je 0x1405f8531
mov cl, byte [rdi + 1]
jmp 0x1405f8515
inc rdi
test cl, cl
jmp 0x1405f851f
jne 0x1405f84ff
xor eax, eax
jmp 0x1405f852c
jmp 0x1405f8730
mov r8, rdi
cmc
sub r8, rax
clc
cmp r8, 0x104
jmp 0x1405f8545
jae 0x1405f8525
mov rcx, rbx
cmp dil, 0x87
test r8, r8
jmp 0x1405f855a
je 0x1405f8599
lea r9, [rsp + 0x40]
ror dl, 0x2e
sub r9, rax
cwd
movsxd rdx, esp
movzx edx, byte [rax]
stc
test dl, dl
jmp 0x1405f857b
je 0x1405f8599
inc rcx
mov byte [r9 + rax], dl
inc rax
cmp rcx, r8
jmp 0x1405f8593
jb 0x1405f8570
mov byte [rsp + rcx + 0x40], bl
cmovge cx, r13w
lea rcx, [rsp + 0x40]
not al
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA_1]
jmp 0x1405761bf
jne 0x1405f85d2
lea rcx, [rsp + 0x40]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
jmp 0x1405f5145
je 0x1405f8525
cmp r11, rsi
jne 0x1405f866a
cmp byte [rsp + 0x180], bl
jmp 0x1405f85e7
je 0x1405f864e
lea rax, [rsp + 0x40]
sub rbp, rax
nop
lea rdx, [rsp + rbx + 0x40]
mov ecx, ebx
rcr ax, 0x37
mov eax, 0x8707b79c
clc
rol eax, cl
add al, bl
test r11w, 0xf93a
clc
xor al, byte [rdx + rbp]
jmp 0x1405f861a
mov byte [rdx], al
jmp 0x1405f8621
je 0x1405f8641
inc rbx
cmp bpl, 0x37
cmc
cmp rbx, 0x104
jmp 0x1405f863b
jb 0x1405f85f6
lea rbp, [rsp + 0x40]
movsx dx, bh
movsx ecx, r10w
mov rdx, rbp
movzx ecx, r9w
mov rcx, rsi
movzx eax, r10w
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress_1]
call rax
jmp 0x1405f8730
cmp byte [rdi + 1], 0x23
movsx dx, r9b
lea rdx, [rdi + 1]
jmp 0x1405f867c
jne 0x1405f870a
movzx edx, byte [rdi + 2]
clc
jmp 0x1405f868c
add rdi, 2
jmp 0x1405f8699
test dl, dl
jmp 0x1405f86a0
je 0x1405f86ff
nop
movsx rax, r9w
cdqe
movzx ax, bpl
lea eax, [rdx - 0x30]
jmp 0x1405f86ba
inc rdi
test ebp, 0x5b0df9b3
clc
cmp r15b, sil
cmp al, 9
jmp 0x1405f86ce
ja 0x1405f86ff
movsx eax, dl
test ah, 0x33
mov dl, byte [rdi]
shr cx, cl
xadd ecx, ecx
seto cl
lea ecx, [rbx + rbx*4]
rol bx, cl
lea ebx, [rax + rcx*2 - 0x30]
test rax, rbp
test dl, dl
jmp 0x1405f86f9
jne 0x1405f86b2
movsxd rdx, ebx
rcr ecx, 0xbc
btr rcx, 3
xor r8d, r8d
mov rcx, r11
jmp 0x1405f8715
call fcn.1405f81af
jmp 0x1405f8730
lea rax, [rsi + rdx]
rol bpl, 0x18
or dil, 0x85
btr si, r13w
mov rbx, qword [rsp + 0x178]
xchg rdi, rdi
mov rdi, qword [rsp + 0x150]
add rsp, 0x158
xchg sil, bpl
pop rsi
movsx ebp, cx
movsxd rbp, eax
pop rbp
jmp 0x1405f875a
ret