Function at 0x1400b1280
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 [0x140206cb0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [0x140206ca0]
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 0x1400b20ac
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
cmp eax, 1
je 0x1400b13b4
movdqa xmm0, xmmword [0x140206be0]
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 [0x140206cf0]
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 0x1400b1593
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
cmp eax, 1
je 0x1400b1482
movdqa xmm0, xmmword [0x140206be0]
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 0x1400b1524
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 0x1400b1593
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 0x1400b131e
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 0x1400b16b6
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.140087b40
mov rax, qword [rsp + 0x5e8]
add rax, 0x10
mov qword [rsp + 0x5e8], rax
jmp 0x1400b131e
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 0x1400b1c76
movdqa xmm0, xmmword [0x140206bd0]
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 [0x140206c10]
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 [0x140206c40]
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 [0x140206bf0]
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 [0x140206bb0]
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 [0x140206c90]
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 [0x140206c20]
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 0x1400b1ab2
movdqa xmm0, xmmword [0x140206d60]
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 0x1400b131e
movzx eax, byte [rsp + 0x440]
mov byte [rsp + 0x4b0], al
movzx eax, byte [rsp + 0x4b0]
imul rax, rax, 0x11
lea rcx, [0x1401fa310]
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, [0x1401fa310]
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 0x1400b20a7
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 0x1400b1cd5
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 0x1400b1cea
mov rax, qword [rsp + 0x558]
inc rax
mov qword [rsp + 0x558], rax
mov rax, qword [rsp + 0x550]
cmp qword [rsp + 0x558], rax
jae 0x1400b208b
xor eax, eax
cmp eax, 1
je 0x1400b1d2c
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
movzx ecx, word [rax + rcx*2]
call fcn.14007a220
movzx eax, ax
mov dword [rsp + 0x5c0], eax
jmp 0x1400b1d47
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 0x1400b1d92
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 0x1400b2086
movzx eax, word [rsp + 0x560]
and eax, 0xf800
test eax, eax
jne 0x1400b1e01
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 0x1400b2086
movzx eax, word [rsp + 0x560]
and eax, 0xf800
cmp eax, 0xd800
je 0x1400b1ea6
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 0x1400b2086
movzx eax, word [rsp + 0x560]
sub eax, 0xd800
mov word [rsp + 0x564], ax
xor eax, eax
cmp eax, 1
je 0x1400b1ee8
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
movzx ecx, word [rax + rcx*2 + 2]
call fcn.14007a220
movzx eax, ax
mov dword [rsp + 0x5c4], eax
jmp 0x1400b1f04
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 0x1400b1fb2
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.1400b8fe0
lea r8, [rsp + 0x5f8]
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.1400ac9a0
mov rax, qword [rsp + 0x5e0]
jmp 0x1400b20f4
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 0x1400b1cd7
mov rax, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x558]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x5e8], rax
jmp 0x1400b131e
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.1400b8fe0
lea r8, [rsp + 0x5f8]
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.1400ac9a0
mov rax, qword [rsp + 0x5e0]
add rsp, 0x5d0
pop rdi
ret