Function at 0x4a6c20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525c98
mov eax, dword fs:[0]
push eax
mov eax, 0x12bc
call fcn.004f9af0
mov eax, dword [0x579630]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x12c4], eax
call fcn.00408d90
cmp eax, 8
jg 0x4a7182
cmp dword [edi + 0x10], 2
jbe 0x4a7182
push str.bEnableJunctionPointCheck
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x1038], 0
call fcn.004076f0
push str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
lea ecx, [ebp - 0x1050]
mov dword [ebp - 4], 0
call fcn.004076f0
lea eax, [ebp - 0x1038]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x1050]
push eax
push 0x80000002
call fcn.00413490
add esp, 0x10
mov bl, al
cmp dword [ebp - 0x103c], 8
jb 0x4a6ce6
push dword [ebp - 0x1050]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x103c], 7
cmp dword [ebp - 0x1054], 8
mov dword [ebp - 0x1040], 0
mov word [ebp - 0x1050], ax
mov dword [ebp - 4], 0xffffffff
jb 0x4a6d21
push dword [ebp - 0x1068]
call fcn.004085be
add esp, 4
test bl, bl
je 0x4a7182
cmp dword [ebp - 0x1038], 0
setne al
test al, al
je 0x4a7182
xorps xmm0, xmm0
mov dword [ebp - 0x102c], 0
movq qword [ebp - 0x1034], xmm0
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
push str..0AFACED1_E828_11D1_9187_B532F1E9575D
lea ecx, [ebp - 0x1068]
mov dword [ebp - 4], 2
call fcn.004076f0
lea eax, [ebp - 0x1068]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1034]
call fcn.00422110
cmp dword [ebp - 0x1054], 8
mov byte [ebp - 4], 2
jb 0x4a6db6
push dword [ebp - 0x1068]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x1014], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1028], ax
call fcn.00407d00
cmp dword [ebp - 0x1014], 8
lea edx, [ebp - 0x1028]
mov esi, dword [edi + 0x14]
cmovae edx, dword [ebp - 0x1028]
mov byte [ebp - 4], 4
cmp esi, 8
jb 0x4a6e06
mov ecx, dword [edi]
jmp 0x4a6e08
mov ecx, edi
mov eax, dword [edi + 0x10]
lea eax, [ecx + eax*2]
cmp esi, 8
jb 0x4a6e17
mov ecx, dword [edi]
jmp 0x4a6e19
mov ecx, edi
cmp ecx, eax
je 0x4a6e34
push 0x4fbf87
push edx
push eax
push ecx
lea eax, [ebp - 0x12bc]
push eax
call fcn.0040b280
add esp, 0x14
mov ebx, dword [ebp - 0x1034]
mov esi, ebx
cmp ebx, dword [ebp - 0x1030]
je 0x4a6e76
cmp dword [esi + 0x14], 8
jb 0x4a6e4e
mov eax, dword [esi]
jmp 0x4a6e50
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x1028]
push 0
push eax
call fcn.0040cdd0
cmp eax, 0xffffffff
setne al
test al, al
jne 0x4a6e9b
add esi, 0x18
cmp esi, dword [ebp - 0x1030]
jne 0x4a6e44
cmp dword [ebp - 0x1014], 8
mov byte [ebp - 4], 2
jb 0x4a6e91
push dword [ebp - 0x1028]
call fcn.004085be
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x4a6eb9
mov eax, dword [edi]
jmp 0x4a6ebb
cmp dword [ebp - 0x1014], 8
jb 0x4a6efc
push dword [ebp - 0x1028]
call fcn.004085be
add esp, 4
mov bl, 1
jmp 0x4a71d3
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x4a6ed8
push str..lnk
push eax
call fcn.00409df7
add esp, 8
test eax, eax
je 0x4a6efc
cmp dword [edi + 0x14], 8
jb 0x4a6ee2
mov eax, dword [edi]
jmp 0x4a6ee4
mov eax, edi
mov ecx, dword [ebp - 0x12c4]
push 0
push 0
push 1
push 0
push eax
call fcn.00473fd0
test al, al
jne 0x4a6f03
mov bl, 1
jmp 0x4a71d3
cmp dword [edi + 0x14], 8
jb 0x4a6f0d
mov eax, dword [edi]
jmp 0x4a6f0f
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4a7177
test al, 0x14
je 0x4a7177
push edi
lea ecx, [ebp - 0x1028]
call fcn.004087a0
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1028]
mov eax, dword [ebp - 0x1018]
cmovae ecx, dword [ebp - 0x1028]
mov byte [ebp - 4], 5
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4a6f68
push 0x5c
push 1
lea ecx, [ebp - 0x1028]
call fcn.0040e250
push 0x24c
lea eax, [ebp - 0x12b4]
mov dword [ebp - 0x12b8], 0
push 0
push eax
call fcn.004f9050
add esp, 0xc
lea ecx, [ebp - 0x1028]
push str.desktop.ini
call fcn.0042ec80
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x12b8]
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4a6fc6
xor bl, bl
jmp 0x4a71c8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x129c], 0
jne 0x4a71c6
mov eax, dword [ebp - 0x1298]
cmp eax, 0x200000
ja 0x4a71c6
cmp eax, dword [ebx + 0x10]
jbe 0x4a716c
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
push 0x54a248
cmovae eax, dword [ebp - 0x1028]
push eax
lea eax, [ebp - 0x12bc]
mov dword [ebp - 0x12bc], 0
push eax
call fcn.004fc137
add esp, 0xc
test eax, eax
jne 0x4a71c6
cmp dword [ebp - 0x12bc], eax
je 0x4a71c6
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004f9050
add esp, 0xc
lea eax, [ebp - 0x1068]
mov ecx, ebx
push 0xffffffffffffffff
push 1
push eax
call fcn.00407cc0
push dword [ebp - 0x12bc]
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 6
push 0xfff
push eax
call fcn.004fc07b
add esp, 0xc
test eax, eax
je 0x4a7153
jmp 0x4a7090
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1050]
call fcn.004076f0
cmp dword [ebp - 0x103c], 8
lea eax, [ebp - 0x12c4]
lea edi, [ebp - 0x1050]
mov byte [ebp - 4], 7
cmovae edi, dword [ebp - 0x1050]
lea esi, [ebp - 0x1050]
cmovae esi, dword [ebp - 0x1050]
lea ecx, [ebp - 0x1050]
push eax
call fcn.004216e0
push 0x4fbf87
push edi
push dword [eax]
lea eax, [ebp - 0x12c8]
push esi
push eax
call fcn.00465640
add esp, 0x14
lea eax, [ebp - 0x1068]
cmp dword [ebp - 0x1054], 8
lea ecx, [ebp - 0x1050]
cmovae eax, dword [ebp - 0x1068]
push dword [ebp - 0x1058]
push 0
push eax
call fcn.0040cdd0
cmp eax, 0xffffffff
jne 0x4a71a2
lea ecx, [ebp - 0x1050]
mov byte [ebp - 4], 6
call fcn.004087d0
push dword [ebp - 0x12bc]
lea eax, [ebp - 0x1010]
push 0xfff
push eax
call fcn.004fc07b
add esp, 0xc
test eax, eax
jne 0x4a7090
push dword [ebp - 0x12bc]
call fcn.004fc004
add esp, 4
lea ecx, [ebp - 0x1068]
call fcn.004087d0
lea ecx, [ebp - 0x1028]
call fcn.004087d0
lea ecx, [ebp - 0x1034]
call fcn.0041dfb0
xor al, al
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.00401590
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x12bc]
call fcn.004fc004
add esp, 4
lea ecx, [ebp - 0x1050]
call fcn.004087d0
lea ecx, [ebp - 0x1068]
call fcn.004087d0
mov bl, 1
lea ecx, [ebp - 0x1028]
call fcn.004087d0
mov esi, dword [ebp - 0x1034]
test esi, esi
je 0x4a71ff
push dword [ebp - 0x12c8]
lea eax, [ebp - 0x12bd]
push eax
push dword [ebp - 0x1030]
push esi
call fcn.00408580
push esi
call fcn.004085be
add esp, 0x14
mov al, bl
jmp 0x4a7184