Function at 0x4d73c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5402d8
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.00470370
push ebx
push esi
push edi
call fcn.004d8170
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push ecx
push edi
call fcn.004d8530
push ebx
push esi
mov esi, edi
call fcn.004d86f0
call fcn.004d92d0
push ebx
call fcn.004d9670
mov ecx, dword [edi + 0x178]
lea eax, [edi + 0x124]
test ecx, ecx
jle 0x4d747c
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4d747c
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 0x4d74b9
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4d74b9
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 0x4d74f6
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4d74f6
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 0x4d7507
push str.ScanFuncPage_Mini_CustomBtnWnd
jmp 0x4d750c
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 0x4d7524
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4d7552
cmp ecx, ebx
je 0x4d7552
cmp word [ecx], bx
je 0x4d7552
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4d7541
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 0x4d755e
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4d758c
cmp ecx, ebx
je 0x4d758c
cmp word [ecx], bx
je 0x4d758c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4d757b
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 0x4d7598
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4d75c5
test ecx, ecx
je 0x4d75c5
cmp word [ecx], bx
je 0x4d75c5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d75b4
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 0x4d75d1
mov ecx, 0x54ee24
mov eax, dword [ebp - 0x14]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x4d7601
test ecx, ecx
je 0x4d7601
cmp word [ecx], si
je 0x4d7601
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d75f0
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.00471480
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x44c], ecx
cmp eax, ecx
jne 0x4d762b
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.0043b8a0
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp - 0x10]
je 0x4d7664
push str.ScanFuncPage_Mini_ScanBtnPict
jmp 0x4d7669
push str.ScanFuncPage_ScanBtnPict
call fcn.005080c0
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
xor edi, edi
cmp ecx, edi
jne 0x4d767f
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 8], edi
jle 0x4d76b1
cmp ecx, edi
je 0x4d76b1
cmp word [ecx], di
je 0x4d76b1
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d769c
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 0x4d76b7
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d76c3
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 8], edi
jle 0x4d76ed
cmp ecx, edi
je 0x4d76ed
cmp word [ecx], di
je 0x4d76ed
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d76e0
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 0x4d76f9
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [esi + 8], edi
jle 0x4d7723
cmp ecx, edi
je 0x4d7723
cmp word [ecx], di
je 0x4d7723
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d7716
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 0x4d772f
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [esi + 8], edi
jle 0x4d7759
cmp ecx, edi
je 0x4d7759
cmp word [ecx], di
je 0x4d7759
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d774c
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 0x4d7794
push 0x80
push edi
push edi
push edi
push 0xc7cd
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4d778b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov edi, esi
jmp 0x4d779e
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4d77d7
push 0x80
push 0
push 0
push 0
push 0xc7ce
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4d77cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], esi
jmp 0x4d77e1
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4d781a
push 0x80
push 0
push 0
push 0
push 0xc7cf
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4d7810
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], esi
jmp 0x4d7824
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x4d7856
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 0x4d784f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4d7860
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4d788f
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 0x4d788b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, esi
jmp 0x4d7899
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 0x4d7924
mov ebx, esi
push str.ScanFuncPage_Mini_ScanBtnWnd
lea eax, [ebx + 0x4c]
call fcn.005080c0
jmp 0x4d7935
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 0x4d7943
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x44], edi
jle 0x4d7971
cmp ecx, edi
je 0x4d7971
cmp word [ecx], di
je 0x4d7971
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x4d7960
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 0x4d797d
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [ebx + 0x44], edi
jle 0x4d79ab
cmp ecx, edi
je 0x4d79ab
cmp word [ecx], di
je 0x4d79ab
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x4d799a
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 0x4d79b7
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x4d79e4
test ecx, ecx
je 0x4d79e4
cmp word [ecx], di
je 0x4d79e4
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4d79d3
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 0x4d79f0
mov ecx, 0x54ee24
xor ebx, ebx
mov eax, esi
cmp dword [eax + 0x44], ebx
jle 0x4d7a1f
test ecx, ecx
je 0x4d7a1f
cmp word [ecx], bx
je 0x4d7a1f
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4d7a0e
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.00471480
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 0x4d7a52
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x7c0], 0
test eax, eax
jne 0x4d7a6b
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.0043b8a0
cmp byte [ebp + 0x14], 0
je 0x4d7aac
mov edi, dword [ebp + 8]
push str.ScanFuncPage_Mini_ClearBtnWnd
lea eax, [edi + 0x4c]
call fcn.005080c0
jmp 0x4d7abf
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 0x4d7acd
mov ecx, 0x54ee24
mov dword [ebp + 0x14], ebx
cmp dword [edi + 0x44], ebx
jle 0x4d7aff
cmp ecx, ebx
je 0x4d7aff
cmp word [ecx], bx
je 0x4d7aff
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x4d7aea
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 0x4d7b05
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x4c]
cmp ecx, ebx
jne 0x4d7b11
mov ecx, 0x54ee24
mov dword [ebp + 8], ebx
cmp dword [edi + 0x44], ebx
jle 0x4d7b3b
cmp ecx, ebx
je 0x4d7b3b
cmp word [ecx], bx
je 0x4d7b3b
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x4d7b2e
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 0x4d7b47
mov ecx, 0x54ee24
cmp dword [edi + 0x44], ebx
jle 0x4d7b6e
test ecx, ecx
je 0x4d7b6e
cmp word [ecx], bx
je 0x4d7b6e
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4d7b61
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 0x4d7b7a
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 0x44], esi
jle 0x4d7ba7
test ecx, ecx
je 0x4d7ba7
cmp word [ecx], si
je 0x4d7ba7
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4d7b96
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.00471480
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 0x4d7be5
push eax
call fcn.0051ebab
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 0x4d7bfb
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.0043b8a0
mov eax, edi
call fcn.004d6ae0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4d7c42
push eax
call fcn.0051ebab
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