Function at 0x40ba30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b7e2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4424f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.SetConfig.ini
lea eax, [ebp - 0x14]
push 0x47642c
push eax
call fcn.00401010
add esp, 0xc
mov ecx, eax
call dword [sym.imp.mfc100u.dll_]
push eax
push 0
push str.SkinIndex
push str.SkinSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x14]
mov ebx, eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp dword [ebp + 8], 0
je 0x40baa4
test ebx, ebx
jne 0x40bd34
push 0
push 0
sub esp, 0x10
mov eax, esp
xor ecx, ecx
push 1
mov dword [eax], ecx
xor edx, edx
push 0x1e
mov dword [eax + 4], edx
push ecx
xor edi, edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x94
lea ecx, [esi + 0x94]
call fcn.00416ef0
push edi
push 5
push 6
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x88
lea ecx, [esi + 0x94]
call fcn.00416550
push edi
push 0x1e
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x92
lea ecx, [esi + 0x94]
call fcn.00416550
push edi
push 0x69
push 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x93
lea ecx, [esi + 0x94]
call fcn.00416550
push edi
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x84
lea ecx, [esi + 0xbc4]
call fcn.00412e30
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0xd84]
call fcn.00412ba0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0xf44]
call fcn.00412ba0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0x1104]
call fcn.00412ba0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0x12c4]
call fcn.00412ba0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x83
lea ecx, [esi + 0xbc4]
call fcn.004129a0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x82
lea ecx, [esi + 0xbc4]
call fcn.00412a30
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x81
lea ecx, [esi + 0xbc4]
call fcn.00412ac0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0x724]
call fcn.00412ba0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0x564]
call fcn.00412ba0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0x2b0]
call fcn.00412ba0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x42ff5c
call dword [0x42f908]
push 0x86
lea ecx, [esi + 0xf0]
call fcn.00412ba0
test ebx, ebx
je 0x40bf92
lea ecx, [ebp - 0x10]
call dword [0x42f90c]
push ebx
lea ecx, [ebp - 0x10]
push str.bbxtoolsSkinSkin_d_
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push 0x47642c
push eax
call fcn.00408df0
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push edi
push edi
sub esp, 0x10
mov eax, esp
push 1
xor ecx, ecx
push 0x1e
push ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.GeneralPopupBoxBk.png
lea edx, [ebp - 0x10]
push edx
xor ebx, ebx
mov dword [eax + 8], edi
push ecx
mov dword [eax + 0xc], ebx
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0x94]
call fcn.00417280
push ebx
push ebx
push ebx
push ebx
sub esp, 0x10
mov eax, esp
lea ecx, [edi + 2]
mov dword [eax], ecx
xor ecx, ecx
push ecx
lea edx, [edi + 0x1e]
mov dword [eax + 4], edx
lea ebx, [edi - 3]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxTopBk.png
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0x94]
call fcn.00416950
push edi
push 1
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push str.GeneralClose_Normal.png
lea eax, [ebp - 0x10]
push eax
push edx
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0xbc4]
call fcn.00412f60
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea edx, [ebp - 0x10]
push edx
push ecx
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0xd84]
call fcn.00412cf0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0xf44]
call fcn.00412cf0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea eax, [ebp - 0x10]
push eax
push edx
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0x1104]
call fcn.00412cf0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea edx, [ebp - 0x10]
push edx
push ecx
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0x12c4]
call fcn.00412cf0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0x724]
call fcn.00412cf0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea eax, [ebp - 0x10]
push eax
push edx
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0x564]
call fcn.00412cf0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea edx, [ebp - 0x10]
push edx
push ecx
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0x2b0]
call fcn.00412cf0
push 0xffffffffffffffff
push edi
push edi
push edi
push 1
push 4
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.GeneralBoxBtn_S.png
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00401010
add esp, 0xc
lea ecx, [esi + 0xf0]
call fcn.00412cf0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp dword [ebp + 8], 0
je 0x40bfa6
mov edx, dword [esi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4