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

Disassembly:
mov eax, 0x4a981c
call fcn.0043cb10
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 0x430779
push eax
call edi
mov dword [esi + 8], ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x430786
push eax
call edi
mov dword [esi + 0xc], ebx
cmp dword [esi + 0xc], ebx
mov edi, 0x104
jne 0x4307f4
mov eax, dword [0x4df718]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0049cd80
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0049cdcf
push str.comctl32.dll
lea ecx, [ebp - 0x14]
call fcn.0049cd2c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x4307e8
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.0049c9c4
call fcn.004a2d8b
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x430871
mov eax, dword [0x4df718]
mov dword [ebp - 0x14], eax
push edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.0049cd80
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0049cdcf
push str.winhlp32.exe
lea ecx, [ebp - 0x14]
call fcn.0049cd2c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x430865
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.0049c9c4
mov eax, dword [0x4df718]
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 0x4308b3
push str._face.ini
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0049cc59
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049cafd
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0049c9c4
call fcn.00430a58
push dword [ebp - 0x10]
mov edi, str.font
test eax, eax
push 9
push str.fontsize
push edi
je 0x4308e5
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 0x4308fc
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 0x4df110
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 0x430961
cmp dword [esi + 4], ebx
je 0x430961
mov ecx, esi
call fcn.0049ff7d
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.0049ff26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049c9c4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret