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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50efd6
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x460], ecx
mov ecx, 0x56d288
call fcn.00401340
push eax
push 0x410
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457ed0
push 0
push 0x3f0
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457df0
push 0
push 0x3ee
lea ecx, [ebp - 0x440]
push ecx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457df0
push 0x64
push 0
push 0x3ee
lea edx, [ebp - 0x448]
push edx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
lea ecx, [ebp - 0x444]
call fcn.00457950
mov ecx, eax
call fcn.004579a0
push 0x20
push 0x3ec
mov eax, dword [ebp - 0x460]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
lea ecx, [ebp - 0x21d]
call fcn.0046c000
mov dword [ebp - 4], 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x21d]
call fcn.00470c90
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 1
jne 0x4549df
mov byte [ebp - 0x42d], 1
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x206
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.004b83b0
add esp, 0xc
mov edx, dword [ebp - 0x460]
cmp dword [edx + 0x58], 0
je 0x45492a
push 0x104
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x460]
call fcn.00456f70
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
jne 0x45492a
mov byte [ebp - 0x42d], 0
movzx ecx, byte [ebp - 0x42d]
test ecx, ecx
je 0x454948
push 0
push 0x26
lea edx, [ebp - 0x42c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x434]
call fcn.00433310
mov byte [ebp - 4], 1
push 0x15
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x51a078
lea eax, [ebp - 0x434]
push eax
call fcn.0043eef0
add esp, 0xc
lea ecx, [ebp - 0x434]
call fcn.0040a1c0
push eax
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x42c]
push edx
push 0x3ec
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457ed0
push 1
push 0x3ed
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.00426510
jmp 0x454a3d
lea ecx, [ebp - 0x21c]
push ecx
push 0x3ec
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457ed0
push 0x3ec
lea edx, [ebp - 0x450]
push edx
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457e80
push 0
push 0x3ec
lea eax, [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457e60
mov ecx, dword [ebp - 0x460]
xor edx, edx
cmp dword [ecx + 0x58], 1
sete dl
mov byte [0x56d1ce], dl
mov ecx, dword [ebp - 0x460]
call fcn.00457410
push ecx
mov ecx, esp
mov dword [ebp - 0x458], esp
push 0xca
call fcn.00457dd0
mov ecx, dword [ebp - 0x460]
add ecx, 0x60
call fcn.00457810
mov dword [ebp - 0x45c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0046aeb0
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret 0x10