Function at 0x4d8190
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.00470260
xor edi, edi
cmp byte [ebp + 0x10], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 4], eax
je 0x4d81bf
push str.ScanFuncPage_Mini_TypeSlctArea
jmp 0x4d81c4
push str.ScanFuncPage_TypeSlctArea
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x4d81d7
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x4d8207
cmp ecx, edi
je 0x4d8207
cmp word [ecx], di
je 0x4d8207
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d81fa
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 0x4d8213
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x4d823d
cmp ecx, edi
je 0x4d823d
cmp word [ecx], di
je 0x4d823d
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d8230
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 0x4d8249
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x4d826f
cmp ecx, edi
je 0x4d826f
cmp word [ecx], di
je 0x4d826f
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d8265
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 0x4d8288
push str.ScanFuncPage_Mini_TypeSlctPict
jmp 0x4d828d
push str.ScanFuncPage_TypeSlctPict
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d829e
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], edi
jle 0x4d82ca
cmp ecx, edi
je 0x4d82ca
cmp word [ecx], di
je 0x4d82ca
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d82ba
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 0x4d82d6
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4d8303
test ecx, ecx
je 0x4d8303
cmp word [ecx], di
je 0x4d8303
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d82f2
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 0x4d830f
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d833a
test ecx, ecx
je 0x4d833a
cmp word [ecx], ax
je 0x4d833a
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d832b
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 0x4d8351
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d837f
test ecx, ecx
je 0x4d837f
cmp word [ecx], ax
je 0x4d837f
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d836d
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 0x4d8506
push 0x80
push 0
push 0
push 0
push 0xc7c3
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d83d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d83f5
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xe4
call fcn.00475200
test eax, eax
je 0x4d83ee
mov eax, esi
call fcn.00475290
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x4d8515
push 0x80
push 0
push 0
push 0
push 0xc7c2
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d842a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d844d
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xc4
call fcn.00475200
test eax, eax
je 0x4d8446
mov eax, esi
call fcn.00475290
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x4d8524
push 0x80
push 0
push 0
push 0
push 0xc7c1
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d8482
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d84a5
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0xa4
call fcn.00475200
test eax, eax
je 0x4d849e
mov eax, esi
call fcn.00475290
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x577698]
test eax, eax
je 0x4d8533
push 0x80
push 0
push 0
push 0
push 0xc7c4
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x4d84da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
test edi, edi
je 0x4d84fd
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, 0x104
call fcn.00475200
test eax, eax
je 0x4d84f6
mov eax, esi
call fcn.00475290
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 0x4d83fa
mov dword [0x57768c], 0x57
jmp 0x4d8452
mov dword [0x57768c], 0x57
jmp 0x4d84aa
pop edi
pop esi
mov dword [0x57768c], 0x57
pop ebx
mov esp, ebp
pop ebp
ret 0xc