Function at 0x40dd90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push ebx
mov ecx, str.BrCcAdvnc.sdd
call fcn.00466b30
push str.AdvFuncTabBtn
lea eax, [ebx + 0x10]
call fcn.004fcf00
mov eax, dword [ebx + 0x10]
mov ecx, eax
test eax, eax
jne 0x40ddbe
mov ecx, 0x538640
xor eax, eax
cmp dword [ebx + 8], eax
jle 0x40dded
test ecx, ecx
je 0x40dded
cmp word [ecx], ax
je 0x40dded
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40ddda
mov eax, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call esi
jmp 0x40ddf3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x194c], eax
mov eax, dword [ebx + 0x10]
mov ecx, eax
test eax, eax
jne 0x40de07
mov ecx, 0x538640
xor eax, eax
cmp dword [ebx + 8], eax
jle 0x40de2e
test ecx, ecx
je 0x40de2e
cmp word [ecx], ax
je 0x40de2e
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40de23
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call esi
mov dword [ebx + 0x1950], eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x40de40
mov eax, 0x538640
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x40de69
test eax, eax
je 0x40de69
cmp word [eax], di
je 0x40de69
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40de5c
mov ecx, 0x538640
push ecx
push 0
push str.Width
push eax
call esi
mov edi, eax
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x40de75
mov edx, 0x538640
xor ecx, ecx
xor esi, esi
cmp dword [ebx + 8], ecx
jle 0x40dea5
cmp edx, ecx
je 0x40dea5
cmp word [edx], cx
je 0x40dea5
mov eax, dword [ebx + 4]
cmp eax, ecx
jne 0x40de93
mov eax, 0x538640
push eax
push ecx
push str.Height
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
xor ecx, ecx
mov edx, dword [ebx + 0x10]
cmp edx, ecx
jne 0x40deb1
mov edx, 0x538640
xor eax, eax
cmp dword [ebx + 8], ecx
jle 0x40dedd
cmp edx, ecx
je 0x40dedd
cmp word [edx], cx
je 0x40dedd
mov eax, dword [ebx + 4]
cmp eax, ecx
jne 0x40decd
mov eax, 0x538640
push eax
push ecx
push str.OffsetX
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
mov dword [ebx + 0x1954], eax
lea eax, [ebx + 0x320]
mov dword [ebp - 8], 3
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], esi
mov edx, 1
mov byte [eax - 0x63], dl
mov dword [eax - 0x68], edx
mov edx, dword [ebx + 0x1950]
mov dword [ebp - 4], edx
mov edx, dword [ebx + 0x194c]
mov dword [eax - 0x128], edx
mov edx, dword [ebp - 4]
mov dword [eax - 0x124], edx
mov dword [eax - 0x120], edi
mov dword [eax - 0x11c], esi
mov edx, 1
mov byte [eax + 0x249], dl
mov dword [eax + 0x2ac], ecx
mov dword [eax + 0x2b0], ecx
mov dword [eax + 0x2b4], edi
mov dword [eax + 0x2b8], esi
mov dword [eax + 0x2bc], ecx
mov dword [eax + 0x2c0], ecx
mov dword [eax + 0x2c4], edi
mov dword [eax + 0x2c8], esi
mov dword [eax + 0x244], edx
mov edx, dword [ebx + 0x1950]
mov dword [ebp - 4], edx
mov edx, dword [ebx + 0x194c]
mov dword [eax + 0x184], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x188], edx
mov dword [eax + 0x18c], edi
mov dword [eax + 0x190], esi
mov edx, 1
mov byte [eax + 0x4f5], dl
mov dword [eax + 0x558], ecx
mov dword [eax + 0x55c], ecx
mov dword [eax + 0x560], edi
mov dword [eax + 0x564], esi
mov dword [eax + 0x568], ecx
mov dword [eax + 0x56c], ecx
mov dword [eax + 0x570], edi
mov dword [eax + 0x574], esi
mov dword [eax + 0x4f0], edx
mov edx, dword [ebx + 0x1950]
mov dword [ebp - 4], edx
mov edx, dword [ebx + 0x194c]
mov dword [eax + 0x430], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x434], edx
mov dword [eax + 0x438], edi
mov dword [eax + 0x43c], esi
add eax, 0x804
dec dword [ebp - 8]
jne 0x40def0
pop edi
pop esi
mov esp, ebp
pop ebp
ret