Function at 0x10003f24
Capabilities:
Create process on windows
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e0
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x44
pop esi
lea eax, [ebp - 0xdc]
push esi
push eax
call fcn.10002af1
push ebx
lea eax, [ebp - 0x94]
push esi
push eax
mov dword [ebp - 0xdc], esi
call fcn.10002af1
push ebx
lea eax, [ebp - 0x48]
push 0x10
push eax
mov dword [ebp - 0x94], esi
call fcn.10002af1
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
add esp, 0x24
mov edi, 0x104
push edi
push 0x40
call esi
push edi
push 0x40
mov dword [ebp - 0x20], eax
call esi
push 0x208
push 0x40
mov dword [ebp - 0x2c], eax
call esi
push 0x208
push 0x40
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x10]
mov esi, eax
push edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
test eax, eax
je 0x10004059
push ebx
push 0x1000eda0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x10003fcd
push esi
jmp 0x10004059
push ebx
push 0x80
push 2
push ebx
push 3
push 0x10000000
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
call esi
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10004024
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push 1
push 2
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x68], 0x100
call edi
push eax
push dword [ebp - 8]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0x10]
push ebx
push 0x8000020
push 1
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10004083
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x18]
call fcn.10002adf
push dword [ebp - 0x10]
call fcn.10002adf
push dword [ebp - 0x2c]
call fcn.10002adf
push dword [ebp - 0x20]
call fcn.10002adf
mov eax, 0x643
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 8]
call edi
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x3ff
lea ecx, [ebp - 0x4dc]
push ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], ebx
push eax
jmp 0x10004139
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x4dc], bl
cmp dword [ebp + 8], ebx
je 0x10004125
push 2
call sub.msi.dll_MsiDatabaseExportA
lea ecx, [ebp - 0x4dc]
push ecx
push ebx
push eax
mov dword [ebp - 8], eax
call sub.msi.dll_MsiReinstallFeatureFromDescriptorW
push dword [ebp - 8]
push 0x4000000
push dword [ebp + 8]
call sub.msi.dll_MsiProvideComponentW
cmp dword [ebp - 8], ebx
je 0x10004125
push dword [ebp - 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x3ff
lea eax, [ebp - 0x4dc]
push eax
push dword [ebp - 0x28]
call esi
cmp dword [ebp - 0xc], ebx
jne 0x100040e1
push dword [ebp - 0x28]
call edi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push ebx
call esi
cmp dword [ebp - 0x38], ebx
je 0x10004056
cmp dword [ebp - 0x34], ebx
jne 0x10004056
push dword [ebp - 0x18]
call fcn.10002adf
push dword [ebp - 0x10]
call fcn.10002adf
push dword [ebp - 0x2c]
call fcn.10002adf
push dword [ebp - 0x20]
call fcn.10002adf
add esp, 0x10
xor eax, eax
jmp 0x1000407e