Function at 0x700a2870
Capabilities:
Create process on windows
Create process suspended
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ecx, [ebp - 0xe0]
sub esp, 0x1bc
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp], ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea edx, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x16c]
call method.libopenmpt::plugin.GetTempFilename_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 4]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac825
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 8]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac833
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac83c
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac850
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0x1c]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac869
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0x20]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac875
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac88f
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0x18]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac8a1
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0x24]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac8b1
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov edx, dword [esi + 0x28]
lea eax, [ebp - 0xe0]
mov edi, dword [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____libopenmpt::plugin.as_string_int__int_
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x702ac8c7
mov eax, dword [ebx]
mov dword [esp], eax
call sym._WritePrivateProfileStringA_16
sub esp, 0x10
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea edi, [ebp - 0x120]
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x17c]
mov ecx, 4
rep stosd dword es:[edi], eax
mov dword [esp], str.notepad.exe
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x124], 0x44
call fcn.701fce30
push eax
lea ecx, [ebp - 0x13c]
mov dword [esp], 0x702ac823
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.append_char_const_
push edi
lea ecx, [ebp - 0xe0]
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea ecx, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x16c]
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.append_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
push edx
lea ecx, [ebp - 0x154]
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
push ecx
lea ecx, [ebp - 0xe0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea ecx, [ebp - 0x13c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x150]
mov dword [esp], eax
lea ecx, [ebp - 0x188]
lea edx, [eax + edx + 1]
mov dword [esp + 4], edx
call method.std::vector_char__std::allocator_char___.vector_char_const__void__char_const__char_const__std::allocator_char__const___clone_.isra.0_
push eax
push eax
lea eax, [ebp - 0x17c]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x124]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x188]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CreateProcessA_40
sub esp, 0x28
test eax, eax
jne 0x700a2d15
call sym._GetLastError_0
lea ecx, [ebp - 0xe0]
mov ebx, eax
call fcn.7020c700
call method.std::locale.classic__
mov dword [esp + 4], eax
lea eax, [ebp - 0xa0]
mov dword [esp], eax
lea ecx, [ebp - 0x18c]
call method.std::basic_ios_char__std::char_traits_char___.imbue_std::locale_const_
push eax
lea ecx, [ebp - 0x18c]
push eax
call method.std::locale.locale__
mov dword [esp], ebx
lea ecx, [ebp - 0xe0]
call method.std::ostream.operator___unsigned_long_
push eax
lea eax, [ebp - 0xdc]
mov dword [esp], eax
lea ecx, [ebp - 0x13c]
call method.std::__cxx11::basic_stringbuf_char__std::char_traits_char___std::allocator_char___.str___const
lea ecx, [ebp - 0xe0]
push eax
call fcn.7020ce80
mov eax, dword [ebp - 0x13c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.fail
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._MessageBoxA_16
sub esp, 0x10
lea ecx, [ebp - 0x13c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
jmp 0x700a2efe
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call sym._CloseHandle_4
mov eax, dword [ebp - 0x17c]
push edi
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
push ecx
mov eax, dword [ebp - 0x17c]
push ecx
mov dword [esp], eax
call sym._CloseHandle_4
mov eax, dword [ebp - 0x16c]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xbb80
mov dword [esp + 4], 0x702ac825
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x702ac833
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x702ac83c
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x64
mov dword [esp + 4], 0x702ac850
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x702ac869
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 8
mov dword [esp + 4], 0x702ac875
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x702ac88f
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x702ac8a1
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x702ac8b1
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x702ac8c7
mov eax, dword [ebx]
mov dword [esp], eax
call sym._GetPrivateProfileIntA_16
sub esp, 0x10
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call sym._DeleteFileA_4
push eax
lea ecx, [ebp - 0x188]
call method.std::_Vector_base_char__std::allocator_char___._Vector_base____clone_.isra.0_
lea ecx, [ebp - 0x154]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea ecx, [ebp - 0x16c]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret