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

Disassembly:
mov eax, 0x4cb4b4
call fcn.0045d534
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 0x436213
push eax
call edi
mov dword [esi + 8], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x436220
push eax
call edi
mov dword [esi + 0xc], ebx
cmp dword [esi + 0xc], ebx
mov edi, 0x104
jne 0x43628e
mov eax, dword [0x505810]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004be2f2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004be341
push str.comctl32.dll
lea ecx, [ebp - 0x14]
call fcn.004be29e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x436282
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.004bdec2
call fcn.004c43c0
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x43630b
mov eax, dword [0x505810]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004be2f2
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004be341
push str.winhlp32.exe
lea ecx, [ebp - 0x14]
call fcn.004be29e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4362ff
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.004bdec2
mov eax, dword [0x505810]
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 0x43634d
push str._face.ini
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004be157
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004bdffb
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004bdec2
call fcn.004364f2
push dword [ebp - 0x10]
mov edi, str.font
test eax, eax
push 9
push str.fontsize
push edi
je 0x43637f
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 0x436396
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 0x503ab0
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 0x4363fb
cmp dword [esi + 4], ebx
je 0x4363fb
mov ecx, esi
call fcn.004c1506
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.004c14af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bdec2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret