Function at 0x10005ba4
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push 0x310
mov eax, 0x100a1b4c
call fcn.10078d22
mov esi, ecx
mov dword [ebp - 0x21c], esi
lea ecx, [esi + 0x10]
mov byte [esi + 4], 0
call fcn.10009d38
test al, al
je 0x10005bf0
lea eax, [ebp - 0x31c]
push eax
lea ecx, [esi + 0x10]
call fcn.10008f94
lea ecx, [ebp - 0x2f0]
call fcn.100084f5
lea ecx, [ebp - 0x30c]
call fcn.100084f5
lea ecx, [esi + 0xb4]
mov dword [esi + 0x70], 0x44
xor eax, eax
mov dword [ebp - 0x2a4], ecx
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, 0x100a667c
mov ecx, 0x100ccb00
push eax
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.10008dad
and dword [ebp - 4], 0
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10001fb9
add esp, 0xc
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x27c]
xor ecx, ecx
mov dword [ebp - 0x29c], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x24c]
mov eax, dword [eax]
mov ebx, dword [eax]
mov edi, dword [eax + 4]
add eax, 8
push eax
call fcn.10006f10
mov eax, dword [esi + 0x120]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x298], esp
mov byte [ebp - 4], 2
mov esi, dword [eax]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10006f10
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 7
and dword [ecx], 0
and dword [ecx + 0x10], 0
push str.user_id
mov dword [ecx + 0x14], 0xf
call fcn.10008930
push edi
push ebx
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x28]
call fcn.1000b9b9
mov byte [ebp - 4], 4
cmp dword [ebp - 0x250], 0x10
lea edx, [ebp - 0x264]
mov eax, dword [ebp - 0x254]
mov ecx, 0x100ccb00
cmovae edx, dword [ebp - 0x264]
add eax, edx
push eax
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.10008dad
push 0x100a6a18
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.10001f67
add esp, 0xc
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
push dword [ebp - 0x224]
cmovae ecx, dword [ebp - 0x234]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100088b1
push eax
lea ecx, [ebp - 0x2bc]
call fcn.10003775
mov byte [ebp - 0x298], 0
lea eax, [ebp - 0x2bc]
push dword [ebp - 0x298]
lea ecx, [ebp - 0x234]
push eax
call fcn.10007c73
lea ecx, [ebp - 0x2bc]
call fcn.1000851b
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 5
call fcn.1000851b
mov eax, dword [ebp - 0x21c]
lea ebx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae ebx, dword [ebp - 0x234]
sub esp, 0x18
mov eax, dword [eax + 0x12c]
mov ecx, esp
mov edi, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + 0x38]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x234]
push eax
call fcn.10006f72
mov ecx, edi
call esi
mov edi, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x2a4]
push esi
lea eax, [edi + 0x70]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push ebx
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10005ea2
mov byte [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x12c]
sub esp, 0x18
mov dword [ebp - 0x2a0], esp
mov edi, dword [ecx]
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esp
push eax
push ecx
mov dword [ebp - 0x29c], ecx
call fcn.10002a0f
sub esp, 0x10
mov byte [ebp - 4], 7
mov ecx, esp
xor eax, eax
mov byte [ebp - 0x29c], al
push str.INSTALLER_STARTFAIL
push dword [ebp - 0x29c]
mov dword [ecx], eax
push 0x13
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
call fcn.10002461
mov ecx, edi
mov byte [ebp - 4], 5
call esi
jmp 0x10005eb4
push dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xb8]
call esi
lea ecx, [ebp - 0x234]
call fcn.1000851b
lea ecx, [ebp - 0x264]
call fcn.100084f5
mov eax, dword [ebp - 0x238]
cmp eax, 0x10
jb 0x10005f19
mov ecx, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x298], ecx
cmp eax, 0x1000
jb 0x10005f10
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.10006abc
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x298]
push eax
push ecx
call fcn.1007879d
pop ecx
pop ecx
lea ecx, [ebp - 0x27c]
call fcn.1000851b
lea ecx, [ebp - 0x294]
call fcn.1000851b
call fcn.10078cd1
ret