Function at 0x453720
Capabilities:
Check if file exists
Get file attributes
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a104c
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x4c9614]
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x2e8], edi
mov dword [ebp - 0x308], ebx
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x30c], ecx
cmp ebx, esi
je 0x453c2f
mov dword [ebp - 0x2f4], esi
lea eax, [ebp - 0x2f4]
push eax
mov dword [ebp - 4], esi
mov ecx, dword [edi + 0x48]
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
push 0x20
push ecx
push ebx
call edx
cmp eax, esi
jge 0x4537b1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2f4]
cmp eax, esi
jmp 0x453c25
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], esi
cmp eax, esi
je 0x453c1c
jmp 0x4537d6
mov ebx, dword [ebp - 0x308]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x2f8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x453c16
cmp byte [edi + 0xa8], al
jne 0x453c16
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x24]
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x2f8]
push eax
push 1
mov esi, 0x20000000
push ebx
mov dword [ebp - 0x304], esi
call ecx
test dword [ebp - 0x304], esi
je 0x453876
mov edx, dword [ebp - 0x2f8]
mov eax, dword [ebp - 0x300]
push edx
push eax
call fcn.00446a40
mov esi, eax
add esp, 8
mov dword [ebp - 0x2f0], esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x453889
test esi, esi
je 0x453889
mov ebx, dword [sym.imp.SHELL32.dll_ILIsEqual]
push esi
push eax
call ebx
test eax, eax
setne al
test al, al
je 0x45388f
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x2f4]
test eax, eax
jne 0x4537d0
jmp 0x453c1c
mov ebx, dword [sym.imp.SHELL32.dll_ILIsEqual]
mov eax, dword [edi + 0x94]
test eax, eax
je 0x4538aa
test esi, esi
je 0x4538aa
push esi
push eax
call ebx
test eax, eax
setne al
test al, al
jne 0x45386b
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4538c5
test esi, esi
je 0x4538c5
push esi
push eax
call ebx
test eax, eax
setne al
test al, al
jne 0x45386b
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x4538e0
test esi, esi
je 0x4538e0
push esi
push eax
call ebx
test eax, eax
setne al
test al, al
jne 0x45386b
lea ecx, [ebp - 0x2ec]
push ecx
mov ecx, esi
call fcn.0045c6c0
add esp, 4
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x2ec]
cmp dword [ebx - 0xc], 0
je 0x453a79
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push 0x4b3b10
push ebx
call edi
test eax, eax
jl 0x453afd
push str..zip
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call edi
test eax, eax
je 0x453afd
cmp dword [ebx - 0xc], 3
jne 0x4539b5
xor edx, edx
xor eax, eax
push 3
mov word [ebp - 0x24], dx
lea ecx, [edx + 0xa]
push ebx
lea edx, [ebp - 0x24]
mov byte [ebp - 0x2e1], 0
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call fcn.004516d0
lea eax, [ebp - 0x24]
call fcn.00455b60
mov edi, eax
test edi, edi
jne 0x45397a
mov byte [ebp - 0x2e1], 1
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x45399c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45399c
mov byte [ebp - 0x2e1], 1
test edi, edi
je 0x4539a9
push edi
call fcn.0047ef43
add esp, 4
cmp byte [ebp - 0x2e1], 0
jmp 0x453a4c
push 0x2b0
lea ecx, [ebp - 0x2dc]
push 0
push ecx
mov dword [ebp - 0x2e0], 0
call fcn.004845b0
add esp, 0xc
push 0x808
push 0x2b4
lea edx, [ebp - 0x2e0]
push edx
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2d8]
test eax, 0x100
je 0x453a2c
test eax, 0x40000000
je 0x453a2c
test al, 1
jne 0x453a2c
lea ecx, [ebp - 0x2ec]
call fcn.0046c940
lea esi, [ebp - 0x2f0]
mov byte [ebp - 4], 0
call fcn.00438530
mov edi, dword [ebp - 0x2e8]
jmp 0x453876
push 2
push 0x4aac48
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x453a4e
push str.Public
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x453a73
lea ecx, [ebp - 0x2ec]
call fcn.0046c940
lea esi, [ebp - 0x2f0]
mov byte [ebp - 4], 0
call fcn.00438530
mov edi, dword [ebp - 0x2e8]
jmp 0x453876
mov edi, dword [ebp - 0x2e8]
mov eax, dword [edi + 0x90]
mov ecx, dword [ebp - 0x300]
call fcn.0045c960
test al, al
jne 0x453b57
push 0x2b0
lea eax, [ebp - 0x2dc]
push 0
push eax
mov dword [ebp - 0x2e0], 0
call fcn.004845b0
add esp, 0xc
push 0x808
push 0x2b4
lea ecx, [ebp - 0x2e0]
push ecx
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test byte [ebp - 0x2d8], 4
je 0x453b28
mov edi, dword [edi + 0x9c]
mov ecx, esi
call fcn.0045c870
test al, al
jne 0x453b22
mov edx, dword [ebp - 0x2e8]
mov eax, dword [edx + 0x90]
mov ecx, esi
call fcn.0045c960
test al, al
jne 0x453b22
lea ecx, [ebp - 0x2ec]
call fcn.0046c940
lea esi, [ebp - 0x2f0]
mov byte [ebp - 4], 0
call fcn.00438530
mov edi, dword [ebp - 0x2e8]
jmp 0x453876
mov edi, dword [ebp - 0x2e8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453b57
test al, 0x10
jne 0x453b57
lea ecx, [ebp - 0x2ec]
call fcn.0046c940
lea esi, [ebp - 0x2f0]
mov byte [ebp - 4], 0
call fcn.00438530
jmp 0x453876
push esi
call dword [sym.imp.SHELL32.dll_ILClone]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x318]
inc ebx
push eax
mov ecx, edi
mov dword [ebp - 0x314], ebx
mov byte [ebp - 0x310], 0
call fcn.004521d0
mov eax, dword [edi + 0x90]
push eax
push esi
call dword [sym.imp.SHELL32.dll_ILIsEqual]
test eax, eax
je 0x453bf7
mov dword [ebp - 0x2fc], 0
mov eax, dword [ebp - 0x308]
lea edx, [ebp - 0x2fc]
push edx
push 0x4a7b9c
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2f8]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jl 0x453be1
mov ecx, dword [ebp - 0x30c]
mov edx, dword [ebp - 0x2fc]
push ebx
push ecx
push esi
push edx
mov ecx, edi
call fcn.00453720
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2fc]
test eax, eax
je 0x453bf7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x2ec]
call fcn.0046c940
lea esi, [ebp - 0x2f0]
mov byte [ebp - 4], 0
call fcn.00438530
jmp 0x453876
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x453c2f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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.0047e6eb
mov esp, ebp
pop ebp
ret 0x10