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

Disassembly:
push rsi
cmc
mov rdx, qword [rcx]
sal r9, 0x59
dec si
stc
mov r9, qword [rcx + 0x18]
shl sil, cl
rcl esi, cl
sal sil, 0x4e
mov esi, dword [rdx + 4]
imul esi, dword [rdx]
cmp r14, rsp
cmp r11, 0x7d393d6c
test r8, 0x4ed6879
cmp dword [rdx + 0xc], 3
jne 0x140423c73
test esi, esi
jmp 0x140423b2a
je 0x140423f2c
lea ecx, [rsi - 1]
test si, 0x4b92
jmp 0x140423b3d
cmp ecx, 3
jb 0x140423bfd
mov ecx, esi
inc edx
cbw
and ecx, 0xfffffffc
nop dword [rax]
stc
bt eax, 0x37
cmp r14w, r8w
movzx edx, byte [r9]
rcr al, 6
ror eax, 0xf7
shr rax, cl
movzx eax, byte [r9 + 2]
test r11, r10
mov byte [r9], al
add al, r10b
not ax
and rax, r12
mov byte [r9 + 2], dl
sar rax, 0x57
movzx eax, byte [r9 + 3]
shl dh, cl
sar dx, 0xfe
movzx edx, byte [r9 + 5]
mov byte [r9 + 3], dl
mov byte [r9 + 5], al
not al
movzx eax, byte [r9 + 6]
movzx edx, byte [r9 + 8]
mov byte [r9 + 6], dl
movzx edx, ax
ror dx, cl
mov byte [r9 + 8], al
or dh, 0xa2
shl ah, 0x81
movsx ax, spl
movzx eax, byte [r9 + 9]
ror dl, 0x92
shr dh, cl
movzx edx, byte [r9 + 0xb]
cmc
jmp 0x140423bd6
mov byte [r9 + 9], dl
cmp sil, 0xd7
jmp 0x140423be3
mov byte [r9 + 0xb], al
cmp r15d, ebp
cmc
stc
add r9, 0xc
cmp sil, spl
stc
add ecx, 0xfffffffc
jne 0x140423b5b
test sil, 3
jmp 0x140423c06
je 0x140423f2c
and esi, 3
cbw
lea rsi, [rsi + rsi*2]
rdtsc
bswap ax
xor ecx, ecx
xor dx, 0x1a28
rcr rdx, 0xa1
movzx eax, r12w
nop word cs:[rax + rax]
sub al, 0x12
cmp dil, 0x4c
movzx edx, byte [r9 + rcx]
sar ah, 0xc8
inc ax
movzx eax, byte [r9 + rcx + 2]
mov byte [r9 + rcx], al
cmp dx, 0x23ab
mov byte [r9 + rcx + 2], dl
add rcx, 3
cmc
jmp 0x140423c66
cmp esi, ecx
jne 0x140423c3d
jmp 0x140423f2c
mov eax, dword [0x1400b9350]
rcl rdx, cl
rol dl, 0xe5
shr dh, 0x50
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov dl, r13b
shl ch, cl
lea rcx, [rax + 0x18]
lea rdx, [0x1400b925c]
cmp byte [rax + 0x1c], 0
cmovne rdx, rcx
test r13w, r15w
cmc
test ah, 0xc9
cmp dword [rdx], 0
jmp 0x140423cbd
je 0x140423def
test esi, esi
jmp 0x140423cca
je 0x140423f2c
mov r8d, esi
cmc
xor ecx, ecx
jmp 0x140423d0a
movzx edx, byte [r9 + rcx*4 + 2]
jmp 0x140423ce6
mov byte [r9 + rcx*4], dl
jmp 0x140423cef
mov byte [r9 + rcx*4 + 2], al
jmp 0x140423cf9
inc rcx
cmp r8d, ecx
jmp 0x140423d04
je 0x140423f2c
movzx r10d, byte [r9 + rcx*4 + 3]
movzx eax, byte [r9 + rcx*4]
stc
cmc
test dil, 0x20
test r10d, r10d
jmp 0x140423d23
je 0x140423cdb
movzx esi, al
jmp 0x140423d31
mov r11d, r10d
sub dl, 0x9c
shr r11d, 1
clc
sub dx, 0x130b
bsr dx, r9w
movzx edx, byte [r9 + rcx*4 + 2]
stc
bts ax, cx
mov eax, edx
test r13w, r9w
cmc
shl eax, 8
stc
sub eax, edx
add eax, r11d
sub edx, edx
cmp r11d, 0x51132dee
test di, ax
div r10w
mov byte [r9 + rcx*4], al
shl rdx, cl
shrd ax, r9w, 0x13
movzx edx, byte [r9 + rcx*4 + 1]
xchg al, al
btr ax, 0x65
mov eax, edx
stc
shl eax, 8
sub eax, edx
add eax, r11d
test r12, 0x343d1219
xor edx, edx
div r10w
stc
cmp rdi, r14
mov byte [r9 + rcx*4 + 1], al
sal ah, cl
not eax
clc
mov eax, esi
shl eax, 8
cmc
test rax, 0x27e276b8
sub eax, esi
test r15w, 0x10ea
add eax, r11d
cmp r10b, r12b
test r14b, spl
sub edx, edx
cmp eax, esi
cmp r14w, 0x6028
div r10w
jmp 0x140423de0
mov byte [r9 + rcx*4 + 2], al
jmp 0x140423dea
jmp 0x140423cf9
test esi, esi
jmp 0x140423df6
je 0x140423f2c
lea eax, [rsi - 1]
jmp 0x140423e04
cmp eax, 3
jmp 0x140423e0c
jb 0x140423ed6
mov ecx, esi
btc ax, 0x5c
ror dh, 0x75
adc edx, 0x166d410a
and ecx, 0xfffffffc
xchg rdx, rax
shl dh, cl
sal ah, 0xdb
nop word cs:[rax + rax]
cwde
adc ax, 0x37b
movzx eax, byte [r9]
dec dx
movzx edx, cx
and edx, 0x138c37b2
movzx edx, byte [r9 + 2]
clc
cmc
test r12b, 0x1e
mov byte [r9], dl
rol dl, cl
and dx, ax
shl rdx, 0x78
mov byte [r9 + 2], al
movsxd rdx, r13d
movzx eax, byte [r9 + 4]
shl dh, 0x86
mov dh, 0xde
movzx edx, byte [r9 + 6]
clc
mov byte [r9 + 4], dl
btc edx, 0xa2
not edx
mov byte [r9 + 6], al
movzx eax, byte [r9 + 8]
rol edx, 0x6b
movzx edx, byte [r9 + 0xa]
test sil, r11b
stc
cmp r8b, cl
mov byte [r9 + 8], dl
add dh, ah
mov byte [r9 + 0xa], al
movzx eax, byte [r9 + 0xc]
movzx edx, byte [r9 + 0xe]
test r12w, 0x5fe6
stc
mov byte [r9 + 0xc], dl
mov byte [r9 + 0xe], al
jmp 0x140423ec9
add r9, 0x10
add ecx, 0xfffffffc
jne 0x140423e3c
test sil, 3
je 0x140423f2c
and esi, 3
cwde
sbb dx, cx
test r9b, r14b
xor ecx, ecx
mov dx, 0x259d
rdtsc
nop word [rax + rax]
movsx ax, bl
movzx eax, byte [r9 + rcx*4]
not dh
bswap dx
movzx edx, byte [r9 + rcx*4 + 2]
jmp 0x140423f11
mov byte [r9 + rcx*4], dl
mov byte [r9 + rcx*4 + 2], al
jmp 0x140423f1f
inc rcx
stc
clc
cmp esi, ecx
jne 0x140423efc
pop rsi
jmp 0x140423f32
ret