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

Disassembly:
push 0xffffffffffffffff
push 0x434fd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push edi
push 0x43f7fc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x244], ebx
call fcn.00422a00
add esp, 4
lea ecx, [esp + 8]
push 0x43f7fc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
push str.VstarConf.ini
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x24c], 1
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
push 0x43f7fc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
mov byte [esp + 0x240], 3
push eax
call fcn.004242a0
add esp, 4
lea ecx, [esp + 0xc]
push str.VstarConf.ini
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x424b48
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], bl
rep stosd dword es:[edi], eax
mov edx, dword [esp + 8]
mov ecx, 0x41
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x38]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
push 0x104
push eax
push ebx
push str.CurrentSkin
push str.Skin
call esi
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [esp + 0x40]
push ecx
push edx
push str.CurrentSkin
push str.Skin
call ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push 0x104
push ecx
push ebx
push str.CurrentForm
push str.Skin
call esi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push edx
push eax
push str.CurrentForm
push str.Skin
call ebp
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x40]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ecx
push 0x104
push edx
push ebx
push str.DefaultSkin
push str.Skin
call esi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push ecx
push str.DefaultSkin
push str.Skin
call ebp
pop esi
pop ebp
jmp 0x424c06
lea ecx, [esp + 0x18]
call fcn.0043140e
mov edx, dword [esp + 8]
push ebx
push ebx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 4
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x424bec
lea ecx, [esp + 0x28]
call fcn.0043140e
mov eax, dword [esp + 0xc]
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x24c], 5
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x424bd2
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x38]
push 0x1ff
push ecx
lea ecx, [esp + 0x20]
stosb byte es:[edi], al
call sub.MFC42.DLL_CFile::Read
cmp eax, ebx
jle 0x424bd2
lea edx, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFile::Write
jmp 0x424b96
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 4
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0xc]
mov byte [esp + 0x240], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x240], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x238]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret