Function at 0x40cbc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0x1fec]
push edi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00470370
lea eax, [esi + 0x1ffc]
push str.AdvConfigMenu_BtnText
call fcn.005080c0
mov eax, dword [edi + 0x10]
xor esi, esi
cmp eax, esi
jne 0x40cc1a
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], esi
cmp dword [edi + 8], esi
jle 0x40cc4a
cmp eax, esi
je 0x40cc4a
cmp word [eax], si
je 0x40cc4a
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x40cc3d
mov ecx, 0x54ee24
push ecx
push esi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x40cc56
mov ecx, 0x54ee24
mov dword [ebp - 0x14], esi
cmp dword [edi + 8], esi
jle 0x40cc80
cmp ecx, esi
je 0x40cc80
cmp word [ecx], si
je 0x40cc80
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x40cc73
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x40cc8c
mov ecx, 0x54ee24
mov dword [ebp - 0x18], esi
cmp dword [edi + 8], esi
jle 0x40ccb6
cmp ecx, esi
je 0x40ccb6
cmp word [ecx], si
je 0x40ccb6
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x40cca9
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x40ccc2
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], esi
cmp dword [edi + 8], esi
jle 0x40ccec
cmp ecx, esi
je 0x40ccec
cmp word [ecx], si
je 0x40ccec
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x40ccdf
mov eax, 0x54ee24
push eax
push esi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x1c], eax
push 0x2af8
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, esi
jne 0x40cd13
mov dword [ebp - 0x38], 0x54ee24
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x40cd1f
mov ecx, 0x54ee24
mov dword [ebp - 0x20], esi
cmp dword [edi + 8], esi
jle 0x40cd49
cmp ecx, esi
je 0x40cd49
cmp word [ecx], si
je 0x40cd49
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x40cd3c
mov eax, 0x54ee24
push eax
push esi
push str.FontPoint
push ecx
call ebx
mov dword [ebp - 0x20], eax
push 0x80e9
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, 1
mov ecx, 0x5776a0
mov byte [ebp - 0x5c], bl
mov edi, 0xffffff
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x4c], 0
call fcn.00471480
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x40cd80
mov eax, 0x54ee24
mov esi, dword [ebp + 8]
add esi, 0x200c
push eax
lea eax, [esi + 0xa0]
mov byte [esi + 0x1c4], bl
call fcn.005080c0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0
push 0
mov dword [esi + 0x88], edx
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x90], ecx
mov ecx, dword [ebp - 0x38]
push eax
mov dword [esi + 0x94], edx
push ecx
lea edx, [esi + 0x78]
mov dword [esi + 0x98], ebx
mov ebx, dword [ebp + 0x10]
push edx
mov dword [esi + 0x9c], 0x25
call fcn.00473a60
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esi + 0xb8], edx
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], ecx
mov eax, dword [0x577698]
xor ebx, ebx
test eax, eax
je 0x40ce51
push 0x80
push ebx
push ebx
push ebx
push 0xcb2c
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x40ce4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x40ce5b
mov dword [0x57768c], 0x57
mov dword [ebp - 0x20], 0
test eax, eax
je 0x40ce98
push 0x80
push 0
push 0
push 0
push 0xcb2d
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x40ce8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x20], edi
jmp 0x40cea2
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x40ced1
push 0x80
push ecx
push ecx
push ecx
push 0xcb2e
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x40cecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, edi
jmp 0x40cedb
mov dword [0x57768c], 0x57
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
push str.AdvConfigMenu_MenuBtn
lea eax, [edi + 0x1ffc]
mov byte [esi + 0x1c7], 1
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f0], edx
mov dword [esi + 0x1f4], ecx
mov dword [esi + 0x1f8], ebx
call fcn.005080c0
mov eax, dword [edi + 0x1ffc]
test eax, eax
jne 0x40cf1f
mov eax, 0x54ee24
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x1ff4], ebx
jle 0x40cf55
cmp eax, ebx
je 0x40cf55
cmp word [eax], bx
je 0x40cf55
mov ecx, dword [edi + 0x1ff0]
cmp ecx, ebx
jne 0x40cf44
mov ecx, 0x54ee24
push ecx
push ebx
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x1ffc]
cmp ecx, ebx
jne 0x40cf64
mov ecx, 0x54ee24
mov dword [ebp - 0x20], ebx
cmp dword [edi + 0x1ff4], ebx
jle 0x40cf98
cmp ecx, ebx
je 0x40cf98
cmp word [ecx], bx
je 0x40cf98
mov eax, dword [edi + 0x1ff0]
cmp eax, ebx
jne 0x40cf87
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0x1ffc]
cmp ecx, ebx
jne 0x40cfa7
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [edi + 0x1ff4], ebx
jle 0x40cfda
test ecx, ecx
je 0x40cfda
cmp word [ecx], bx
je 0x40cfda
mov eax, dword [edi + 0x1ff0]
test eax, eax
jne 0x40cfc9
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [edi + 0x1ffc]
test ecx, ecx
jne 0x40cfe9
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 0x1ff4], eax
jle 0x40d01a
test ecx, ecx
je 0x40d01a
cmp word [ecx], ax
je 0x40d01a
mov eax, dword [edi + 0x1ff0]
test eax, eax
jne 0x40d00b
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x40d026
mov ecx, 0x54ee24
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push edx
push 0
push ecx
push 0x17da
push eax
mov eax, 0x10000000
mov ecx, esi
call fcn.0043b8a0
xor edi, edi
cmp eax, edi
je 0x40d057
mov dword [esi + 0x1c0], edi
push eax
push esi
push 0x832c
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push str.AdvFuncTabWnd_ClientWnd
lea eax, [esi + 0x1ffc]
mov dword [esi + 0x256c], ecx
mov dword [esi + 0x2564], edi
mov dword [esi + 0x2568], edi
call fcn.005080c0
mov eax, dword [esi + 0x1ffc]
mov ecx, eax
cmp eax, edi
jne 0x40d0a5
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x1ff4], edi
jle 0x40d0d5
cmp ecx, edi
je 0x40d0d5
cmp word [ecx], di
je 0x40d0d5
mov eax, dword [esi + 0x1ff0]
cmp eax, edi
jne 0x40d0c7
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x2570], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x40d0f8
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, edi
je 0x40d10f
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc