Function at 0x1001e187
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 0x14]
xor edx, edx
cmp eax, edx
jne 0x1001e197
push edx
call fcn.1001e2dd
ret
cmp eax, 1
jne 0x1001e1b5
cmp dword [ecx + 0x20], edx
jne 0x1001e1a6
jmp fcn.1001e1fb
cmp eax, 1
jne 0x1001e1b5
cmp dword [ecx + 0x20], edx
je 0x1001e1b5
jmp 0x1001e32a
or eax, 0xffffffff
ret
mov eax, 0x1004986e
call fcn.100464e0
sub esp, 0x20c
push ebx
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.100460c4
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.10001501
mov al, byte [ebp - 0xd]
pop ecx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.QQPCDownloadinstall_
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
mov byte [ebp - 0x64], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x10060c2c
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x10c]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0x18]
mov byte [ebp - 4], 2
cmp eax, 1
mov dword [ebp - 0x110], 0x44
jne 0x1001e3e3
mov ecx, ebx
call fcn.1001e1fb
mov esi, eax
jmp 0x1001e702
cmp eax, esi
jne 0x1001e702
lea ecx, [ebp - 0xcc]
call fcn.1002b45a
lea eax, [ebp - 0x14]
push str.setup.xml
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_operator_1
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.1002b68a
mov bl, al
lea ecx, [ebp - 0x18]
neg bl
sbb bl, bl
mov byte [ebp - 4], 3
inc bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
jne 0x1001e6f3
lea ecx, [ebp - 0xcc]
call fcn.1002acf8
mov ebx, eax
cmp ebx, esi
je 0x1001e501
push 1
lea eax, [ebp - 0xd]
push esi
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 0xd], 0x5c
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp edi, dword [eax]
je 0x1001e501
push edi
lea eax, [ebp - 0x74]
push esi
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 5
push dword [ecx]
lea ecx, [ebp - 0x64]
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp - 0x60]
cmp eax, esi
jne 0x1001e4b4
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
mov ecx, ebx
call fcn.1002ad1d
push dword [ebp - 0x38]
mov ebx, eax
inc edi
lea eax, [ebp - 0x84]
push edi
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 6
push dword [ecx]
lea ecx, [ebp - 0x40]
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x1001e448
push str.item
mov ecx, ebx
call fcn.1002ad1d
mov ebx, eax
cmp ebx, esi
je 0x1001e6f3
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString_1
push str.path
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.1002af4b
cmp eax, esi
je 0x1001e563
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.10001798
pop ecx
pop ecx
push str.param
mov ecx, ebx
call fcn.1002af4b
cmp eax, esi
je 0x1001e57f
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.10001798
pop ecx
pop ecx
push str.Mode
mov ecx, ebx
call fcn.1002af4b
cmp eax, esi
je 0x1001e59b
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.10001798
pop ecx
pop ecx
push str.EntryName
mov ecx, ebx
call fcn.1002af4b
cmp eax, esi
je 0x1001e5b7
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.10001798
pop ecx
pop ecx
push 0x1005d83c
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CString::CString_3
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
cmp eax, esi
pop ecx
lea ecx, [ebp - 0x30]
setne byte [ebp - 0xd]
call sub.MFC42u.DLL_CString::CString
cmp byte [ebp - 0xd], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
je 0x1001e638
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42u.DLL_operator
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001e633
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x50]
call edi
lea ecx, [ebp - 0x2c]
jmp 0x1001e6ab
lea eax, [ebp - 0x18]
push eax
call sub.MFC42u.DLL_operator
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov dword [ebp - 0x44], eax
je 0x1001e6a4
and byte [ebp - 0x218], 0
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x217]
push esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x28]
push esi
lea edx, [ebp - 0x218]
push 0x104
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x1001e6a4
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x1001e6a4
push dword [ebp - 0x1c]
call eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
push str.item
mov ecx, ebx
call fcn.1002ad79
lea ecx, [ebp - 0x28]
mov ebx, eax
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
jmp 0x1001e50f
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.1001c986
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret