Function at 0x404bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00403960
add esp, 4
test eax, eax
jne 0x404ca5
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00403960
add esp, 4
test eax, eax
jne 0x404ca5
mov edx, dword [ebp + 0x24]
push edx
call fcn.00403960
add esp, 4
test eax, eax
jne 0x404ca5
cmp dword [ebp + 0x28], 0
je 0x404c66
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 8]
push ecx
call fcn.00403960
add esp, 4
test eax, eax
jne 0x404ca5
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0xc]
push eax
call fcn.00403960
add esp, 4
test eax, eax
jne 0x404ca5
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x404ef8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x404cfe
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x404cfe
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call fcn.00404580
cmp dword [ebp + 0xc], 0
je 0x404d42
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x404d42
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.00404580
cmp dword [ebp + 0x24], 0
je 0x404d86
mov eax, dword [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x404d86
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x24]
push ecx
push 0
push 0
call fcn.00404580
cmp dword [ebp + 0x28], 0
je 0x404e57
mov edx, dword [ebp + 0x28]
cmp dword [edx], 0x48
jne 0x404da7
mov ecx, 0x12
mov esi, dword [ebp + 0x28]
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
jmp 0x404dbb
mov ecx, 0x11
mov esi, dword [ebp + 0x28]
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x60], 0x44
mov eax, dword [ebp + 0x28]
cmp dword [eax + 8], 0
je 0x404e08
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x404e08
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x58]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 8]
push ecx
push 0
push 0
call fcn.00404580
mov edx, dword [ebp + 0x28]
cmp dword [edx + 0xc], 0
je 0x404e55
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x404e55
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0xc]
push eax
push 0
push 0
call fcn.00404580
jmp 0x404e6e
push 0x48
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.004098a0
add esp, 0xc
mov dword [ebp - 0x60], 0x48
mov edx, dword [ebp + 0x2c]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x404eb8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], 0
je 0x404ec8
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], 0
je 0x404ed8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x58], 0
je 0x404ee8
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x54], 0
je 0x404ef8
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28