Function at 0x455090
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.00466b30
test edi, edi
je 0x4550c7
cmp word [edi], 0
je 0x4550c7
mov eax, dword [ebp + 8]
push edi
add eax, 0x1f4
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4550d5
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x455100
test ecx, ecx
je 0x455100
cmp word [ecx], ax
je 0x455100
mov eax, dword [esi + 4]
test eax, eax
jne 0x4550f1
mov eax, 0x538640
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 0x455110
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45513b
test ecx, ecx
je 0x45513b
cmp word [ecx], ax
je 0x45513b
mov eax, dword [esi + 4]
test eax, eax
jne 0x45512c
mov eax, 0x538640
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 0x45514c
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x455177
test ecx, ecx
je 0x455177
cmp word [ecx], ax
je 0x455177
mov eax, dword [esi + 4]
test eax, eax
jne 0x455168
mov eax, 0x538640
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 0x455188
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4551b3
test ecx, ecx
je 0x4551b3
cmp word [ecx], ax
je 0x4551b3
mov eax, dword [esi + 4]
test eax, eax
jne 0x4551a4
mov eax, 0x538640
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 0x4551c4
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4551ef
test ecx, ecx
je 0x4551ef
cmp word [ecx], ax
je 0x4551ef
mov eax, dword [esi + 4]
test eax, eax
jne 0x4551e0
mov eax, 0x538640
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 0x455200
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45522b
test ecx, ecx
je 0x45522b
cmp word [ecx], ax
je 0x45522b
mov eax, dword [esi + 4]
test eax, eax
jne 0x45521c
mov eax, 0x538640
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 0x45523c
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x455267
test ecx, ecx
je 0x455267
cmp word [ecx], ax
je 0x455267
mov eax, dword [esi + 4]
test eax, eax
jne 0x455258
mov eax, 0x538640
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 0x455278
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4552a3
test ecx, ecx
je 0x4552a3
cmp word [ecx], ax
je 0x4552a3
mov eax, dword [esi + 4]
test eax, eax
jne 0x455294
mov eax, 0x538640
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 0x4552b4
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4552df
test ecx, ecx
je 0x4552df
cmp word [ecx], ax
je 0x4552df
mov eax, dword [esi + 4]
test eax, eax
jne 0x4552d0
mov eax, 0x538640
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 0x4552f6
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x455321
test ecx, ecx
je 0x455321
cmp word [ecx], ax
je 0x455321
mov eax, dword [esi + 4]
test eax, eax
jne 0x455312
mov eax, 0x538640
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 0x455330
mov eax, 0x538640
xor edi, edi
cmp dword [esi + 8], edi
jle 0x45535d
test eax, eax
je 0x45535d
cmp word [eax], di
je 0x45535d
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x45534c
mov ecx, 0x538640
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 0x4553c2
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4553f1
test ecx, ecx
je 0x4553f1
cmp word [ecx], ax
je 0x4553f1
mov eax, dword [esi + 4]
test eax, eax
jne 0x4553de
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.EditBox_PosiX
push ecx
call ebx
jmp 0x4553f7
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 0x45540b
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x455432
test ecx, ecx
je 0x455432
cmp word [ecx], ax
je 0x455432
mov eax, dword [esi + 4]
test eax, eax
jne 0x455427
mov eax, 0x538640
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 0x455443
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45546a
test ecx, ecx
je 0x45546a
cmp word [ecx], ax
je 0x45546a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45545f
mov eax, 0x538640
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 0x45547b
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4554a2
test ecx, ecx
je 0x4554a2
cmp word [ecx], ax
je 0x4554a2
mov eax, dword [esi + 4]
test eax, eax
jne 0x455497
mov eax, 0x538640
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 0x4554b3
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4554dc
test ecx, ecx
je 0x4554dc
cmp word [ecx], ax
je 0x4554dc
mov esi, dword [esi + 4]
mov eax, esi
test esi, esi
jne 0x4554d1
mov eax, 0x538640
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