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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6df4
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x63a404]
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 ebx, ecx
xor edi, edi
xor esi, esi
test dl, dl
je 0x547d83
mov dword [ebp - 0x21c], esi
lea esi, [edi + 0xc]
push 0x1a
call fcn.0056ea97
add esp, 4
mov dword [ebp - 0x224], eax
push 0xffffffffffffffff
push str.explorer.exe
push 0xd
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x224]
call fcn.0054eb60
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x547d83
push 2
push eax
call fcn.0056ea89
add esp, 8
cmp ebx, 0xb
ja case.default.0x547d8c
jmp dword [ebx*4 + 0x548110]
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0xb
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 3
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 4
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 5
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 6
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00544840
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.005447b0
mov dword [ebp - 4], 8
push eax
mov ecx, edi
call fcn.00545810
lea ecx, [ebp - 0x224]
call fcn.004ffe40
jmp case.default.0x547d8c
lea eax, [ebp - 0x218]
push eax
test esi, esi
je 0x547fc9
push 0
push esi
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.00544840
push str.Temp
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.005447b0
mov dword [ebp - 4], 0xa
jmp 0x547f4a
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xb
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xc
jmp 0x5480e1
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.00544840
sub esp, 8
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x224]
call fcn.00545b20
test eax, eax
js 0x54807a
inc eax
push eax
push 0
call fcn.00545be0
mov edi, eax
lea ecx, [ebp - 0x224]
call fcn.004ffe40
jmp case.default.0x547d8c
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xe
jmp 0x5480e1
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x547d8c
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.00544840
mov edi, eax
mov eax, edi
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.0056e5b3
mov esp, ebp
pop ebp
ret