Function at 0x403e30
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4085d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push eax
push ecx
lea edx, [esp + 0x14]
push str._d__d
push edx
mov dword [esp + 0xac], 0
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
call fcn.00407c74
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
mov ebx, 1
push str.Table_
push edx
mov byte [esp + 0xa8], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov edi, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0xa0], 3
call fcn.00407c74
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 4
call fcn.00407c74
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esi + 0xc]
mov byte [esp + 0xa4], 5
call fcn.00405a60
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
push 0x40b278
lea ecx, [edi + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x38]
push 0x20
push eax
push str.default
push str.default
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.SkinSettings
call edi
mov eax, dword [esi + 4]
lea ecx, [esp + 0x74]
push eax
push 0x20
push ecx
push str.default
push str.current
push str.SkinSettings
call edi
mov eax, dword [esi + 4]
lea edx, [esp + 0x54]
push eax
push 0x20
push edx
push str.default
push str.currentTable
push str.SkinSettings
call edi
lea eax, [esi + 8]
push 0x40b060
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x54]
mov byte [esp + 0x9c], 7
push edx
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0x40]
lea edx, [esp + 0xc]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xa8], 0xa
call fcn.00407c74
mov ecx, esi
call fcn.00404b90
lea ecx, [esp + 0x10]
mov dword [esi + 0x3c], eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x3c]
mov byte [esp + 0x9c], 0xb
test eax, eax
je 0x404047
push edi
jmp 0x40404c
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00407c74
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0xa8], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0xa4], 0xb
call fcn.00405020
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x74]
push ecx
push edx
call edi
add esp, 8
test eax, eax
je 0x4040e0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00407c74
push ecx
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0xa8], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0xa4], 0xb
call fcn.00405020
lea eax, [esp + 0x34]
lea ecx, [esp + 0x54]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x40412c
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00407c74
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0xa8], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0xa4], 0xb
call fcn.00405020
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x9c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x94]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 8