Function at 0x4d86f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ab20
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.00470370
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x4d8735
push str.ScanFuncPage_Mini_DocTypeText
jmp 0x4d873a
push str.ScanFuncPage_DocTypeText
call fcn.005080c0
mov eax, dword [ebx + 0x10]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x4d874f
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [ebx + 8], edi
jle 0x4d877d
cmp ecx, edi
je 0x4d877d
cmp word [ecx], di
je 0x4d877d
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4d876c
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 0x4d8789
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x4d87b7
cmp ecx, edi
je 0x4d87b7
cmp word [ecx], di
je 0x4d87b7
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4d87a6
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 0x4d87c3
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x4d87f1
cmp ecx, edi
je 0x4d87f1
cmp word [ecx], di
je 0x4d87f1
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4d87e0
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 0x4d87fd
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4d882a
test ecx, ecx
je 0x4d882a
cmp word [ecx], di
je 0x4d882a
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4d8819
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.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4d8855
mov dword [ebp - 0x30], 0x54ee24
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x4d8861
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d888e
test ecx, ecx
je 0x4d888e
cmp word [ecx], bx
je 0x4d888e
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d887d
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.00471480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d88b1
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.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x194], 0
mov byte [esi + 0x19c], 0
lea eax, [esi + 0x4c]
je 0x4d8928
push str.ScanFuncPage_Mini_DocTypeInfo
jmp 0x4d892d
push str.ScanFuncPage_DocTypeInfo
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d8940
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8972
cmp ecx, ebx
je 0x4d8972
cmp word [ecx], bx
je 0x4d8972
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d895d
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 0x4d8978
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8984
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d89ae
cmp ecx, ebx
je 0x4d89ae
cmp word [ecx], bx
je 0x4d89ae
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d89a1
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 0x4d89ba
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d89e4
cmp ecx, ebx
je 0x4d89e4
cmp word [ecx], bx
je 0x4d89e4
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d89d7
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 0x4d89f0
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4d8a1d
test ecx, ecx
je 0x4d8a1d
cmp word [ecx], bx
je 0x4d8a1d
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8a0c
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 0x4d8a29
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8a56
test ecx, ecx
je 0x4d8a56
cmp word [ecx], bx
je 0x4d8a56
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8a45
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.00473a60
mov byte [esi + 0x26c], 0
mov byte [esi + 0x274], 0
test ebx, ebx
je 0x4d8ae1
push 0xffffffffffffffec
mov eax, ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x4d8ae1
or dword [esi + 0x25c], 0x20000
cmp byte [ebp + 0xc], 0
lea eax, [esi + 0x4c]
je 0x4d8af1
push str.ScanFuncPage_Mini_CustomBtnTxt
jmp 0x4d8af6
push str.ScanFuncPage_CustomBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4d8b09
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4d8b3b
cmp ecx, edi
je 0x4d8b3b
cmp word [ecx], di
je 0x4d8b3b
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d8b26
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 0x4d8b41
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d8b4d
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4d8b77
cmp ecx, edi
je 0x4d8b77
cmp word [ecx], di
je 0x4d8b77
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d8b6a
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 0x4d8b83
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4d8bad
cmp ecx, edi
je 0x4d8bad
cmp word [ecx], di
je 0x4d8bad
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d8ba0
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 0x4d8bb9
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4d8be0
test ecx, ecx
je 0x4d8be0
cmp word [ecx], di
je 0x4d8be0
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8bd3
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 0x4d8bec
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8c19
test ecx, ecx
je 0x4d8c19
cmp word [ecx], bx
je 0x4d8c19
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8c08
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.00471480
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 0x4d8c4c
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d8c58
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.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x338], 0
mov byte [esi + 0x340], 0
lea eax, [esi + 0x4c]
je 0x4d8cd6
push str.ScanFuncPage_Mini_ScanSizeText
jmp 0x4d8cdb
push str.ScanFuncPage_ScanSizeText
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d8cee
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8d20
cmp ecx, ebx
je 0x4d8d20
cmp word [ecx], bx
je 0x4d8d20
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8d0b
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 0x4d8d26
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8d32
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8d5c
cmp ecx, ebx
je 0x4d8d5c
cmp word [ecx], bx
je 0x4d8d5c
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8d4f
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 0x4d8d68
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8d92
cmp ecx, ebx
je 0x4d8d92
cmp word [ecx], bx
je 0x4d8d92
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8d85
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 0x4d8d9e
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4d8dcb
test ecx, ecx
je 0x4d8dcb
cmp word [ecx], bx
je 0x4d8dcb
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8dba
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 0x4d8dd7
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8e04
test ecx, ecx
je 0x4d8e04
cmp word [ecx], bx
je 0x4d8e04
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8df3
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.00471480
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 0x4d8e37
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d8e43
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.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x5a8], 0
mov byte [esi + 0x5b0], 0
lea eax, [esi + 0x4c]
je 0x4d8eba
push str.ScanFuncPage_Mini_ScanBtnTxt
jmp 0x4d8ebf
push str.ScanFuncPage_ScanBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor ebx, ebx
cmp ecx, ebx
jne 0x4d8ed2
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8f04
cmp ecx, ebx
je 0x4d8f04
cmp word [ecx], bx
je 0x4d8f04
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8eef
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 0x4d8f0a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4d8f16
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8f40
cmp ecx, ebx
je 0x4d8f40
cmp word [ecx], bx
je 0x4d8f40
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8f33
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 0x4d8f4c
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8f76
cmp ecx, ebx
je 0x4d8f76
cmp word [ecx], bx
je 0x4d8f76
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4d8f69
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 0x4d8f82
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4d8faf
test ecx, ecx
je 0x4d8faf
cmp word [ecx], bx
je 0x4d8faf
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8f9e
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 0x4d8fbb
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d8fe8
test ecx, ecx
je 0x4d8fe8
cmp word [ecx], bx
je 0x4d8fe8
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d8fd7
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.00471480
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 0x4d901b
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d9027
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.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x6ac], 0
mov byte [esi + 0x6b4], 0
lea eax, [esi + 0x4c]
je 0x4d90a5
push str.ScanFuncPage_Mini_ClearBtnTxt
jmp 0x4d90aa
push str.ScanFuncPage_ClearBtnTxt
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
xor edi, edi
cmp ecx, edi
jne 0x4d90bd
mov ecx, 0x54ee24
mov dword [ebp + 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x4d90ef
cmp ecx, edi
je 0x4d90ef
cmp word [ecx], di
je 0x4d90ef
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d90da
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 0x4d90f5
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4d9101
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4d912b
cmp ecx, edi
je 0x4d912b
cmp word [ecx], di
je 0x4d912b
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d911e
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 0x4d9137
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4d9161
cmp ecx, edi
je 0x4d9161
cmp word [ecx], di
je 0x4d9161
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4d9154
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 0x4d916d
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4d9194
test ecx, ecx
je 0x4d9194
cmp word [ecx], di
je 0x4d9194
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d9187
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 0x4d91a0
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4d91cd
test ecx, ecx
je 0x4d91cd
cmp word [ecx], bx
je 0x4d91cd
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4d91bc
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.00471480
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 0x4d920b
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 - 0x24]
test eax, eax
jne 0x4d9217
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.00473a60
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 0x4d92a1
push eax
call fcn.0051ebab
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 0x4d92b8
push eax
call fcn.0051ebab
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