Function at 0x100099ef
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x10009a07
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 ebx
push esi
push edi
push eax
push 0
mov ebx, str.UpdateExt
push str.Count
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
mov dword [ebp - 8], eax
jle 0x10009ad1
and word [ebp - 0x23c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x23a]
rep stosd dword es:[edi], eax
and word [ebp - 0x34], 0
push 9
stosw word es:[edi], ax
pop ecx
xor eax, eax
push dword [ebp - 4]
lea edi, [ebp - 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.ext_d
lea eax, [ebp - 0x34]
push 0x13
push eax
call esi
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x10009a7f
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
lea eax, [ebp - 0x23c]
push 0x103
push eax
lea eax, [ebp - 0x34]
push 0x10011208
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x23c], 0
je 0x10009ac2
lea eax, [ebp - 0x23c]
push str.ExtYouxi
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x10009c1e
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x10009a33
and word [ebp - 0x34], 0
inc dword [ebp - 8]
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x32]
push dword [ebp - 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1000fd88
lea eax, [ebp - 0x34]
push 0x13
push eax
call esi
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x10009b07
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
lea eax, [ebp - 0x34]
push eax
push str.Count
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x23c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x23a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 8]
lea edi, [eax - 1]
lea eax, [ebp - 0x23c]
push edi
push str.Name_d
push 0x13
push eax
mov dword [ebp - 4], edi
call esi
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x10009b5d
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
lea eax, [ebp - 0x23c]
push str.ExtYouxi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push str.File_d
lea eax, [ebp - 0x23c]
push 0x13
push eax
call esi
mov ax, word [0x10011208]
mov ecx, 0x81
mov word [ebp - 0x444], ax
xor eax, eax
lea edi, [ebp - 0x442]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x10009bb2
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]
lea ecx, [ebp - 0x444]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x10009bd1
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
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 4]
lea eax, [ebp - 0x23c]
push str.Version_d
push 0x13
push eax
call esi
mov edi, dword [edi + 0x44]
add esp, 0x10
test edi, edi
jne 0x10009c0a
mov edi, 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 edi
lea eax, [ebp - 0x23c]
push str.2.0.2.1042
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
leave
ret