Function at 0x4d8170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [ebx + 0x3c]
push esi
mov ecx, str.BrCcHome.sdd
call fcn.00470370
xor edi, edi
cmp byte [ebp + 0x10], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 4], eax
je 0x4d819f
push str.ScanFuncPage_Mini_TypeSlctArea
jmp 0x4d81a4
push str.ScanFuncPage_TypeSlctArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x4d81b7
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x4d81e7
cmp ecx, edi
je 0x4d81e7
cmp word [ecx], di
je 0x4d81e7
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d81da
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d81f3
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x4d821d
cmp ecx, edi
je 0x4d821d
cmp word [ecx], di
je 0x4d821d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d8210
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d8229
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x4d824f
cmp ecx, edi
je 0x4d824f
cmp word [ecx], di
je 0x4d824f
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d8245
mov eax, 0x54ee24
push eax
push edi
push str.OffsetY
push ecx
call ebx
cmp byte [ebp + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xb94], eax
mov eax, dword [ebp - 4]
je 0x4d8268
push str.ScanFuncPage_Mini_TypeSlctPict
jmp 0x4d826d
push str.ScanFuncPage_TypeSlctPict
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d827e
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], edi
jle 0x4d82aa
cmp ecx, edi
je 0x4d82aa
cmp word [ecx], di
je 0x4d82aa
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d829a
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d82b6
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4d82e3
test ecx, ecx
je 0x4d82e3
cmp word [ecx], di
je 0x4d82e3
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d82d2
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4d82ef
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d831a
test ecx, ecx
je 0x4d831a
cmp word [ecx], ax
je 0x4d831a
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d830b
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 8]
mov dword [edx + 0xb8c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4d8331
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d835f
test ecx, ecx
je 0x4d835f
cmp word [ecx], ax
je 0x4d835f
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d834d
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 8]
add ebx, dword [ebp - 8]
add edi, dword [ebp - 0xc]
mov dword [edx + 0xb84], ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edx + 0xb90], eax
mov dword [edx + 0xb88], edi
mov eax, dword [0x577698]
test eax, eax
je 0x4d84e6
push 0x80
push 0
push 0
push 0
push 0xc7c3
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d83b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d83d5
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xe4
call fcn.00475350
test eax, eax
je 0x4d83ce
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x4d84f5
push 0x80
push 0
push 0
push 0
push 0xc7c2
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d840a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d842d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xc4
call fcn.00475350
test eax, eax
je 0x4d8426
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x4d8504
push 0x80
push 0
push 0
push 0
push 0xc7c1
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d8462
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d8485
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xa4
call fcn.00475350
test eax, eax
je 0x4d847e
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x4d8513
push 0x80
push 0
push 0
push 0
push 0xc7c4
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d84ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d84dd
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0x104
call fcn.00475350
test eax, eax
je 0x4d84d6
mov eax, esi
call fcn.004753e0
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [0x57768c], 0x57
jmp 0x4d83da
mov dword [0x57768c], 0x57
jmp 0x4d8432
mov dword [0x57768c], 0x57
jmp 0x4d848a
pop edi
pop esi
mov dword [0x57768c], 0x57
pop ebx
mov esp, ebp
pop ebp
ret 0xc