Function at 0x46c8e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bad6
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov esi, 0x5cd56c
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x46c943
push str.shell32.dll
call fcn.004368c0
add esp, 4
test eax, eax
je 0x46c943
push 0x58b2dc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [esi], ecx
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x248], 0
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x240], 0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
mov esi, eax
test esi, esi
je 0x46cc60
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
push 0
push 0x400
push 0x5707cc
call dword [0x5677a4]
call esi
test eax, eax
js 0x46cc60
mov edi, dword [ebp - 0x240]
test edi, edi
je 0x46cc60
lea ecx, [ebp - 0x21c]
mov esi, edi
mov eax, ecx
mov edx, 0x105
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x46c9de
movzx eax, word [esi + ecx]
test ax, ax
je 0x46c9de
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x46c9c0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x46cc59
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x46cc53
mov ecx, 0x105
lea eax, [ebp - 0x21c]
cmp word [eax], 0
je 0x46ca21
add eax, 2
sub ecx, 1
jne 0x46ca13
mov edx, 0x105
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x46cc53
lea ecx, [ebp - 0x21c]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x46ca6c
mov edi, str.Acrobat_DC_Set_Up.exe
mov eax, 0x7ffffffe
sub edi, ecx
test eax, eax
je 0x46ca6c
movzx esi, word [edi + ecx]
test si, si
je 0x46ca6c
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x46ca53
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x46cc53
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46cc53
xorps xmm0, xmm0
lea ecx, [ebp - 0x23c]
movups xmmword [ebp - 0x23c], xmm0
call fcn.0047f490
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
call fcn.004819d0
add esp, 4
test al, al
je 0x46cc41
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x270]
call fcn.0040d7b0
cmp dword [ebp - 0x25c], 8
lea eax, [ebp - 0x270]
push 0
cmovae eax, dword [ebp - 0x270]
push 0x8200000
push 3
push 0
push 1
push 0x80000000
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x241], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46cc18
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x46cc18
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x228]
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x254], esi
push eax
mov dword [ebp - 0x258], edi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push 0
push 0x989680
push dword [ebp - 0x24c]
push dword [ebp - 0x250]
test eax, eax
jns 0x46cbda
call fcn.005278a0
push 0
push 0x989680
push esi
push edi
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], edx
call fcn.005278a0
mov ecx, dword [ebp - 0x250]
sub ecx, eax
mov eax, dword [ebp - 0x24c]
sbb eax, edx
jmp 0x46cc03
call fcn.005278a0
push 0
push 0x989680
push dword [ebp - 0x254]
mov esi, eax
mov edi, edx
push dword [ebp - 0x258]
call fcn.005278a0
mov ecx, eax
mov eax, edx
sub ecx, esi
sbb eax, edi
test eax, eax
ja 0x46cc18
jb 0x46cc11
cmp ecx, 0x278d00
jae 0x46cc18
mov byte [ebp - 0x241], 1
lea ecx, [ebp - 0x270]
call fcn.00408e50
mov eax, dword [ebp - 0x248]
mov ecx, 1
cmp byte [ebp - 0x241], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 0xffffffff
call fcn.0047f550
mov edi, dword [ebp - 0x240]
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, byte [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret