Function at 0x1404d2259
Capabilities:
Encrypt data using rc4 prga
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 8], rbx
test r11b, dil
test dil, 0x56
mov qword [rsp + 0x10], rsi
cmp sil, r15b
clc
mov qword [rsp + 0x18], rdi
stc
cmp rcx, r9
push rbp
push r12
cmc
test r14, r15
push r13
jmp 0x1404d228d
push r14
shl r12w, 0xeb
push r15
bts rbp, rbx
mov bp, cx
btr ebp, ecx
mov rbp, rsp
test r12w, di
not r14b
sub rsp, 0x40
xor r14w, 0xfdf
bts r14, rbx
mov r14, qword [rdx + 0x150]
adc r12d, 0x1a0b2d39
mov r12, rcx
sub esi, esi
cmova cx, r14w
movsx rcx, r8w
xchg cl, cl
mov qword [rbp - 0x10], rdx
not ecx
mov rcx, r14
jmp 0x1404d22e4
mov qword [rbp - 8], rsi
jmp 0x1404d22ed
call fcn.1404af63e
mov qword [r12 + 0x2b8], rax
cmp r13b, cl
cdq
lea r15d, [rsi + 0x31]
cwd
sbb r13b, al
lea r13d, [rsi + 7]
lea ecx, [r15 - 0x30]
mov eax, 0x24924925
ror r9, 0x2a
cmovo r9, rsp
mul ecx
add r9d, 0x55a972ab
sal r9b, cl
ror ah, cl
mov eax, ecx
mov r9d, r15d
sub eax, edx
movsx r8w, r10b
mov r8, r14
bts di, bp
shr edi, 0x8e
test bpl, 0xe0
shr eax, 1
sar edi, 0x91
bt di, bx
add eax, edx
cmovae di, r11w
btc edi, eax
add dh, 0xbd
mov edx, 1
adc di, bx
shr eax, 2
imul eax, eax, 7
clc
sub ecx, eax
movsx edi, r10w
lea rdi, [r12 + rcx*8]
jmp 0x1404d237d
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rdi
jmp 0x1404d238b
call fcn.1404cb831
or esi, eax
mov r8d, r14d
lea r9d, [r15 - 7]
lahf
lea rax, [rdi + 0x38]
mov r8, r14
mov edx, 1
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
jmp 0x1404d23b4
call fcn.1404cb831
or esi, eax
setle cl
lea rcx, [rbp - 0x10]
seta dh
lahf
xchg r9w, ax
lea rax, [rdi + 0x160]
movsx r8d, r14w
mov dx, r10w
mov r9d, r15d
mov r8, r14
setno dh
mov qword [rsp + 0x20], rax
cdq
mov edx, 2
jmp 0x1404d23f1
call fcn.1404cb831
or esi, eax
movzx r8, r11w
lea r9d, [r15 - 7]
movzx eax, bp
not ax
lea rax, [rdi + 0x198]
jmp 0x1404d2415
mov r8, r14
movsxd rdx, ebx
movzx rdx, si
movsx cx, r12b
mov edx, 2
not ch
movsx rcx, bx
mov qword [rsp + 0x20], rax
movsx rcx, dx
not cx
lea rcx, [rbp - 0x10]
jmp 0x1404d2444
call fcn.1404cb831
or esi, eax
jmp 0x1404d2450
inc r15d
sub r13, 1
jmp 0x1404d245c
jne 0x1404d230b
lea r15d, [r13 + 0x38]
cbw
jmp 0x1404d246d
lea r13d, [r15 - 0x2c]
movsx r9w, r12b
bswap cx
lea rdi, [r12 + 0xd0]
lea rax, [rdi - 0x60]
bswap cx
movzx r8d, r14w
mov r8, r14
lea r9d, [r15 + 0xc]
movzx dx, r12b
mov qword [rsp + 0x20], rax
cdq
mov edx, 1
jmp 0x1404d24ac
lea rcx, [rbp - 0x10]
jmp 0x1404d24b5
call fcn.1404cb831
mov r9d, r15d
cdq
mov qword [rsp + 0x20], rdi
rcr r8, cl
rcl ch, cl
movsx r8d, cx
mov r8, r14
movsx ecx, r11w
btr dx, 0x2a
lea rcx, [rbp - 0x10]
adc dl, r14b
mov edx, 1
cmp r9, r9
or esi, eax
jmp 0x1404d24ee
call fcn.1404cb831
or esi, eax
lea r9d, [r15 + 0xc]
cwd
xchg dh, ch
lea rax, [rdi + 0x100]
jmp 0x1404d250e
mov ebx, 2
mov r8, r14
mov qword [rsp + 0x20], rax
mov edx, ebx
mov cx, bx
lea rcx, [rbp - 0x10]
jmp 0x1404d2529
call fcn.1404cb831
or esi, eax
lea rcx, [rbp - 0x10]
movsx dx, r8b
movsxd rdx, r8d
movzx r9, r13w
lea rax, [rdi + 0x160]
mov rdx, r9
mov r9d, r15d
cqo
sets dl
mov r8, r14
not dx
movsxd rdx, r9d
mov qword [rsp + 0x20], rax
mov edx, ebx
jmp 0x1404d2567
call fcn.1404cb831
or esi, eax
add rdi, 8
inc r15d
cmc
clc
cmp sil, sil
sub r13, 1
jne 0x1404d2481
lea rax, [r12 + 0x130]
movsx r9, r12w
mov r8, r14
movzx rdi, ax
movzx dx, r15b
lea edi, [rbx + 0x26]
mov qword [rsp + 0x20], rax
movsxd rcx, edi
movzx r9d, r9w
not dx
mov r9d, edi
lea edx, [rbx - 1]
bswap cx
lea rcx, [rbp - 0x10]
call fcn.1404cb831
or esi, eax
setnp bl
movzx cx, spl
lea ebx, [rdi + 1]
rdtsc
mov r13d, r10d
cwd
lea rax, [r12 + 0x138]
movsx r9d, r13w
movzx r13d, r8w
mov r9d, ebx
mov ecx, r12d
movzx r13, bp
lea r13d, [rdi - 0x27]
movsx dx, dil
cdq
movsx rdx, di
mov qword [rsp + 0x20], rax
mov r8, r14
cwd
movsx dx, r13b
cqo
lea rcx, [rbp - 0x10]
mov edx, r13d
jmp 0x1404d2619
call fcn.1404cb831
mov r9d, edi
mov r8b, 1
rcr di, 0xa4
and r8, rsp
lea rcx, [rbp - 0x10]
sal r8b, 0x2f
btr rdx, 0xa7
or esi, eax
jmp 0x1404d263f
lea edi, [rbx - 0x27]
cwd
movsxd rax, r14d
cbw
lea rax, [r12 + 0x290]
movsx r8d, sp
movsxd r8, r15d
mov edx, edi
bswap r8w
mov r8, r14
mov qword [rsp + 0x20], rax
jmp 0x1404d266b
call fcn.1404cb831
or esi, eax
lea rcx, [rbp - 0x10]
cmovl r9, rax
jmp 0x1404d2681
lea rax, [r12 + 0x298]
mov edx, 0x56ec3df0
xchg edx, r9d
not dl
mov r9d, ebx
xchg dl, dl
mov r8, r14
movzx dx, r15b
cmovge edx, esi
mov qword [rsp + 0x20], rax
mov edx, edi
jmp 0x1404d26af
call fcn.1404cb831
or esi, eax
lahf
mov r15, r12
cqo
lea r15d, [rbx - 0xa]
cdq
cwd
cqo
lea rax, [r12 + 0x140]
cqo
mov r9d, r15d
mov dh, 0x61
cdq
movzx rdx, r15w
mov r8, r14
movzx ecx, r13w
cwd
mov qword [rsp + 0x20], rax
cdq
mov edx, r13d
movsx cx, bh
mov ecx, esp
movzx ecx, r15w
lea rcx, [rbp - 0x10]
jmp 0x1404d26ff
call fcn.1404cb831
or esi, eax
movzx edi, cx
cmovge edx, eax
movsx r9w, r9b
lea edi, [rbx - 9]
movzx ecx, di
lea rax, [r12 + 0x148]
sets cl
mov dl, r10b
mov r9d, edi
cdq
cmovns r8w, bp
movsxd rcx, r11d
mov r8, r14
cwd
cmovle dx, r13w
mov qword [rsp + 0x20], rax
movsx edx, r11w
movzx cx, dl
mov edx, r13d
mov cl, 0xa2
movsx rcx, r9w
lea rcx, [rbp - 0x10]
jmp 0x1404d275a
call fcn.1404cb831
or esi, eax
movsx rdx, di
cmova rdx, rdx
rdtsc
lea rcx, [rbp - 0x10]
lea rax, [r12 + 0x150]
mov ebx, 0x1003
mov r9d, ebx
movzx edx, sp
xchg dh, dl
cmovb r8, rsp
mov qword [rsp + 0x20], rax
mov r8w, r10w
mov r8, r14
movsxd rdx, r8d
setne dl
xchg dh, dl
mov edx, r13d
jmp 0x1404d27a4
call fcn.1404cb831
or esi, eax
lea r9d, [rbx + 6]
lea rax, [r12 + 0x158]
mov r8, r14
shld cx, si, 0xf0
movzx cx, dil
sub edx, edx
jmp 0x1404d27d1
mov qword [rsp + 0x20], rax
cmovl ecx, esi
lea rcx, [rbp - 0x10]
jmp 0x1404d27e2
call fcn.1404cb831
mov r9d, r15d
lea rcx, [rbp - 0x10]
or esi, eax
movzx r15, dx
lea r15d, [r13 + 1]
lea rax, [r12 + 0x2a0]
cmovle r8w, si
movsx edx, di
not dl
mov edx, r15d
mov r8, r14
mov qword [rsp + 0x20], rax
jmp 0x1404d281a
call fcn.1404cb831
or esi, eax
bswap ax
not rcx
xchg cl, r8b
lea rax, [r12 + 0x2a8]
mov r9d, edi
sete cl
mov qword [rsp + 0x20], rax
mov r8, r14
lea rcx, [rbp - 0x10]
not dh
mov edx, r15d
jmp 0x1404d284e
call fcn.1404cb831
or esi, eax
jmp 0x1404d285d
lea rcx, [rbp - 0x10]
cqo
cwde
xchg edx, r8d
lea rax, [r12 + 0x2b0]
jmp 0x1404d2874
mov r9d, ebx
bswap edx
movzx r8w, r11b
mov r8, r14
movzx dx, r9b
mov qword [rsp + 0x20], rax
bswap dx
mov edx, r15d
jmp 0x1404d2896
call fcn.1404cb831
lea r11, [rsp + 0x40]
add r13d, 0x5bbf775d
and rdi, 0x1ab001ff
shl dil, cl
or eax, esi
movzx esi, r11w
mov r14b, sil
cmovle rdi, r13
mov rbx, qword [r11 + 0x30]
bswap r14d
mov rsi, qword [r11 + 0x38]
sete al
sets bpl
xchg r13b, r13b
mov r12b, 0xe6
mov rdi, qword [r11 + 0x40]
jmp 0x1404d28e7
mov rsp, r11
movsx r12, r14w
bswap r15d
jmp 0x1404d28f6
pop r15
pop r14
jmp 0x1404d28ff
pop r13
mov rbp, 0x3f4c25af
pop r12
mov bpl, r14b
pop rbp
jmp 0x1404d2913
ret