Function at 0x10009fd0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100567d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov dword [esp + 0x1e0], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e0], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x48]
mov byte [esp + 0x1e0], 2
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x48]
push eax
push 0x100675bc
push ecx
mov dword [esp + 0x1ec], 3
call sub.MFC42.DLL_CString::Format
mov esi, dword [ebp + 0xa0]
mov edi, dword [ebp + 0x9c]
add esp, 0xc
cmp edi, esi
mov dword [esp + 0x38], edi
je 0x1000a08c
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
mov edx, dword [esp + 0x48]
mov eax, dword [edi + 0xc]
push edx
push eax
call ebx
add esp, 8
test eax, eax
je 0x1000a088
add edi, 0x10
cmp edi, esi
jne 0x1000a06f
mov dword [esp + 0x38], edi
cmp edi, dword [ebp + 0xa0]
jne 0x1000a0c6
lea ecx, [esp + 0x48]
mov dword [esp + 0x1e0], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e0], 5
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1e0], 4
jmp 0x1000a659
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 4]
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0x1e8], 7
call fcn.10009850
add esp, 8
lea esi, [ebp + 0x80]
lea edx, [esp + 0x18]
push 0x10065070
push esi
push edx
call sub.MFC42.DLL_operator_1
push 0x1006817c
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1e8], 8
push eax
call sub.MFC42.DLL_operator
push 0x10065070
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x1ec], 9
call sub.MFC42.DLL_operator_1
push edi
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e0], 7
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x1000a601
push 0x10065070
lea eax, [esp + 0x20]
push esi
push eax
call sub.MFC42.DLL_operator_1
push 0x1006817c
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x1ec], 0xb
call sub.MFC42.DLL_operator
push 0x10065070
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1ec], 0xc
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x1ec], 0xd
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
call fcn.10009810
add esp, 4
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e0], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e0], 7
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x1000a519
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], 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 esi, dword [ebp + 0x88]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
mov byte [esp + 0x1e8], 0xe
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000a2a0
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov edi, str.skinconfig.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.skinconfig.ini
lea ecx, [esp + 0x54]
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__::append_char_const___unsigned_int_]
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x1000a2cc
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
lea eax, [esp + 0xdc]
push 0x100
push eax
push 0x100677dc
push str.skinpath
push str.skin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
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 esi, dword [ebp + 0x88]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
mov byte [esp + 0x1e8], 0xf
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000a34f
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea edi, [esp + 0xd8]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x1000a379
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x1000a3c2
mov edx, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x28]
lea ebx, [edx + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000a3c2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0xdc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov edi, str.UpdateUiSkinCenterDownload.ini
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x1000a3ea
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor edi, edi
cmp esi, edi
jbe 0x1000a434
mov edx, dword [esp + 0x2c]
push edi
lea ecx, [esp + 0x28]
lea ebx, [edx + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1000a434
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, str.UpdateUiSkinCenterDownload.ini
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
xor edi, edi
push ebp
lea ecx, [esp + 0x60]
call fcn.10001150
mov eax, dword [esp + 0x38]
mov ebp, dword [ebp + 0x20]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1e4], 0x10
mov dword [esp + 0xd8], ebp
call fcn.100014f0
mov eax, dword [esp + 0x28]
cmp eax, edi
jne 0x1000a46b
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
lea ecx, [esp + 0x60]
call fcn.100013c0
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1e0], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1e0], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1e0], 0xf
call sub.MFC42.DLL_CDialog::CDialog
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x1000a4dc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1000a4d3
cmp al, 0xff
je 0x1000a4d3
dec al
mov byte [ecx], al
jmp 0x1000a4dc
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], edi
cmp eax, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
je 0x1000a61b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1000a50b
cmp al, 0xff
je 0x1000a50b
dec al
mov byte [ecx], al
jmp 0x1000a61b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x1000a61b
push 0x10065070
lea ecx, [esp + 0x20]
push esi
push ecx
call sub.MFC42.DLL_operator_1
push 0x1006817c
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x1ec], 0x13
call sub.MFC42.DLL_operator
push 0x10065070
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1e8], 0x14
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x34]
lea edx, [esp + 0x18]
push ecx
mov bl, 0x15
push eax
push edx
mov byte [esp + 0x1ec], bl
call sub.MFC42.DLL_operator
mov esi, dword [eax]
push 0
mov ecx, 0x1006817c
mov byte [esp + 0x1e4], 0x16
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call fcn.100098f0
add esp, 8
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x1e0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e0], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e0], 7
call sub.MFC42.DLL_CString::CString
test esi, esi
push 0
je 0x1000a5f1
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [ebp + 0x6c]
push eax
mov eax, dword [ebp + 0x68]
push 0
push eax
push ecx
jmp 0x1000a615
push 0
push 0x1006779c
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MessageBoxA
jmp 0x1000a61b
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [ebp + 0x68]
push eax
mov eax, dword [ebp + 0x6c]
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x1e0], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e0], 0x18
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1e0], 0x17
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1e0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d4
ret 8