Function at 0x14020fb7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
stc
test rax, rax
jmp 0x1402c622f
call rax
mov r11, rax
test rax, rax
jne 0x1402c6235
lea rcx, [rsp + 0x40]
jmp 0x1402c6223
mov byte [rsp + 0x18], r8b
push rbp
bsr ebp, ecx
bts r11w, r13w
push rsi
sub rsp, 0x158
movzx si, dil
movzx r11d, r8b
sub sil, bpl
btr rbp, 0xbe
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x1402c5ea6
test rdx, rdx
jmp 0x1402c5e8d
je 0x1402c5ea6
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x1402c5ea0
je 0x1402c5ec6
xor eax, eax
sal sil, 0x9e
add rsp, 0x158
movzx si, bpl
bswap bp
movsx rbp, r15w
pop rsi
movzx bp, al
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
test r13b, sil
cmp dword [rax + rcx], 0x4550
jmp 0x1402c5ed9
jne 0x1402c5ea6
mov r9d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x24], r9d
test r9d, r9d
jmp 0x1402c5ef4
je 0x1402c5ea6
mov r10d, dword [rax + rcx + 0x8c]
mov qword [rsp + 0x178], rbx
bts rdx, rbx
sar dx, cl
lea rdx, [rcx + r9]
stc
cmp rdi, rsp
or r8d, 0xffffffff
sub ebx, ebx
clc
cmp ah, 0x23
mov qword [rsp + 0x150], rdi
cmc
mov dword [rsp + 0x170], r10d
cmc
cmp al, spl
mov qword [rsp + 0x28], rdx
test spl, r8b
stc
cmp ebx, 0xf1a8c596
cmp rbp, 0xffff
jmp 0x1402c5f53
ja 0x1402c5f76
mov r8d, ebp
cmp r15, 0xfffffffffa15a320
jmp 0x1402c5f68
sub r8d, dword [rdx + 0x10]
jmp 0x1402c5f71
jmp 0x1402c60eb
mov eax, dword [rdx + 0x18]
test eax, eax
je 0x1402c60eb
mov r10d, dword [rdx + 0x20]
movsx ecx, ax
setg ch
mov cl, r12b
dec eax
sal cx, cl
mov ecx, ebx
cmp ebx, 0xa1853c2c
test sil, dil
add r10, rsi
mov dword [rsp + 0x188], ebx
cmp dl, 0x8f
test r11b, 0xbf
cmp cl, bpl
mov dword [rsp + 0x20], eax
cmp sp, r14w
jmp 0x1402c5fbf
mov qword [rsp + 0x30], r10
test eax, eax
js 0x1402c60db
nop
lea edi, [rax + rcx]
not r8w
shl dl, 7
movzx r8d, r11b
sal edx, cl
movzx dx, bl
inc dl
mov rcx, rbp
sar edi, 1
mov edx, dword [r10 + rdi*4]
clc
add rdx, rsi
jmp 0x1402c5ff5
call fcn.1402c5cad
test eax, eax
jmp 0x1402c6001
jns 0x1402c601f
mov ecx, dword [rsp + 0x188]
lea eax, [rdi - 1]
mov dword [rsp + 0x20], eax
jmp 0x1402c601a
jmp 0x1402c604f
test eax, eax
jmp 0x1402c6026
jle 0x1402c6090
mov eax, dword [rsp + 0x20]
rol cx, 0x8a
lea ecx, [rdi + 1]
cmovo r10, rax
movsx r10d, ax
btc r10, 0xbd
mov dword [rsp + 0x188], ecx
sbb r11b, 0x21
cmp ecx, eax
not r11b
mov r10, qword [rsp + 0x30]
mov r11b, byte [rsp + 0x180]
jle 0x1402c5fcd
mov rdx, qword [rsp + 0x28]
cmc
mov r9d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x170]
cmp r13b, 0x3e
cmp r15w, cx
or r8d, 0xffffffff
jmp 0x1402c608b
jmp 0x1402c60eb
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x28]
movsx r8, r8w
mov r9d, dword [rsp + 0x24]
mov eax, dword [rax + 0x24]
cmovl cx, dx
mov r8, 0xffffffffc407adba
movsxd rcx, ebx
mov r10d, dword [rsp + 0x170]
mov r8w, sp
movzx r8, si
movsx rcx, bp
lea rcx, [rsi + rax]
movzx r8d, word [rcx + rdi*2]
jmp 0x1402c60d6
jmp 0x1402c60eb
mov r10d, dword [rsp + 0x170]
cmp rdx, r13
cmp dx, 0x170e
cmp r8d, dword [rdx + 0x14]
jmp 0x1402c60f4
jae 0x1402c6192
mov eax, dword [rdx + 0x1c]
rol ch, cl
cmp r15w, r12w
mov ecx, r8d
sbb dl, 0
adc edx, 0xc200d310
add rax, rsi
rol dl, 0x94
mov edx, edi
mov dx, 0x95be
mov edx, dword [rax + r8*4]
cmc
clc
test edx, edx
je 0x1402c6192
cmp edx, r9d
jmp 0x1402c6131
jb 0x1402c6399
lea eax, [r10 + r9]
cmp r13b, r14b
cmp edx, eax
jae 0x1402c6399
movzx ecx, byte [rsi + rdx]
lahf
cwde
lea rax, [rsi + rdx]
add di, 0x1f08
rcr edi, cl
mov rdi, rax
test cl, cl
jmp 0x1402c6161
je 0x1402c6192
nop
cmp cl, 0x2e
je 0x1402c619e
mov cl, byte [rdi + 1]
jmp 0x1402c6179
inc rdi
cmp bp, r13w
jmp 0x1402c6185
test cl, cl
jmp 0x1402c618c
jne 0x1402c6168
sub eax, eax
jmp 0x1402c6199
jmp 0x1402c63a0
mov r8, rdi
clc
sub r8, rax
stc
cmp r8, 0x104
jae 0x1402c6192
mov rcx, rbx
test rbp, rdi
cmc
test r8, r8
jmp 0x1402c61c2
je 0x1402c61ff
lea r9, [rsp + 0x40]
cdq
sub r9, rax
movzx edx, byte [rax]
clc
test dl, dl
je 0x1402c61ff
inc rcx
jmp 0x1402c61e5
mov byte [r9 + rax], dl
jmp 0x1402c61ee
inc rax
cmp rcx, r8
jmp 0x1402c61f9
jb 0x1402c61d1
mov byte [rsp + rcx + 0x40], bl
lea rcx, [rsp + 0x40]
movzx rax, bx
setnp ah
bswap rax
mov rax, qword [0x1401ad6c0]
jmp 0x1402889b2
mov rax, qword [0x1401ad770]
jmp 0x14020fb7a
je 0x1402c6192
cmp r11, rsi
jne 0x1402c62e1
cmp byte [rsp + 0x180], bl
jmp 0x1402c624a
je 0x1402c62bd
lea rax, [rsp + 0x40]
adc dl, 0x21
sub rbp, rax
jmp 0x1402c6267
nop
movsx rdx, r11w
lea rdx, [rsp + rbx + 0x40]
movsx eax, r14w
mov ecx, ebx
btc ax, r8w
stc
mov eax, 0xd6aeae9d
stc
rol eax, cl
stc
clc
add al, bl
xor al, byte [rdx + rbp]
jmp 0x1402c6291
mov byte [rdx], al
jmp 0x1402c6298
je 0x1402c62b8
inc rbx
jmp 0x1402c62a6
cmp rbx, 0x104
jmp 0x1402c62b2
jb 0x1402c626c
lea rbp, [rsp + 0x40]
mov rdx, rbp
movsx rcx, r11w
movsxd rax, r10d
mov rcx, rsi
movsxd rax, esp
cmovge rax, r9
mov al, 0x9f
mov rax, qword [0x1401ad7b0]
call rax
jmp 0x1402c63a0
cmp byte [rdi + 1], 0x23
jmp 0x1402c62f0
lea rdx, [rdi + 1]
jmp 0x1402c62f9
jne 0x1402c6378
movzx edx, byte [rdi + 2]
cmp r11w, r13w
cmc
add rdi, 2
test al, r9b
test ax, 0xa22c
test dl, dl
je 0x1402c6370
nop
cmove ax, r12w
movzx eax, r8w
lea eax, [rdx - 0x30]
jmp 0x1402c632d
inc rdi
cmc
jmp 0x1402c6336
cmp al, 9
ja 0x1402c6370
movsx eax, dl
bts cx, ax
mov dl, byte [rdi]
bts rcx, r14
cmc
lea ecx, [rbx + rbx*4]
shld bx, r14w, 0xb2
movzx bx, spl
lea ebx, [rax + rcx*2 - 0x30]
test spl, al
stc
clc
test dl, dl
jmp 0x1402c636a
jne 0x1402c6325
movsxd rdx, ebx
movzx rcx, di
clc
sub r8d, r8d
movsx ecx, di
movzx cx, r8b
cmovge rcx, r8
mov rcx, r11
jmp 0x1402c638f
call fcn.1402c5e4f
jmp 0x1402c63a0
lea rax, [rsi + rdx]
clc
inc ebx
mov rbx, qword [rsp + 0x178]
not bpl
adc di, 0xcaa6
mov rdi, qword [rsp + 0x150]
add rsp, 0x158
movsx rbp, r14w
movsx esi, r8w
jmp 0x1402c63cc
pop rsi
bswap ebp
pop rbp
jmp 0x1402c63d5
ret