Function at 0x4024a0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411cf6
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x418358]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x440], eax
mov eax, 0xabcd
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x1a], eax
mov eax, 0x200
lea ecx, [ebp - 0x43c]
lea edx, [ebp - 0x41c]
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
xor eax, eax
mov ecx, edx
lea esi, [ebp - 0x448]
mov dword [ebp - 0x43c], 0x419158
mov dword [ebp - 0x448], edx
mov word [ebp - 0x42c], bx
mov dword [ebp - 0x438], ebx
mov word [ebp - 0x41c], ax
mov dword [ebp - 0x444], ecx
call fcn.00405e40
xor eax, eax
push 0x44
mov dword [ebp - 4], 1
lea edx, [ebp - 0x4a8]
push ebx
push edx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
call fcn.0040e6f0
add esp, 0xc
mov eax, esi
call fcn.00403990
push 0x415e20
mov dword [ebp - 0x44c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4025c0
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4025c0
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
lea ecx, [ebp - 0x448]
mov eax, str.setup32.exe
cmp dword [ebp - 0x44c], ebx
je 0x4025d8
mov eax, str.setup64.exe
call fcn.004038f0
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._SETUPLAUNCHER__Running:
call edi
mov eax, dword [ebp - 0x448]
cmp eax, ebx
jne 0x4025f9
mov eax, 0x415fb4
push eax
call edi
mov dword [ebp - 0x4a8], 0x44
cmp dword [ebp - 0x448], ebx
jne 0x40261b
xor eax, eax
lea esi, [ebp - 0x448]
call fcn.00405ee0
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x4a8]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x402697
push str._SETUPLAUNCHER__Waiting_for_:
call edi
mov eax, dword [ebp - 0x448]
cmp eax, ebx
jne 0x402658
mov eax, 0x415fb4
push eax
call edi
mov ecx, dword [ebp - 0x45c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str._SETUPLAUNCHER__Exiting_
call edi
mov edx, dword [ebp - 0x45c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x458]
push eax
call esi
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
jmp 0x40269e
push str._SETUPLAUNCHER__Could_not_run_designated_process_
call edi
lea esi, [ebp - 0x448]
call fcn.00405070
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x448]
cmp eax, ebx
je 0x402706
mov esi, dword [eax - 8]
cmp esi, ebx
je 0x402706
mov ecx, 0xabcd
cmp dword [eax - 0xc], ecx
jne 0x402724
cmp dword [eax - 4], ecx
jne 0x402724
mov edx, dword [esi + 8]
cmp dword [eax + edx*2 + 2], ecx
jne 0x402724
cmp esi, ebx
je 0x402706
cmp byte [esi + 0x10], bl
je 0x4026ef
mov ecx, dword [esi]
mov edx, dword [ecx]
add eax, 0xfffffff4
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp byte [esi + 0x11], bl
je 0x402706
push esi
call fcn.004071fc
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407207
mov esp, ebp
pop ebp
ret
push ebx
push ebx
call fcn.00409d1b
int3