Function at 0x414980
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43a694
push eax
mov eax, 0x1134
mov dword fs:[0], esp
call fcn.0041baa0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call fcn.0041bf60
mov cl, byte [esp + 0x13]
add esp, 4
xor ebx, ebx
mov byte [esp + 0x20], cl
push ebx
lea ecx, [esp + 0x24]
mov dword [esi + 0x64], eax
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1148], ebx
mov eax, dword [edx]
push eax
push ebx
push 0x44acb0
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_]
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 + 0x28]
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 + 0x24]
cmp eax, ebx
jne 0x4149f4
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 + 0x44]
push 0x100
push ecx
push 0x447a1c
push str.skinpath
push str.skin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dl, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x1148], 1
mov ecx, dword [eax]
push ecx
push ebx
push 0x44acb0
lea ecx, [esp + 0x1c]
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_]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x40]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
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_]
lea eax, [esi + 0x70]
lea ecx, [esp + 0x30]
push eax
push 0x444144
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x1148], 2
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x1c]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x114c], 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_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x414ab9
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 0x447a04
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x414b2e
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x414af2
mov al, byte [ecx - 1]
cmp al, bl
je 0x414ae8
cmp al, 0xff
je 0x414ae8
dec al
mov byte [ecx - 1], al
jmp 0x414af2
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
cmp ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x414b27
mov al, byte [ecx - 1]
cmp al, bl
je 0x414b1d
cmp al, 0xff
je 0x414b1d
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x414bed
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
jmp 0x414bed
push edi
lea edx, [esp + 0x144]
push 0x1000
push edx
call dword [sym.imp.MSVCRT.dll_fgets]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebx
jne 0x414b59
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]
mov ecx, dword [esi + 0x64]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp dword [esi + 0xc0], ebx
je 0x414b8c
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xac]
mov edx, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
push 1
push ebx
push ebx
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
jmp 0x414b94
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::CenterWindow
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x414bb8
mov al, byte [ecx - 1]
cmp al, bl
je 0x414bae
cmp al, 0xff
je 0x414bae
dec al
mov byte [ecx - 1], al
jmp 0x414bb8
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
cmp ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x414be8
mov al, byte [ecx - 1]
cmp al, bl
je 0x414bde
cmp al, 0xff
je 0x414bde
dec al
mov byte [ecx - 1], al
jmp 0x414be8
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1140]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1140
ret