Function at 0x41fc20
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45672e
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
mov dword [ebp - 0x638], esi
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVDialog::constructor_class_OUI::COVWnd__]
mov dword [ebp - 4], 0
lea ecx, [esi + 0xc8]
mov dword [esi], vtable.CInstMainDlg.2.0
mov dword [esi + 0xc], vtable.CInstMainDlg.1.0
mov dword [esi + 0x24], vtable.CInstMainDlg.0
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
lea edi, [esi + 0xd0]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
xor eax, eax
push 0x206
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x4826e0]
add esp, 0xc
test al, 1
jne 0x41fcdf
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
push str.skin2uninstalllayoutinstall.xml
push 0x4822d0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x424]
push eax
lea ecx, [esi + 0x80]
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COString____thiscall_OUI::COString::operator_wchar_t_const__]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x62c]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push str._siSafe
push eax
call fcn.00405ac0
mov eax, dword [0x48277c]
add esp, 0x18
test eax, eax
jne 0x41fda9
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41fd9e
mov ecx, eax
call fcn.004122b0
jmp 0x41fda0
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x48277c], eax
cmp word [ebp - 0x21c], 0
lea ebx, [eax + 0x90]
jne 0x41fdbd
xor eax, eax
jmp 0x41fdd5
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fdc6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.00406c00
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x409
mov dword [ebp - 0x630], 0
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x416
mov dword [ebp - 0x630], 6
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x41f
mov dword [ebp - 0x630], 7
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x407
mov dword [ebp - 0x630], 2
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0xc0a
mov dword [ebp - 0x630], 4
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x40c
mov dword [ebp - 0x630], 1
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x410
mov dword [ebp - 0x630], 3
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x415
mov dword [ebp - 0x630], 5
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x804
mov dword [ebp - 0x630], 8
call fcn.00422ff0
lea eax, [ebp - 0x634]
push eax
mov ecx, edi
mov dword [ebp - 0x634], 0x404
mov dword [ebp - 0x630], 9
call fcn.00422ff0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret 4