Function at 0x414be0
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4449b1
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
mov dword [ebp - 0x668], esi
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVDialog::constructor_class_OUI::COVWnd__]
mov dword [ebp - 4], 0
lea edi, [esi + 0xc8]
mov dword [esi], vtable.CEuInstDlg.2.0
mov dword [esi + 0xc], vtable.CEuInstDlg.1.0
mov dword [esi + 0x24], vtable.CEuInstDlg.0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 1
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::CORect::constructor_void_]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x469f00]
add esp, 0xc
test al, 1
jne 0x414c9e
or eax, 1
push 0x4486c0
mov dword [0x469f00], eax
call fcn.00441527
add esp, 4
push 0x44fb80
push 0x469af0
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x62c]
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 - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x424]
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
add esp, 0xc
xor eax, eax
push 0x10
push 0x449fac
lea ecx, [ebp - 0x664]
mov dword [ebp - 0x650], 7
mov dword [ebp - 0x654], 0
mov word [ebp - 0x664], ax
call fcn.00405570
lea eax, [ebp - 0x664]
push eax
mov edx, 0x44e2e0
lea ecx, [ebp - 0x644]
mov byte [ebp - 4], 2
call fcn.0040d280
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x650], 8
jb 0x414d80
push dword [ebp - 0x664]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp - 0x630], 8
mov word [ebp - 0x664], ax
lea ecx, [ebp - 0x424]
lea eax, [ebp - 0x644]
cmovae eax, dword [ebp - 0x644]
push ecx
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x650], 7
mov dword [ebp - 0x654], 0
call fcn.00411d00
mov eax, dword [0x469f34]
add esp, 0xc
test eax, eax
jne 0x414e01
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x648], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x414df6
mov ecx, eax
call fcn.0040dc50
jmp 0x414df8
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x469f34], eax
cmp word [ebp - 0x21c], 0
lea edx, [eax + 0x78]
jne 0x414e12
xor ecx, ecx
jmp 0x414e34
lea ecx, [ebp - 0x21c]
lea eax, [ecx + 2]
mov dword [ebp - 0x648], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e21
sub ecx, dword [ebp - 0x648]
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edx
call fcn.00405570
mov eax, dword [0x469f34]
test eax, eax
jne 0x414e7c
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x648], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x414e71
mov ecx, eax
call fcn.0040dc50
jmp 0x414e73
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x469f34], eax
add eax, 0x78
cmp dword [eax + 0x14], 8
jb 0x414e87
mov eax, dword [eax]
push eax
push str.CInstMainDlg::CEuInstDlg__InstPath___s__
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x409
mov dword [ebp - 0x648], 0
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x416
mov dword [ebp - 0x648], 6
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x41f
mov dword [ebp - 0x648], 7
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x407
mov dword [ebp - 0x648], 2
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0xc0a
mov dword [ebp - 0x648], 4
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x40c
mov dword [ebp - 0x648], 1
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x410
mov dword [ebp - 0x648], 3
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x415
mov dword [ebp - 0x648], 5
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x804
mov dword [ebp - 0x648], 8
call fcn.00414580
lea eax, [ebp - 0x64c]
push eax
mov ecx, edi
mov dword [ebp - 0x64c], 0x404
mov dword [ebp - 0x648], 9
call fcn.00414580
cmp dword [ebp - 0x630], 8
jb 0x415002
push dword [ebp - 0x644]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret 4