Function at 0x1406cf902
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
rcl ecx, 0xb7
sub rsp, 0x58
btc rax, 0x93
rol ecx, 0x8b
bsr rax, r9
mov rax, qword [rsp + 0x60]
add rax, 0x50
cmc
mov qword [rsp + 0x48], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
test r13b, sil
cmp bp, 0xdeb9
jmp 0x1406cf944
movsxd rax, dword [rcx + rax + 0x70]
or rcx, 0x61341c2d
cmovg cx, cx
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 8]
cmp r12b, 0x15
cmc
mov qword [rsp + 0x18], rax
ror ax, 0x38
mov rax, qword [rsp + 0x60]
cmc
cmp r11b, 0x15
test sp, 0x8c30
mov eax, dword [rax + 0x28]
cmp dil, 0x27
stc
mov dword [rsp + 0xc], eax
sbb ax, r13w
mov rax, qword [rsp + 0x60]
test ax, dx
mov eax, dword [rax + 4]
cmc
test spl, 0x22
and eax, 2
stc
test r14w, dx
test eax, eax
jmp 0x1406cf9ad
jne 0x1406cfb93
mov dword [rsp + 4], 0
jmp 0x1406cf9c0
mov dword [rsp + 8], 0
jmp 0x1406cf9cd
jmp 0x1406cf9ee
mov eax, dword [rsp + 4]
jmp 0x1406cf9db
inc eax
test r11, 0x688f7734
cmc
jmp 0x1406cf9ea
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x1b
jge 0x1406cfb8e
mov dword [rsp], 0
jmp 0x1406cfa05
jmp 0x1406cfa38
mov eax, dword [rsp]
jmp 0x1406cfa12
inc eax
jmp 0x1406cfa19
mov dword [rsp], eax
mov ah, 4
mov eax, dword [rsp + 8]
jmp 0x1406cfa28
inc eax
test spl, 0x17
jmp 0x1406cfa33
mov dword [rsp + 8], eax
cmc
cmp dword [rsp], 0x6c
jge 0x1406cfb89
mov rax, qword [rsp + 0x18]
xor cl, al
movzx eax, word [rax + 4]
add eax, dword [rsp]
add cx, r9w
btc cx, r10w
adc cx, si
mov rcx, qword [rsp + 0x18]
test r12d, 0x749a0908
movzx ecx, word [rcx + 6]
add ecx, dword [rsp + 4]
jmp 0x1406cfa7c
imul ecx, dword [rsp + 0xc]
cmp r10w, 0xf515
add eax, ecx
add cl, r14b
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
btc cx, bp
btc rcx, 0x3a
add eax, 0x6d
mov dword [rsp + 0x2c], eax
cmc
sal eax, cl
bt ecx, 0x22
movsxd rax, dword [rsp + 8]
stc
or ecx, eax
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_____
test r13b, 0x18
movsx eax, byte [rcx + rax]
test edi, esp
cmp bl, r10b
cmp eax, 0x2e
jmp 0x1406cfacf
jne 0x1406cfae7
mov dword [rsp + 0x24], 0xff
jmp 0x1406cfae2
jmp 0x1406cfaf3
mov dword [rsp + 0x24], 0
bt ax, cx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
rcr dl, 0xbf
clc
mov rcx, qword [rcx + 0x18]
shr dl, cl
dec dl
mov dl, byte [rsp + 0x24]
mov byte [rcx + rax], dl
rcl rax, cl
movsxd rax, dword [rsp + 8]
movzx cx, r11b
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 al, 0x38
stc
test r13b, 0x8a
movsx eax, byte [rcx + rax]
clc
cmp r12b, dl
cmp eax, 0x58
jmp 0x1406cfb3b
jne 0x1406cfb4e
mov dword [rsp + 0x28], 0xff
jmp 0x1406cfb5b
mov dword [rsp + 0x28], 0
cdqe
bswap cx
movsxd rax, dword [rsp + 0x2c]
mov dl, r9b
not dl
mov rcx, qword [rsp + 0x60]
jmp 0x1406cfb6f
mov rcx, qword [rcx + 0x18]
mov dl, byte [rsp + 0x28]
jmp 0x1406cfb7c
mov byte [rcx + rax], dl
jmp 0x1406cfb84
jmp 0x1406cfa0a
jmp 0x1406cf9d2
jmp 0x1406cfcb1
mov rax, qword [rsp + 0x18]
bsf ecx, r14d
sbb cl, 0x8a
movzx eax, word [rax + 4]
ror cl, 0x33
mov rcx, qword [rsp + 0x18]
cmc
clc
movzx ecx, word [rcx + 6]
cmc
stc
test r9, 0x28bf9805
imul ecx, dword [rsp + 0xc]
add eax, ecx
btc ecx, r13d
rcr cx, 0x28
movsx cx, r8b
mov dword [rsp + 0x10], eax
or cx, 0xf1ba
btc rax, r8
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
cmp r8b, 0x8a
stc
lea eax, [rax + rcx + 1]
cdqe
setae cl
or cl, r11b
mov rcx, qword [rsp + 0x60]
clc
cmp esi, 0xc22ee40f
mov rcx, qword [rcx + 0x18]
cmp r15b, 0x39
stc
mov byte [rcx + rax], 0xff
btr rcx, rsp
sbb ax, 0x851d
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp + 0x10]
add ecx, eax
dec eax
movsx rax, r8w
movsxd rax, esi
mov eax, ecx
mov ch, 0x19
movzx ecx, r14w
not rcx
cdqe
movsxd rcx, r10d
jmp 0x1406cfc3e
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x18]
mov byte [rcx + rax], 0xff
movsx rcx, r15w
movsx eax, r9w
mov eax, dword [rsp + 0x10]
movzx cx, dl
bswap cx
inc eax
cmovnp cx, sp
movzx rcx, r9w
cdqe
movsx cx, bpl
mov rcx, qword [rsp + 0x60]
jmp 0x1406cfc79
mov rcx, qword [rcx + 0x18]
jmp 0x1406cfc82
mov byte [rcx + rax], 0xff
movsx eax, r9w
movsxd rax, dword [rsp + 0x10]
movzx cx, spl
cmovns cx, r13w
mov cx, dx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x18]
jmp 0x1406cfcaa
mov byte [rcx + rax], 0xff
movsxd rax, r14d
mov rax, qword [rsp + 0x18]
jmp 0x1406cfcbb
movzx eax, word [rax + 6]
jmp 0x1406cfcc4
cvtsi2ss xmm0, eax
addss xmm0, dword [0x1400a8e78]
movsxd rax, r10d
movzx rax, r9w
movzx eax, dx
mov rax, qword [rsp + 0x60]
mulss xmm0, dword [rax + 0x34]
movss dword [rsp + 0x38], xmm0
setb al
cbw
mov rax, qword [rsp + 0x18]
jmp 0x1406cfcf9
movzx eax, word [rax + 4]
jmp 0x1406cfd02
cvtsi2ss xmm0, eax
addss xmm0, dword [0x1400a8e78]
mov eax, r10d
mov rax, qword [rsp + 0x60]
jmp 0x1406cfd1b
mulss xmm0, dword [rax + 0x30]
movss dword [rsp + 0x30], xmm0
ror ah, cl
adc ah, 0x13
movss xmm0, dword [rsp + 0x30]
setp ah
rol al, 0x3d
bts ecx, ebp
movss dword [rsp + 0x40], xmm0
movzx rax, r14w
adc eax, 0x332ecb9a
movss xmm0, dword [rsp + 0x38]
cmc
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x40]
or ch, ah
mov ecx, edi
mov rcx, qword [rsp + 0x60]
cmc
mov qword [rcx + 0x38], rax
cmp rdx, 0xffffffff9201dc3c
test dil, 0x19
clc
add rsp, 0x58
jmp 0x1406cfd7e
ret