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

Disassembly:
mov qword [rsp + 8], rbx
cmp bl, r13b
cmc
test r9d, r13d
mov qword [rsp + 0x10], rsi
cmp dil, cl
test r10b, dil
mov qword [rsp + 0x18], rdi
push rbp
cmc
jmp 0x1404d46df
push r12
add r12b, 0x52
bts bp, si
push r13
sub r12w, 0x2879
movzx r12w, r8b
push r14
sar ebp, cl
rol r14b, 0xc4
movsxd r12, eax
push r15
mov rbp, rsp
sub rsp, 0x40
sal r12b, 0xcd
mov r14, qword [rdx + 0x150]
bsr r12d, eax
rol r12w, cl
mov r12, rcx
test bpl, 0xbd
movsx ecx, si
dec cl
xor esi, esi
mov qword [rbp - 0x10], rdx
mov rcx, r14
jmp 0x1404d4737
mov qword [rbp - 8], rsi
call fcn.1404b1f07
mov qword [r12 + 0x2b8], rax
and cx, 0x35be
lea r15d, [rsi + 0x31]
dec al
rol dl, cl
lea r13d, [rsi + 7]
and r9d, edi
lea ecx, [r15 - 0x30]
btc edx, r15d
mov eax, 0x24924925
bts edx, ecx
shl r9b, cl
sbb r8b, 0x54
mul ecx
or al, dil
mov eax, ecx
sub di, 0x6a98
rol dil, 0xcd
bts rdi, r13
mov r9d, r15d
add r8w, r9w
sub eax, edx
mov r8, r14
shr eax, 1
movzx di, r9b
sar dil, cl
add eax, edx
add dil, r11b
xchg edx, edx
add dh, 0x78
mov edx, 1
bts di, r10w
inc di
shr eax, 2
shld rdi, r9, 0x5e
imul eax, eax, 7
sub ecx, eax
movzx di, r10b
lea rdi, [r12 + rcx*8]
mov cl, 0xd5
movsx cx, r12b
movsxd rcx, esp
lea rcx, [rbp - 0x10]
jmp 0x1404d47dd
mov qword [rsp + 0x20], rdi
jmp 0x1404d47e7
call fcn.1404cdd5e
or esi, eax
cdq
jmp 0x1404d47f4
lea r9d, [r15 - 7]
movsx dx, bh
movzx rcx, r9w
movzx eax, si
lea rax, [rdi + 0x38]
movzx dx, r14b
mov r8, r14
movsx edx, sp
mov edx, 1
not ch
mov qword [rsp + 0x20], rax
setge cl
movzx rcx, si
lea rcx, [rbp - 0x10]
jmp 0x1404d482e
call fcn.1404cdd5e
or esi, eax
movsx ax, r12b
lea rcx, [rbp - 0x10]
lea rax, [rdi + 0x160]
mov dl, r10b
mov r9b, 0x3f
mov r9d, r15d
bswap rdx
movzx r8, cx
mov r8, r14
movsx rdx, di
movsx edx, dx
cdq
mov qword [rsp + 0x20], rax
movzx rdx, ax
mov edx, 2
jmp 0x1404d4873
call fcn.1404cdd5e
or esi, eax
lea r9d, [r15 - 7]
movsxd rdx, r8d
lea rax, [rdi + 0x198]
cmovbe rcx, rsp
mov r8, r14
jmp 0x1404d4897
mov edx, 2
movsx ecx, bp
mov ch, 0x91
movsx cx, r9b
mov qword [rsp + 0x20], rax
movzx cx, r14b
movsx rcx, si
movsxd rcx, esp
lea rcx, [rbp - 0x10]
jmp 0x1404d48c1
call fcn.1404cdd5e
or esi, eax
inc r15d
cmp r8b, 0x2d
clc
cmc
sub r13, 1
jmp 0x1404d48da
jne 0x1404d475c
lea r15d, [r13 + 0x38]
movzx rdx, dx
lea r13d, [r15 - 0x2c]
lea rdi, [r12 + 0xd0]
bswap r9d
cwd
movsx ecx, r8w
lea rax, [rdi - 0x60]
mov r8, r14
movzx cx, dil
cmovno cx, si
movsx rdx, r10w
lea r9d, [r15 + 0xc]
jmp 0x1404d491a
mov qword [rsp + 0x20], rax
not rdx
mov ecx, r13d
mov edx, 1
mov cl, r8b
xchg ch, ch
movsx cx, bpl
lea rcx, [rbp - 0x10]
jmp 0x1404d493d
call fcn.1404cdd5e
mov r9d, r15d
mov qword [rsp + 0x20], rdi
bts cx, r9w
mov r8, r14
btr ecx, 0x92
lea rcx, [rbp - 0x10]
mov edx, 1
cmc
test r12w, 0x43c6
test r13d, ebp
or esi, eax
jmp 0x1404d4970
call fcn.1404cdd5e
or esi, eax
mov eax, r9d
lea r9d, [r15 + 0xc]
mov r8d, r13d
lea rax, [rdi + 0x100]
movsx rcx, r14w
movsx dx, ah
mov ebx, 2
mov r8, r14
jmp 0x1404d499d
mov qword [rsp + 0x20], rax
movzx dx, bpl
movzx ecx, cx
cqo
mov edx, ebx
xchg ecx, ecx
lea rcx, [rbp - 0x10]
jmp 0x1404d49b9
call fcn.1404cdd5e
or esi, eax
rdtsc
xchg al, r8b
movsx rax, r8w
lea rcx, [rbp - 0x10]
not r9w
cdqe
bswap r8w
lea rax, [rdi + 0x160]
movzx dx, r10b
movsx r9d, dx
mov r9d, r15d
movzx r8d, di
mov r8, r14
mov dl, r11b
cmovbe dx, ax
cdq
mov qword [rsp + 0x20], rax
cqo
setl dl
mov edx, ebx
jmp 0x1404d4a0a
call fcn.1404cdd5e
or esi, eax
clc
test ax, 0x128c
add rdi, 8
inc r15d
sub r13, 1
jmp 0x1404d4a26
jne 0x1404d48fd
lea rax, [r12 + 0x130]
movsxd r8, ebx
mov r8, 0x38070452
xchg cl, r9b
mov r8, r14
not dl
setl r9b
movzx dx, r9b
lea edi, [rbx + 0x26]
setb r9b
mov qword [rsp + 0x20], rax
jmp 0x1404d4a6a
mov r9d, edi
setle dh
lea edx, [rbx - 1]
jmp 0x1404d4a80
lea rcx, [rbp - 0x10]
jmp 0x1404d4a89
call fcn.1404cdd5e
or esi, eax
rdtsc
lea ebx, [rdi + 1]
rdtsc
movsx rdx, si
lea rax, [r12 + 0x138]
mov r9d, ebx
mov r8b, r11b
sete r8b
movsx rdx, sp
lea r13d, [rdi - 0x27]
mov qword [rsp + 0x20], rax
mov r8, r14
cdq
lea rcx, [rbp - 0x10]
movzx dx, r14b
mov edx, r13d
jmp 0x1404d4acf
call fcn.1404cdd5e
mov r9d, edi
dec dil
bsf edx, r15d
lea rcx, [rbp - 0x10]
movsx edx, r11w
mov edi, r13d
or esi, eax
lea edi, [rbx - 0x27]
jmp 0x1404d4af5
lea rax, [r12 + 0x290]
cwd
mov edx, edi
mov r8, r14
jmp 0x1404d4b09
mov qword [rsp + 0x20], rax
jmp 0x1404d4b13
call fcn.1404cdd5e
or esi, eax
cdqe
lea rcx, [rbp - 0x10]
rdtsc
movsxd rax, esp
movzx r9w, r14b
lea rax, [r12 + 0x298]
cdq
movzx dx, dil
mov edx, 0x422e4df4
mov r9d, ebx
mov r8, r14
mov qword [rsp + 0x20], rax
mov edx, edi
jmp 0x1404d4b4f
call fcn.1404cdd5e
or esi, eax
lea r15d, [rbx - 0xa]
lea rax, [r12 + 0x140]
movzx r9, dx
mov r9d, r15d
movsx r8d, r14w
mov r8, r14
cqo
jmp 0x1404d4b7a
mov qword [rsp + 0x20], rax
mov edx, r13d
seta ch
movsx ecx, di
lea rcx, [rbp - 0x10]
jmp 0x1404d4b91
call fcn.1404cdd5e
or esi, eax
jmp 0x1404d4ba2
lea edi, [rbx - 9]
cwd
cmova ax, r13w
lea rax, [r12 + 0x148]
movzx dx, ch
mov r9d, edi
mov r8, r14
mov qword [rsp + 0x20], rax
bswap edx
movzx ecx, cx
mov edx, r13d
movzx ecx, r11w
movsx cx, cl
lea rcx, [rbp - 0x10]
call fcn.1404cdd5e
or esi, eax
movsx r8, r12w
lea rcx, [rbp - 0x10]
lea rax, [r12 + 0x150]
movsx r9d, r9w
movsx rdx, ax
cwd
mov ebx, 0x1003
mov r9d, ebx
mov qword [rsp + 0x20], rax
movzx r8w, r14b
mov r8, r14
cqo
mov edx, r13d
jmp 0x1404d4c17
call fcn.1404cdd5e
or esi, eax
movzx rcx, r8w
shrd rax, r15, 0x10
lea r9d, [rbx + 6]
lea rax, [r12 + 0x158]
ror ecx, 0x24
mov r8, r14
sal cl, cl
rcl cl, cl
xor edx, edx
movzx rcx, r8w
setp ch
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
jmp 0x1404d4c54
call fcn.1404cdd5e
mov r9d, r15d
or r15b, 0x32
bsr dx, r12w
lea rcx, [rbp - 0x10]
xor dh, 0xf1
or esi, eax
movzx r8w, r13b
lea r15d, [r13 + 1]
cwd
movzx r8, dx
movsx rax, bp
lea rax, [r12 + 0x2a0]
movsx dx, r10b
cmovl dx, sp
xchg dh, dl
mov edx, r15d
movsxd r8, eax
mov r8, r10
mov r8, r14
jmp 0x1404d4ca5
mov qword [rsp + 0x20], rax
jmp 0x1404d4caf
call fcn.1404cdd5e
or esi, eax
lea rax, [r12 + 0x2a8]
movsx edx, sp
mov r9d, edi
mov r8w, 0x50f1
mov qword [rsp + 0x20], rax
movzx r8w, r15b
bswap rcx
jmp 0x1404d4cdb
mov r8, r14
lea rcx, [rbp - 0x10]
xchg dh, dl
mov edx, r15d
jmp 0x1404d4cec
call fcn.1404cdd5e
or esi, eax
movzx r9w, spl
movsx eax, di
lea rcx, [rbp - 0x10]
rdtsc
setle dl
lea rax, [r12 + 0x2b0]
jmp 0x1404d4d15
mov r9d, ebx
mov r8, r14
not dh
cwd
mov qword [rsp + 0x20], rax
movsx edx, ax
xchg dl, dl
mov dx, 0x6769
mov edx, r15d
jmp 0x1404d4d35
call fcn.1404cdd5e
lea r11, [rsp + 0x40]
mov rbx, r8
sar r14w, cl
or eax, esi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
not al
sete al
mov rdi, qword [r11 + 0x40]
movsx r12w, r8b
mov r12b, r8b
movsxd r15, r12d
mov rsp, r11
setnp r15b
movsx r13w, r15b
pop r15
pop r14
pop r13
movzx ebp, sp
pop r12
bswap bp
pop rbp
jmp 0x1404d4d84
ret