Function at 0x4cbac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x234d
mov ebx, eax
mov al, byte [ebp + 0x14]
push ebx
push edi
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0x40000000
mov byte [esi + 0x93b0], al
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, esi
call fcn.0051bbf0
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x4cbdd9
mov edx, dword [ebp + 0x14]
push edx
push edi
push eax
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x74]
push eax
call fcn.004d64e0
cmp byte [ebx + 0xb58], 0
mov cl, 1
je 0x4cbb35
xor cl, cl
mov eax, dword [ebx + 0x630]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x4cbb4e
movzx ecx, cl
push ecx
push eax
call edi
jmp 0x4cbb62
mov edx, dword [ebx + 0x62c]
mov eax, dword [edx + 4]
mov dword [ebx + eax + 0x62c], 6
mov eax, dword [esi + 0x950]
test eax, eax
je 0x4cbb73
push 0
push eax
call edi
jmp 0x4cbb87
mov ecx, dword [esi + 0x94c]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x94c], 6
lea edi, [esi + 0x3c]
push edi
mov ecx, str.BrCcHome.sdd
call fcn.00470260
mov bl, byte [ebp + 0x14]
lea eax, [esi + 0x4c]
test bl, bl
je 0x4cbba6
push str.ScanFuncPage_Mini_PanelWnd
jmp 0x4cbbab
push str.ScanFuncPage_PanelWnd
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4cbbbe
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4cbbe9
test ecx, ecx
je 0x4cbbe9
cmp word [ecx], ax
je 0x4cbbe9
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbbda
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x93b4], eax
lea eax, [esi + 0x4c]
test bl, bl
je 0x4cbbfd
push str.ScanFuncPage_Mini_ToolBtnWnd
jmp 0x4cbc02
push str.ScanFuncPage_ToolBtnWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4cbc13
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x4cbc4c
test ecx, ecx
je 0x4cbc4c
cmp word [ecx], 0
je 0x4cbc4c
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbc36
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0xc], eax
jmp 0x4cbc52
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4cbc5e
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 8], 0
jle 0x4cbc8f
test ecx, ecx
je 0x4cbc8f
cmp word [ecx], 0
je 0x4cbc8f
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbc81
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call ebx
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4cbc9b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4cbcc2
test ecx, ecx
je 0x4cbcc2
cmp word [ecx], ax
je 0x4cbcc2
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbcb7
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
sub edi, dword [esi + 0x93b4]
mov edx, dword [ebp - 8]
lea ebx, [esi + 0xc54]
push ebx
push 0x232e
push ecx
mov ecx, dword [ebp + 8]
push eax
push edi
push edx
mov dword [esi + 0x93b8], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, ebx
call fcn.0051bbf0
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x38], 1
test eax, eax
je 0x4cbd25
mov edx, dword [ebp + 8]
push 0
push 1
push 0
push eax
push edx
push ebx
call fcn.0050ec90
mov eax, esi
call fcn.004cd9b0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x93b8]
push eax
mov eax, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ebp + 0x10]
push ecx
lea ecx, [esi + 0x2920]
call fcn.004c9560
xor bl, bl
call fcn.004cdd00
lea eax, [esi + 0x4c]
cmp byte [ebp + 0x14], bl
je 0x4cbd67
push str.ScanFuncPage_Mini_FuncBtnWnd
jmp 0x4cbd6c
push str.ScanFuncPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4cbd7d
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x4cbda8
test ecx, ecx
je 0x4cbda8
cmp word [ecx], ax
je 0x4cbda8
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4cbd99
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [esi + 0x93b8]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
sub edi, eax
mov eax, dword [esi + 0x93b4]
push edi
mov edi, dword [ebp - 4]
push eax
push edi
sub ebx, edx
push ecx
add esi, 0x374c
call fcn.004d27e0
push 0
call fcn.00514480
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10