Function at 0x4cb230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [edi + 0xbd0], eax
lea eax, [edi + 0x3c]
push eax
mov ecx, str.BrCcHome.sdd
mov dword [edi + 0xbd4], esi
mov byte [edi + 0xbd8], bl
mov dword [ebp - 0x14], eax
call fcn.00466b30
push ebx
push esi
push edi
call fcn.004cbfe0
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push ecx
push edi
call fcn.004cc3a0
push ebx
push esi
mov esi, edi
call fcn.004cc560
call fcn.004cd140
push ebx
call fcn.004cd4e0
mov ecx, dword [edi + 0x178]
lea eax, [edi + 0x124]
test ecx, ecx
jle 0x4cb2ec
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4cb2ec
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1983
call fcn.004fdeb0
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edi + 0x250]
lea eax, [edi + 0x1fc]
test ecx, ecx
jle 0x4cb329
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4cb329
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1984
call fcn.004fdeb0
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edi + 0x58c]
lea eax, [edi + 0x538]
test ecx, ecx
jle 0x4cb366
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4cb366
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1985
call fcn.004fdeb0
mov ebx, dword [ebp + 0x14]
lea eax, [edi + 0x4c]
mov dword [ebp - 0x10], eax
test bl, bl
je 0x4cb377
push str.ScanFuncPage_Mini_CustomBtnWnd
jmp 0x4cb37c
push str.ScanFuncPage_CustomBtnWnd
call fcn.004fcf00
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x4cb394
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4cb3c2
cmp ecx, ebx
je 0x4cb3c2
cmp word [ecx], bx
je 0x4cb3c2
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4cb3b1
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4cb3ce
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4cb3fc
cmp ecx, ebx
je 0x4cb3fc
cmp word [ecx], bx
je 0x4cb3fc
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4cb3eb
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4cb408
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4cb435
test ecx, ecx
je 0x4cb435
cmp word [ecx], bx
je 0x4cb435
mov eax, dword [esi + 4]
test eax, eax
jne 0x4cb424
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4cb441
mov ecx, 0x538640
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x4cb471
test ecx, ecx
je 0x4cb471
cmp word [ecx], si
je 0x4cb471
mov eax, dword [eax + 4]
test eax, eax
jne 0x4cb460
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x80fb
lea edx, [ebp - 0x30]
push edx
mov ecx, 0x55a400
call fcn.00467b90
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x44c], ecx
cmp eax, ecx
jne 0x4cb49b
mov eax, 0x538640
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17eb
push eax
lea ecx, [edi + 0x28c]
mov eax, 0x10000000
call fcn.00433520
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp - 0x10]
je 0x4cb4d4
push str.ScanFuncPage_Mini_ScanBtnPict
jmp 0x4cb4d9
push str.ScanFuncPage_ScanBtnPict
call fcn.004fcf00
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
xor edi, edi
cmp ecx, edi
jne 0x4cb4ef
mov ecx, 0x538640
mov dword [ebp - 0x14], edi
cmp dword [esi + 8], edi
jle 0x4cb521
cmp ecx, edi
je 0x4cb521
cmp word [ecx], di
je 0x4cb521
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4cb50c
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0x14], eax
jmp 0x4cb527
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4cb533
mov ecx, 0x538640
mov dword [ebp - 0x10], edi
cmp dword [esi + 8], edi
jle 0x4cb55d
cmp ecx, edi
je 0x4cb55d
cmp word [ecx], di
je 0x4cb55d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4cb550
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4cb569
mov ecx, 0x538640
mov dword [ebp - 0x20], edi
cmp dword [esi + 8], edi
jle 0x4cb593
cmp ecx, edi
je 0x4cb593
cmp word [ecx], di
je 0x4cb593
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4cb586
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4cb59f
mov ecx, 0x538640
mov dword [ebp - 0x24], edi
cmp dword [esi + 8], edi
jle 0x4cb5c9
cmp ecx, edi
je 0x4cb5c9
cmp word [ecx], di
je 0x4cb5c9
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4cb5bc
mov eax, 0x538640
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x24], eax
mov eax, dword [0x55a3f8]
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
xor edi, edi
test eax, eax
je 0x4cb604
push 0x80
push edi
push edi
push edi
push 0xc7cd
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4cb5fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov edi, esi
jmp 0x4cb60e
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4cb647
push 0x80
push 0
push 0
push 0
push 0xc7ce
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4cb63d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x1c], esi
jmp 0x4cb651
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4cb68a
push 0x80
push 0
push 0
push 0
push 0xc7cf
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4cb680
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x18], esi
jmp 0x4cb694
mov dword [0x55a3ec], 0x57
xor ebx, ebx
test eax, eax
je 0x4cb6c6
push 0x80
push ebx
push ebx
push ebx
push 0xc7d8
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4cb6bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
jmp 0x4cb6d0
mov dword [0x55a3ec], 0x57
xor ecx, ecx
test eax, eax
je 0x4cb6ff
push 0x80
push ecx
push ecx
push ecx
push 0xc7d9
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
jne 0x4cb6fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov ecx, esi
jmp 0x4cb709
mov dword [0x55a3ec], 0x57
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x7dc], edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x7e0], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x7d4], edi
mov dword [esi + 0x7d8], edi
mov dword [esi + 0x828], edx
mov edx, dword [ebp - 0x20]
mov dword [esi + 0x82c], eax
mov eax, dword [ebp - 0x24]
xor edi, edi
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x830], edx
mov dword [esi + 0x834], eax
mov dword [esi + 0x838], edi
mov dword [esi + 0x83c], edi
mov dword [esi + 0x840], edx
mov dword [esi + 0x844], eax
mov word [esi + 0x7c5], 0x101
mov dword [esi + 0x7e4], ebx
mov dword [esi + 0x7e8], ecx
je 0x4cb794
mov ebx, esi
push str.ScanFuncPage_Mini_ScanBtnWnd
lea eax, [ebx + 0x4c]
call fcn.004fcf00
jmp 0x4cb7a5
mov eax, esi
push str.ScanFuncPage_ScanBtnWnd
add eax, 0x4c
call fcn.004fcf00
mov ebx, esi
mov ecx, dword [ebx + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4cb7b3
mov ecx, 0x538640
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x44], edi
jle 0x4cb7e1
cmp ecx, edi
je 0x4cb7e1
cmp word [ecx], di
je 0x4cb7e1
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x4cb7d0
mov eax, 0x538640
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 0x4c]
cmp ecx, edi
jne 0x4cb7ed
mov ecx, 0x538640
mov dword [ebp - 0x24], edi
cmp dword [ebx + 0x44], edi
jle 0x4cb81b
cmp ecx, edi
je 0x4cb81b
cmp word [ecx], di
je 0x4cb81b
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x4cb80a
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x4c]
cmp ecx, edi
jne 0x4cb827
mov ecx, 0x538640
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x4cb854
test ecx, ecx
je 0x4cb854
cmp word [ecx], di
je 0x4cb854
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4cb843
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x4cb860
mov ecx, 0x538640
xor ebx, ebx
mov eax, esi
cmp dword [eax + 0x44], ebx
jle 0x4cb88f
test ecx, ecx
je 0x4cb88f
cmp word [ecx], bx
je 0x4cb88f
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4cb87e
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x2af9
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4cb8c2
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x7c0], 0
test eax, eax
jne 0x4cb8db
mov eax, 0x538640
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17ea
push eax
mov eax, 0x10000000
lea ecx, [esi + 0x600]
call fcn.00433520
cmp byte [ebp + 0x14], 0
je 0x4cb91c
mov edi, dword [ebp + 8]
push str.ScanFuncPage_Mini_ClearBtnWnd
lea eax, [edi + 0x4c]
call fcn.004fcf00
jmp 0x4cb92f
mov eax, dword [ebp + 8]
push str.ScanFuncPage_ClearBtnWnd
add eax, 0x4c
call fcn.004fcf00
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4cb93d
mov ecx, 0x538640
mov dword [ebp + 0x14], ebx
cmp dword [edi + 0x44], ebx
jle 0x4cb96f
cmp ecx, ebx
je 0x4cb96f
cmp word [ecx], bx
je 0x4cb96f
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x4cb95a
mov eax, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call esi
mov dword [ebp + 0x14], eax
jmp 0x4cb975
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x4c]
cmp ecx, ebx
jne 0x4cb981
mov ecx, 0x538640
mov dword [ebp + 8], ebx
cmp dword [edi + 0x44], ebx
jle 0x4cb9ab
cmp ecx, ebx
je 0x4cb9ab
cmp word [ecx], bx
je 0x4cb9ab
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x4cb99e
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call esi
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0x4c]
cmp ecx, ebx
jne 0x4cb9b7
mov ecx, 0x538640
cmp dword [edi + 0x44], ebx
jle 0x4cb9de
test ecx, ecx
je 0x4cb9de
cmp word [ecx], bx
je 0x4cb9de
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4cb9d1
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call esi
mov ebx, eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x4cb9ea
mov ecx, 0x538640
xor esi, esi
cmp dword [edi + 0x44], esi
jle 0x4cba17
test ecx, ecx
je 0x4cba17
cmp word [ecx], si
je 0x4cba17
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4cba06
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x80fc
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4cba55
push eax
call fcn.005134a7
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0xa6c], 0
test eax, eax
jne 0x4cba6b
mov eax, 0x538640
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push 0
push eax
push 0x17f6
push edx
lea ecx, [edi + 0x8ac]
mov eax, 0x10000000
call fcn.00433520
mov eax, edi
call fcn.004ca950
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4cbab2
push eax
call fcn.005134a7
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 0x10