Function at 0x10011370
Capabilities:
Create process on windows
Delete file
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x434]
sub esp, 0x434
push 0xffffffffffffffff
push 0x10039635
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10059024]
xor eax, ebp
mov dword [ebp + 0x430], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov ebx, ecx
mov eax, dword [ebp + 0x43c]
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xbc]
push 0x44
push eax
call fcn.1000f2a0
push 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0xbc], 0x44
push 0x44
push eax
call fcn.1000f2a0
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x78], 0x44
push 0x10
push eax
call fcn.1000f2a0
add esp, 0x20
lea ecx, [ebp + 0x18]
mov edx, 0x1004b480
push 0
call fcn.10003f50
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x18]
call fcn.10007dd0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x10011429
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 3
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10002db0
cmp esi, 0xffffffff
je 0x10011494
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x4c], 0x100
call esi
mov edi, eax
call esi
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
push 0
push 1
push 2
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], edi
jmp 0x10011497
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x18]
push 0
push 0x8000020
push 1
push 0
push 0
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100114ee
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x18]
call fcn.10007dd0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x100114d6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10002db0
jmp 0x10011642
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x18]
lea eax, [ebp]
push eax
call fcn.10007dd0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x1001152d
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10002db0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x3ff
lea eax, [ebp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100115eb
nop dword [eax + eax]
cmp eax, 0x400
jae 0x10011679
mov byte [ebp + eax + 0x30], 0
test ebx, ebx
je 0x100115ce
push 2
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
lea eax, [ebp + 0x30]
push eax
push 0
push esi
call dword [sym.imp.msi.dll_MsiReinstallFeatureFromDescriptorW]
push esi
push 0x4000000
push ebx
call dword [sym.imp.msi.dll_MsiProvideComponentW]
mov byte [ebp - 4], 0
test esi, esi
je 0x100115ce
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x3ff
lea eax, [ebp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10011580
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x18]
call fcn.10007dd0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x1001160a
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10002db0
push 0
call esi
cmp dword [ebp - 0x14], 0
je 0x10011642
cmp dword [ebp - 0x20], 0
jne 0x10011642
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.10002db0
xor eax, eax
jmp 0x10011656
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.10002db0
mov eax, 0x643
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x430]
xor ecx, ebp
call fcn.10024a34
lea esp, [ebp + 0x434]
pop ebp
ret
call fcn.100250b6
int3