Function at 0x14036e6af
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
clc
jmp 0x1403f0d0c
call rax
mov r11, rax
cmp r11w, r10w
test rax, rax
jmp 0x1403f0cf5
mov byte [rsp + 0x18], r8b
test dil, 0x11
mov qword [rsp + 0x10], rdx
stc
cmc
push rbp
movzx rbp, di
dec bpl
or ebp, r11d
push rsi
and bpl, 0x1d
rcl sil, cl
sar sil, 0x44
sub rsp, 0x178
sbb sil, r10b
sar rbp, cl
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
jmp 0x1403f087b
je 0x1403f08a2
test rdx, rdx
jmp 0x1403f0889
je 0x1403f08a2
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x1403f089c
je 0x1403f08c1
xor eax, eax
add rsp, 0x178
movsxd rbp, r10d
pop rsi
setae bpl
movsx bp, al
mov bp, ax
pop rbp
jmp 0x1403f08c0
ret
movsxd rax, dword [rcx + 0x3c]
jmp 0x1403f08cb
cmp dword [rax + rcx], 0x4550
jne 0x1403f08a2
mov r8d, dword [rax + rcx + 0x88]
cmc
mov dword [rsp + 0x30], r8d
test r8d, r8d
je 0x1403f08a2
mov r9d, dword [rax + rcx + 0x8c]
lea rdx, [rsi + r8]
shr cl, cl
sbb rcx, 0x4eb3766c
mov qword [rsp + 0x170], rbx
sbb rcx, r13
btr cx, 0x1a
mov qword [rsp + 0x168], rdi
mov ecx, 0xffffffff
stc
xor edi, edi
mov dword [rsp + 0x20], r9d
cmc
stc
jmp 0x1403f0930
mov qword [rsp + 0x28], rdx
test r9w, r10w
cmp r10b, cl
mov dword [rsp + 0x190], ecx
cmp r11w, r11w
clc
cmp rbp, 0xffff
jmp 0x1403f0954
ja 0x1403f09a9
mov ecx, ebp
jmp 0x1403f0961
sub ecx, dword [rdx + 0x10]
test r8d, esp
cmp ecx, dword [rdx + 0x14]
jmp 0x1403f096f
jae 0x1403f099d
mov eax, dword [rdx + 0x1c]
bsf dx, r12w
lea rax, [rax + rsi]
mov edx, dword [rax + rcx*4]
jmp 0x1403f0990
test edx, edx
jmp 0x1403f0997
jne 0x1403f0bf9
sub eax, eax
jmp 0x1403f09a4
jmp 0x1403f0e6f
mov eax, dword [rdx + 0x18]
test cx, 0xfd1
jmp 0x1403f09bb
test eax, eax
jmp 0x1403f09c2
je 0x1403f0bd1
mov r9d, dword [rdx + 0x20]
sal bh, cl
lea r11d, [rax - 1]
ror bx, cl
mov ebx, edi
cmp dil, r13b
cmc
test r8w, 0x5435
lea r9, [r9 + rsi]
cmp r13b, 0x67
mov qword [rsp + 0x40], r9
test r10w, 0x7483
clc
test r11d, r11d
jmp 0x1403f09fd
js 0x1403f0bc3
nop
movzx dx, cl
cdq
test spl, 0x94
mov r10, qword [rsp + 0x198]
rcr bpl, cl
movzx ebp, r13w
lea eax, [r11 + rbx]
btc bp, 0x8f
sal bp, 0xaa
movsx dx, dh
mov rbp, rdi
stc
bswap r8
sar eax, 1
or r8b, 0x87
shr dh, 0x22
mov dword [rsp + 0x1a8], eax
bt r8w, 0x90
rcr dl, cl
mov qword [rsp + 0x38], rax
jmp 0x1403f0a5a
mov r8d, dword [r9 + rax*4]
shl dx, cl
rcr dh, 0x4f
mov eax, dword [r9 + rax*4]
rol dx, cl
cqo
btr r9d, esp
sub r10, rax
shr al, 0x7a
rcl r9b, cl
movzx eax, byte [rsp + 0x1a0]
add r8, rsi
adc dl, r11b
and r9b, 0x3a
stc
sub r10, rsi
nop
movzx edx, r12w
movzx edx, byte [r10 + r8]
movzx r9, di
movzx r9d, byte [r8]
jmp 0x1403f0aa7
inc r8
test al, al
je 0x1403f0ad5
mov ecx, ebp
stc
movsx eax, r9w
mov eax, 0x494c75b3
rol eax, cl
clc
add al, bpl
stc
xor dl, al
mov al, byte [rsp + 0x1a0]
inc rbp
stc
test bpl, cl
test dl, dl
jmp 0x1403f0adc
je 0x1403f0af0
cmp dl, r9b
jmp 0x1403f0aea
je 0x1403f0a95
cmp dl, r9b
jmp 0x1403f0af8
jb 0x1403f0b6f
cmp dl, r9b
jmp 0x1403f0b06
jbe 0x1403f0b31
mov ebx, dword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x28]
movsx ecx, r14w
inc cl
mov ecx, dword [rsp + 0x190]
inc ebx
jmp 0x1403f0b2c
jmp 0x1403f0b8e
mov rdx, qword [rsp + 0x28]
lea ebx, [r11 + 1]
movsx ax, spl
mov eax, dword [rdx + 0x24]
cmovb ecx, ebp
mov ch, 0x50
lea rcx, [rsi + rax]
movsx ax, cl
mov rax, qword [rsp + 0x38]
jmp 0x1403f0b5a
movzx ecx, word [rcx + rax*2]
mov dword [rsp + 0x190], ecx
jmp 0x1403f0b6a
jmp 0x1403f0b8e
mov r11d, dword [rsp + 0x1a8]
cmova r9w, r9w
mov rdx, qword [rsp + 0x28]
xchg r9, rcx
mov ecx, dword [rsp + 0x190]
dec r11d
cmp ebx, r11d
bswap r9w
setg r9b
movsxd r9, esi
mov r9, qword [rsp + 0x40]
jle 0x1403f0a0d
mov rbp, qword [rsp + 0x198]
movsx r9w, r15b
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x20]
jmp 0x1403f0bd1
mov r9d, dword [rsp + 0x20]
test r11b, 0xbc
jmp 0x1403f0bd1
cmp ecx, dword [rdx + 0x14]
jmp 0x1403f0bd9
jae 0x1403f099d
mov eax, dword [rdx + 0x1c]
add rax, rsi
movsx edx, si
mov edx, dword [rax + rcx*4]
cmc
test edx, edx
jmp 0x1403f0bf3
je 0x1403f099d
cmp edx, r8d
jmp 0x1403f0c01
jb 0x1403f0e66
lea eax, [r9 + r8]
stc
cmp r10d, esi
jmp 0x1403f0c14
cmp edx, eax
jmp 0x1403f0c1b
jae 0x1403f0e66
mov eax, edx
xadd ch, bh
adc cl, r8b
add rax, rsi
mov rbx, rax
movzx ecx, byte [rax]
test cx, 0x145c
test cl, cl
je 0x1403f099d
cmp cl, 0x2e
jmp 0x1403f0c47
je 0x1403f0c6c
mov cl, byte [rbx + 1]
inc rbx
test cl, cl
jmp 0x1403f0c5a
jne 0x1403f0c3f
xor eax, eax
jmp 0x1403f0c67
jmp 0x1403f0e6f
mov r8, rbx
cmp rbx, r12
test eax, ebx
sub r8, rax
cmp r8, 0x104
jmp 0x1403f0c83
jae 0x1403f099d
mov rcx, rdi
test r8, r8
jmp 0x1403f0c94
je 0x1403f0cdd
lea r9, [rsp + 0x50]
shl edx, cl
sub r9, rax
sal dl, cl
nop
shl dh, 0
movzx edx, byte [rax]
test dl, dl
jmp 0x1403f0cb4
je 0x1403f0cdd
inc rcx
jmp 0x1403f0cc2
mov byte [r9 + rax], dl
jmp 0x1403f0ccb
inc rax
stc
cmp rcx, r8
jmp 0x1403f0cd7
jb 0x1403f0caa
mov byte [rsp + rcx + 0x50], dil
lea rcx, [rsp + 0x50]
cdqe
mov rax, qword [0x1403c8150]
jmp 0x14039a13c
jne 0x1403f0d1a
lea rcx, [rsp + 0x50]
mov rax, qword [0x1403c8148]
jmp 0x14036e6ad
test rax, rax
jmp 0x1403f0d14
je 0x1403f099d
cmp r11, rsi
jne 0x1403f0dc3
cmp byte [rsp + 0x1a0], dil
jmp 0x1403f0d30
je 0x1403f0da6
lea rax, [rsp + 0x50]
ror edx, 0xdf
cwd
btc cx, bp
sub rbp, rax
bswap ax
movsx rax, cx
cmc
nop
rcl dx, 1
cdq
cwde
lea rdx, [rsp + rdi + 0x50]
bt ax, 0xd0
cmovno eax, r15d
stc
mov ecx, edi
bt eax, 0xe
mov eax, 0x494c75b3
rol eax, cl
add al, dil
xor al, byte [rdx + rbp]
jmp 0x1403f0d7c
mov byte [rdx], al
jmp 0x1403f0d83
je 0x1403f0da1
inc rdi
cmp bpl, r11b
cmp rdi, 0x104
jmp 0x1403f0d9b
jb 0x1403f0d55
lea rbp, [rsp + 0x50]
mov rdx, rbp
xchg cx, ax
movsx ecx, r11w
mov rcx, rsi
movsxd rax, r15d
mov rax, qword [0x1403c8158]
call rax
jmp 0x1403f0e6f
cmp byte [rbx + 1], 0x23
bswap rdx
xchg edx, edx
lea rdx, [rbx + 1]
jne 0x1403f0e4a
movzx edx, byte [rbx + 2]
cmp r11b, 0x68
cmp cl, r9b
jmp 0x1403f0de6
add rbx, 2
cmp r10, 0x284279e7
clc
test dl, dl
jmp 0x1403f0df9
je 0x1403f0e45
nop
cbw
lea eax, [rdx - 0x30]
inc rbx
test r9, 0x7b7d5d82
stc
cmp al, 9
jmp 0x1403f0e17
ja 0x1403f0e45
movsx eax, dl
xchg dl, cl
movzx ecx, si
btr ecx, edx
mov dl, byte [rbx]
shld rcx, rdx, 0x9c
lea ecx, [rdi + rdi*4]
lea edi, [rax + rcx*2 - 0x30]
clc
stc
test dl, dl
jmp 0x1403f0e3f
jne 0x1403f0e02
movsxd rdx, edi
shl cl, cl
xor r8d, r8d
setb cl
movsx rcx, r9w
mov rcx, r11
jmp 0x1403f0e5c
call fcn.1403f0839
jmp 0x1403f0e6f
mov eax, edx
lea rax, [rax + rsi]
mov dil, r14b
mov rbx, qword [rsp + 0x170]
bts si, bx
mov rdi, qword [rsp + 0x168]
not bpl
add rsp, 0x178
movzx esi, dx
mov sil, 0x4a
cmovo si, r15w
pop rsi
movzx rbp, r14w
pop rbp
ret