Function at 0x140382716
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
je 0x1404403a5
cmp r11, rsi
jmp 0x14044073e
call rax
mov r11, rax
test rax, rax
jmp 0x140440727
call rax
jmp 0x140440885
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
push rbp
push rsi
xchg bp, bp
sal sil, 0xfc
sub rsp, 0x178
shr ebp, 0xe7
rcl rbp, 0x3e
setl bpl
mov rbp, rdx
btr rsi, r12
rcr esi, 0x62
and esi, 0x4e6b35ec
mov rsi, rcx
cmp r8b, 0xf
test rcx, rcx
jmp 0x14044027b
je 0x1404402a8
test rdx, rdx
jmp 0x140440289
je 0x1404402a8
mov eax, 0x5a4d
stc
test di, 0x787b
cmp word [rcx], ax
jmp 0x1404402a2
je 0x1404402c9
sub eax, eax
movsx rbp, r10w
add rsp, 0x178
movsxd rbp, r14d
movzx rsi, di
pop rsi
jmp 0x1404402c2
pop rbp
jmp 0x1404402c8
ret
movsxd rax, dword [rcx + 0x3c]
cmp r12b, bpl
cmc
cmp dword [rax + rcx], 0x4550
jmp 0x1404402dd
jne 0x1404402a8
mov r8d, dword [rax + rcx + 0x88]
jmp 0x1404402f0
mov dword [rsp + 0x30], r8d
cmp r11b, cl
cmp r11b, 0xce
test r8d, r8d
je 0x1404402a8
mov r9d, dword [rax + rcx + 0x8c]
btc dx, 0xed
xor cl, r10b
cdq
lea rdx, [rsi + r8]
sbb rcx, 0x5fdf33c5
mov qword [rsp + 0x170], rbx
movsx cx, r12b
and ecx, r12d
mov qword [rsp + 0x168], rdi
jmp 0x140440342
mov ecx, 0xffffffff
xor edi, edi
test bpl, 0x57
cmp r10d, r10d
mov dword [rsp + 0x20], r9d
cmp r10, rsi
clc
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
cmp rbp, 0xffff
ja 0x1404403b1
mov ecx, ebp
jmp 0x14044037c
sub ecx, dword [rdx + 0x10]
stc
cmp ecx, dword [rdx + 0x14]
jmp 0x140440388
jae 0x1404403a5
mov eax, dword [rdx + 0x1c]
cmovbe dx, si
lea rax, [rax + rsi]
mov edx, dword [rax + rcx*4]
cmc
test edx, edx
jne 0x14044060d
xor eax, eax
jmp 0x1404403ac
jmp 0x140440885
mov eax, dword [rdx + 0x18]
test eax, eax
jmp 0x1404403bb
je 0x1404405d3
mov r9d, dword [rdx + 0x20]
lea r11d, [rax - 1]
bswap bx
stc
adc bh, 0xb6
mov ebx, edi
jmp 0x1404403d9
add r9, rsi
mov qword [rsp + 0x40], r9
cmc
test r11d, r11d
jmp 0x1404403ea
js 0x1404405cc
nop
neg al
cmovb r8w, dx
sal r10b, cl
mov r10, qword [rsp + 0x198]
lea eax, [r11 + rbx]
movzx edx, r9w
mov rbp, rdi
rcr dl, 0xc5
sar eax, 1
mov dword [rsp + 0x1a8], eax
bts dx, r14w
mov qword [rsp + 0x38], rax
bt rdx, rdx
sal edx, cl
mov r8d, dword [r9 + rax*4]
cwd
mov eax, dword [r9 + rax*4]
neg r9d
and r9b, r11b
add dx, 0x72f0
sub r10, rax
cmovg ax, di
rcl dx, 0x57
or rax, r10
movzx eax, byte [rsp + 0x1a0]
bts r9w, r15w
add r8, rsi
stc
cmc
mov r9d, ecx
sub r10, rsi
movzx edx, dx
xchg r9b, dl
movzx dx, r12b
nop
cmovg r9w, di
movsxd rdx, ebx
movzx edx, byte [r10 + r8]
setge r9b
movzx r9d, byte [r8]
jmp 0x14044048b
inc r8
test al, al
jmp 0x140440495
je 0x1404404c5
mov ecx, ebp
mov ax, r9w
cwde
cdqe
mov eax, 0x13510093
rol eax, cl
clc
add al, bpl
stc
cmc
xor dl, al
mov al, r15b
mov al, byte [rsp + 0x1a0]
jmp 0x1404404c2
inc rbp
test dl, dl
je 0x1404404db
cmp dl, r9b
jmp 0x1404404d5
je 0x140440479
cmp dl, r9b
jmp 0x1404404e3
jb 0x14044055a
cmp dl, r9b
jbe 0x140440516
mov ebx, dword [rsp + 0x1a8]
jmp 0x1404404fe
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x190]
jmp 0x14044050f
inc ebx
jmp 0x14044058f
mov rdx, qword [rsp + 0x28]
lea ebx, [r11 + 1]
not al
movsx eax, r12w
mov eax, dword [rdx + 0x24]
bswap cx
lea rcx, [rsi + rax]
movzx eax, dx
movsx rax, r8w
mov rax, qword [rsp + 0x38]
jmp 0x140440540
movzx ecx, word [rcx + rax*2]
jmp 0x140440549
mov dword [rsp + 0x190], ecx
jmp 0x140440555
jmp 0x14044058f
mov r11d, dword [rsp + 0x1a8]
movzx r9w, r15b
cqo
mov r9b, r8b
mov rdx, qword [rsp + 0x28]
jmp 0x14044057a
mov ecx, dword [rsp + 0x190]
dec r11d
inc r9b
and r9b, cl
shr r9w, 0xa7
cmp ebx, r11d
mov r9b, 0x93
mov r9, qword [rsp + 0x40]
jmp 0x14044059f
jle 0x1404403fb
mov rbp, qword [rsp + 0x198]
mov r8d, dword [rsp + 0x30]
movsx r9, r13w
movzx r9, r8w
movsxd r9, esp
mov r9d, dword [rsp + 0x20]
jmp 0x1404405c7
jmp 0x1404405d3
mov r9d, dword [rsp + 0x20]
clc
stc
cmp ecx, dword [rdx + 0x14]
jae 0x1404403a5
mov eax, dword [rdx + 0x1c]
adc dh, 0x60
add rax, rsi
bsf rdx, rcx
not rdx
bsr edx, edx
mov edx, dword [rax + rcx*4]
test rsi, 0x195b605a
cmp rbx, 0x3f142d4c
test edx, edx
jmp 0x140440607
je 0x1404403a5
cmp edx, r8d
jmp 0x140440615
jb 0x140440874
lea eax, [r9 + r8]
jmp 0x140440624
cmp edx, eax
jmp 0x14044062b
jae 0x140440874
mov eax, edx
add rax, rsi
dec bl
xchg cl, bh
and bh, 0x4b
mov rbx, rax
btc ecx, r11d
stc
movzx ecx, byte [rax]
jmp 0x14044064d
test cl, cl
jmp 0x140440654
je 0x1404403a5
cmp cl, 0x2e
je 0x14044068d
mov cl, byte [rbx + 1]
jmp 0x14044066b
inc rbx
test r13w, 0x24cc
test cl, cl
jmp 0x14044067b
jne 0x14044065a
xor eax, eax
jmp 0x140440688
jmp 0x140440885
mov r8, rbx
test r9b, 0x69
clc
jmp 0x14044069a
sub r8, rax
cmp r8, 0x104
jmp 0x1404406a9
jae 0x1404403a5
mov rcx, rdi
test r8, r8
je 0x140440706
lea r9, [rsp + 0x50]
sub r9, rax
nop
rol dl, cl
mov dl, 0x57
xor dx, 0x54cf
movzx edx, byte [rax]
cmc
test dl, dl
jmp 0x1404406d8
je 0x140440706
inc rcx
jmp 0x1404406e6
mov byte [r9 + rax], dl
jmp 0x1404406ef
inc rax
test r14b, al
cmp r11, rdx
cmp rcx, r8
jmp 0x140440700
jb 0x1404406cd
mov byte [rsp + rcx + 0x50], dil
jmp 0x140440710
lea rcx, [rsp + 0x50]
movzx eax, ax
mov al, bpl
mov rax, qword [0x1403a68d8]
jmp 0x1403b0285
jne 0x140382722
lea rcx, [rsp + 0x50]
mov rax, qword [0x1403a68d0]
jmp 0x140382714
jne 0x1404407d5
cmp byte [rsp + 0x1a0], dil
jmp 0x140440751
je 0x1404407b6
lea rax, [rsp + 0x50]
sub rbp, rax
rcl rax, 0x86
rcl edx, cl
cqo
nop
movzx eax, dx
lea rdx, [rsp + rdi + 0x50]
mov ecx, edi
bt ax, 0xd0
mov eax, 0x13510093
rol eax, cl
cmp r8w, 0x23ab
cmc
add al, dil
stc
xor al, byte [rdx + rbp]
mov byte [rdx], al
je 0x1404407ac
inc rdi
cmp al, r14b
cmp rdi, 0x104
jmp 0x1404407a6
jb 0x14044076b
lea rbp, [rsp + 0x50]
rdtsc
not cx
mov rdx, rbp
cbw
mov rcx, rsi
jmp 0x1404407c9
mov rax, qword [0x1403a68e0]
jmp 0x14040e22f
cmp byte [rbx + 1], 0x23
mov dx, 0x50dd
lea rdx, [rbx + 1]
jmp 0x1404407e6
jne 0x14044085b
movzx edx, byte [rbx + 2]
test si, r13w
stc
add rbx, 2
clc
cmp bl, r8b
test dl, dl
jmp 0x140440804
je 0x140440858
nop
movzx ax, bpl
movsx rax, r13w
lea eax, [rdx - 0x30]
jmp 0x14044081c
inc rbx
test r14b, 0x31
cmp al, 9
jmp 0x14044082a
ja 0x140440858
movsx eax, dl
mov dl, byte [rbx]
movsx rcx, si
bsf cx, r8w
shr cl, 0x83
lea ecx, [rdi + rdi*4]
sar dil, cl
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jmp 0x140440852
jne 0x140440814
movsxd rdx, edi
xor r8d, r8d
movzx ecx, r10w
mov rcx, r11
jmp 0x14044086a
call fcn.140440237
jmp 0x140440885
mov eax, edx
add rax, rsi
xchg esi, esi
xadd bl, bpl
shld di, r11w, 0x7e
mov rbx, qword [rsp + 0x170]
mov sil, 0x85
mov rdi, qword [rsp + 0x168]
add rsp, 0x178
xchg sil, bpl
mov bpl, bpl
pop rsi
movsx bp, dil
not bpl
movzx bp, r10b
pop rbp
jmp 0x1404408b9
ret