Function at 0x4169f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e0ce
mov eax, dword fs:[0]
push eax
sub esp, 0xa30
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov ebx, dword [sym.imp.CtrlFactory.dll_long_int___cdecl_GetSkinFolder_wchar_t__]
lea eax, [ebp - 0x218]
push eax
call ebx
push str.dpi.ini
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x416a9a
lea eax, [ebp - 0x218]
push eax
call ebx
push str.Font.ini
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [sym.imp.UILayoutMgr.dll_public:_static_class_CDpiMgr____cdecl_CDpiMgr::Inst_void_]
test eax, eax
je 0x416b46
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x433dc0
push 0x434cac
push 0x434cac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
mov esi, eax
add esp, 4
test esi, esi
je 0x416b05
push esi
call ebx
mov ecx, eax
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiMgr::SetDpiX_int_]
push esi
call ebx
mov ecx, eax
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiMgr::SetDpiY_int_]
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x433dc0
push str.ignoreResolution
push 0x434cac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
add esp, 4
test eax, eax
setne al
test al, al
jne 0x416b4d
mov ecx, edi
call fcn.0041a2d0
push 0x60
push str.Default
call ebx
mov esi, dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CDpiMgr::AddDpiSkin_wchar_t_const___int_]
mov ecx, eax
call esi
push 0x90
push 0x434ce8
call ebx
mov ecx, eax
call esi
push 0xc0
push 0x434cf0
call ebx
mov ecx, eax
call esi
cmp dword [ebp + 8], 0
jne 0x416bb0
mov esi, dword [edi + 0xb8c]
test esi, esi
je 0x416ba1
mov ecx, esi
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CUILayoutMgr::destructor_void_]
push esi
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [edi + 0xb8c], 0
jmp 0x416c93
push 0x204
lea eax, [ebp - 0x82c]
push 0
push eax
mov dword [ebp - 0x830], 0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.CtrlFactory.dll_long_int___cdecl_GetXMLLayoutFolder_wchar_t__]
push 0x204
lea eax, [ebp - 0x41c]
push 0
push eax
mov dword [ebp - 0x420], 0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push str.DefaultStyle.xml
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
push 0x204
lea eax, [ebp - 0xa34]
push 0
push eax
mov dword [ebp - 0xa38], 0
call sub.MSVCR110.dll_memset
add esp, 0x40
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.CtrlFactory.dll_long_int___cdecl_GetSkinFolder_wchar_t__]
push 4
call sub.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [ebp - 0xa3c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x416c8b
push 0
push 0
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0xa38]
push ecx
mov ecx, eax
call dword [sym.imp.UILayoutMgr.dll_public:_void___thiscall_CUILayoutMgr::constructor_wchar_t___wchar_t___struct_ViewTag___class_CRect__]
jmp 0x416c8d
xor eax, eax
mov dword [edi + 0xb8c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 4