Function at 0x4d73e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5403e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x575494]
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.00470260
push ebx
push esi
push edi
call fcn.004d8190
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push ecx
push edi
call fcn.004d8550
push ebx
push esi
mov esi, edi
call fcn.004d8710
call fcn.004d92f0
push ebx
call fcn.004d9690
mov ecx, dword [edi + 0x178]
lea eax, [edi + 0x124]
test ecx, ecx
jle 0x4d749c
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4d749c
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.00509070
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edi + 0x250]
lea eax, [edi + 0x1fc]
test ecx, ecx
jle 0x4d74d9
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4d74d9
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.00509070
mov ebx, dword [ebp + 0x14]
mov ecx, dword [edi + 0x58c]
lea eax, [edi + 0x538]
test ecx, ecx
jle 0x4d7516
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4d7516
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.00509070
mov ebx, dword [ebp + 0x14]
lea eax, [edi + 0x4c]
mov dword [ebp - 0x10], eax
test bl, bl
je 0x4d7527
push str.ScanFuncPage_Mini_CustomBtnWnd
jmp 0x4d752c
push str.ScanFuncPage_CustomBtnWnd
call fcn.005080c0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov ecx, eax
cmp eax, ebx
jne 0x4d7544
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4d7572
cmp ecx, ebx
je 0x4d7572
cmp word [ecx], bx
je 0x4d7572
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4d7561
mov eax, 0x54ee24
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 0x4d757e
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4d75ac
cmp ecx, ebx
je 0x4d75ac
cmp word [ecx], bx
je 0x4d75ac
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4d759b
mov eax, 0x54ee24
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 0x4d75b8
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4d75e5
test ecx, ecx
je 0x4d75e5
cmp word [ecx], bx
je 0x4d75e5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d75d4
mov eax, 0x54ee24
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 0x4d75f1
mov ecx, 0x54ee24
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x4d7621
test ecx, ecx
je 0x4d7621
cmp word [ecx], si
je 0x4d7621
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d7610
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471380
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x44c], ecx
cmp eax, ecx
jne 0x4d764b
mov eax, 0x54ee24
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.0043b720
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp - 0x10]
je 0x4d7684
push str.ScanFuncPage_Mini_ScanBtnPict
jmp 0x4d7689
push str.ScanFuncPage_ScanBtnPict
call fcn.005080c0
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
xor edi, edi
cmp ecx, edi
jne 0x4d769f
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 8], edi
jle 0x4d76d1
cmp ecx, edi
je 0x4d76d1
cmp word [ecx], di
je 0x4d76d1
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d76bc
mov eax, 0x54ee24
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 0x4d76d7
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d76e3
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 8], edi
jle 0x4d770d
cmp ecx, edi
je 0x4d770d
cmp word [ecx], di
je 0x4d770d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d7700
mov eax, 0x54ee24
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 0x4d7719
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [esi + 8], edi
jle 0x4d7743
cmp ecx, edi
je 0x4d7743
cmp word [ecx], di
je 0x4d7743
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d7736
mov eax, 0x54ee24
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 0x4d774f
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [esi + 8], edi
jle 0x4d7779
cmp ecx, edi
je 0x4d7779
cmp word [ecx], di
je 0x4d7779
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d776c
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x24], eax
mov eax, dword [0x577698]
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
xor edi, edi
test eax, eax
je 0x4d77b4
push 0x80
push edi
push edi
push edi
push 0xc7cd
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4d77ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov edi, esi
jmp 0x4d77be
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4d77f7
push 0x80
push 0
push 0
push 0
push 0xc7ce
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4d77ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], esi
jmp 0x4d7801
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4d783a
push 0x80
push 0
push 0
push 0
push 0xc7cf
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4d7830
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], esi
jmp 0x4d7844
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4d7876
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 0x4d786f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4d7880
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4d78af
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 0x4d78ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, esi
jmp 0x4d78b9
mov dword [0x57768c], 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 0x4d7944
mov ebx, esi
push str.ScanFuncPage_Mini_ScanBtnWnd
lea eax, [ebx + 0x4c]
call fcn.005080c0
jmp 0x4d7955
mov eax, esi
push str.ScanFuncPage_ScanBtnWnd
add eax, 0x4c
call fcn.005080c0
mov ebx, esi
mov ecx, dword [ebx + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4d7963
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x44], edi
jle 0x4d7991
cmp ecx, edi
je 0x4d7991
cmp word [ecx], di
je 0x4d7991
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x4d7980
mov eax, 0x54ee24
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 0x4d799d
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [ebx + 0x44], edi
jle 0x4d79cb
cmp ecx, edi
je 0x4d79cb
cmp word [ecx], di
je 0x4d79cb
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x4d79ba
mov eax, 0x54ee24
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 0x4d79d7
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x4d7a04
test ecx, ecx
je 0x4d7a04
cmp word [ecx], di
je 0x4d7a04
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4d79f3
mov eax, 0x54ee24
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 0x4d7a10
mov ecx, 0x54ee24
xor ebx, ebx
mov eax, esi
cmp dword [eax + 0x44], ebx
jle 0x4d7a3f
test ecx, ecx
je 0x4d7a3f
cmp word [ecx], bx
je 0x4d7a3f
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4d7a2e
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d7a72
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x7c0], 0
test eax, eax
jne 0x4d7a8b
mov eax, 0x54ee24
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.0043b720
cmp byte [ebp + 0x14], 0
je 0x4d7acc
mov edi, dword [ebp + 8]
push str.ScanFuncPage_Mini_ClearBtnWnd
lea eax, [edi + 0x4c]
call fcn.005080c0
jmp 0x4d7adf
mov eax, dword [ebp + 8]
push str.ScanFuncPage_ClearBtnWnd
add eax, 0x4c
call fcn.005080c0
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d7aed
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [edi + 0x44], ebx
jle 0x4d7b1f
cmp ecx, ebx
je 0x4d7b1f
cmp word [ecx], bx
je 0x4d7b1f
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x4d7b0a
mov eax, 0x54ee24
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 0x4d7b25
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x4c]
cmp ecx, ebx
jne 0x4d7b31
mov ecx, 0x54ee24
mov dword [ebp + 8], ebx
cmp dword [edi + 0x44], ebx
jle 0x4d7b5b
cmp ecx, ebx
je 0x4d7b5b
cmp word [ecx], bx
je 0x4d7b5b
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x4d7b4e
mov eax, 0x54ee24
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 0x4d7b67
mov ecx, 0x54ee24
cmp dword [edi + 0x44], ebx
jle 0x4d7b8e
test ecx, ecx
je 0x4d7b8e
cmp word [ecx], bx
je 0x4d7b8e
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4d7b81
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call esi
mov ebx, eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x4d7b9a
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 0x44], esi
jle 0x4d7bc7
test ecx, ecx
je 0x4d7bc7
cmp word [ecx], si
je 0x4d7bc7
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4d7bb6
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d7c05
push eax
call fcn.0051eadb
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 0x4d7c1b
mov eax, 0x54ee24
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.0043b720
mov eax, edi
call fcn.004d6b00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4d7c62
push eax
call fcn.0051eadb
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