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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577db8
mov eax, dword fs:[0]
push eax
mov eax, 0x12d8
call fcn.0053d080
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
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], edi
mov dword [ebp - 0x12c8], eax
call fcn.0040aac0
cmp eax, 8
jg 0x4cdd05
cmp dword [edi + 0x10], 2
jbe 0x4cdd05
push 0x19
xor eax, eax
mov dword [ebp - 0x1050], 0
push str.bEnableJunctionPointCheck
lea ecx, [ebp - 0x104c]
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1038], 7
mov word [ebp - 0x104c], ax
call fcn.00408f30
push 0x39
xor eax, eax
mov dword [ebp - 4], 0
push str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
lea ecx, [ebp - 0x12e4]
mov dword [ebp - 0x12d4], 0
mov dword [ebp - 0x12d0], 7
mov word [ebp - 0x12e4], ax
call fcn.00408f30
lea eax, [ebp - 0x1050]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x12e4]
push eax
push 0x80000002
call fcn.004167d0
add esp, 0x10
mov byte [ebp - 0x12bd], al
mov ecx, dword [ebp - 0x12d0]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x4cd6c8
inc ecx
push ecx
push dword [ebp - 0x12e4]
lea ecx, [ebp - 0x12e4]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x12d4], 0
mov dword [ebp - 0x12d0], 7
mov word [ebp - 0x12e4], ax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 4], 3
cmp eax, 8
jb 0x4cd70a
inc eax
lea ecx, [ebp - 0x104c]
push eax
push dword [ebp - 0x104c]
call fcn.0040a2e0
cmp byte [ebp - 0x12bd], 0
mov dword [ebp - 4], 0xffffffff
je 0x4cdd05
cmp dword [ebp - 0x1050], 0
je 0x4cdd05
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
movq qword [ebp - 0x101c], xmm0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
push str..0AFACED1_E828_11D1_9187_B532F1E9575D
lea ecx, [ebp - 0x104c]
mov dword [ebp - 4], 4
call fcn.0040e610
mov eax, dword [ebp - 0x1018]
mov byte [ebp - 4], 5
cmp eax, dword [ebp - 0x1014]
je 0x4cd7bc
movups xmm0, xmmword [ebp - 0x104c]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov word [ebp - 0x104c], cx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x103c]
movq qword [eax + 0x10], xmm0
mov eax, 7
add dword [ebp - 0x1018], 0x18
jmp 0x4cd7d5
lea ecx, [ebp - 0x104c]
push ecx
push eax
lea ecx, [ebp - 0x101c]
call fcn.0041f120
mov eax, dword [ebp - 0x1038]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x4cd7f1
inc eax
lea ecx, [ebp - 0x104c]
push eax
push dword [ebp - 0x104c]
call fcn.0040a2e0
push edi
lea ecx, [ebp - 0x1034]
mov byte [ebp - 4], 4
call fcn.0040a1e0
mov ecx, dword [ebp - 0x1020]
lea edx, [ebp - 0x1034]
cmp ecx, 8
mov byte [ebp - 4], 7
mov esi, edi
cmovae edx, dword [ebp - 0x1034]
cmp dword [edi + 0x14], 8
jb 0x4cd825
mov esi, dword [edi]
mov eax, dword [edi + 0x10]
lea eax, [esi + eax*2]
mov esi, edi
mov dword [ebp - 0x12cc], eax
jb 0x4cd837
mov esi, dword [edi]
cmp esi, eax
je 0x4cd86c
sub edx, esi
mov dword [ebp - 0x12bc], edx
mov edi, edx
movzx eax, word [esi]
push eax
call fcn.0054c904
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x12cc]
jne 0x4cd845
mov ecx, dword [ebp - 0x1020]
mov edi, dword [ebp - 0x12c4]
mov eax, dword [ebp - 0x1018]
mov esi, dword [ebp - 0x101c]
mov dword [ebp - 0x12c4], eax
cmp esi, eax
je 0x4cd965
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4cd890
mov edx, dword [esi]
push dword [esi + 0x10]
cmp ecx, 8
lea eax, [ebp - 0x1034]
push edx
cmovae eax, dword [ebp - 0x1034]
push 0
push dword [ebp - 0x1024]
push eax
call fcn.0040fea0
add esp, 0x14
cmp eax, 0xffffffff
setne cl
jne 0x4cd8d0
add esi, 0x18
cmp esi, dword [ebp - 0x12c4]
je 0x4cd8d0
mov ecx, dword [ebp - 0x1020]
jmp 0x4cd886
test cl, cl
je 0x4cd95f
mov eax, dword [ebp - 0x1020]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x4cd8fa
inc eax
lea ecx, [ebp - 0x1034]
push eax
push dword [ebp - 0x1034]
call fcn.0040a2e0
mov byte [ebp - 0x12bd], 1
mov eax, dword [ebp - 0x101c]
mov dword [ebp - 4], 0x15
test eax, eax
je 0x4cd954
lea ecx, [ebp - 0x101c]
push ecx
push dword [ebp - 0x1018]
push eax
call fcn.00408e70
mov ecx, dword [ebp - 0x1014]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x101c]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x101c]
call fcn.0040a140
mov al, byte [ebp - 0x12bd]
jmp 0x4cdd07
mov ecx, dword [ebp - 0x1020]
mov byte [ebp - 4], 0xa
cmp ecx, 8
jb 0x4cd983
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x1034]
call fcn.0040a2e0
push edi
mov byte [ebp - 4], 4
call fcn.0042bb10
add esp, 4
test al, al
jne 0x4cd8fa
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4cd9a2
mov eax, dword [edi]
mov ecx, dword [ebp - 0x12c8]
push 0
push 0
push 1
push 0
push eax
call fcn.0049bbe0
test al, al
je 0x4cd8fa
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4cd9c8
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cdcb2
test al, 0x14
je 0x4cdcb2
push edi
lea ecx, [ebp - 0x1068]
call fcn.0040a1e0
cmp dword [ebp - 0x1054], 8
lea ecx, [ebp - 0x1068]
mov eax, dword [ebp - 0x1058]
cmovae ecx, dword [ebp - 0x1068]
mov byte [ebp - 4], 0xd
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4cda1f
push 0x5c
lea ecx, [ebp - 0x1068]
call fcn.0040dc80
push 0x250
lea eax, [ebp - 0x12b8]
push 0
push eax
call fcn.0053f340
add esp, 0xc
lea ecx, [ebp - 0x1068]
push str.desktop.ini
call fcn.0042ef80
cmp dword [ebp - 0x1054], 8
lea ecx, [ebp - 0x12b8]
lea eax, [ebp - 0x1068]
cmovae eax, dword [ebp - 0x1068]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4cda83
lea ecx, [ebp - 0x1068]
mov byte [ebp - 0x12bd], 0
call fcn.0040a280
jmp 0x4cd901
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x129c], 0
jne 0x4cdd7c
mov ecx, dword [ebp - 0x1298]
cmp ecx, 0x200000
ja 0x4cdd7c
mov eax, dword [ebp - 0x101c]
cmp ecx, dword [eax + 0x10]
jbe 0x4cdca7
cmp dword [ebp - 0x1054], 8
lea eax, [ebp - 0x1068]
push 0x5a9ab0
cmovae eax, dword [ebp - 0x1068]
push eax
lea eax, [ebp - 0x12bc]
mov dword [ebp - 0x12bc], 0
push eax
call fcn.00421014
add esp, 0xc
test eax, eax
jne 0x4cdd7c
cmp dword [ebp - 0x12bc], eax
je 0x4cdd7c
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0053f340
mov ecx, dword [ebp - 0x101c]
lea eax, [ebp - 0x104c]
add esp, 0xc
push 0xffffffffffffffff
push 1
push eax
call fcn.00409610
push dword [ebp - 0x12bc]
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 0x10
push 0xfff
push eax
call fcn.00422aae
add esp, 0xc
test eax, eax
je 0x4cdc8e
xor eax, eax
mov dword [ebp - 0x1024], 0
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1020], 7
mov word [ebp - 0x1034], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cdb76
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1034]
call fcn.00408f30
mov edx, dword [ebp - 0x1020]
lea eax, [ebp - 0x1034]
mov ecx, dword [ebp - 0x1034]
lea edi, [ebp - 0x1034]
mov esi, dword [ebp - 0x1024]
cmp edx, 8
mov byte [ebp - 4], 0x11
cmovae eax, ecx
cmovae edi, ecx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x1034]
mov dword [ebp - 0x12c8], eax
cmovae esi, ecx
cmp esi, eax
je 0x4cdc01
sub edi, esi
nop dword [eax + eax]
movzx eax, word [esi]
push eax
call fcn.0054c904
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x12c8]
jne 0x4cdbe0
mov edx, dword [ebp - 0x1020]
cmp dword [ebp - 0x1038], 8
lea ecx, [ebp - 0x104c]
push dword [ebp - 0x103c]
cmovae ecx, dword [ebp - 0x104c]
lea eax, [ebp - 0x1034]
push ecx
cmp edx, 8
push 0
push dword [ebp - 0x1024]
cmovae eax, dword [ebp - 0x1034]
push eax
call fcn.0040fea0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4cdd24
mov eax, dword [ebp - 0x1020]
mov byte [ebp - 4], 0x14
cmp eax, 8
jb 0x4cdc68
inc eax
lea ecx, [ebp - 0x1034]
push eax
push dword [ebp - 0x1034]
call fcn.0040a2e0
push dword [ebp - 0x12bc]
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 0x10
push 0xfff
push eax
call fcn.00422aae
add esp, 0xc
test eax, eax
jne 0x4cdb50
push dword [ebp - 0x12bc]
call fcn.00426bf2
add esp, 4
lea ecx, [ebp - 0x104c]
call fcn.0040a280
lea ecx, [ebp - 0x1068]
call fcn.0040a280
mov eax, dword [ebp - 0x101c]
mov dword [ebp - 4], 0x16
test eax, eax
je 0x4cdd05
lea ecx, [ebp - 0x101c]
push ecx
push dword [ebp - 0x1018]
push eax
call fcn.00408e70
mov ecx, dword [ebp - 0x1014]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x101c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x101c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a140
xor al, al
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.00401682
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x12bc]
call fcn.00426bf2
add esp, 4
mov eax, dword [ebp - 0x1020]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x4cdd54
inc eax
lea ecx, [ebp - 0x1034]
push eax
push dword [ebp - 0x1034]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x1024], 0
lea ecx, [ebp - 0x104c]
mov dword [ebp - 0x1020], 7
mov word [ebp - 0x1034], ax
call fcn.0040a280
lea ecx, [ebp - 0x1068]
mov byte [ebp - 0x12bd], 1
call fcn.0040a280
jmp 0x4cd901