Function at 0x418040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x420e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
push edi
push 0x44
xor esi, esi
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0041ecbc
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], 0x44
mov dword [esp + 0x84], 0x80
mov word [esp + 0x88], si
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x244], esi
lea esi, [esp + 0x20]
call section..text
mov eax, dword [esp + 0x34]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4180ce
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
mov ebx, 8
cmp dword [esp + 0x38], ebx
jae 0x4180e1
lea eax, [esp + 0x24]
cmp word [eax + esi*2], 0x5c
je 0x4180f4
push 0x5c
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_]
push 0x4263f4
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov edx, dword [ebp + 0xc]
push 0xa
push 0x20
lea ecx, [esp + 0x1c0]
push ecx
mov byte [esp + 0x250], 1
mov esi, dword [sym.imp.MSVCR80.dll__ultow_s]
push edx
call esi
mov ecx, dword [ebp + 0x10]
push 0xa
push 0x20
lea eax, [esp + 0x210]
push eax
push ecx
call esi
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_]
push 0x22
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x154]
push eax
call edi
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0xfc]
push edx
mov byte [esp + 0x250], 2
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
push 0x22
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x250], 3
call edi
add esp, 0xc
push str._TaskId_
push eax
lea ecx, [esp + 0x150]
mov byte [esp + 0x24c], 4
mov esi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x1b8]
push edx
push eax
lea eax, [esp + 0x1a4]
push eax
mov byte [esp + 0x250], 5
call esi
add esp, 0xc
push str.__Crc_
push eax
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0x250], 6
call esi
add esp, 0xc
lea edx, [esp + 0x1f8]
push edx
push eax
lea eax, [esp + 0x16c]
push eax
mov byte [esp + 0x250], 7
call esi
add esp, 0xc
push str.__FilePath_
push eax
lea ecx, [esp + 0xe0]
push ecx
mov byte [esp + 0x250], bl
call esi
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push eax
lea eax, [esp + 0x188]
push eax
mov byte [esp + 0x250], 9
call esi
add esp, 0xc
push 0x22
push eax
lea ecx, [esp + 0x118]
push ecx
mov byte [esp + 0x250], 0xa
call edi
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x248], 0xb
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x110]
mov byte [esp + 0x244], 0xa
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x180]
mov byte [esp + 0x244], 9
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x244], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x164]
mov byte [esp + 0x244], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x19c]
mov byte [esp + 0x244], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x148]
mov byte [esp + 0x244], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x244], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x244], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x244], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x40]
jae 0x418346
lea ecx, [esp + 0x40]
cmp dword [esp + 0x38], ebx
mov eax, dword [esp + 0x24]
jae 0x418354
lea eax, [esp + 0x24]
lea edx, [esp + 0x10]
push edx
xor edi, edi
lea edx, [esp + 0x5c]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
jne 0x4183b2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x244], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x244], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x14], edi
call esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], edi
mov byte [esp + 0x244], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x244], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc