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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7c14
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x63b404]
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 0x548b73
mov dword [ebp - 0x21c], esi
lea esi, [edi + 0xc]
push 0x1a
call fcn.0056f8a6
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.00585d85
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.0054f950
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x548b73
push 2
push eax
call fcn.0056f898
add esp, 8
cmp ebx, 0xb
ja case.default.0x548b7c
jmp dword [ebx*4 + 0x548f00]
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 3
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 4
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 5
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 6
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00545630
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.005455a0
mov dword [ebp - 4], 8
push eax
mov ecx, edi
call fcn.00546600
lea ecx, [ebp - 0x224]
call fcn.00500b70
jmp case.default.0x548b7c
lea eax, [ebp - 0x218]
push eax
test esi, esi
je 0x548db9
push 0
push esi
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne case.default.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.00545630
push str.Temp
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.005455a0
mov dword [ebp - 4], 0xa
jmp 0x548d3a
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je case.default.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xb
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xc
jmp 0x548ed1
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.00545630
sub esp, 8
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x224]
call fcn.00546910
test eax, eax
js 0x548e6a
inc eax
push eax
push 0
call fcn.005469d0
mov edi, eax
lea ecx, [ebp - 0x224]
call fcn.00500b70
jmp case.default.0x548b7c
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xe
jmp 0x548ed1
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.0x548b7c
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.00545630
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.0056f3c2
mov esp, ebp
pop ebp
ret