Function at 0x45e330
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
add esi, 0x1e4
push esi
mov ecx, str.BrCcThumb.sdd
mov edi, eax
call fcn.00470260
test edi, edi
je 0x45e367
cmp word [edi], 0
je 0x45e367
mov eax, dword [ebp + 8]
push edi
add eax, 0x1f4
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e375
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e3a0
test ecx, ecx
je 0x45e3a0
cmp word [ecx], ax
je 0x45e3a0
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e391
mov eax, 0x54ee24
push eax
push 0
push str.Plate_Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e3b0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e3db
test ecx, ecx
je 0x45e3db
cmp word [ecx], ax
je 0x45e3db
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e3cc
mov eax, 0x54ee24
push eax
push 0
push str.Plate_Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e3ec
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e417
test ecx, ecx
je 0x45e417
cmp word [ecx], ax
je 0x45e417
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e408
mov eax, 0x54ee24
push eax
push 0
push str.Plate_Margin
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e428
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e453
test ecx, ecx
je 0x45e453
cmp word [ecx], ax
je 0x45e453
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e444
mov eax, 0x54ee24
push eax
push 0
push str.CheckBox_PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e464
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e48f
test ecx, ecx
je 0x45e48f
cmp word [ecx], ax
je 0x45e48f
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e480
mov eax, 0x54ee24
push eax
push 0
push str.CheckBox_PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e4a0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e4cb
test ecx, ecx
je 0x45e4cb
cmp word [ecx], ax
je 0x45e4cb
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e4bc
mov eax, 0x54ee24
push eax
push 0
push str.CheckBox_Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e4dc
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e507
test ecx, ecx
je 0x45e507
cmp word [ecx], ax
je 0x45e507
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e4f8
mov eax, 0x54ee24
push eax
push 0
push str.CheckBox_Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e518
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e543
test ecx, ecx
je 0x45e543
cmp word [ecx], ax
je 0x45e543
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e534
mov eax, 0x54ee24
push eax
push 0
push str.Thumb_Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e554
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e57f
test ecx, ecx
je 0x45e57f
cmp word [ecx], ax
je 0x45e57f
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e570
mov eax, 0x54ee24
push eax
push 0
push str.Thumb_Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e596
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e5c1
test ecx, ecx
je 0x45e5c1
cmp word [ecx], ax
je 0x45e5c1
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e5b2
mov eax, 0x54ee24
push eax
push 0
push str.Fname_Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x45e5d0
mov eax, 0x54ee24
xor edi, edi
cmp dword [esi + 8], edi
jle 0x45e5fd
test eax, eax
je 0x45e5fd
cmp word [eax], di
je 0x45e5fd
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x45e5ec
mov ecx, 0x54ee24
push ecx
push 0
push str.Fname_FontPoint
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov edx, dword [ebp + 8]
mov ecx, ebx
mov dword [ecx + 0x44], edi
mov ebx, dword [edx + 0x10]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
push 0x5a
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov eax, dword [ebp + 8]
push eax
push ebx
neg edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x38]
neg edi
sub eax, edi
mov dword [ecx + 0x3c], edx
mov dword [ecx + 0x48], edi
cdq
mov edi, 2
idiv edi
add eax, edx
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e662
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e691
test ecx, ecx
je 0x45e691
cmp word [ecx], ax
je 0x45e691
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e67e
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.EditBox_PosiX
push ecx
call ebx
jmp 0x45e697
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, dword [ebp + 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e6ab
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e6d2
test ecx, ecx
je 0x45e6d2
cmp word [ecx], ax
je 0x45e6d2
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e6c7
mov eax, 0x54ee24
push eax
push 0
push str.EditBox_PosiY
push ecx
call ebx
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e6e3
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e70a
test ecx, ecx
je 0x45e70a
cmp word [ecx], ax
je 0x45e70a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e6ff
mov eax, 0x54ee24
push eax
push 0
push str.EditBox_Width
push ecx
call ebx
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e71b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e742
test ecx, ecx
je 0x45e742
cmp word [ecx], ax
je 0x45e742
mov eax, dword [esi + 4]
test eax, eax
jne 0x45e737
mov eax, 0x54ee24
push eax
push 0
push str.EditBox_Height
push ecx
call ebx
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45e753
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45e77c
test ecx, ecx
je 0x45e77c
cmp word [ecx], ax
je 0x45e77c
mov esi, dword [esi + 4]
mov eax, esi
test esi, esi
jne 0x45e771
mov eax, 0x54ee24
push eax
push 0
push str.NumText_Margin
push ecx
call ebx
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x54], eax
add ecx, eax
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 0x20]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
pop edi
pop esi
pop ebx
pop ebp
ret 8