Function at 0x1406dc4a3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
bt ax, dx
test bl, bl
mov rax, qword [rsp + 0x60]
add rax, 0x50
btr ecx, r13d
sbb cl, bpl
xadd ecx, ecx
mov qword [rsp + 0x48], rax
xadd ax, cx
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movsxd rax, dword [rcx + rax + 0x70]
imul rax, rax, 0x20
not rcx
mov rcx, qword [rsp + 0x48]
clc
test cl, 0x8c
add rax, qword [rcx + 8]
clc
mov qword [rsp + 0x18], rax
bt rax, 0x12
mov rax, qword [rsp + 0x60]
stc
cmc
test r15d, edx
mov eax, dword [rax + 0x28]
test r14b, 0x9e
mov dword [rsp + 0xc], eax
ror ah, cl
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 4]
test r15, 0xa3e540b
stc
test sp, r15w
and eax, 2
test r8b, 0x39
test eax, eax
jmp 0x1406dc539
jne 0x1406dc6ff
mov dword [rsp + 4], 0
jmp 0x1406dc54c
mov dword [rsp + 8], 0
jmp 0x1406dc559
jmp 0x1406dc570
mov eax, dword [rsp + 4]
jmp 0x1406dc567
inc eax
cmp r12b, bpl
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 0x1b
jmp 0x1406dc57a
jge 0x1406dc6fa
mov dword [rsp], 0
jmp 0x1406dc58c
jmp 0x1406dc5c5
mov eax, dword [rsp]
inc eax
jmp 0x1406dc59b
mov dword [rsp], eax
lahf
xchg al, al
cmovbe eax, r10d
mov eax, dword [rsp + 8]
jmp 0x1406dc5ae
inc eax
cmp r10w, 0xeab1
stc
mov dword [rsp + 8], eax
test rcx, 0x4d866fad
test di, bx
cmp dword [rsp], 0x6c
jge 0x1406dc6f5
mov rax, qword [rsp + 0x18]
dec ecx
rol ecx, cl
shr ecx, cl
movzx eax, word [rax + 4]
add eax, dword [rsp]
mov rcx, qword [rsp + 0x18]
stc
movzx ecx, word [rcx + 6]
add ecx, dword [rsp + 4]
clc
test bh, 0xae
imul ecx, dword [rsp + 0xc]
test edx, 0x5fbc038c
add eax, ecx
bsf rcx, r13
rol cl, 0xaa
mov dword [rsp + 0x20], eax
sbb ax, r10w
clc
movzx rcx, dx
mov eax, dword [rsp + 0x20]
add eax, 0x6d
btc cx, 0x87
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 8]
mov cx, si
bsr rcx, rdx
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 rdx, r9
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jmp 0x1406dc646
jne 0x1406dc65e
mov dword [rsp + 0x24], 0xff
jmp 0x1406dc659
jmp 0x1406dc669
mov dword [rsp + 0x24], 0
ror cl, 0x8b
movsxd rax, dword [rsp + 0x20]
or dl, 0x37
add dl, 0xa8
sete dl
mov rcx, qword [rsp + 0x60]
inc dl
mov rcx, qword [rcx + 0x18]
mov dl, byte [rsp + 0x24]
cmc
test r13b, sil
cmp r11b, 0xa3
mov byte [rcx + rax], dl
movsxd rax, dword [rsp + 8]
rol ch, 0x2d
ror cl, 0x8d
adc cl, 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_____
clc
test dil, cl
movsx eax, byte [rcx + rax]
stc
clc
cmp eax, 0x58
jne 0x1406dc6c6
mov dword [rsp + 0x28], 0xff
jmp 0x1406dc6d6
mov dword [rsp + 0x28], 0
cbw
xchg cx, ax
movzx rax, r12w
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x18]
mov dl, byte [rsp + 0x28]
jmp 0x1406dc6ed
mov byte [rcx + rax], dl
jmp 0x1406dc591
jmp 0x1406dc55e
jmp 0x1406dc809
mov rax, qword [rsp + 0x18]
add cx, si
movzx eax, word [rax + 4]
shr ecx, 0xbb
movzx rcx, bp
rcr ecx, cl
mov rcx, qword [rsp + 0x18]
jmp 0x1406dc725
movzx ecx, word [rcx + 6]
test al, r8b
cmc
imul ecx, dword [rsp + 0xc]
test r12b, r9b
add eax, ecx
btr ecx, 0xb2
mov dword [rsp + 0x10], eax
bsr cx, cx
mov eax, dword [rsp + 0x10]
bt ecx, 0x99
xor cl, spl
bts cx, r10w
mov ecx, dword [rsp + 0xc]
test r14b, r10b
lea eax, [rax + rcx + 1]
rcl cx, cl
cdqe
dec cx
add ch, 0x3f
shl cx, cl
mov rcx, qword [rsp + 0x60]
jmp 0x1406dc776
mov rcx, qword [rcx + 0x18]
mov byte [rcx + rax], 0xff
mov eax, dword [rsp + 0xc]
shld ecx, edi, 0xb9
and cx, di
mov ecx, dword [rsp + 0x10]
add ecx, eax
cbw
mov eax, ecx
not cl
movzx ecx, sp
movsxd rcx, r10d
cdqe
mov rcx, qword [rsp + 0x60]
jmp 0x1406dc7a7
mov rcx, qword [rcx + 0x18]
jmp 0x1406dc7b0
mov byte [rcx + rax], 0xff
mov eax, dword [rsp + 0x10]
movzx rcx, r10w
movsx ecx, r13w
inc eax
mov cl, r12b
cdqe
mov ecx, 0xa7a398a4
jmp 0x1406dc7d1
mov rcx, qword [rsp + 0x60]
jmp 0x1406dc7db
mov rcx, qword [rcx + 0x18]
mov byte [rcx + rax], 0xff
movsxd rax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x60]
jmp 0x1406dc7f2
mov rcx, qword [rcx + 0x18]
jmp 0x1406dc7fb
mov byte [rcx + rax], 0xff
movzx ax, r14b
cbw
movsxd rax, r15d
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 6]
jmp 0x1406dc817
cvtsi2ss xmm0, eax
addss xmm0, dword [0x1400a4ea8]
mov rax, qword [rsp + 0x60]
mulss xmm0, dword [rax + 0x34]
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x18]
movzx eax, word [rax + 4]
jmp 0x1406dc841
cvtsi2ss xmm0, eax
addss xmm0, dword [0x1400a4ea8]
mov rax, qword [rsp + 0x60]
jmp 0x1406dc857
mulss xmm0, dword [rax + 0x30]
movss dword [rsp + 0x30], xmm0
shl ecx, cl
rcr ecx, cl
sub cx, dx
movss xmm0, dword [rsp + 0x30]
cmc
movss dword [rsp + 0x40], xmm0
shld ax, ax, 0x82
sar cx, 0xab
movss xmm0, dword [rsp + 0x38]
movsxd rax, edx
shl ah, cl
movss dword [rsp + 0x44], xmm0
neg ax
mov rax, qword [rsp + 0x40]
add ch, 0x91
btr rcx, rbp
sub ch, ch
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x38], rax
jmp 0x1406dc8b0
add rsp, 0x58
jmp 0x1406dc8b9
ret