Function at 0x402a4f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x415dda
call fcn.004139f0
sub esp, 0x838
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x24]
push ebx
mov byte [ebp - 0x24], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esi + 0x68]
mov dword [ebp - 4], ebx
add eax, 0x70
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x402a8a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call fcn.00406273
test al, al
pop ecx
je 0x402ab3
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov eax, dword [esi + 0x68]
add eax, 0x70
push dword [ecx]
lea ecx, [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
jmp 0x402b6d
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x842]
mov word [ebp - 0x844], bx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x14], edx
mov ecx, dword [eax + 0x54]
cmp ecx, ebx
je 0x402ae2
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + 0x74]
mov edi, edx
cmp eax, ebx
je 0x402aed
mov edi, eax
push dword [0x421260]
lea eax, [ebp - 0x34]
push dword [0x4211ec]
push eax
call fcn.00406b5d
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.004060a5
mov eax, dword [eax + 4]
add esp, 0x14
cmp eax, ebx
jne 0x402b1f
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push dword [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea ecx, [ebp - 0x44]
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
pop edi
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
jne 0x402b7a
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov eax, 0x422da4
push 5
push eax
push eax
push ecx
push 0x421084
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10