Function at 0x40dd2f
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 0x40dd80
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.0040dff5
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.0040dff5
mov ebx, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
test ebx, ebx
jne 0x40dddd
xor ebx, ebx
jmp 0x40ddfe
push ebx
call esi
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00468060
mov eax, esp
push 0
push edi
push ebx
push eax
call fcn.0040df8f
mov ebx, eax
mov edi, dword [ebp - 0x10]
test edi, edi
jne 0x40de09
xor eax, eax
jmp 0x40de28
push edi
call esi
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00468060
mov eax, esp
push 0
push esi
push edi
push eax
call fcn.0040df8f
push ebx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x478]
push 0x495d10
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp byte [ebp - 1], 0
je 0x40deb3
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 0x40de95
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 8]
call esi
mov eax, 0x80070002
jmp 0x40df82
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 0x40df4f
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 0x40defe
push edi
call esi
jmp 0x40df3a
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 0x40df2a
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 0x40df2d
push edi
call esi
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x40df3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40df47
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0xc], ebx
mov eax, dword [ebp - 0xc]
jl 0x40ded1
mov edi, dword [ebp + 0xc]
test edi, edi
jl 0x40df66
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 0x40df70
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