Function at 0x44b57a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ebb7c
call fcn.0047b598
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 0x44b5a1
push eax
call edi
mov dword [esi + 8], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44b5ae
push eax
call edi
mov dword [esi + 0xc], ebx
cmp dword [esi + 0xc], ebx
mov edi, 0x104
jne 0x44b61c
mov eax, dword [0x52ba98]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004dca9e
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004dcaed
push str.comctl32.dll
lea ecx, [ebp - 0x14]
call fcn.004dca4a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x44b610
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.004dc66e
call fcn.004e317c
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x44b699
mov eax, dword [0x52ba98]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004dca9e
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004dcaed
push str.winhlp32.exe
lea ecx, [ebp - 0x14]
call fcn.004dca4a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44b68d
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.004dc66e
mov eax, dword [0x52ba98]
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 0x44b6db
push str._face.ini
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004dc903
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004dc7a7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004dc66e
call fcn.0044b87c
push dword [ebp - 0x10]
mov edi, str.font
test eax, eax
push 9
push str.fontsize
push edi
je 0x44b70c
call fcn.00403a68
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push 0x20
push eax
push str.Arial
jmp 0x44b722
call fcn.00403a68
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push 0x20
push eax
push 0x529a88
push str.FontName
push edi
call fcn.00405a57
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 0x44b786
cmp dword [esi + 4], ebx
je 0x44b786
mov ecx, esi
call fcn.004e02ef
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.004e0298
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dc66e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret