Function at 0x40dc61
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
and byte [ebp - 0x478], 0
push ebx
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x477]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0x18]
and byte [ebp - 1], 0
test eax, eax
jne 0x40dcb2
lea eax, [ebp - 0x34]
mov byte [ebp - 1], 1
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x34]
mov esi, dword [sym.imp.ole32.dll_StringFromCLSID]
lea ecx, [ebp + 0x18]
push ecx
push eax
call esi
push dword [ebp + 0x18]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call edi
push dword [ebp + 0x18]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 8], eax
call ebx
lea ecx, [ebp - 8]
call fcn.0040df27
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0xc]
call esi
push dword [ebp + 0x18]
call edi
push dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
call ebx
lea ecx, [ebp - 0x10]
call fcn.0040df27
mov ebx, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
test ebx, ebx
jne 0x40dd0f
xor ebx, ebx
jmp 0x40dd30
push ebx
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00468240
mov eax, esp
push 0
push edi
push ebx
push eax
call fcn.0040dec1
mov ebx, eax
mov edi, dword [ebp - 0x10]
test edi, edi
jne 0x40dd3b
xor eax, eax
jmp 0x40dd5a
push edi
call esi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00468240
mov eax, esp
push 0
push esi
push edi
push eax
call fcn.0040dec1
push ebx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x478]
push str._s__s:_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp byte [ebp - 1], 0
je 0x40dde5
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x478]
push eax
lea eax, [ebp - 0x78]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push ecx
push eax
mov dword [ebp - 0x78], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40ddc7
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 8]
call esi
mov eax, 0x80070002
jmp 0x40deb4
push 0x4e20
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], 0x80004005
mov edi, 0x12c
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x14]
test ecx, ecx
je 0x40de81
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov dword [ebp + 8], ebx
push dword [ebp - 8]
push 0x495d0c
call dword [sym.imp.ole32.dll_CreateItemMoniker]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x40de30
push edi
call esi
jmp 0x40de6c
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], ebx
push eax
push ebx
call dword [sym.imp.ole32.dll_GetRunningObjectTable]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jl 0x40de5c
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 0xc]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x40de5f
push edi
call esi
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x40de6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40de79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0xc]
jl 0x40de03
mov edi, dword [ebp + 0xc]
test edi, edi
jl 0x40de98
push dword [ebp + 0x14]
mov ecx, dword [eax]
push dword [ebp + 0x10]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40dea2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
lea esp, [ebp - 0x484]
pop edi
pop esi
pop ebx
leave
ret 0x14