Function at 0x408170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40facd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00409a90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00409650
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x411460
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 6
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x64], 0
push 0x320
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040ea08
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
push str._skin.ini
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x48]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040ea08
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call fcn.00401a60
push eax
push 0x320
mov edx, dword [ebp - 0x14]
push edx
push 0x410658
push str.ListCtrl_Titile_BgColor
push str.FlexGridList.dll
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x24]
call fcn.00402fb0
test eax, eax
je 0x40835a
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x84], eax
jmp 0x4084a1
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
push eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x24]
call fcn.0040ea08
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
add eax, 1
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Mid
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00401a60
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, eax
and esi, 0xff
lea ecx, [ebp - 0x2c]
call fcn.00401a60
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
and eax, 0xff
shl eax, 8
or esi, eax
lea ecx, [ebp - 0x30]
call fcn.00401a60
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
and eax, 0xff
shl eax, 0x10
or esi, eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call fcn.00401a60
push eax
push 0x320
mov eax, dword [ebp - 0x14]
push eax
push 0x410658
push str.ListCtrl_Titile_FontColor
push str.FlexGridList.dll
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x24]
call fcn.00402fb0
test eax, eax
je 0x4084f2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x80], 0
jmp 0x408639
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x24]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040ea08
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
push eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
push 0x410b40
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find
add eax, 1
push eax
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Mid
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x34]
call fcn.00401a60
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, eax
and esi, 0xff
lea ecx, [ebp - 0x38]
call fcn.00401a60
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
and eax, 0xff
shl eax, 8
or esi, eax
lea ecx, [ebp - 0x3c]
call fcn.00401a60
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
and eax, 0xff
shl eax, 0x10
or esi, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x80], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call fcn.00401a60
push eax
push 0x320
mov ecx, dword [ebp - 0x14]
push ecx
push 0x410658
push str.ListCtrl_Titile_FontName
push str.FlexGridList.dll
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x24]
call fcn.00402fb0
test eax, eax
je 0x40868d
push 0x4113f4
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call sub.MFC42.DLL_CString::operator_2
jmp 0x40869f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x20]
call fcn.00401a60
push eax
push 0x320
mov ecx, dword [ebp - 0x14]
push ecx
push 0x410658
push str.ListCtrl_Titile_FontSize
push str.FlexGridList.dll
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x24]
call fcn.00402fb0
test eax, eax
je 0x4086ed
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c], 0x10
jmp 0x408708
lea ecx, [ebp - 0x24]
call fcn.00401a60
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x70], eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x7c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret