Function at 0x42eda0
Capabilities:
Create process on windows
Resume thread
Terminate thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x8a8
mov eax, dword [0x545100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, ecx
mov dword [ebp - 0x8a0], eax
mov eax, dword [ebx + 0x10]
push 0x44
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x858]
push 0
push eax
mov dword [ebp - 0x874], edx
mov dword [ebp - 0x85c], esi
mov dword [ebp - 0x80c], 0
call fcn.004a8c90
add esp, 0xc
mov dword [ebp - 0x858], 0x44
mov eax, 0xa
xorps xmm0, xmm0
mov word [ebp - 0x828], ax
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push eax
lea eax, [ebp - 0x806]
movaps xmmword [ebp - 0x870], xmm0
push eax
call fcn.004a8c90
mov eax, dword [ebp - 0x874]
add esp, 0xc
test eax, eax
je 0x42ee68
push eax
push esi
lea eax, [ebp - 0x808]
push str.__s___s
push eax
call fcn.00430b70
add esp, 0x10
jmp 0x42ee7d
push esi
lea eax, [ebp - 0x808]
push 0x525840
push eax
call fcn.00430b70
add esp, 0xc
sub esp, 8
mov ecx, esi
mov edx, esp
lea eax, [ecx + 2]
mov dword [edx], esi
mov dword [ebp - 0x874], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ee90
sub ecx, dword [ebp - 0x874]
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x898]
call fcn.0048fda0
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x42eebc
mov eax, dword [eax]
lea ecx, [ebp - 0x870]
push ecx
lea ecx, [ebp - 0x858]
push ecx
push eax
push dword [ebp - 0x89c]
lea eax, [ebp - 0x808]
push 0x414
push 1
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x898]
mov esi, eax
call fcn.0040a900
test esi, esi
je 0x42f0f1
push dword [ebp - 0x868]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
xor esi, esi
test edi, edi
je 0x42ef21
push str.Global_aswSetupGuiShown_0x02fa47cc9a31afba
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
push dword [ebp - 0x86c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
je 0x42efcd
push 0x14d
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42ef75
nop dword [eax + eax]
push 0
push dword [ebp - 0x870]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42ef75
push 0x14d
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x42ef50
cmp dword [edi + 0x40], 0
je 0x42efc6
mov eax, dword [edi + 0x48]
test eax, eax
je 0x42ef96
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi + 0x48], 0
push 0x2710
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42efb6
push 1
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x40], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x42f022
cmp dword [edi + 0x40], 0
je 0x42f022
mov eax, dword [edi + 0x48]
test eax, eax
je 0x42eff2
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi + 0x48], 0
push 0x2710
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42f012
push 1
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x40], 0
push 0xffffffffffffffff
push dword [ebp - 0x870]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0x870]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42f0d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [str.sfxsh]
lea edx, [ebp - 0x85c]
mov dword [ebp - 0x874], eax
mov eax, dword [0x525d70]
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x880], 0x33423531
mov eax, dword [ebp - 0x880]
push 0x31
mov dword [ebp - 0x87c], 0x35373832
mov ecx, dword [ebp - 0x87c]
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x874]
mov dword [ebp - 0x888], ecx
lea ecx, [ebp - 0x898]
push str.Cannot_get_exit_code_of_process___code_:x_
push eax
movq qword [ebp - 0x898], xmm0
mov dword [ebp - 0x884], 0xba
call fcn.00430bb0
mov esi, dword [ebp - 0x874]
add esp, 0xc
jmp 0x42f0d4
xor esi, esi
push dword [ebp - 0x870]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x86c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42f176
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [str.sfxsh]
lea edx, [ebp - 0x85c]
mov dword [ebp - 0x874], eax
mov eax, dword [0x525d70]
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x880], 0x33423531
mov eax, dword [ebp - 0x880]
push 0x28
mov dword [ebp - 0x87c], 0x35373832
mov ecx, dword [ebp - 0x87c]
mov dword [ebp - 0x88c], eax
lea eax, [ebp - 0x874]
mov dword [ebp - 0x888], ecx
lea ecx, [ebp - 0x898]
push str.Error_creating_process___code_:x_
push eax
movq qword [ebp - 0x898], xmm0
mov dword [ebp - 0x884], 0xc6
call fcn.00430bb0
mov esi, dword [ebp - 0x874]
add esp, 0xc
mov eax, dword [ebp - 0x8a0]
test eax, eax
je 0x42f188
mov ecx, dword [ebp - 0x80c]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004a5e3b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret