Function at 0x5ac030
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cbe86
mov eax, dword fs:[0]
push eax
sub esp, 0x758
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x734], ecx
mov dword [ebp - 0x73c], 0
cmp dword [ebp + 0xc], 0
jl 0x5ac077
cmp dword [ebp + 0xc], 0x19
jl 0x5ac09b
push 0x5f7c84
mov ecx, dword [ebp + 8]
call fcn.0040921d
mov eax, dword [ebp - 0x73c]
or eax, 1
mov dword [ebp - 0x73c], eax
mov eax, dword [ebp + 8]
jmp 0x5ac810
imul ecx, dword [ebp + 0xc], 0x18
add ecx, dword [ebp - 0x734]
call fcn.00403d1a
test eax, eax
je 0x5ac0d8
imul ecx, dword [ebp + 0xc], 0x18
add ecx, dword [ebp - 0x734]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408747
mov edx, dword [ebp - 0x73c]
or edx, 1
mov dword [ebp - 0x73c], edx
mov eax, dword [ebp + 8]
jmp 0x5ac810
lea ecx, [ebp - 0x640]
call fcn.004065fc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x740], eax
cmp dword [ebp - 0x740], 0x18
ja case.default.0x5ac106
mov ecx, dword [ebp - 0x740]
jmp dword [ecx*4 + 0x5ac82c]
cmp dword [ebp + 0x10], 0
je 0x5ac11c
mov byte [ebp - 0x735], 1
jmp 0x5ac123
mov byte [ebp - 0x735], 0
movzx edx, byte [ebp - 0x735]
push edx
lea eax, [ebp - 0x6a0]
push eax
mov ecx, dword [ebp - 0x734]
call fcn.005aca30
mov dword [ebp - 0x744], eax
mov ecx, dword [ebp - 0x744]
push ecx
lea ecx, [ebp - 0x640]
call fcn.00446faf
lea ecx, [ebp - 0x6a0]
call fcn.00403fae
jmp case.default.0x5ac106
push 0
push 0
lea edx, [ebp - 0x6b8]
push edx
mov ecx, dword [ebp - 0x734]
call fcn.005ac030
mov dword [ebp - 0x748], eax
mov eax, dword [ebp - 0x748]
push eax
lea ecx, [ebp - 0x640]
call fcn.00446faf
lea ecx, [ebp - 0x6b8]
call fcn.00403fae
lea ecx, [ebp - 0x640]
call fcn.00403d1a
test eax, eax
je 0x5ac1d5
push 0x5f7ea8
lea ecx, [ebp - 0x640]
call fcn.00409b61
mov ecx, dword [ebp - 0x734]
add ecx, 0x258
push ecx
lea ecx, [ebp - 0x640]
call fcn.00446fa6
jmp case.default.0x5ac106
push 0x5f7eb0
lea ecx, [ebp - 0x670]
call fcn.0040921d
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x760], esp
push 0x5f7d1c
call fcn.0040921d
lea edx, [ebp - 0x640]
push edx
lea eax, [ebp - 0x670]
push eax
push 2
call fcn.005aabd0
add esp, 0x24
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x670]
call fcn.00403fae
jmp case.default.0x5ac106
mov ecx, dword [ebp + 0x10]
push ecx
push 2
lea edx, [ebp - 0x6d0]
push edx
mov ecx, dword [ebp - 0x734]
call fcn.005ac030
mov dword [ebp - 0x74c], eax
mov eax, dword [ebp - 0x74c]
push eax
lea ecx, [ebp - 0x640]
call fcn.00446faf
lea ecx, [ebp - 0x6d0]
call fcn.00403fae
lea ecx, [ebp - 0x640]
call fcn.00403d1a
test eax, eax
je 0x5ac30d
lea ecx, [ebp - 0x658]
call fcn.004065fc
mov byte [ebp - 4], 2
push 0x5f7ecc
lea ecx, [ebp - 0x688]
call fcn.0040921d
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x764], esp
push 0x5f7eac
call fcn.0040921d
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x688]
push edx
push 2
call fcn.005aabd0
add esp, 0x24
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.00403fae
push 0x5f7ec8
lea ecx, [ebp - 0x640]
call fcn.00409b61
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x640]
call fcn.00446fa6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x658]
call fcn.00403fae
jmp case.default.0x5ac106
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00548bf0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x5ac397
push 0x208
push 0
lea eax, [ebp - 0x628]
push eax
call fcn.00548bf0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.14ab_x
push 0x104
lea ecx, [ebp - 0x628]
push ecx
call fcn.0040bb95
add esp, 0x10
lea edx, [ebp - 0x628]
lea ecx, [ebp - 0x218]
call fcn.00454ba9
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x640]
call fcn.004107c0
jmp case.default.0x5ac106
mov eax, dword [ebp + 0x10]
push eax
push 4
lea ecx, [ebp - 0x6e8]
push ecx
mov ecx, dword [ebp - 0x734]
call fcn.005ac030
mov dword [ebp - 0x750], eax
mov edx, dword [ebp - 0x750]
push edx
lea ecx, [ebp - 0x640]
call fcn.00446faf
lea ecx, [ebp - 0x6e8]
call fcn.00403fae
lea ecx, [ebp - 0x640]
call fcn.00403d1a
test eax, eax
je 0x5ac3f6
push str.Bin
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
mov eax, dword [ebp + 0x10]
push eax
push 4
lea ecx, [ebp - 0x700]
push ecx
mov ecx, dword [ebp - 0x734]
call fcn.005ac030
mov dword [ebp - 0x754], eax
mov edx, dword [ebp - 0x754]
push edx
lea ecx, [ebp - 0x640]
call fcn.00446faf
lea ecx, [ebp - 0x700]
call fcn.00403fae
lea ecx, [ebp - 0x640]
call fcn.00403d1a
test eax, eax
je 0x5ac455
push str.AppData
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
mov eax, dword [ebp + 0x10]
push eax
push 4
lea ecx, [ebp - 0x718]
push ecx
mov ecx, dword [ebp - 0x734]
call fcn.005ac030
mov dword [ebp - 0x758], eax
mov edx, dword [ebp - 0x758]
push edx
lea ecx, [ebp - 0x640]
call fcn.00446faf
lea ecx, [ebp - 0x718]
call fcn.00403fae
lea ecx, [ebp - 0x640]
call fcn.00403d1a
test eax, eax
je 0x5ac4b4
push str.Union
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea eax, [ebp - 0x640]
push eax
push 0x1a
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac4e1
push 0x5f81b8
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea ecx, [ebp - 0x640]
push ecx
push 0x1c
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac50e
push 0x5f81b8
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
mov edx, dword [ebp + 0x10]
push edx
push 9
lea eax, [ebp - 0x730]
push eax
mov ecx, dword [ebp - 0x734]
call fcn.005ac030
mov dword [ebp - 0x75c], eax
mov ecx, dword [ebp - 0x75c]
push ecx
lea ecx, [ebp - 0x640]
call fcn.00446faf
lea ecx, [ebp - 0x730]
call fcn.00403fae
lea ecx, [ebp - 0x640]
call fcn.00403d1a
test eax, eax
je 0x5ac56d
push str.User_DataLiveupTemp
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea edx, [ebp - 0x640]
push edx
push 0
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
jmp case.default.0x5ac106
lea eax, [ebp - 0x640]
push eax
push 0x19
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
jmp case.default.0x5ac106
lea ecx, [ebp - 0x640]
push ecx
push 0x1a
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac5cc
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenu
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea edx, [ebp - 0x640]
push edx
push 2
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac5f9
push 0x5f81a0
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea eax, [ebp - 0x640]
push eax
push 0x17
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac626
push 0x5f81a0
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea ecx, [ebp - 0x640]
push ecx
push 0x1a
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac653
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea edx, [ebp - 0x640]
push edx
push 0x1a
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac680
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.00548bf0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x640]
call fcn.004107c0
jmp case.default.0x5ac106
lea ecx, [ebp - 0x640]
push ecx
push 0x25
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
test eax, eax
je 0x5ac6fb
push 0x5f7f1c
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea edx, [ebp - 0x640]
push edx
push 0x26
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
jmp case.default.0x5ac106
lea eax, [ebp - 0x640]
push eax
push 6
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
push str.Links
lea ecx, [ebp - 0x640]
call fcn.00409b61
jmp case.default.0x5ac106
lea ecx, [ebp - 0x640]
push ecx
push 0x22
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
jmp case.default.0x5ac106
lea edx, [ebp - 0x640]
push edx
push 0x1c
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
jmp case.default.0x5ac106
lea eax, [ebp - 0x640]
push eax
push 0x1a
mov ecx, dword [ebp - 0x734]
call fcn.005acd00
lea ecx, [ebp - 0x640]
call fcn.00403d1a
test eax, eax
je 0x5ac7cd
cmp dword [ebp + 0x10], 0
je 0x5ac79f
push 1
lea ecx, [ebp - 0x640]
push ecx
call fcn.0044549c
add esp, 8
lea ecx, [ebp - 0x640]
call fcn.00403f32
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5ac7cb
lea edx, [ebp - 0x640]
push edx
imul ecx, dword [ebp + 0xc], 0x18
add ecx, dword [ebp - 0x734]
call fcn.004065d3
jmp 0x5ac7dd
push 0x5f80d4
lea ecx, [ebp - 0x640]
call fcn.004107c0
lea eax, [ebp - 0x640]
push eax
mov ecx, dword [ebp + 8]
call fcn.00444eb9
mov ecx, dword [ebp - 0x73c]
or ecx, 1
mov dword [ebp - 0x73c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x640]
call fcn.00403fae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00542347
mov esp, ebp
pop ebp
ret 0xc