Function at 0x10b52cf0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1108
call fcn.10d9cce0
mov eax, dword [0x10e2b900]
push ebx
push ebp
push esi
test eax, eax
push edi
jne 0x10b52f9b
mov ecx, 0x32
xor eax, eax
mov edi, 0x10e2b838
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDC]
push 0x10e2b838
mov esi, eax
push sym.PBVM90.dll_System_EnumFonts
push 0
push esi
call dword [sym.imp.GDI32.dll_EnumFontsA]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [0x10e2cbb0]
lea eax, [esp + 0x14]
push 0x104
push eax
push ecx
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jle 0x10b52d6e
mov cl, 0x5c
cmp byte [esp + eax + 0x14], cl
je 0x10b52d69
dec eax
jne 0x10b52d60
mov byte [esp + eax + 0x15], 0
call fcn.10bd19f0
test eax, eax
je 0x10b52d8c
lea edx, [esp + 0x14]
push 0x10def054
push edx
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b52db1
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x10def068]
repne scasb al, byte es:[edi]
mov eax, dword [str.pbfnt90.ini]
mov ecx, dword [0x10def064]
dec edi
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x91c]
push 0x800
push ecx
push 0x10e2b908
push 0
push 0x10def06c
call ebx
test eax, eax
je 0x10b52f91
lea edx, [esp + 0x14]
lea eax, [esp + 0x118]
push edx
push 0x800
push eax
push 0x10def07c
push str.ForceSubstitution
push str.Options
lea esi, [esp + 0x930]
mov dword [esp + 0x28], 0
call ebx
call fcn.10bd19f0
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
je 0x10b52e37
lea ecx, [esp + 0x118]
push 0x10def09c
push ecx
call ebp
jmp 0x10b52e46
lea edx, [esp + 0x118]
push 0x10def0a4
push edx
call edi
add esp, 8
test eax, eax
je 0x10b52ead
call fcn.10bd19f0
test eax, eax
je 0x10b52e67
lea eax, [esp + 0x118]
push 0x10def0ac
push eax
call ebp
jmp 0x10b52e76
lea ecx, [esp + 0x118]
push 0x10def0b0
push ecx
call edi
add esp, 8
test eax, eax
je 0x10b52ead
call fcn.10bd19f0
test eax, eax
je 0x10b52e97
lea edx, [esp + 0x118]
push 0x10def0b4
push edx
call ebp
jmp 0x10b52ea6
lea eax, [esp + 0x118]
push 0x10def0b8
push eax
call edi
add esp, 8
test eax, eax
jne 0x10b52eb5
mov dword [esp + 0x10], 1
mov al, byte [esp + 0x918]
test al, al
je 0x10b52f91
mov ebp, dword [sym.imp.MSVCRT.dll__mbslwr]
call fcn.10bd19f0
test eax, eax
push esi
je 0x10b52ed8
call ebp
jmp 0x10b52ede
call dword [sym.imp.MSVCRT.dll__strlwr]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x10b52efa
push esi
call fcn.10b52b50
add esp, 4
test eax, eax
jne 0x10b52f7a
lea ecx, [esp + 0x14]
lea edx, [esp + 0x118]
push ecx
push 0x800
push edx
push 0x10e2b90c
push esi
push str.FontSubstitutes
call ebx
test eax, eax
je 0x10b52f7a
call fcn.10bd19f0
test eax, eax
je 0x10b52f32
lea eax, [esp + 0x118]
push eax
call ebp
jmp 0x10b52f40
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 4
lea edx, [esp + 0x118]
push edx
call fcn.10b52b50
mov edi, eax
add esp, 4
test edi, edi
je 0x10b52f7a
call fcn.10bd19f0
test eax, eax
push esi
je 0x10b52f67
call ebp
jmp 0x10b52f6d
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 4
push edi
push esi
call fcn.10b52a70
add esp, 8
mov al, byte [esi]
inc esi
test al, al
je 0x10b52f88
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x10b52f81
cmp byte [esi], 0
jne 0x10b52eca
mov dword [0x10e2b900], 1
mov ebp, dword [esp + 0x111c]
push ebp
call fcn.10b52b50
mov esi, eax
add esp, 4
test esi, esi
je 0x10b52ffc
cmp dword [esi], 0
je 0x10b52ffc
call fcn.10bd19f0
test eax, eax
je 0x10b52fda
mov edx, dword [esi]
add edx, 8
push edx
push ebp
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1108
ret
mov edi, dword [esi]
or ecx, 0xffffffff
add edi, 8
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1108
ret