Function at 0x1404ef145
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
cmovns ax, r11w
movsx rax, di
lahf
push rdi
cdqe
movsxd rax, edx
lahf
push r12
cmovne ax, di
mov bpl, al
xchg bp, bp
lea rbp, [rsp - 0x1040]
mov eax, 0x1140
call fcn.14005dc50
sub rsp, rax
mov rax, qword [0x1400fa040]
stc
xor rax, rsp
mov qword [rbp + 0x1020], rax
sub r12d, r12d
jmp 0x1404ef193
xorps xmm0, xmm0
mov rdi, rcx
neg r8b
clc
mov qword [rbp - 0x68], r12
xchg r8b, cl
sar r8b, cl
xor eax, eax
cmp dh, 5
mov dword [rbp - 0x50], r12d
stc
rol cx, cl
lea rcx, [rbp + 0x20]
bts r8w, r13w
mov qword [rbp - 0x70], r12
adc r8b, dil
movsx r8w, r9b
xor edx, edx
jmp 0x1404ef1d0
mov qword [rbp + 0x10], rax
mov r8d, 0x800
jmp 0x1404ef1df
movups xmmword [rbp - 0x10], xmm0
jmp 0x1404ef1e8
movups xmmword [rbp], xmm0
jmp 0x1404ef1f1
call fcn.14008ac90
mov rcx, qword [rdi + 0x38]
cmovs dx, si
lea rdx, [rbp - 0x54]
jmp 0x1404ef207
xorps xmm0, xmm0
mov qword [rsp + 0x20], rdx
movsxd rdx, r12d
shrd r9w, dx, 0x71
sub eax, eax
movzx r8d, r13w
lea r9d, [r12 + 0xa]
bswap r8
not edx
movzx edx, ax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x18], rax
movzx ax, r14b
lea r8, [rbp - 0x10]
movsxd rax, r13d
cqo
movups xmmword [rbp - 0x28], xmm0
mov rax, qword [rcx]
not dx
movzx dx, sil
lea rdx, [rbp - 0x68]
jmp 0x1404ef259
call qword [rax + 0x30]
test eax, eax
js 0x1404ef696
mov qword [rsp + 0x1168], rbx
mov qword [rsp + 0x1170], rsi
movsx ax, spl
sal al, 0x93
mov qword [rsp + 0x1138], r14
or al, dil
add rax, r10
mov qword [rsp + 0x1130], r15
bsr rax, r9
not ah
btc ax, 0x1b
nop dword [rax + rax]
btr eax, r15d
neg ax
mov eax, dword [rbp - 0x54]
test eax, eax
jmp 0x1404ef2b6
je 0x1404ef60e
mov r14d, r12d
jmp 0x1404ef2dd
nop
mov ax, 0x5577
mov rcx, qword [rdi + 0x38]
cwd
lea r15, [rbp - 0x10]
mov r9d, 0x400
cdqe
movsx r8d, r13w
lea r8, [rbp + 0x20]
movzx r10, r14w
mov dx, 0x583
cmovg rax, r10
mov rax, qword [rcx]
mov r10, qword [rax + 0x60]
setb dh
mov eax, r14d
cqo
mov edx, dword [r15 + rax*4]
jmp 0x1404ef321
lea r15, [r15 + rax*4]
movsxd rax, r10d
lea rax, [rbp - 0x50]
jmp 0x1404ef331
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x48]
jmp 0x1404ef33f
mov qword [rsp + 0x28], rax
jmp 0x1404ef349
mov qword [rsp + 0x20], r12
call r10
test eax, eax
js 0x1404ef5b3
mov rcx, qword [rdi + 0x38]
cqo
lea rdx, [rbp - 0x58]
mov r8d, dword [r15]
cmovge ax, ax
setp r9b
movzx ax, r13b
lea r9, [rbp - 0x38]
cbw
nop
mov al, r15b
mov qword [rsp + 0x28], rdx
jmp 0x1404ef38e
lea rdx, [rbp - 0x70]
mov eax, 0x7cff75ac
bswap ax
movsx eax, sp
mov dword [rsp + 0x20], 0xa
movsx ax, r8b
bswap eax
mov rax, qword [rcx]
jmp 0x1404ef3b4
call qword [rax + 0x90]
test eax, eax
jmp 0x1404ef3c1
js 0x1404ef5b3
nop word [rax + rax]
sbb sil, bpl
mov esi, dword [rbp - 0x58]
jmp 0x1404ef3db
test esi, esi
je 0x1404ef5b3
sub edx, edx
movsxd rcx, esi
lea rcx, [rbp + 0x820]
bswap r8w
movsx r8, dx
movzx r8, bp
mov r8d, 0x800
jmp 0x1404ef406
call fcn.14008ac90
mov qword [rbp - 0x60], r12
mov ebx, r12d
cmc
cmp r14b, 0x40
test esi, esi
jmp 0x1404ef41e
je 0x1404ef558
nop
mov rcx, qword [rdi + 0x38]
xor r9, r9
sub dh, 0x5b
lea rdx, [rbp - 0x4c]
clc
mov qword [rsp + 0x68], r12
shr r10b, cl
sar r10d, cl
movzx rax, ax
lea r9, [rbp + 0x820]
shl al, cl
mov qword [rsp + 0x60], r12
sar rax, cl
xadd r10b, r10b
xor r8d, r8d
xchg ah, ah
movzx ax, r13b
mov qword [rsp + 0x58], r12
movzx r10w, dil
setb r10b
mov rax, qword [rcx]
mov qword [rsp + 0x50], r12
movsx r10w, r13b
mov r10, r8
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x44]
movsxd r10, edi
mov qword [rsp + 0x40], rdx
lea rdx, [rbp - 0x60]
setb r10b
not r10w
movzx r10, r8w
mov r10, qword [rax + 0x1c0]
movzx eax, r12w
movzx rax, si
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x40]
cbw
lahf
mov qword [rsp + 0x30], rdx
xchg dh, al
mov eax, ebx
cdq
mov qword [rsp + 0x28], r12
jmp 0x1404ef4d4
mov dword [rsp + 0x20], 0x400
cdq
cqo
cwd
mov edx, dword [rbp + rax*4 - 0x38]
call r10
test eax, eax
jmp 0x1404ef4ef
js 0x1404ef544
lea rax, [rbp + 0x20]
mov r9b, r9b
xchg r9b, dl
mov qword [rsp + 0x70], rax
bswap ax
lea rcx, [rdi + 0x20]
lea rax, [rbp + 0x820]
movzx r8, r15w
jmp 0x1404ef520
lea r9, [rbp - 0x4c]
xchg dh, dh
movzx rdx, bx
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x70]
cqo
lea rdx, [rbp - 0x80]
jmp 0x1404ef53f
call fcn.1404ef9ef
inc ebx
cmp esp, r15d
stc
cmp ebx, dword [rbp - 0x58]
jmp 0x1404ef552
jb 0x1404ef426
mov rcx, qword [rdi + 0x38]
mov edx, r12d
bswap r8w
lea rdx, [rbp - 0x58]
xchg r9w, r8w
movsx r9w, r8b
mov r8d, dword [r15]
movsxd rax, r10d
movsx eax, bx
lea r9, [rbp - 0x38]
mov qword [rsp + 0x28], rdx
cwd
cdq
lea rdx, [rbp - 0x70]
xchg al, ah
lahf
movsx ax, r9b
mov dword [rsp + 0x20], 0xa
cbw
cdqe
mov rax, qword [rcx]
jmp 0x1404ef5a5
call qword [rax + 0x90]
test eax, eax
jns 0x1404ef3d3
inc r14d
jmp 0x1404ef5bb
cmp r14d, dword [rbp - 0x54]
jmp 0x1404ef5c4
jb 0x1404ef2e3
mov rcx, qword [rdi + 0x38]
cwd
xchg r9w, dx
lea rdx, [rbp - 0x54]
mov qword [rsp + 0x20], rdx
movsxd rdx, esi
cbw
lea r8, [rbp - 0x10]
bswap r9d
lahf
mov r9d, 0xa
sete dl
lea rdx, [rbp - 0x68]
movzx eax, r9w
mov rax, qword [rcx]
jmp 0x1404ef603
call qword [rax + 0x30]
test eax, eax
jns 0x1404ef2ac
mov r14, qword [rsp + 0x1138]
bsf ecx, esp
mov al, 1
xadd rbx, rcx
cmp r11b, 0xd1
mov rsi, qword [rsp + 0x1170]
xchg r15d, ecx
test r12d, 0x7a1e41df
mov rbx, qword [rsp + 0x1168]
rcr cl, 0x97
inc r15d
mov r15, qword [rsp + 0x1130]
neg cx
mov cl, 0x1f
shl ecx, cl
mov rcx, qword [rbp + 0x1020]
cmp si, 0x104b
stc
xor rcx, rsp
jmp 0x1404ef667
call fcn.140509caf
add rsp, 0x1140
xchg ebp, r12d
bswap edi
movsx r12w, sil
pop r12
movzx bp, r9b
mov rdi, 0x385d2fc3
pop rdi
movsxd rbp, eax
pop rbp
jmp 0x1404ef695
ret
mov al, 1
jmp 0x1404ef69d
jmp 0x1404ef652