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

Disassembly:
push ebp
lea ebp, [esp - 0x828]
sub esp, 0x828
push 0xffffffffffffffff
push 0x5766c3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x605580]
xor eax, ebp
mov dword [ebp + 0x824], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x60c130]
test al, 1
jne 0x453553
or eax, 1
mov dword [0x60c130], eax
mov dword [ebp - 4], 0
push 0x57ae50
mov dword [0x60c134], 0
mov byte [0x60c138], 0
call fcn.00488996
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [0x60c138], 0
jne 0x45372c
push 0x410
lea eax, [ebp + 0x414]
mov byte [0x60c138], 1
push 0
push eax
call fcn.00492cb0
add esp, 0xc
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4535c3
lea eax, [ebp + 0x414]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4535ba
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4535c3
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4535c3
xor eax, eax
mov word [ebp + 0x414], ax
lea edi, [ebp + 0x414]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4535d0
mov eax, dword [0x5f7d80]
lea ecx, [ebp + 0x414]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4535f0
mov eax, dword [0x5f7c70]
mov dword [ecx], eax
mov eax, dword [0x5f7c74]
mov dword [ecx + 4], eax
mov eax, dword [0x5f7c78]
mov dword [ecx + 8], eax
mov eax, dword [0x5f7c7c]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x453636
xor eax, eax
mov word [ebp + 0x414], ax
push 0x412
lea eax, [ebp]
push 0
push eax
call fcn.00492cb0
lea ecx, [ebp + 0x414]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453652
sub ecx, edx
sar ecx, 1
je 0x4536fb
push 0x207
lea eax, [ebp + 0x414]
push eax
lea eax, [ebp]
push eax
call fcn.0049cbbb
lea ecx, [ebp]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453685
sub ecx, edx
sar ecx, 1
je 0x4536fb
lea edi, [ebp]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4536a0
mov eax, dword [0x5f7d80]
lea ecx, [ebp]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4536c0
mov eax, dword [0x5f7d84]
mov dword [ecx], eax
mov eax, dword [str.eView.hzv]
mov dword [ecx + 4], eax
mov eax, dword [0x5f7d8c]
mov dword [ecx + 8], eax
mov eax, dword [0x5f7d90]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5f7d94]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5f7d98]
mov dword [ecx + 0x14], eax
call fcn.0045c220
lea ecx, [ebp]
mov edx, eax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453710
sub ecx, esi
sar ecx, 1
je 0x45372c
lea eax, [ebp]
mov ecx, edx
push eax
call fcn.0045c2d0
mov eax, 0x60c134
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x824]
xor ecx, ebp
call fcn.004883ab
lea esp, [ebp + 0x828]
pop ebp
ret