Function at 0x140379b6e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
cmp cl, 0x38
test rax, rax
jmp 0x14065a1ab
call rax
mov r11, rax
test rax, rax
jmp 0x14065a1cd
mov byte [rsp + 0x18], r8b
test r12b, 0xa1
cmp r13w, r13w
cmp bp, 0x4c5e
mov qword [rsp + 0x10], rdx
stc
test bx, 0x43cd
push rbp
movsx rbp, dx
push rsi
sal bpl, cl
movsx si, r11b
sub rsp, 0x178
add si, r15w
cmovns ebp, ebp
mov bpl, 0x7e
mov rbp, rdx
rol sil, 0xb2
mov rsi, rcx
test r8b, 0x75
test rcx, rcx
jmp 0x140659d2a
je 0x140659d4d
test rdx, rdx
je 0x140659d4d
mov eax, 0x5a4d
stc
cmp word [rcx], ax
jmp 0x140659d47
je 0x140659d68
xor eax, eax
test ah, 0x74
and esi, r15d
add rsp, 0x178
mov bp, 0x29
pop rsi
pop rbp
jmp 0x140659d67
ret
movsxd rax, dword [rcx + 0x3c]
cmp ax, 0x29fa
clc
cmp r15b, r12b
cmp dword [rax + rcx], 0x4550
jne 0x140659d4d
mov r8d, dword [rax + rcx + 0x88]
cmp esp, 0x65ef3b85
clc
test dx, 0x5ab2
mov dword [rsp + 0x30], r8d
cmc
test r8d, r8d
jmp 0x140659da3
je 0x140659d4d
mov r9d, dword [rax + rcx + 0x8c]
lea rdx, [rsi + r8]
mov qword [rsp + 0x170], rbx
btr cx, r11w
ror cl, cl
mov qword [rsp + 0x168], rdi
bsf ecx, edx
mov ecx, 0xffffffff
test r13b, 0xea
clc
xor edi, edi
clc
cmp r10b, 0x7f
mov dword [rsp + 0x20], r9d
cmc
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
cmc
cmp rbp, 0xffff
ja 0x140659e3d
mov ecx, ebp
sub ecx, dword [rdx + 0x10]
cmp edx, edx
cmc
cmp ecx, dword [rdx + 0x14]
jmp 0x140659e10
jae 0x140659e31
mov eax, dword [rdx + 0x1c]
stc
sar dl, cl
add rax, rsi
adc dl, dl
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x140659e2b
jne 0x14065a08c
sub eax, eax
jmp 0x140659e38
jmp 0x14065a34c
mov eax, dword [rdx + 0x18]
cmp r11d, 0x3f327b93
test eax, eax
jmp 0x140659e4e
je 0x14065a05d
mov r9d, dword [rdx + 0x20]
add r11d, 0xc790198
mov r11w, di
add rbx, r13
lea r11d, [rax - 1]
movzx bx, spl
mov ebx, edi
test esp, 0x3ead1809
add r9, rsi
mov qword [rsp + 0x40], r9
test r11d, r11d
jmp 0x140659e87
js 0x14065a058
nop
xor rax, r11
sar r8b, cl
adc edx, 0x598606c6
mov r10, qword [rsp + 0x198]
lea eax, [r11 + rbx]
mov rbp, rdi
rol r8, cl
sar eax, 1
movzx r8w, r12b
jmp 0x140659ebf
mov dword [rsp + 0x1a8], eax
shr r8d, 0xe1
sbb r8, rbx
mov qword [rsp + 0x38], rax
mov r8d, dword [r9 + rax*4]
bsr dx, r11w
sar edx, cl
bts dx, di
mov eax, dword [r9 + rax*4]
cdq
movsx rdx, r11w
sub r10, rax
rcl dh, 0x56
movzx eax, byte [rsp + 0x1a0]
movzx r9, r8w
ror dl, cl
add r8, rsi
sub r10, rsi
movzx r9d, r8w
nop
movzx r9w, r15b
movzx edx, byte [r10 + r8]
movsx r9d, cx
movzx r9d, byte [r8]
jmp 0x140659f20
inc r8
cmp r11b, 0xc6
test al, al
je 0x140659f58
mov ecx, ebp
mov eax, 0x7e7615f0
clc
rol eax, cl
jmp 0x140659f40
add al, bpl
xor dl, al
mov al, byte [rsp + 0x1a0]
inc rbp
jmp 0x140659f58
test dl, dl
jmp 0x140659f5f
je 0x140659f73
cmp dl, r9b
jmp 0x140659f6d
je 0x140659f0e
cmp dl, r9b
jb 0x140659ff8
cmp dl, r9b
jmp 0x140659f84
jbe 0x140659fb7
mov ebx, dword [rsp + 0x1a8]
not cx
inc cx
jmp 0x140659f9c
mov rdx, qword [rsp + 0x28]
jmp 0x140659fa9
mov ecx, dword [rsp + 0x190]
inc ebx
jmp 0x14065a014
mov rdx, qword [rsp + 0x28]
jmp 0x140659fc6
lea ebx, [r11 + 1]
mov eax, dword [rdx + 0x24]
mov cl, r15b
lea rcx, [rsi + rax]
mov rax, qword [rsp + 0x38]
jmp 0x140659fde
movzx ecx, word [rcx + rax*2]
jmp 0x140659fe7
mov dword [rsp + 0x190], ecx
jmp 0x140659ff3
jmp 0x14065a014
mov r11d, dword [rsp + 0x1a8]
cqo
bswap dx
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x190]
dec r11d
cmp ebx, r11d
seta r9b
mov r9b, r15b
movsx r9, r10w
mov r9, qword [rsp + 0x40]
jle 0x140659e9a
mov rbp, qword [rsp + 0x198]
movzx r9d, ax
movzx r9, r10w
mov r9w, 0x6918
mov r8d, dword [rsp + 0x30]
not r9w
mov r9b, 0xe5
mov r9d, dword [rsp + 0x20]
jmp 0x14065a05d
mov r9d, dword [rsp + 0x20]
cmp ecx, dword [rdx + 0x14]
jmp 0x14065a065
jae 0x140659e31
mov eax, dword [rdx + 0x1c]
cmp spl, 0xca
adc dx, bx
add rax, rsi
sal dh, cl
mov edx, dword [rax + rcx*4]
clc
stc
test edx, edx
jmp 0x14065a086
je 0x140659e31
cmp edx, r8d
jb 0x14065a33d
lea eax, [r9 + r8]
cmp edx, eax
jmp 0x14065a0a0
jae 0x14065a33d
mov eax, edx
setge bl
movzx ebx, bx
bts bx, bx
add rax, rsi
cmc
neg bx
mov rbx, rax
xadd cx, cx
btc cx, sp
test r13d, 0x529c05c7
movzx ecx, byte [rax]
test r10, rdi
stc
cmc
test cl, cl
jmp 0x14065a0da
je 0x140659e31
cmp cl, 0x2e
jmp 0x14065a0e8
je 0x14065a112
mov cl, byte [rbx + 1]
jmp 0x14065a0f6
inc rbx
test cl, cl
jmp 0x14065a100
jne 0x14065a0e0
sub eax, eax
jmp 0x14065a10d
jmp 0x14065a34c
mov r8, rbx
sub r8, rax
cmp r8, 0x104
jmp 0x14065a124
jae 0x140659e31
mov rcx, rdi
cmp al, r9b
test r8, r8
je 0x14065a181
lea r9, [rsp + 0x50]
shr dx, 0x99
sub r9, rax
bts dx, r10w
mov dh, 0x7b
nop
add dl, 0x44
bts rdx, rax
movzx edx, byte [rax]
cmp r9d, esi
test dl, dl
jmp 0x14065a162
je 0x14065a181
inc rcx
mov byte [r9 + rax], dl
inc rax
stc
cmp rcx, r8
jmp 0x14065a17b
jb 0x14065a155
mov byte [rsp + rcx + 0x50], dil
lahf
movzx ax, r9b
movzx rcx, cx
lea rcx, [rsp + 0x50]
jmp 0x14065a19f
mov rax, qword [0x1403ac0d0]
jmp 0x140379b6c
jne 0x14065a1d3
lea rcx, [rsp + 0x50]
movzx ax, r10b
setp ah
movsxd rax, ebp
mov rax, qword [0x1403ac0c8]
jmp 0x1403bc211
je 0x140659e31
cmp r11, rsi
jmp 0x14065a1db
jne 0x14065a28a
cmp byte [rsp + 0x1a0], dil
jmp 0x14065a1ee
je 0x14065a26f
lea rax, [rsp + 0x50]
or ch, 0x9c
sub rbp, rax
btr dx, 0x9b
not al
cbw
nop
xchg cx, cx
rol rdx, cl
movzx dx, r14b
lea rdx, [rsp + rdi + 0x50]
movzx ecx, r9w
lahf
mov ecx, edi
mov eax, 0x7e7615f0
rol eax, cl
add al, dil
test r15b, 0x85
cmp dil, r10b
xor al, byte [rdx + rbp]
jmp 0x14065a239
mov byte [rdx], al
jmp 0x14065a240
je 0x14065a260
inc rdi
jmp 0x14065a24e
cmp rdi, 0x104
jmp 0x14065a25a
jb 0x14065a214
lea rbp, [rsp + 0x50]
movsxd rcx, r12d
mov cx, 0x40
mov rcx, r12
mov rdx, rbp
mov rcx, rsi
movzx rax, sp
mov ah, 0xcf
mov rax, qword [0x1403ac0d8]
call rax
jmp 0x14065a34c
cmp byte [rbx + 1], 0x23
movzx dx, r13b
cmovo rdx, r14
movzx rdx, ax
lea rdx, [rbx + 1]
jmp 0x14065a2a4
jne 0x14065a328
movzx edx, byte [rbx + 2]
cmc
cmp rbx, 0x76067430
jmp 0x14065a2bb
add rbx, 2
cmp rsi, r9
test eax, ebp
test dl, dl
jmp 0x14065a2cb
je 0x14065a31d
nop
movzx ax, bpl
lea eax, [rdx - 0x30]
jmp 0x14065a2df
inc rbx
test r9w, 0x3395
cmp al, 9
ja 0x14065a31d
movsx eax, dl
rcr dl, cl
mov dl, byte [rbx]
sub ch, ah
sbb rcx, 0x713a154b
lea ecx, [rdi + rdi*4]
xchg rdi, rdi
lea edi, [rax + rcx*2 - 0x30]
jmp 0x14065a310
test dl, dl
jmp 0x14065a317
jne 0x14065a2d7
movsxd rdx, edi
shl cl, cl
movzx cx, bh
xchg ch, ch
sub r8d, r8d
mov rcx, r11
jmp 0x14065a333
call fcn.140659cd8
jmp 0x14065a34c
mov eax, edx
rol bl, cl
shr dil, 0x1a
bts rbp, rcx
add rax, rsi
mov rbx, qword [rsp + 0x170]
sub edi, esi
mov rdi, qword [rsp + 0x168]
shl bpl, 0x12
sar rsi, 0xa9
bsf rsi, r12
add rsp, 0x178
jmp 0x14065a37d
pop rsi
pop rbp
jmp 0x14065a384
ret