Function at 0x4154e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x415791
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.004071f0
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x20]
call fcn.004069a4
mov eax, dword [ebp - 8]
call fcn.00406ebc
test al, al
je 0x4156a8
mov eax, dword [ebp - 0x20]
mov edx, 0x4157ac
call fcn.00403944
je 0x4155a3
mov eax, dword [ebp - 0x20]
mov edx, 0x4157bc
call fcn.00403944
je 0x4155a3
mov eax, dword [ebp - 0x20]
mov edx, 0x4157cc
call fcn.00403944
je 0x4155a3
mov eax, dword [ebp - 0x20]
mov edx, 0x4157dc
call fcn.00403944
je 0x4155a3
mov eax, dword [ebp - 0x20]
mov edx, 0x4157ec
call fcn.00403944
jne 0x4156a8
lea eax, [ebp - 0xac]
xor ecx, ecx
mov edx, 0x44
call fcn.0040298c
mov dword [ebp - 0xac], 0x44
mov dword [ebp - 0x80], 1
mov ax, word [ebp + 8]
mov word [ebp - 0x7c], ax
cmp dword [ebp + 0xc], 0
je 0x4155ff
lea ecx, [ebp - 0xc0]
mov dl, 0x22
mov eax, dword [ebp + 0xc]
call fcn.0040fe64
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x2c]
call fcn.00406b04
mov eax, dword [ebp - 0x2c]
call fcn.004039f8
mov dword [ebp - 0x24], eax
jmp 0x415604
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xd4]
mov dl, 0x22
mov eax, dword [ebp - 8]
call fcn.0040fe64
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0xcc], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0xc4], 0xb
lea edx, [ebp - 0xd0]
mov ecx, 1
mov eax, 0x4157fc
call fcn.004079a8
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x28]
call fcn.00406b04
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.004039f8
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x415705
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb8]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x415705
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040298c
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x40
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
call fcn.004039f8
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc]
call fcn.004039f8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
call fcn.004039f8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x68]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x415705
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x415758
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x64
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov dword [ebp - 0x14], eax
call fcn.0041a244
cmp dword [ebp - 0x14], 0
je 0x415732
cmp byte [0x448470], 0
je 0x415710
cmp dword [ebp - 0x14], 0
jne 0x41574f
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x41574f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415798
lea eax, [ebp - 0xd4]
call fcn.004035b8
lea eax, [ebp - 0xc0]
call fcn.004035b8
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004035dc
lea eax, [ebp - 0x20]
call fcn.004035b8
ret