Function at 0x435cfc
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov eax, 0x4caf70
call fcn.0045d02c
sub esp, 0x48
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_DestroyCursor]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x435d23
push eax
call edi
mov dword [esi + 8], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x435d30
push eax
call edi
mov dword [esi + 0xc], ebx
cmp dword [esi + 0xc], ebx
mov edi, 0x104
jne 0x435d9e
mov eax, dword [0x5056f0]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004bde38
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004bde87
push str.comctl32.dll
lea ecx, [ebp - 0x14]
call fcn.004bdde4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x435d92
push 0x6a
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push dword [ebp - 0x18]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004bda08
call fcn.004c3f08
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x435e1b
mov eax, dword [0x5056f0]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004bde38
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004bde87
push str.winhlp32.exe
lea ecx, [ebp - 0x14]
call fcn.004bdde4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x435e0f
push 0x6a
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004bda08
mov eax, dword [0x5056f0]
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 4], 2
cmp dword [ecx - 8], ebx
je 0x435e5d
push str._face.ini
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004bdc9d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004bdb41
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004bda08
call fcn.00436002
push dword [ebp - 0x10]
mov edi, str.font
test eax, eax
push 9
push str.fontsize
push edi
je 0x435e8f
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push 0x20
push eax
push str.Arial
jmp 0x435ea6
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push 0x20
push eax
push 0x503994
push str.FontName
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x48
push 0x5a
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MulDiv]
add esi, 0x10
mov dword [ebp - 0x50], ebx
neg eax
cmp esi, ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], bl
mov byte [ebp - 0x3d], 1
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x39], bl
je 0x435f0b
cmp dword [esi + 4], ebx
je 0x435f0b
mov ecx, esi
call fcn.004c104e
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.004c0ff7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bda08
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret