Function at 0x4fa3c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e248
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0x14], 2
lea esi, [edi + 0x3c]
push esi
jne 0x4fa492
mov ecx, str.BrCcAdvnc.sdd
call fcn.00466b30
push str.AdvDevStatus_Button
lea eax, [edi + 0x4c]
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4fa420
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4fa44b
test ecx, ecx
je 0x4fa44b
cmp word [ecx], ax
je 0x4fa44b
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fa43c
mov eax, 0x538640
push eax
push 0
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4fa45b
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4fa486
test ecx, ecx
je 0x4fa486
cmp word [ecx], ax
je 0x4fa486
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fa477
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 0x18], eax
mov byte [edi + 0x468], 1
jmp 0x4fa4af
mov ecx, str.BrCcHome.sdd
call fcn.00466b30
push str.HomeDevStatus_Button
lea eax, [edi + 0x4c]
call fcn.004fcf00
mov byte [edi + 0x468], bl
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4fa4bb
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 0x14], 0
jle 0x4fa4f0
test ecx, ecx
je 0x4fa4f0
cmp word [ecx], 0
je 0x4fa4f0
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fa4de
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4fa4fc
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x4fa531
test ecx, ecx
je 0x4fa531
cmp word [ecx], 0
je 0x4fa531
mov eax, dword [esi + 4]
test eax, eax
jne 0x4fa51f
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push edi
push 0x2332
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ebx
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, edi
call fcn.005109b0
mov ecx, dword [ebp + 0x10]
mov ebx, eax
mov dword [ebp + 0x18], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ecx
mov byte [edi + 0x38], 1
test ebx, ebx
je 0x4fa6e8
cmp dword [ebp + 0x14], 2
push esi
mov ecx, str.BrCcAdvnc.sdd
je 0x4fa58b
mov ecx, str.BrCcHome.sdd
call fcn.00466b30
mov edx, dword [ebp + 0x14]
push edx
mov esi, edi
call fcn.004fb000
mov ecx, dword [ebp + 0x14]
push ebx
call fcn.004fb290
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.004fb440
push esi
mov eax, edi
call fcn.004fb5d0
xor eax, eax
push str.Status_Monitor
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor eax, eax
cmp esi, eax
jle 0x4fa619
mov ecx, esi
lea ebx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
call fcn.004fca40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
cmp ecx, eax
je 0x4fa619
mov edx, dword [ebp - 0x24]
lea ecx, [esi + 1]
push ecx
push str.Status_Monitor
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x20], esi
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x24]
cmp edx, eax
jne 0x4fa628
mov edx, 0x538640
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push ebx
lea esi, [edi + 0x84]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
call fcn.004395f0
mov esi, eax
test esi, esi
je 0x4fa6d1
mov eax, dword [0x55a418]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x4fa662.2
movzx ecx, byte [eax + 0x4fa708]
jmp dword [ecx*4 + 0x4fa700]
mov byte [ebp + 0x14], 1
jmp 0x4fa673
mov byte [ebp + 0x14], 0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
lea eax, [edi + 0x5c]
push ecx
mov ecx, 0x40
mov dword [ebp + 0x10], eax
call fcn.005069b0
mov edi, dword [ebp - 0x24]
test edi, edi
jne 0x4fa697
mov edi, 0x538640
mov ecx, dword [ebp + 0x10]
call fcn.00506a20
mov edi, dword [ebp + 8]
lea eax, [edi + 0x428]
call fcn.004fa110
push edi
call fcn.004fae70
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x18]
push esi
push edx
push 0x832c
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4fa6e8
push eax
call fcn.005134a7
add esp, 4
mov eax, ebx
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