Function at 0x1000987b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x10009893
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 esi, str.UnInstallExt
push str.Count
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and dword [ebp - 8], 0
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
mov dword [ebp - 4], eax
jle 0x1000995d
and word [ebp - 0x264], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x262]
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 - 8]
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 ebx
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x1000990b
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 - 0x264]
push 0x103
push eax
lea eax, [ebp - 0x34]
push 0x10011208
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x264], 0
je 0x1000994e
lea eax, [ebp - 0x264]
push str.ExtLoginMagic
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x100099ea
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jl 0x100098bf
and word [ebp - 0x34], 0
inc dword [ebp - 4]
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x32]
push dword [ebp - 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1000fd88
lea eax, [ebp - 0x34]
push 0x13
push eax
call ebx
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x10009993
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 esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x5c], 0
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x5a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
dec eax
push eax
push str.ext_d
lea eax, [ebp - 0x5c]
push 0x13
push eax
call ebx
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x100099d9
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 - 0x5c]
push str.ExtLoginMagic
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
leave
ret