Function at 0x1406eac96
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
bswap rax
sub rsp, 0x58
movsx rax, dx
cmc
stc
mov rax, qword [rsp + 0x60]
rol ch, cl
add rax, 0x50
mov qword [rsp + 0x48], rax
test r10w, r14w
sbb cl, r12b
bt ax, 0xa3
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
cmp cl, r10b
movsxd rax, dword [rcx + rax + 0x70]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x48]
clc
cmp bpl, r11b
add rax, qword [rcx + 8]
cmp r10d, ebx
cmc
cmp r10b, 0xbf
mov qword [rsp + 0x18], rax
shr ah, cl
add ah, 0xbe
stc
mov rax, qword [rsp + 0x60]
jmp 0x1406ead09
mov eax, dword [rax + 0x28]
test ah, cl
cmp cl, 0x38
cmc
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x60]
test r12b, cl
mov eax, dword [rax + 4]
jmp 0x1406ead26
and eax, 2
jmp 0x1406ead2e
test eax, eax
jmp 0x1406ead35
jne 0x1406eaf08
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
jmp 0x1406ead50
jmp 0x1406ead68
mov eax, dword [rsp + 4]
jmp 0x1406ead5e
inc eax
mov dword [rsp + 4], eax
cmp r14b, 0x35
cmp dword [rsp + 4], 0x1b
jge 0x1406eaf03
mov dword [rsp], 0
jmp 0x1406eadb1
mov eax, dword [rsp]
jmp 0x1406ead87
inc eax
jmp 0x1406ead8e
mov dword [rsp], eax
movsx rax, r13w
mov eax, dword [rsp + 8]
jmp 0x1406ead9e
inc eax
jmp 0x1406eadac
mov dword [rsp + 8], eax
cmc
cmp dword [rsp], 0x6c
jmp 0x1406eadba
jge 0x1406eaefe
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 4]
add eax, dword [rsp]
test rsp, r12
rcr cl, cl
mov rcx, qword [rsp + 0x18]
movzx ecx, word [rcx + 6]
test ax, sp
jmp 0x1406eade2
add ecx, dword [rsp + 4]
clc
imul ecx, dword [rsp + 0xc]
clc
add eax, ecx
test esp, 0x2b25be33
ror cl, cl
adc cl, r12b
mov dword [rsp + 0x20], eax
shr ecx, 0x1a
not cl
mov eax, dword [rsp + 0x20]
btr cx, 0xa4
add eax, 0x6d
ror cl, cl
mov dword [rsp + 0x2c], eax
clc
movsxd rax, dword [rsp + 8]
and cl, r12b
clc
test r14b, 0xb3
lea rcx, str...___________XXXXXXX_____X________________X____________XXXXXXX_____________________XXXXXXX______XX__________..___________X.....X____X.X______________X.X___________X.....X_____________________X.....X_____X..X______________________XXX.XXX___X...X____________X...X__________X....X_______________________X....X_____X..X_________X______________X.X____X.....X__________X.....X_________X...X_________________________X...X_____X..X_________XX_____________X.X___X.......X________X.......X________X..X.X_______________________X.X..X_____X..X_________X.X____________X.X___XXXX.XXXX________XXXX.XXXX________X.X_X.X_____________________X.X_X.X_____X..XXX_______X..X___________X.X______X.X______________X.X___________XX___X.X___________________X.X___XX_____X..X..XXX____X...X__________X.X______X.X________XX____X.X____XX___________X.X_________________X.X___________X..X..X..XX__X....X_________X.X______X.X_______X.X____X.X____X.X___________X.X_______________X.X____________X..X..X..X.X_X.....X________X.X______X.X______X..X____X.X____X..X___________X.X_____________X.X_________XXX_X..X..X..X..XX......X_______X.X______X.X_____X...XXXXXX.XXXXXX...X___________X.X___XX_XX___X.X__________X..XX........X..XX.......X______X.X______X.X____X.....................X___________X.X_X.X_X.X_X.X___________X...X...........XX........X_____X.X______X.X_____X...XXXXXX.XXXXXX...X_____________X.X..X_X..X.X_____________X..............XX.........X__XXX.XXX____X.X______X..X____X.X____X..X_______________X...X_X...X_______________X.............XX..........X_X.....X____X.X_______X.X____X.X____X.X_______________X....X_X....X______________X.............XX......XXXXX_XXXXXXX____X.X________XX____X.X____XX_______________X.....X_X.....X______________X............XX...X..X________________X.X______________X.X_____________________XXXXXXX_XXXXXXX______________X...........X_X..X_X..X____________XXXX.XXXX________XXXX.XXXX________________________________________________X..........X_X.X__X..X____________X.......X________X.......X____________XX___________XX_____________________X..........X_XX____X..X____________X.....X__________X.....X____________X.X___________X.X_____________________X........X________X..X_____________X...X____________X...X____________X..X___________X..X____________________X........X_________XX_______________X.X______________X.X____________X...XXXXXXXXXXXXX...X___________________XXXXXXXXXX___________________________X________________X____________X.....................X______________________________________________________________________________________X...XXXXXXXXXXXXX...X________________________________________________________________________________________X..X___________X..X__________________________________________________________________________________________X.X___________X.X____________________________________________________________________________________________XX___________XX_____
cmp r14b, r15b
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jmp 0x1406eae39
jne 0x1406eae51
mov dword [rsp + 0x24], 0xff
jmp 0x1406eae4c
jmp 0x1406eae61
mov dword [rsp + 0x24], 0
rol ch, 0x91
rcr ah, 0x1a
shl ah, cl
movsxd rax, dword [rsp + 0x20]
rcl ch, cl
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x18]
test eax, 0xd78e71a5
and dl, r11b
shr dl, cl
mov dl, byte [rsp + 0x24]
mov byte [rcx + rax], dl
shld ecx, ebx, 0x95
shr cl, 0x9f
mov ah, al
movsxd rax, dword [rsp + 8]
ror ecx, cl
lea rcx, str...___________XXXXXXX_____X________________X____________XXXXXXX_____________________XXXXXXX______XX__________..___________X.....X____X.X______________X.X___________X.....X_____________________X.....X_____X..X______________________XXX.XXX___X...X____________X...X__________X....X_______________________X....X_____X..X_________X______________X.X____X.....X__________X.....X_________X...X_________________________X...X_____X..X_________XX_____________X.X___X.......X________X.......X________X..X.X_______________________X.X..X_____X..X_________X.X____________X.X___XXXX.XXXX________XXXX.XXXX________X.X_X.X_____________________X.X_X.X_____X..XXX_______X..X___________X.X______X.X______________X.X___________XX___X.X___________________X.X___XX_____X..X..XXX____X...X__________X.X______X.X________XX____X.X____XX___________X.X_________________X.X___________X..X..X..XX__X....X_________X.X______X.X_______X.X____X.X____X.X___________X.X_______________X.X____________X..X..X..X.X_X.....X________X.X______X.X______X..X____X.X____X..X___________X.X_____________X.X_________XXX_X..X..X..X..XX......X_______X.X______X.X_____X...XXXXXX.XXXXXX...X___________X.X___XX_XX___X.X__________X..XX........X..XX.......X______X.X______X.X____X.....................X___________X.X_X.X_X.X_X.X___________X...X...........XX........X_____X.X______X.X_____X...XXXXXX.XXXXXX...X_____________X.X..X_X..X.X_____________X..............XX.........X__XXX.XXX____X.X______X..X____X.X____X..X_______________X...X_X...X_______________X.............XX..........X_X.....X____X.X_______X.X____X.X____X.X_______________X....X_X....X______________X.............XX......XXXXX_XXXXXXX____X.X________XX____X.X____XX_______________X.....X_X.....X______________X............XX...X..X________________X.X______________X.X_____________________XXXXXXX_XXXXXXX______________X...........X_X..X_X..X____________XXXX.XXXX________XXXX.XXXX________________________________________________X..........X_X.X__X..X____________X.......X________X.......X____________XX___________XX_____________________X..........X_XX____X..X____________X.....X__________X.....X____________X.X___________X.X_____________________X........X________X..X_____________X...X____________X...X____________X..X___________X..X____________________X........X_________XX_______________X.X______________X.X____________X...XXXXXXXXXXXXX...X___________________XXXXXXXXXX___________________________X________________X____________X.....................X______________________________________________________________________________________X...XXXXXXXXXXXXX...X________________________________________________________________________________________X..X___________X..X__________________________________________________________________________________________X.X___________X.X____________________________________________________________________________________________XX___________XX_____
movsx eax, byte [rcx + rax]
cmp r9w, r9w
cmp eax, 0x58
jmp 0x1406eaea9
jne 0x1406eaec1
mov dword [rsp + 0x28], 0xff
jmp 0x1406eaebc
jmp 0x1406eaecc
mov dword [rsp + 0x28], 0
setp al
movsxd rax, dword [rsp + 0x2c]
movzx rcx, r8w
mov rcx, qword [rsp + 0x60]
mov dl, 0x93
setge dl
mov rcx, qword [rcx + 0x18]
jmp 0x1406eaee8
mov dl, byte [rsp + 0x28]
jmp 0x1406eaef1
mov byte [rcx + rax], dl
jmp 0x1406eaef9
jmp 0x1406ead7f
jmp 0x1406ead55
jmp 0x1406eb01a
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 4]
and ecx, ecx
or cx, r13w
mov rcx, qword [rsp + 0x18]
clc
test esp, 0x8f8fdd80
cmp r13, 0xffffffffd5369d38
movzx ecx, word [rcx + 6]
imul ecx, dword [rsp + 0xc]
jmp 0x1406eaf3c
add eax, ecx
movzx ecx, di
xadd ch, ch
sar cx, cl
mov dword [rsp + 0x10], eax
movzx rax, sp
mov eax, dword [rsp + 0x10]
bt ecx, r14d
cmc
sub cx, r12w
mov ecx, dword [rsp + 0xc]
cmc
cmp r8w, 0x900d
stc
lea eax, [rax + rcx + 1]
cdqe
movzx rcx, bp
jmp 0x1406eaf79
mov rcx, qword [rsp + 0x60]
jmp 0x1406eaf83
mov rcx, qword [rcx + 0x18]
mov byte [rcx + rax], 0xff
xor al, 0xae
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp + 0x10]
test r15w, si
stc
add ecx, eax
cdqe
movzx eax, r10w
movsx ax, bpl
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x60]
jmp 0x1406eafb5
mov rcx, qword [rcx + 0x18]
jmp 0x1406eafbe
mov byte [rcx + rax], 0xff
mov eax, dword [rsp + 0x10]
movzx rcx, r9w
inc eax
movsx rcx, r8w
sets cl
cdqe
bswap rcx
cmovs cx, si
movsxd rcx, ebx
mov rcx, qword [rsp + 0x60]
jmp 0x1406eafe9
mov rcx, qword [rcx + 0x18]
jmp 0x1406eaff2
mov byte [rcx + rax], 0xff
movsxd rax, dword [rsp + 0x10]
bswap rcx
mov rcx, qword [rsp + 0x60]
jmp 0x1406eb008
mov rcx, qword [rcx + 0x18]
jmp 0x1406eb011
mov byte [rcx + rax], 0xff
cbw
setns al
mov rax, qword [rsp + 0x18]
jmp 0x1406eb024
movzx eax, word [rax + 6]
cvtsi2ss xmm0, eax
addss xmm0, dword [0x1400c0960]
movzx ax, bl
cwde
mov rax, qword [rsp + 0x60]
jmp 0x1406eb043
mulss xmm0, dword [rax + 0x34]
movss dword [rsp + 0x38], xmm0
not ax
movsx eax, bp
mov rax, qword [rsp + 0x18]
jmp 0x1406eb05e
movzx eax, word [rax + 4]
cvtsi2ss xmm0, eax
addss xmm0, dword [0x1400c0960]
movsx rax, r10w
bswap ax
mov rax, qword [rsp + 0x60]
mulss xmm0, dword [rax + 0x30]
movss dword [rsp + 0x30], xmm0
sar ax, cl
shl cx, cl
sub rcx, 0xffffffff99b05f21
movss xmm0, dword [rsp + 0x30]
shr ch, cl
movsx rcx, bp
movss dword [rsp + 0x40], xmm0
bt rax, 0xa0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x44], xmm0
bt cx, dx
ror ah, cl
mov rax, qword [rsp + 0x40]
adc cl, r15b
xchg cx, cx
mov rcx, qword [rsp + 0x60]
clc
stc
test r8w, r12w
mov qword [rcx + 0x38], rax
test al, r14b
add rsp, 0x58
jmp 0x1406eb0e1
ret