Function at 0x140001262
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140112440
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov eax, dword [rsp + 0x288]
mov ecx, reloc.msi.dll_MsiEnumClientsA
div ecx
mov dword [rsp + 0x24], eax
xor edx, edx
mov eax, dword [rsp + 0x288]
mov ecx, reloc.msi.dll_MsiEnumClientsA
div ecx
mov eax, edx
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x80], 1
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
mov eax, reloc.msi.dll_MsiEnumClientsA
sub eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, 1
mov qword [rsp + 0x78], rcx
movzx ecx, al
mov rax, qword [rsp + 0x78]
shl rax, cl
dec rax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
not eax
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x280]
mov ecx, dword [rcx + rax*4 + 4]
call fcn.140004039
mov ecx, reloc.msi.dll_MsiEnumClientsA
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x38], eax
jbe 0x14011250c
mov byte [rsp + 0x20], 1
jmp 0x140112511
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
add eax, dword [rsp + 0x24]
cmp eax, 0x73
jbe 0x140112534
mov byte [rsp + 0x21], 1
jmp 0x140112539
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
add eax, dword [rsp + 0x24]
cmp eax, 0x73
jne 0x140112565
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140112565
mov byte [rsp + 0x22], 1
jmp 0x14011256a
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x140112585
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x1401125a9
lea rcx, [rsp + 0x90]
call fcn.140003ec7
mov rdx, rax
mov rcx, qword [rsp + 0x280]
call fcn.140004665
xor al, al
jmp 0x140112751
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
add eax, dword [rsp + 0x24]
cmp eax, 0x72
jae 0x1401125d0
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], eax
jmp 0x1401125d8
mov dword [rsp + 0x3c], MsiRecordIsNull
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x2c], eax
jmp 0x1401125f4
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1401126f0
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x2c], eax
jb 0x1401126f0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
dec eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
cmp dword [rsp + 0x40], eax
jae 0x140112655
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x280]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x44], eax
jmp 0x14011265d
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x280]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jae 0x14011268b
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x280]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x4c], eax
jmp 0x140112693
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x60]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x54]
shl eax, cl
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x58]
shr eax, cl
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x70]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x280]
mov edx, dword [rsp + 0x74]
mov dword [rcx + rax*4 + 4], edx
jmp 0x1401125ea
mov dword [rsp + 0x30], 0
jmp 0x140112704
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x30], eax
je 0x140112724
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
mov dword [rcx + rax*4 + 4], 0
jmp 0x1401126fa
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140112739
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x5c], eax
jmp 0x140112741
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x280]
mov ecx, dword [rsp + 0x5c]
mov dword [rax], ecx
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x278
ret