Function at 0x42e040
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x37c
mov eax, dword [0x4424f4]
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 0x42e3da
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x42e3da
cmp dword [ebx + 0xa0], edi
je 0x42e3c0
cmp dword [ebx + 0xa8], edi
je 0x42e3c0
call fcn.0041f21e
test eax, eax
je 0x42e3c0
mov ecx, dword [ebx + 0x3c]
xor edx, edx
push 1
push edi
inc edx
call fcn.00421008
mov esi, eax
test esi, esi
jns 0x42e0c6
mov ecx, dword [ebx + 0x3c]
xor edx, edx
push 1
push 1
call fcn.00421008
mov esi, eax
test esi, esi
js 0x42e3d0
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 0x42e3f0
push edi
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetA]
test eax, eax
je 0x42e38d
push dword [ebx + 0x3c]
push 0x40602c
push 4
call fcn.0041e83a
add esp, 0xc
cmp dword [ebx + 0xb0], edi
je 0x42e36c
push dword [ebx + 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x324], eax
test eax, eax
je 0x42e3bc
xor ecx, ecx
cmp cx, word [eax]
je 0x42e3bc
push 0x4030b4
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x42e2a6
push dword [ebx + 0x44]
lea eax, [ebp - 0x218]
push dword [ebx + 0x40]
push 0x407b24
push 0x105
push eax
call fcn.0040c0e1
add esp, 0x14
test eax, eax
js 0x42e3bc
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 0x42e19b
mov dword [ebp - 0x364], ecx
mov eax, dword [0x443f94]
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 0x42e1de
mov ecx, 0x4015d0
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x407b34
push 4
call fcn.0041e83a
add esp, 0x10
lea eax, [ebp - 0x378]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42e275
push 0x14
pop ecx
mov esi, 0x1f4
call fcn.0041de64
xor ecx, ecx
call fcn.0041dc25
jmp 0x42e234
cmp edi, 0x14
je 0x42e229
mov ecx, edi
call fcn.0041dee7
inc edi
cmp edi, 0xe
jbe 0x42e234
add esi, 0x12c
push esi
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x42e21c
push 0x14
pop ecx
call fcn.0041dee7
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 0x42e291
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42e286
push 0x57
pop esi
test esi, esi
jle 0x42e291
movzx esi, si
or esi, 0x80070000
push esi
push 0x407b48
push 4
call fcn.0041e83a
add esp, 0xc
jmp 0x42e3bc
push 0x407b6c
push dword [ebp - 0x324]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x42e353
push dword [ebx + 0x44]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x330], edi
push dword [ebx + 0x40]
mov dword [ebp - 0x32c], edi
push 0x402904
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.0040c0e1
add esp, 0x14
test eax, eax
js 0x42e33d
push edi
push 0x40219c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x33c]
call fcn.0043aa4f
mov esi, eax
lea eax, [ebp - 0x218]
push esi
push eax
push 0x407b78
push 4
call fcn.0041e83a
add esp, 0x10
cmp dword [ebp - 0x32c], edi
je 0x42e3bc
push dword [ebp - 0x32c]
call fcn.00440db7
pop ecx
jmp 0x42e3bc
cmp dword [0x442534], 0xffffffff
jne 0x42e365
push ecx
push 2
pop edx
call fcn.0041e30f
mov edx, 0x407b9c
jmp 0x42e383
cmp dword [0x442534], 0xffffffff
jne 0x42e37e
push ecx
push 2
pop edx
call fcn.0041e30f
mov edx, 0x407bd8
push 2
pop ecx
call fcn.0041e767
jmp 0x42e3bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42e39e
push 0x57
pop esi
test esi, esi
jle 0x42e3a9
movzx esi, si
or esi, 0x80070000
push esi
push dword [ebx + 0x3c]
push 0x406054
push 2
call fcn.0041e83a
add esp, 0x10
test esi, esi
js 0x42e3d0
mov ecx, ebx
call fcn.0042d9d6
test eax, eax
jne 0x42e3d0
mov esi, 0x80040152
mov dword [ebx + 0xb4], esi
mov eax, esi
jmp 0x42e3dd
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave