Function at 0x4cbb30
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.0051bcc0
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x4cbe49
mov edx, dword [ebp + 0x14]
push edx
push edi
push eax
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x74]
push eax
call fcn.004d64c0
cmp byte [ebx + 0xb58], 0
mov cl, 1
je 0x4cbba5
xor cl, cl
mov eax, dword [ebx + 0x630]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x4cbbbe
movzx ecx, cl
push ecx
push eax
call edi
jmp 0x4cbbd2
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 0x4cbbe3
push 0
push eax
call edi
jmp 0x4cbbf7
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.00470370
mov bl, byte [ebp + 0x14]
lea eax, [esi + 0x4c]
test bl, bl
je 0x4cbc16
push str.ScanFuncPage_Mini_PanelWnd
jmp 0x4cbc1b
push str.ScanFuncPage_PanelWnd
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4cbc2e
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4cbc59
test ecx, ecx
je 0x4cbc59
cmp word [ecx], ax
je 0x4cbc59
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbc4a
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 0x4cbc6d
push str.ScanFuncPage_Mini_ToolBtnWnd
jmp 0x4cbc72
push str.ScanFuncPage_ToolBtnWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4cbc83
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x4cbcbc
test ecx, ecx
je 0x4cbcbc
cmp word [ecx], 0
je 0x4cbcbc
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbca6
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 0x4cbcc2
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4cbcce
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 8], 0
jle 0x4cbcff
test ecx, ecx
je 0x4cbcff
cmp word [ecx], 0
je 0x4cbcff
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbcf1
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 0x4cbd0b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4cbd32
test ecx, ecx
je 0x4cbd32
cmp word [ecx], ax
je 0x4cbd32
mov eax, dword [edi + 4]
test eax, eax
jne 0x4cbd27
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.0051bcc0
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x38], 1
test eax, eax
je 0x4cbd95
mov edx, dword [ebp + 8]
push 0
push 1
push 0
push eax
push edx
push ebx
call fcn.0050ed50
mov eax, esi
call fcn.004cd990
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.004c95d0
xor bl, bl
call fcn.004cdce0
lea eax, [esi + 0x4c]
cmp byte [ebp + 0x14], bl
je 0x4cbdd7
push str.ScanFuncPage_Mini_FuncBtnWnd
jmp 0x4cbddc
push str.ScanFuncPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4cbded
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x4cbe18
test ecx, ecx
je 0x4cbe18
cmp word [ecx], ax
je 0x4cbe18
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4cbe09
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.004d27c0
push 0
call fcn.005145b0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10