Function at 0x401070
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x401b9f
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd4]
mov ebx, 2
cmp dword [esp + 0xd0], ebx
je 0x4010c7
lea eax, [ebx - 4]
jmp 0x40132f
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
xor edi, edi
lea ecx, [esp + 0x68]
mov dword [esp + 0xc8], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push edi
push str.__exec
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd0], bl
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov esi, eax
cmp dword [ecx], esi
jne 0x40116d
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 1
call dword [sym.imp.MSVCP90.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 + 0x68]
mov byte [esp + 0xc8], 0
call dword [sym.imp.MSVCP90.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 + 0x84]
mov dword [esp + 0xc8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or eax, 0xffffffff
jmp 0x40132f
lea edx, [esi + 8]
push edx
push 0x402130
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp dword [ecx], eax
jne 0x4011b7
mov eax, dword [ecx]
push eax
add esi, 7
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
mov byte [esp + 0xc8], 3
lea ecx, [esp + 0x68]
jmp 0x40123c
sub eax, esi
sub eax, 7
push eax
add esi, 7
push esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xcc], 4
call dword [sym.imp.MSVCP90.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 + 0x10]
mov byte [esp + 0xc8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push edi
push str.__para
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
cmp dword [ecx], eax
je 0x401254
mov ecx, dword [ecx]
push ecx
add eax, 7
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
mov byte [esp + 0xc8], 5
lea ecx, [esp + 0xa0]
push eax
call dword [sym.imp.MSVCP90.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 + 0x10]
mov byte [esp + 0xc8], bl
call dword [sym.imp.MSVCP90.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 + 0xb4], edi
jne 0x4012b8
cmp dword [esp + 0x80], 8
mov esi, dword [esp + 0x6c]
jae 0x40126f
lea esi, [esp + 0x6c]
push 0x3c
lea eax, [esp + 0x30]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0x402114
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x4012ee
mov esi, dword [esp + 0xa4]
mov eax, 8
cmp dword [esp + 0xb8], eax
jae 0x4012d4
lea esi, [esp + 0xa4]
cmp dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
jae 0x4012e5
lea eax, [esp + 0x6c]
push eax
call fcn.00401000
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 1
call dword [sym.imp.MSVCP90.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 + 0x68]
mov byte [esp + 0xc8], 0
call dword [sym.imp.MSVCP90.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 + 0x84]
mov dword [esp + 0xc8], 0xffffffff
call dword [sym.imp.MSVCP90.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 + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.00401356
add esp, 0xbc
ret