Function at 0x4a9510
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b070
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov al, byte [0x57bf75]
lea edi, [esi + 0x3c]
push edi
mov ecx, 0x554c58
mov byte [esi + 0xb10], al
call fcn.00470370
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
call fcn.004a9a20
push ebx
call fcn.004a9f50
lea eax, [esi + 0x4c]
push str.PanelFncBtn_BtnWnd
mov dword [ebp - 0x1c], eax
call fcn.005080c0
mov eax, dword [edi + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x4a9593
mov eax, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [edi + 8], ebx
jle 0x4a95c5
cmp eax, ebx
je 0x4a95c5
cmp word [eax], bx
je 0x4a95c5
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x4a95b0
mov ecx, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiX
push eax
call esi
mov dword [ebp - 0x18], eax
jmp 0x4a95cb
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4a95d7
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [edi + 8], ebx
jle 0x4a9601
cmp ecx, ebx
je 0x4a9601
cmp word [ecx], bx
je 0x4a9601
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4a95f4
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp eax, ebx
jne 0x4a9613
mov eax, 0x54ee24
cmp dword [edi + 8], ebx
jle 0x4a963a
test eax, eax
je 0x4a963a
cmp word [eax], bx
je 0x4a963a
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a962d
mov ecx, 0x54ee24
push ecx
push 0
push str.Width
push eax
call esi
mov ebx, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a9646
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4a9673
test ecx, ecx
je 0x4a9673
cmp word [ecx], si
je 0x4a9673
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a9662
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0x20], 0
je 0x4a972a
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb10], 0
je 0x4a972a
push 0x80fa
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4a96c7
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x234], 0
test eax, eax
jne 0x4a96e0
mov eax, 0x54ee24
mov edx, dword [ebp - 0x14]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x18]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x179b
push eax
add ecx, 0x74
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, dword [ebp - 0x1c]
push str.PanelFncBtn_BtnBase
call fcn.005080c0
mov esi, str.Height
mov ecx, edi
call fcn.004092f0
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
push str.PanelWndBtn_BtnWnd
call fcn.005080c0
mov eax, dword [edi + 0x10]
xor esi, esi
mov ecx, eax
cmp eax, esi
jne 0x4a9747
mov ecx, 0x54ee24
mov dword [ebp - 0x14], esi
cmp dword [edi + 8], esi
jle 0x4a9779
cmp ecx, esi
je 0x4a9779
cmp word [ecx], si
je 0x4a9779
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4a9764
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push esi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0x14], eax
jmp 0x4a977f
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x4a978b
mov ecx, 0x54ee24
mov dword [ebp + 0x18], esi
cmp dword [edi + 8], esi
jle 0x4a97b5
cmp ecx, esi
je 0x4a97b5
cmp word [ecx], si
je 0x4a97b5
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4a97a8
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 0x4a97c1
mov ecx, 0x54ee24
mov dword [ebp - 0x18], esi
cmp dword [edi + 8], esi
jle 0x4a97ef
cmp ecx, esi
je 0x4a97ef
cmp word [ecx], si
je 0x4a97ef
mov edi, dword [edi + 4]
mov eax, edi
cmp edi, esi
jne 0x4a97e0
mov eax, 0x54ee24
push eax
push esi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov esi, eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
lea eax, [eax + esi*2]
push 0x791a
lea ecx, [ebp - 0x38]
mov dword [ebx + 0xad8], edi
sub edi, eax
push ecx
mov ecx, 0x5776a0
mov dword [ebx + 0xae4], esi
mov dword [ebx + 0xae0], edx
mov dword [ebx + 0xae8], eax
mov dword [ebp + 0x14], edi
call fcn.00471480
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4a984e
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x4e0], 3
test eax, eax
jne 0x4a9864
mov eax, 0x54ee24
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17df
push eax
lea ecx, [ebx + 0x320]
mov ebx, dword [ebp + 0x10]
mov eax, 0x10000000
call fcn.0043b8a0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
add ebx, 0x878
push ebx
push 0x235c
push ecx
mov ecx, dword [ebp + 0xc]
push edi
push edx
add eax, esi
push eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, ebx
call fcn.0051bcc0
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x38], 1
test eax, eax
je 0x4a9902
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push 0x21fe
push edx
mov edx, edi
lea esi, [ebx + 0x3c]
mov edi, eax
call fcn.0044a280
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ebx + 0xb0], eax
push 0x7919
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov ebx, 3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4a9944
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78c], ebx
test eax, eax
jne 0x4a9959
mov eax, 0x54ee24
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
push esi
push edx
mov edx, dword [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x14]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17e0
push eax
add ecx, 0x5cc
mov eax, 0x10000000
call fcn.0043b8a0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
add ebx, 0x930
push ebx
push 0x235d
add eax, esi
mov esi, dword [ebp + 0x10]
push esi
push edi
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push edx
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, ebx
call fcn.0051bcc0
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], esi
mov byte [ebx + 0x38], 1
test eax, eax
je 0x4a99eb
mov ecx, dword [ebp + 0xc]
push 0x21fd
push ecx
mov ecx, dword [ebp + 0x18]
mov edx, edi
lea esi, [ebx + 0x3c]
mov edi, eax
call fcn.0044a280
mov dword [ebx + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4a9a02
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 0x14