Function at 0x1400b2570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5d0
mov rax, qword [rsp + 0x5e8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x5f0]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x28], rax
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [0x140208050]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [0x140208040]
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x90], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rax, qword [rsp + 0x5e8]
add rax, 0x38
cmp rax, qword [rsp + 0x28]
ja 0x1400b3398
mov rax, qword [rsp + 0x5e8]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0xa0], xmm0
xor eax, eax
test eax, eax
je 0x1400b26a3
movdqa xmm0, xmmword [0x140207f80]
movdqa xmmword [rsp + 0xd0], xmm0
movdqa xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
pshufb xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmm0, xmmword [0x140208090]
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
ptest xmm0, xmmword [rsp + 0xf0]
mov eax, 1
mov ecx, 0
cmove ecx, eax
test ecx, ecx
je 0x1400b2881
mov rax, qword [rsp + 0x5e8]
add rax, 0x10
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x120], xmm0
movdqa xmm0, xmmword [rsp + 0x120]
movdqa xmmword [rsp + 0x110], xmm0
xor eax, eax
test eax, eax
je 0x1400b2770
movdqa xmm0, xmmword [0x140207f80]
movdqa xmmword [rsp + 0x140], xmm0
movdqa xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x130], xmm0
movdqa xmm0, xmmword [rsp + 0x110]
pshufb xmm0, xmmword [rsp + 0x130]
movdqa xmmword [rsp + 0x150], xmm0
movdqa xmm0, xmmword [rsp + 0x150]
movdqa xmmword [rsp + 0x110], xmm0
movdqa xmm0, xmmword [rsp + 0x110]
ptest xmm0, xmmword [rsp + 0xf0]
mov eax, 1
mov ecx, 0
cmove ecx, eax
test ecx, ecx
jne 0x1400b2812
movdqa xmm0, xmmword [rsp + 0xa0]
packuswb xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x170], xmm0
movdqa xmm0, xmmword [rsp + 0x170]
movdqa xmmword [rsp + 0x160], xmm0
mov rax, qword [rsp + 0x5f8]
movdqa xmm0, xmmword [rsp + 0x160]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x5e8]
add rax, 0x10
mov qword [rsp + 0x5e8], rax
mov rax, qword [rsp + 0x5f8]
add rax, 8
mov qword [rsp + 0x5f8], rax
movdqa xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0xa0], xmm0
jmp 0x1400b2881
movdqa xmm0, xmmword [rsp + 0xa0]
packuswb xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0x190], xmm0
movdqa xmm0, xmmword [rsp + 0x190]
movdqa xmmword [rsp + 0x180], xmm0
mov rax, qword [rsp + 0x5f8]
movdqa xmm0, xmmword [rsp + 0x180]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x5e8]
add rax, 0x20
mov qword [rsp + 0x5e8], rax
mov rax, qword [rsp + 0x5f8]
add rax, 0x10
mov qword [rsp + 0x5f8], rax
jmp 0x1400b260e
movdqa xmm0, xmmword [rsp + 0xa0]
pand xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmm0, xmmword [rsp + 0x1b0]
pcmpeqw xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x1c0], xmm0
movdqa xmm0, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0x1a0], xmm0
movdqa xmm0, xmmword [rsp + 0x1a0]
pmovmskb eax, xmm0
mov word [rsp + 0x1d0], ax
movdqa xmm0, xmmword [rsp + 0xa0]
pand xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x1f0], xmm0
movdqa xmm0, xmmword [rsp + 0x1f0]
pcmpeqw xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x200], xmm0
movdqa xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0x1e0], xmm0
movdqa xmm0, xmmword [rsp + 0x1e0]
pmovmskb eax, xmm0
mov word [rsp + 0x210], ax
movzx eax, word [rsp + 0x210]
cmp eax, 0xffff
jne 0x1400b29a4
movdqa xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x5b0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x5a0], xmm0
movzx r9d, word [rsp + 0x1d0]
lea r8, [rsp + 0x5b0]
lea rdx, [rsp + 0x5f8]
lea rcx, [rsp + 0x5a0]
call fcn.140087fb0
mov rax, qword [rsp + 0x5e8]
add rax, 0x10
mov qword [rsp + 0x5e8], rax
jmp 0x1400b260e
movdqa xmm0, xmmword [rsp + 0xa0]
pand xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x230], xmm0
movdqa xmm0, xmmword [rsp + 0x230]
pcmpeqw xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x240], xmm0
movdqa xmm0, xmmword [rsp + 0x240]
movdqa xmmword [rsp + 0x220], xmm0
movdqa xmm0, xmmword [rsp + 0x220]
pmovmskb eax, xmm0
mov word [rsp + 0x250], ax
movzx eax, word [rsp + 0x250]
test eax, eax
jne 0x1400b2f64
movdqa xmm0, xmmword [0x140207f70]
movdqa xmmword [rsp + 0x270], xmm0
movdqa xmm0, xmmword [rsp + 0x270]
movdqa xmmword [rsp + 0x260], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
pshufb xmm0, xmmword [rsp + 0x260]
movdqa xmmword [rsp + 0x290], xmm0
movdqa xmm0, xmmword [rsp + 0x290]
movdqa xmmword [rsp + 0x280], xmm0
movdqa xmm0, xmmword [0x140207fb0]
movdqa xmmword [rsp + 0x2b0], xmm0
movdqa xmm0, xmmword [rsp + 0x280]
pand xmm0, xmmword [rsp + 0x2b0]
movdqa xmmword [rsp + 0x2c0], xmm0
movdqa xmm0, xmmword [rsp + 0x2c0]
movdqa xmmword [rsp + 0x2a0], xmm0
movdqa xmm0, xmmword [0x140207fe0]
movdqa xmmword [rsp + 0x2e0], xmm0
movdqa xmm0, xmmword [rsp + 0x2a0]
por xmm0, xmmword [rsp + 0x2e0]
movdqa xmmword [rsp + 0x2f0], xmm0
movdqa xmm0, xmmword [rsp + 0x2f0]
movdqa xmmword [rsp + 0x2d0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
psrlw xmm0, 4
movdqa xmmword [rsp + 0x310], xmm0
movdqa xmm0, xmmword [rsp + 0x310]
movdqa xmmword [rsp + 0x300], xmm0
movdqa xmm0, xmmword [0x140207f90]
movdqa xmmword [rsp + 0x330], xmm0
movdqa xmm0, xmmword [rsp + 0x300]
pand xmm0, xmmword [rsp + 0x330]
movdqa xmmword [rsp + 0x340], xmm0
movdqa xmm0, xmmword [rsp + 0x340]
movdqa xmmword [rsp + 0x320], xmm0
movdqa xmm0, xmmword [0x140207f50]
movdqa xmmword [rsp + 0x360], xmm0
movdqa xmm0, xmmword [rsp + 0x320]
pmaddubsw xmm0, xmmword [rsp + 0x360]
movdqa xmmword [rsp + 0x370], xmm0
movdqa xmm0, xmmword [rsp + 0x370]
movdqa xmmword [rsp + 0x350], xmm0
movdqa xmm0, xmmword [0x140208030]
movdqa xmmword [rsp + 0x390], xmm0
movdqa xmm0, xmmword [rsp + 0x350]
por xmm0, xmmword [rsp + 0x390]
movdqa xmmword [rsp + 0x3a0], xmm0
movdqa xmm0, xmmword [rsp + 0x3a0]
movdqa xmmword [rsp + 0x380], xmm0
movdqa xmm0, xmmword [0x140207fc0]
movdqa xmmword [rsp + 0x3c0], xmm0
movdqa xmm0, xmmword [rsp + 0x1e0]
pandn xmm0, xmmword [rsp + 0x3c0]
movdqa xmmword [rsp + 0x3d0], xmm0
movdqa xmm0, xmmword [rsp + 0x3d0]
movdqa xmmword [rsp + 0x3b0], xmm0
movdqa xmm0, xmmword [rsp + 0x380]
pxor xmm0, xmmword [rsp + 0x3b0]
movdqa xmmword [rsp + 0x3f0], xmm0
movdqa xmm0, xmmword [rsp + 0x3f0]
movdqa xmmword [rsp + 0x3e0], xmm0
movdqa xmm0, xmmword [rsp + 0x2d0]
punpcklwd xmm0, xmmword [rsp + 0x3e0]
movdqa xmmword [rsp + 0x410], xmm0
movdqa xmm0, xmmword [rsp + 0x410]
movdqa xmmword [rsp + 0x400], xmm0
movdqa xmm0, xmmword [rsp + 0x2d0]
punpckhwd xmm0, xmmword [rsp + 0x3e0]
movdqa xmmword [rsp + 0x430], xmm0
movdqa xmm0, xmmword [rsp + 0x430]
movdqa xmmword [rsp + 0x420], xmm0
movzx eax, word [rsp + 0x1d0]
and eax, 0x5555
movzx ecx, word [rsp + 0x210]
and ecx, 0xaaaa
or eax, ecx
mov word [rsp + 0x440], ax
movzx eax, word [rsp + 0x440]
test eax, eax
jne 0x1400b2da0
movdqa xmm0, xmmword [0x140208100]
movdqa xmmword [rsp + 0x460], xmm0
movdqa xmm0, xmmword [rsp + 0x460]
movdqa xmmword [rsp + 0x450], xmm0
movdqa xmm0, xmmword [rsp + 0x400]
pshufb xmm0, xmmword [rsp + 0x450]
movdqa xmmword [rsp + 0x480], xmm0
movdqa xmm0, xmmword [rsp + 0x480]
movdqa xmmword [rsp + 0x470], xmm0
movdqa xmm0, xmmword [rsp + 0x420]
pshufb xmm0, xmmword [rsp + 0x450]
movdqa xmmword [rsp + 0x4a0], xmm0
movdqa xmm0, xmmword [rsp + 0x4a0]
movdqa xmmword [rsp + 0x490], xmm0
mov rax, qword [rsp + 0x5f8]
movdqa xmm0, xmmword [rsp + 0x470]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x5f8]
add rax, 0xc
mov qword [rsp + 0x5f8], rax
mov rax, qword [rsp + 0x5f8]
movdqa xmm0, xmmword [rsp + 0x490]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x5f8]
add rax, 0xc
mov qword [rsp + 0x5f8], rax
mov rax, qword [rsp + 0x5e8]
add rax, 0x10
mov qword [rsp + 0x5e8], rax
jmp 0x1400b260e
movzx eax, byte [rsp + 0x440]
mov byte [rsp + 0x4b0], al
movzx eax, byte [rsp + 0x4b0]
imul rax, rax, 0x11
lea rcx, [0x1401fb6b0]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
add rax, rcx
mov qword [rsp + 0x4b8], rax
mov rax, qword [rsp + 0x4b8]
inc rax
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x4d0], xmm0
movdqa xmm0, xmmword [rsp + 0x4d0]
movdqa xmmword [rsp + 0x4c0], xmm0
movdqa xmm0, xmmword [rsp + 0x400]
pshufb xmm0, xmmword [rsp + 0x4c0]
movdqa xmmword [rsp + 0x4f0], xmm0
movdqa xmm0, xmmword [rsp + 0x4f0]
movdqa xmmword [rsp + 0x4e0], xmm0
movzx eax, word [rsp + 0x440]
sar eax, 8
mov byte [rsp + 0x500], al
movzx eax, byte [rsp + 0x500]
imul rax, rax, 0x11
lea rcx, [0x1401fb6b0]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
add rax, rcx
mov qword [rsp + 0x508], rax
mov rax, qword [rsp + 0x508]
inc rax
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x520], xmm0
movdqa xmm0, xmmword [rsp + 0x520]
movdqa xmmword [rsp + 0x510], xmm0
movdqa xmm0, xmmword [rsp + 0x420]
pshufb xmm0, xmmword [rsp + 0x510]
movdqa xmmword [rsp + 0x540], xmm0
movdqa xmm0, xmmword [rsp + 0x540]
movdqa xmmword [rsp + 0x530], xmm0
mov rax, qword [rsp + 0x5f8]
movdqa xmm0, xmmword [rsp + 0x4e0]
movdqu xmmword [rax], xmm0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x4b8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x5f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5f8], rax
mov rax, qword [rsp + 0x5f8]
movdqa xmm0, xmmword [rsp + 0x530]
movdqu xmmword [rax], xmm0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x508]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x5f8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x5f8], rax
mov rax, qword [rsp + 0x5e8]
add rax, 0x10
mov qword [rsp + 0x5e8], rax
jmp 0x1400b3393
mov qword [rsp + 0x550], 0xf
mov qword [rsp + 0x558], 0
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov rcx, qword [rsp + 0x550]
inc rcx
cmp rax, rcx
jae 0x1400b2fc3
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
sar rax, 1
dec rax
mov qword [rsp + 0x550], rax
jmp 0x1400b2fd8
mov rax, qword [rsp + 0x558]
inc rax
mov qword [rsp + 0x558], rax
mov rax, qword [rsp + 0x550]
cmp qword [rsp + 0x558], rax
jae 0x1400b3377
xor eax, eax
test eax, eax
je 0x1400b3019
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
movzx ecx, word [rax + rcx*2]
call fcn.14007a690
movzx eax, ax
mov dword [rsp + 0x5c0], eax
jmp 0x1400b3034
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x5c0], eax
movzx eax, word [rsp + 0x5c0]
mov word [rsp + 0x560], ax
movzx eax, word [rsp + 0x560]
and eax, 0xff80
test eax, eax
jne 0x1400b307f
mov rax, qword [rsp + 0x5f8]
movzx ecx, byte [rsp + 0x560]
mov byte [rax], cl
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
jmp 0x1400b3372
movzx eax, word [rsp + 0x560]
and eax, 0xf800
test eax, eax
jne 0x1400b30ee
movzx eax, word [rsp + 0x560]
sar eax, 6
or eax, 0xc0
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
movzx eax, word [rsp + 0x560]
and eax, 0x3f
bts eax, 7
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
jmp 0x1400b3372
movzx eax, word [rsp + 0x560]
and eax, 0xf800
cmp eax, 0xd800
je 0x1400b3193
movzx eax, word [rsp + 0x560]
sar eax, 0xc
or eax, 0xe0
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
movzx eax, word [rsp + 0x560]
sar eax, 6
and eax, 0x3f
bts eax, 7
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
movzx eax, word [rsp + 0x560]
and eax, 0x3f
bts eax, 7
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
jmp 0x1400b3372
movzx eax, word [rsp + 0x560]
sub eax, 0xd800
mov word [rsp + 0x564], ax
xor eax, eax
test eax, eax
je 0x1400b31d4
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
movzx ecx, word [rax + rcx*2 + 2]
call fcn.14007a690
movzx eax, ax
mov dword [rsp + 0x5c4], eax
jmp 0x1400b31f0
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
movzx eax, word [rax + rcx*2 + 2]
mov dword [rsp + 0x5c4], eax
movzx eax, word [rsp + 0x5c4]
mov word [rsp + 0x568], ax
mov rax, qword [rsp + 0x558]
inc rax
mov qword [rsp + 0x558], rax
movzx eax, word [rsp + 0x568]
sub eax, 0xdc00
mov word [rsp + 0x56c], ax
movzx eax, word [rsp + 0x564]
movzx ecx, word [rsp + 0x56c]
or eax, ecx
cmp eax, 0x3ff
jle 0x1400b329e
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x5e8]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov rcx, qword [rsp + 0x558]
lea rax, [rax + rcx - 1]
mov r8, rax
mov edx, 6
lea rcx, [rsp + 0x578]
call fcn.1400b9450
lea r8, [rsp + 0x5f8]
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.1400ace10
mov rax, qword [rsp + 0x5e0]
jmp 0x1400b33e0
movzx eax, word [rsp + 0x564]
shl eax, 0xa
movzx ecx, word [rsp + 0x56c]
lea eax, [rax + rcx + 0x10000]
mov dword [rsp + 0x570], eax
mov eax, dword [rsp + 0x570]
shr eax, 0x12
or eax, 0xf0
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
mov eax, dword [rsp + 0x570]
shr eax, 0xc
and eax, 0x3f
bts eax, 7
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
mov eax, dword [rsp + 0x570]
shr eax, 6
and eax, 0x3f
bts eax, 7
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
mov eax, dword [rsp + 0x570]
and eax, 0x3f
bts eax, 7
mov rcx, qword [rsp + 0x5f8]
mov byte [rcx], al
mov rax, qword [rsp + 0x5f8]
inc rax
mov qword [rsp + 0x5f8], rax
jmp 0x1400b2fc5
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x5e8], rax
jmp 0x1400b260e
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x5e8]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x588]
call fcn.1400b9450
lea r8, [rsp + 0x5f8]
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.1400ace10
mov rax, qword [rsp + 0x5e0]
add rsp, 0x5d0
pop rdi
ret