Function at 0x4029b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f865
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
push 0x320
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
push 0x104
push 0x104
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040ea08
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
push str._skin.ini
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x48]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x24]
call fcn.0040ea08
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
call fcn.00401a60
push eax
push 0x320
mov eax, dword [ebp - 0x14]
push eax
push 0x410658
push str.Button_IsIcon
push str.AnkeDClient
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [ebp - 0x18]
call fcn.00402fb0
test eax, eax
je 0x402b02
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x74], 0
jmp 0x402b52
push str.true
lea eax, [ebp - 0x18]
push eax
call fcn.00403040
and eax, 0xff
test eax, eax
je 0x402b25
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], 1
jmp 0x402b52
push str.false
lea edx, [ebp - 0x18]
push edx
call fcn.00403040
and eax, 0xff
test eax, eax
je 0x402b48
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 0
jmp 0x402b52
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], 0
lea ecx, [ebp - 0x24]
call fcn.00401a60
push eax
push 0x320
mov edx, dword [ebp - 0x14]
push edx
push 0x410658
push str.Button_FontSetColor
push str.AnkeDClient
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
call fcn.00402fb0
test eax, eax
je 0x402ba0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x70], 0xc0c0c0
jmp 0x402ce4
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
push eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
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], 6
mov edx, dword [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040ea08
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
add eax, 1
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Mid
mov byte [ebp - 4], 8
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 + 0x70], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
call fcn.00401a60
push eax
push 0x320
mov eax, dword [ebp - 0x14]
push eax
push 0x410658
push str.XpDialog
push str.AnkeDClient
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [ebp - 0x18]
call fcn.00402fb0
test eax, eax
je 0x402d37
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], 0
jmp 0x402d87
push str.true
lea eax, [ebp - 0x18]
push eax
call fcn.00403040
and eax, 0xff
test eax, eax
je 0x402d5a
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], 1
jmp 0x402d87
push str.false
lea edx, [ebp - 0x18]
push edx
call fcn.00403040
and eax, 0xff
test eax, eax
je 0x402d7d
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x78], 0
jmp 0x402d87
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], 0
lea ecx, [ebp - 0x24]
call fcn.00401a60
push eax
push 0x320
mov edx, dword [ebp - 0x14]
push edx
push 0x410658
push str.DlgBgColor
push str.AnkeDClient
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
call fcn.00402fb0
test eax, eax
je 0x402dd9
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x6c], eax
jmp 0x402f1d
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
push eax
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040ea08
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.00401a20
mov esi, eax
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
sub esi, eax
sub esi, 1
push esi
push 0x410b40
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
add eax, 1
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Mid
mov byte [ebp - 4], 0xc
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 edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x6c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.00403230
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
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret