Function at 0x4121c0
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.00470370
push str.AdvFuncTabBtn
lea eax, [ebx + 0x10]
call fcn.005080c0
mov eax, dword [ebx + 0x10]
mov ecx, eax
test eax, eax
jne 0x4121ee
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebx + 8], eax
jle 0x41221d
test ecx, ecx
je 0x41221d
cmp word [ecx], ax
je 0x41221d
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41220a
mov eax, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call esi
jmp 0x412223
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 0x412237
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebx + 8], eax
jle 0x41225e
test ecx, ecx
je 0x41225e
cmp word [ecx], ax
je 0x41225e
mov eax, dword [ebx + 4]
test eax, eax
jne 0x412253
mov eax, 0x54ee24
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 0x412270
mov eax, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x412299
test eax, eax
je 0x412299
cmp word [eax], di
je 0x412299
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x41228c
mov ecx, 0x54ee24
push ecx
push 0
push str.Width
push eax
call esi
mov edi, eax
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x4122a5
mov edx, 0x54ee24
xor ecx, ecx
xor esi, esi
cmp dword [ebx + 8], ecx
jle 0x4122d5
cmp edx, ecx
je 0x4122d5
cmp word [edx], cx
je 0x4122d5
mov eax, dword [ebx + 4]
cmp eax, ecx
jne 0x4122c3
mov eax, 0x54ee24
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 0x4122e1
mov edx, 0x54ee24
xor eax, eax
cmp dword [ebx + 8], ecx
jle 0x41230d
cmp edx, ecx
je 0x41230d
cmp word [edx], cx
je 0x41230d
mov eax, dword [ebx + 4]
cmp eax, ecx
jne 0x4122fd
mov eax, 0x54ee24
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 0x412320
pop edi
pop esi
mov esp, ebp
pop ebp
ret