Function at 0x4d8710
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [esi + 0x3c]
push ebx
mov ecx, str.BrCcHome.sdd
call fcn.00470260
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x4d8755
push str.ScanFuncPage_Mini_DocTypeText
jmp 0x4d875a
push str.ScanFuncPage_DocTypeText
call fcn.005080c0
mov eax, dword [ebx + 0x10]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x4d876f
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jle 0x4d879d
cmp ecx, edi
je 0x4d879d
cmp word [ecx], di
je 0x4d879d
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4d878c
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4d87a9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x4d87d7
cmp ecx, edi
je 0x4d87d7
cmp word [ecx], di
je 0x4d87d7
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4d87c6
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4d87e3
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x4d8811
cmp ecx, edi
je 0x4d8811
cmp word [ecx], di
je 0x4d8811
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4d8800
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4d881d
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4d884a
test ecx, ecx
je 0x4d884a
cmp word [ecx], di
je 0x4d884a
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4d8839
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push 0x2af8
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x5776a0
call fcn.00471380
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4d8875
mov dword [ebp - 0x30], 0x54ee24
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x4d8881
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d88ae
test ecx, ecx
je 0x4d88ae
cmp word [ecx], bx
je 0x4d88ae
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d889d
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x754c
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d88d1
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x188]
call fcn.005080c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x170], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x174], eax
push edx
lea eax, [esi + 0x160]
push eax
mov dword [esi + 0x178], ecx
mov dword [esi + 0x17c], edi
mov dword [esi + 0x184], 0x14
mov dword [esi + 0x180], 1
call fcn.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x194], 0
mov byte [esi + 0x19c], 0
lea eax, [esi + 0x4c]
je 0x4d8948
push str.ScanFuncPage_Mini_DocTypeInfo
jmp 0x4d894d
push str.ScanFuncPage_DocTypeInfo
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d8960
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8992
cmp ecx, ebx
je 0x4d8992
cmp word [ecx], bx
je 0x4d8992
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d897d
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x18], eax
jmp 0x4d8998
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d89a4
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d89ce
cmp ecx, ebx
je 0x4d89ce
cmp word [ecx], bx
je 0x4d89ce
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d89c1
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d89da
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8a04
cmp ecx, ebx
je 0x4d8a04
cmp word [ecx], bx
je 0x4d8a04
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d89f7
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8a10
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4d8a3d
test ecx, ecx
je 0x4d8a3d
cmp word [ecx], bx
je 0x4d8a3d
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8a2c
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4d8a49
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8a76
test ecx, ecx
je 0x4d8a76
cmp word [ecx], bx
je 0x4d8a76
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8a65
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x54ee24
lea eax, [esi + 0x260]
call fcn.005080c0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x248], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0x24c], edx
push ecx
lea edx, [esi + 0x238]
push edx
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], edi
mov dword [esi + 0x25c], 0x810
mov dword [esi + 0x258], 1
call fcn.00473690
mov byte [esi + 0x26c], 0
mov byte [esi + 0x274], 0
test ebx, ebx
je 0x4d8b01
push 0xffffffffffffffec
mov eax, ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x4d8b01
or dword [esi + 0x25c], 0x20000
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x4d8b11
push str.ScanFuncPage_Mini_CustomBtnTxt
jmp 0x4d8b16
push str.ScanFuncPage_CustomBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4d8b29
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4d8b5b
cmp ecx, edi
je 0x4d8b5b
cmp word [ecx], di
je 0x4d8b5b
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d8b46
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 - 0x18], eax
jmp 0x4d8b61
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d8b6d
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4d8b97
cmp ecx, edi
je 0x4d8b97
cmp word [ecx], di
je 0x4d8b97
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d8b8a
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d8ba3
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4d8bcd
cmp ecx, edi
je 0x4d8bcd
cmp word [ecx], di
je 0x4d8bcd
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d8bc0
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d8bd9
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4d8c00
test ecx, ecx
je 0x4d8c00
cmp word [ecx], di
je 0x4d8c00
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8bf3
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4d8c0c
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8c39
test ecx, ecx
je 0x4d8c39
cmp word [ecx], bx
je 0x4d8c39
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8c28
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80fb
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d8c6c
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d8c78
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x32c]
mov byte [esi + 0x450], 1
call fcn.005080c0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x314], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x318], eax
push edx
lea eax, [esi + 0x304]
push eax
mov dword [esi + 0x31c], ecx
mov dword [esi + 0x320], edi
mov dword [esi + 0x328], 0x15
mov dword [esi + 0x324], 1
call fcn.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x338], 0
mov byte [esi + 0x340], 0
lea eax, [esi + 0x4c]
je 0x4d8cf6
push str.ScanFuncPage_Mini_ScanSizeText
jmp 0x4d8cfb
push str.ScanFuncPage_ScanSizeText
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d8d0e
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8d40
cmp ecx, ebx
je 0x4d8d40
cmp word [ecx], bx
je 0x4d8d40
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8d2b
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x18], eax
jmp 0x4d8d46
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8d52
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8d7c
cmp ecx, ebx
je 0x4d8d7c
cmp word [ecx], bx
je 0x4d8d7c
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8d6f
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8d88
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8db2
cmp ecx, ebx
je 0x4d8db2
cmp word [ecx], bx
je 0x4d8db2
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8da5
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8dbe
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4d8deb
test ecx, ecx
je 0x4d8deb
cmp word [ecx], bx
je 0x4d8deb
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8dda
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4d8df7
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8e24
test ecx, ecx
je 0x4d8e24
cmp word [ecx], bx
je 0x4d8e24
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8e13
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x754d
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d8e57
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d8e63
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x59c]
call fcn.005080c0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x584], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x588], eax
push edx
lea eax, [esi + 0x574]
push eax
mov dword [esi + 0x58c], ecx
mov dword [esi + 0x590], edi
mov dword [esi + 0x598], 0x14
mov dword [esi + 0x594], 1
call fcn.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x5a8], 0
mov byte [esi + 0x5b0], 0
lea eax, [esi + 0x4c]
je 0x4d8eda
push str.ScanFuncPage_Mini_ScanBtnTxt
jmp 0x4d8edf
push str.ScanFuncPage_ScanBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d8ef2
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8f24
cmp ecx, ebx
je 0x4d8f24
cmp word [ecx], bx
je 0x4d8f24
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8f0f
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x18], eax
jmp 0x4d8f2a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8f36
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8f60
cmp ecx, ebx
je 0x4d8f60
cmp word [ecx], bx
je 0x4d8f60
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8f53
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8f6c
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8f96
cmp ecx, ebx
je 0x4d8f96
cmp word [ecx], bx
je 0x4d8f96
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8f89
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8fa2
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4d8fcf
test ecx, ecx
je 0x4d8fcf
cmp word [ecx], bx
je 0x4d8fcf
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8fbe
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4d8fdb
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d9008
test ecx, ecx
je 0x4d9008
cmp word [ecx], bx
je 0x4d9008
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8ff7
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
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 - 0x24]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d903b
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d9047
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x6a0]
mov byte [esi + 0x7c4], 1
call fcn.005080c0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x688], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x68c], eax
push edx
lea eax, [esi + 0x678]
push eax
mov dword [esi + 0x690], ecx
mov dword [esi + 0x694], edi
mov dword [esi + 0x69c], 0x15
mov dword [esi + 0x698], 1
call fcn.00473690
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x6ac], 0
mov byte [esi + 0x6b4], 0
lea eax, [esi + 0x4c]
je 0x4d90c5
push str.ScanFuncPage_Mini_ClearBtnTxt
jmp 0x4d90ca
push str.ScanFuncPage_ClearBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4d90dd
mov ecx, 0x54ee24
mov dword [ebp + 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x4d910f
cmp ecx, edi
je 0x4d910f
cmp word [ecx], di
je 0x4d910f
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d90fa
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 + 0xc], eax
jmp 0x4d9115
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d9121
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4d914b
cmp ecx, edi
je 0x4d914b
cmp word [ecx], di
je 0x4d914b
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d913e
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d9157
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4d9181
cmp ecx, edi
je 0x4d9181
cmp word [ecx], di
je 0x4d9181
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d9174
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d918d
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4d91b4
test ecx, ecx
je 0x4d91b4
cmp word [ecx], di
je 0x4d91b4
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d91a7
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4d91c0
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d91ed
test ecx, ecx
je 0x4d91ed
cmp word [ecx], bx
je 0x4d91ed
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d91dc
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80fc
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4d922b
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 - 0x24]
test eax, eax
jne 0x4d9237
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x94c]
mov byte [esi + 0xa70], 1
call fcn.005080c0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x934], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x938], eax
push edx
lea eax, [esi + 0x924]
push eax
mov dword [esi + 0x93c], ecx
mov dword [esi + 0x940], edi
mov dword [esi + 0x948], 0x15
mov dword [esi + 0x944], 1
call fcn.00473690
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
mov byte [esi + 0x958], bl
mov byte [esi + 0x960], bl
cmp eax, ebx
je 0x4d92c1
push eax
call fcn.0051eadb
add esp, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x4d92d8
push eax
call fcn.0051eadb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8