Function at 0x42e5d2
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x37c
mov eax, dword [0x4434f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
mov esi, edi
cmp dword [ebx + 0xa4], edi
je 0x42e96c
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x42e96c
cmp dword [ebx + 0xa0], edi
je 0x42e952
cmp dword [ebx + 0xa8], edi
je 0x42e952
call fcn.0041f47f
test eax, eax
je 0x42e952
mov ecx, dword [ebx + 0x3c]
xor edx, edx
push 1
push edi
inc edx
call fcn.0042129f
mov esi, eax
test esi, esi
jns 0x42e658
mov ecx, dword [ebx + 0x3c]
xor edx, edx
push 1
push 1
call fcn.0042129f
mov esi, eax
test esi, esi
js 0x42e962
push edi
push edi
push 0x105
lea eax, [ebp - 0x320]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x3c]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push 0x42e980
push edi
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetA]
test eax, eax
je 0x42e91f
push dword [ebx + 0x3c]
push 0x40601c
push 4
call fcn.0041ea5f
add esp, 0xc
cmp dword [ebx + 0xb0], edi
je 0x42e8fe
push dword [ebx + 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x324], eax
test eax, eax
je 0x42e94e
xor ecx, ecx
cmp cx, word [eax]
je 0x42e94e
push 0x4030a4
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x42e838
push dword [ebx + 0x44]
lea eax, [ebp - 0x218]
push dword [ebx + 0x40]
push 0x407b14
push 0x105
push eax
call fcn.0040c0b5
add esp, 0x14
test eax, eax
js 0x42e94e
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x378]
push edi
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebx + 0x48]
add esp, 0xc
test ecx, ecx
je 0x42e72d
mov dword [ebp - 0x364], ecx
mov eax, dword [0x444f94]
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x368], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x374], 0x40
mov dword [ebp - 0x378], esi
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], 1
test ecx, ecx
jne 0x42e770
mov ecx, 0x4015c0
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x407b24
push 4
call fcn.0041ea5f
add esp, 0x10
lea eax, [ebp - 0x378]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42e807
push 0x14
pop ecx
mov esi, 0x1f4
call fcn.0041e074
xor ecx, ecx
call fcn.0041de27
jmp 0x42e7c6
cmp edi, 0x14
je 0x42e7bb
mov ecx, edi
call fcn.0041e0f9
inc edi
cmp edi, 0xe
jbe 0x42e7c6
add esi, 0x12c
push esi
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x42e7ae
push 0x14
pop ecx
call fcn.0041e0f9
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x20
pop eax
cmp eax, dword [ebp - 0x358]
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
jmp 0x42e823
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42e818
push 0x57
pop esi
test esi, esi
jle 0x42e823
movzx esi, si
or esi, 0x80070000
push esi
push 0x407b38
push 4
call fcn.0041ea5f
add esp, 0xc
jmp 0x42e94e
push 0x407b5c
push dword [ebp - 0x324]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x42e8e5
push dword [ebx + 0x44]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x330], edi
push dword [ebx + 0x40]
mov dword [ebp - 0x32c], edi
push 0x4028f4
push 0x105
push eax
mov dword [ebp - 0x328], 0x2a
mov dword [ebp - 0x33c], edi
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x334], edi
call fcn.0040c0b5
add esp, 0x14
test eax, eax
js 0x42e8cf
push edi
push 0x40218c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x33c]
call fcn.0043b134
mov esi, eax
lea eax, [ebp - 0x218]
push esi
push eax
push 0x407b68
push 4
call fcn.0041ea5f
add esp, 0x10
cmp dword [ebp - 0x32c], edi
je 0x42e94e
push dword [ebp - 0x32c]
call fcn.00441807
pop ecx
jmp 0x42e94e
cmp dword [0x443534], 0xffffffff
jne 0x42e8f7
push ecx
push 2
pop edx
call fcn.0041e530
mov edx, 0x407b8c
jmp 0x42e915
cmp dword [0x443534], 0xffffffff
jne 0x42e910
push ecx
push 2
pop edx
call fcn.0041e530
mov edx, 0x407bc8
push 2
pop ecx
call fcn.0041e988
jmp 0x42e94e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42e930
push 0x57
pop esi
test esi, esi
jle 0x42e93b
movzx esi, si
or esi, 0x80070000
push esi
push dword [ebx + 0x3c]
push 0x406044
push 2
call fcn.0041ea5f
add esp, 0x10
test esi, esi
js 0x42e962
mov ecx, ebx
call fcn.0042df4c
test eax, eax
jne 0x42e962
mov esi, 0x80040152
mov dword [ebx + 0xb4], esi
mov eax, esi
jmp 0x42e96f
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441b90
mov esp, ebp
pop ebp
ret