Function at 0x4087a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dcf0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x559024]
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.00466b30
lea eax, [esi + 0x1ffc]
push str.AdvConfigMenu_BtnText
call fcn.004fcf00
mov eax, dword [edi + 0x10]
xor esi, esi
cmp eax, esi
jne 0x4087fa
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], esi
cmp dword [edi + 8], esi
jle 0x40882a
cmp eax, esi
je 0x40882a
cmp word [eax], si
je 0x40882a
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x40881d
mov ecx, 0x538640
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 0x408836
mov ecx, 0x538640
mov dword [ebp - 0x14], esi
cmp dword [edi + 8], esi
jle 0x408860
cmp ecx, esi
je 0x408860
cmp word [ecx], si
je 0x408860
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x408853
mov eax, 0x538640
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 0x40886c
mov ecx, 0x538640
mov dword [ebp - 0x18], esi
cmp dword [edi + 8], esi
jle 0x408896
cmp ecx, esi
je 0x408896
cmp word [ecx], si
je 0x408896
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x408889
mov eax, 0x538640
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 0x4088a2
mov ecx, 0x538640
mov dword [ebp - 0x1c], esi
cmp dword [edi + 8], esi
jle 0x4088cc
cmp ecx, esi
je 0x4088cc
cmp word [ecx], si
je 0x4088cc
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4088bf
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, esi
jne 0x4088f3
mov dword [ebp - 0x38], 0x538640
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x4088ff
mov ecx, 0x538640
mov dword [ebp - 0x20], esi
cmp dword [edi + 8], esi
jle 0x408929
cmp ecx, esi
je 0x408929
cmp word [ecx], si
je 0x408929
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x40891c
mov eax, 0x538640
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, 0x55a400
mov byte [ebp - 0x5c], bl
mov edi, 0xffffff
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x4c], 0
call fcn.00467b90
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x408960
mov eax, 0x538640
mov esi, dword [ebp + 8]
add esi, 0x200c
push eax
lea eax, [esi + 0xa0]
mov byte [esi + 0x1c4], bl
call fcn.004fcf00
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.0046a1f0
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 [0x55a3f8]
xor ebx, ebx
test eax, eax
je 0x408a31
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 0x408a2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
jmp 0x408a3b
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x20], 0
test eax, eax
je 0x408a78
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 0x408a6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x20], edi
jmp 0x408a82
mov dword [0x55a3ec], 0x57
xor ecx, ecx
test eax, eax
je 0x408ab1
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 0x408aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov ecx, edi
jmp 0x408abb
mov dword [0x55a3ec], 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.004fcf00
mov eax, dword [edi + 0x1ffc]
test eax, eax
jne 0x408aff
mov eax, 0x538640
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x1ff4], ebx
jle 0x408b35
cmp eax, ebx
je 0x408b35
cmp word [eax], bx
je 0x408b35
mov ecx, dword [edi + 0x1ff0]
cmp ecx, ebx
jne 0x408b24
mov ecx, 0x538640
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 0x408b44
mov ecx, 0x538640
mov dword [ebp - 0x20], ebx
cmp dword [edi + 0x1ff4], ebx
jle 0x408b78
cmp ecx, ebx
je 0x408b78
cmp word [ecx], bx
je 0x408b78
mov eax, dword [edi + 0x1ff0]
cmp eax, ebx
jne 0x408b67
mov eax, 0x538640
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 0x408b87
mov ecx, 0x538640
xor ebx, ebx
cmp dword [edi + 0x1ff4], ebx
jle 0x408bba
test ecx, ecx
je 0x408bba
cmp word [ecx], bx
je 0x408bba
mov eax, dword [edi + 0x1ff0]
test eax, eax
jne 0x408ba9
mov eax, 0x538640
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 0x408bc9
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 0x1ff4], eax
jle 0x408bfa
test ecx, ecx
je 0x408bfa
cmp word [ecx], ax
je 0x408bfa
mov eax, dword [edi + 0x1ff0]
test eax, eax
jne 0x408beb
mov eax, 0x538640
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 0x408c06
mov ecx, 0x538640
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.00433520
xor edi, edi
cmp eax, edi
je 0x408c37
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.004fcf00
mov eax, dword [esi + 0x1ffc]
mov ecx, eax
cmp eax, edi
jne 0x408c85
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 0x1ff4], edi
jle 0x408cb5
cmp ecx, edi
je 0x408cb5
cmp word [ecx], di
je 0x408cb5
mov eax, dword [esi + 0x1ff0]
cmp eax, edi
jne 0x408ca7
mov eax, 0x538640
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 0x408cd8
push eax
call fcn.005134a7
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 0x408cef
push eax
call fcn.005134a7
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