Function at 0x40791e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x428580]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push eax
push 0x20
mov dword [ebp - 0x54], eax
lea eax, [ebx + 0x1c]
push eax
mov edi, 0x4237d4
push edi
push str.FaceName
push ecx
mov dword [ebp - 0x50], ecx
call esi
test eax, eax
jne 0x40795f
xor eax, eax
jmp 0x407bc4
call fcn.0040ad03
push dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.Height
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040c652
fst qword [ebp - 0x64]
fldz
pop ecx
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x40799e
call fcn.00420170
jmp 0x4079b1
push 0x48
push dword [ebp - 0x58]
call fcn.00420170
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push dword [ebp - 0x54]
mov dword [ebx], eax
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.Width
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040c652
fldz
fcomp qword [ebp - 0x64]
pop ecx
fnstsw ax
test ah, 0x41
jne 0x4079e8
call fcn.00420170
jmp 0x4079fb
push 0x48
push dword [ebp - 0x58]
call fcn.00420170
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push dword [ebp - 0x54]
mov dword [ebx + 4], eax
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.Escapement
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov dword [ebx + 8], eax
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.Orientation
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov dword [ebx + 0xc], eax
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.Weight
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov dword [ebx + 0x10], eax
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push 0x4236a8
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov byte [ebx + 0x14], al
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.Underline
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov byte [ebx + 0x15], al
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.StrikeOut
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov byte [ebx + 0x16], al
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.CharSet
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov byte [ebx + 0x17], al
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.OutPrecision
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov byte [ebx + 0x18], al
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.ClipPrecision
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov byte [ebx + 0x19], al
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.Quality
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
pop ecx
push dword [ebp - 0x54]
mov byte [ebx + 0x1a], al
push 0x20
lea eax, [ebp - 0x4c]
push eax
push edi
push str.PitchAndFamily
push dword [ebp - 0x50]
call esi
test eax, eax
je 0x407958
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b7f6
mov byte [ebx + 0x1b], al
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0040b652
leave
ret 4