Function at 0x4bfbe0
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 + 0x9150], al
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, esi
call fcn.005109b0
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x4bfef9
mov edx, dword [ebp + 0x14]
push edx
push edi
push eax
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x74]
push eax
call fcn.004ca330
cmp byte [ebx + 0xb58], 0
mov cl, 1
je 0x4bfc55
xor cl, cl
mov eax, dword [ebx + 0x630]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x4bfc6e
movzx ecx, cl
push ecx
push eax
call edi
jmp 0x4bfc82
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 0x4bfc93
push 0
push eax
call edi
jmp 0x4bfca7
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.00466b30
mov bl, byte [ebp + 0x14]
lea eax, [esi + 0x4c]
test bl, bl
je 0x4bfcc6
push str.ScanFuncPage_Mini_PanelWnd
jmp 0x4bfccb
push str.ScanFuncPage_PanelWnd
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4bfcde
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bfd09
test ecx, ecx
je 0x4bfd09
cmp word [ecx], ax
je 0x4bfd09
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bfcfa
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x9154], eax
lea eax, [esi + 0x4c]
test bl, bl
je 0x4bfd1d
push str.ScanFuncPage_Mini_ToolBtnWnd
jmp 0x4bfd22
push str.ScanFuncPage_ToolBtnWnd
call fcn.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4bfd33
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x4bfd6c
test ecx, ecx
je 0x4bfd6c
cmp word [ecx], 0
je 0x4bfd6c
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bfd56
mov eax, 0x538640
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 0x4bfd72
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4bfd7e
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 8], 0
jle 0x4bfdaf
test ecx, ecx
je 0x4bfdaf
cmp word [ecx], 0
je 0x4bfdaf
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bfda1
mov eax, 0x538640
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 0x4bfdbb
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bfde2
test ecx, ecx
je 0x4bfde2
cmp word [ecx], ax
je 0x4bfde2
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bfdd7
mov eax, 0x538640
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 + 0x9154]
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 + 0x9158], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, ebx
call fcn.005109b0
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x38], 1
test eax, eax
je 0x4bfe47
mov edx, dword [ebp + 8]
push 0
push 0
push 1
push 0
push eax
push edx
push ebx
call fcn.005037d0
call fcn.004c1950
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x9158]
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 + 0x27f0]
call fcn.004bd680
xor bl, bl
call fcn.004c1bf0
lea eax, [esi + 0x4c]
cmp byte [ebp + 0x14], bl
je 0x4bfe87
push str.ScanFuncPage_Mini_FuncBtnWnd
jmp 0x4bfe8c
push str.ScanFuncPage_FuncBtnWnd
call fcn.004fcf00
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4bfe9d
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x4bfec8
test ecx, ecx
je 0x4bfec8
cmp word [ecx], ax
je 0x4bfec8
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4bfeb9
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [esi + 0x9158]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
sub edi, eax
mov eax, dword [esi + 0x9154]
push edi
mov edi, dword [ebp - 4]
push eax
push edi
sub ebx, edx
push ecx
add esi, 0x361c
call fcn.004c6690
push 0
call fcn.00508fc0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10