Function at 0x104b8ee
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x374
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0xa4], ebx
je 0x104bc70
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x104bc70
cmp dword [esi + 0xa0], ebx
je 0x104bc56
cmp dword [esi + 0xa8], ebx
je 0x104bc56
push eax
call fcn.010561eb
test eax, eax
je 0x104bc56
push 1
push ebx
push 1
push dword [esi + 0x3c]
call fcn.01057031
mov edi, eax
cmp edi, ebx
jge 0x104b973
push 1
push 1
push ebx
push dword [esi + 0x3c]
call fcn.01057031
mov edi, eax
cmp edi, ebx
jl 0x104bc66
push ebx
push ebx
push 0x105
lea eax, [ebp - 0x318]
push eax
push 0xffffffffffffffff
push dword [esi + 0x3c]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push 0x104af04
push ebx
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetA]
test eax, eax
je 0x104bc22
push dword [esi + 0x3c]
push 0x100721c
push 4
call fcn.01055c8a
add esp, 0xc
cmp dword [esi + 0xb0], ebx
je 0x104bc14
push dword [esi + 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x320], eax
cmp eax, ebx
je 0x104bc52
xor ecx, ecx
cmp cx, word [eax]
je 0x104bc52
push 0x1003d00
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x104bb8a
push dword [esi + 0x44]
lea eax, [ebp - 0x210]
push dword [esi + 0x40]
push 0x100720c
push 0x105
push eax
call fcn.0103592d
add esp, 0x14
test eax, eax
jl 0x104bc52
push 0x38
lea eax, [ebp - 0x358]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x48]
add esp, 0xc
cmp eax, ebx
je 0x104ba46
mov dword [ebp - 0x348], eax
mov ecx, dword [0x10746bc]
mov dword [ebp - 0x354], ecx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x34c], ecx
mov ecx, dword [esi + 0x40]
push eax
mov dword [ebp - 0x358], 0x40
mov dword [ebp - 0x35c], 0x3c
mov dword [ebp - 0x344], ecx
mov dword [ebp - 0x340], 1
call fcn.01047cd3
push eax
lea eax, [ebp - 0x210]
push eax
push 0x10071f8
push 4
call fcn.01055c8a
add esp, 0x10
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x104bb58
mov edi, 0x1f4
push 0x14
mov dword [ebp - 0x31c], ebx
mov dword [ebp - 0x320], edi
call fcn.0105531d
push ebx
call fcn.0105508f
push edi
push dword [ebp - 0x324]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call edi
mov ebx, 0x102
jmp 0x104bb26
cmp dword [ebp - 0x31c], 0x14
je 0x104bb05
push dword [ebp - 0x31c]
call fcn.010553a3
inc dword [ebp - 0x31c]
cmp dword [ebp - 0x31c], 0xe
jbe 0x104bb18
add dword [ebp - 0x320], 0x12c
push dword [ebp - 0x320]
push dword [ebp - 0x324]
call edi
cmp eax, ebx
je 0x104baeb
push 0x14
call fcn.010553a3
push dword [ebp - 0x324]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x20
pop eax
cmp eax, dword [ebp - 0x33c]
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
xor ebx, ebx
jmp 0x104bb75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x104bb67
push 0x57
pop eax
cmp eax, ebx
jle 0x104bb73
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push 0x10071d4
push 4
call fcn.01055c8a
add esp, 0xc
jmp 0x104bc52
push 0x10071c8
push dword [ebp - 0x320]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x104bc0d
lea ecx, [ebp - 0x374]
call fcn.01060550
push dword [esi + 0x44]
lea eax, [ebp - 0x210]
push dword [esi + 0x40]
push 0x100402c
push 0x105
push eax
call fcn.0103592d
add esp, 0x14
test eax, eax
jl 0x104bc00
push ebx
push 0x1001fd8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x374]
call fcn.01063701
mov edi, eax
push edi
lea eax, [ebp - 0x210]
push eax
push 0x10071a4
push 4
call fcn.01055c8a
add esp, 0x10
lea ecx, [ebp - 0x374]
call fcn.0106056f
jmp 0x104bc52
push 0x1007168
jmp 0x104bc19
push 0x100713c
push 2
call fcn.01055c50
jmp 0x104bc52
call dword [sym.imp.KERNEL32.dll_GetLastError]
invalid