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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4977c7
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4b62b0]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x4b62b0]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466f22
lea ecx, [esp + 0x20]
call fcn.0043a440
xor ebx, ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x4ac], ebx
call fcn.0045bfa0
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x20]
jne 0x466f29
call fcn.0043a490
xor eax, eax
jmp 0x46718b
lea edx, [esp + 0x18]
push edx
call fcn.0041c510
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.0041c550
push eax
lea ecx, [esp + 0x1c]
call fcn.0041c640
test al, al
je 0x46717d
lea ecx, [esp + 0x18]
call fcn.0041c5e0
push eax
lea ecx, [esp + 0x3c]
call fcn.00415ef0
lea ecx, [esp + 0x18]
call fcn.0041c610
push 6
push ebx
mov dword [esp + 0x5c], vtable.QMTShortCut.0
mov dword [esp + 0x60], vtable.CQMTInitializeCOMThread.0
mov dword [esp + 0x64], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
mov edi, 1
jne 0x466f99
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x4a0], 2
call fcn.0041ba20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x467144
lea ecx, [esp + 0x38]
call fcn.0041ba20
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467144
lea eax, [esp + 0x54]
call fcn.00469e40
test eax, eax
jl 0x467144
mov eax, dword [esp + 0x64]
push ebx
mov dword [esp + 0x6c], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
push esi
mov edi, eax
lea eax, [esp + 0x70]
push 0x104
push eax
call fcn.0047583f
add esp, 0xc
cmp edi, ebx
jl 0x467144
push 0x208
lea ecx, [esp + 0x282]
push ebx
push ecx
mov word [esp + 0x288], bx
call fcn.00472c50
lea edx, [esp + 0x288]
add esp, 0xc
test edx, edx
je 0x467144
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push ebx
push ebx
push 0x104
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x467144
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402310
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a4], 3
call fcn.00402310
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a0], 4
call fcn.0040f780
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.004026a0
lea ecx, [esi + 1]
push ecx
push eax
call fcn.00478295
add esp, 8
push esi
lea ecx, [esp + 0x14]
call fcn.00402d40
lea ecx, [esp + 0x14]
call fcn.0040f780
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.004026a0
lea edx, [esi + 1]
push edx
push eax
call fcn.00478295
add esp, 8
push esi
lea ecx, [esp + 0x18]
call fcn.00402d40
push ebx
lea ecx, [esp + 0x18]
call fcn.0041cae0
push eax
lea ecx, [esp + 0x18]
call fcn.0041a9e0
test eax, eax
jl 0x467132
push ebx
lea ecx, [esp + 0x3c]
call fcn.0041ba20
push eax
call fcn.0045b610
add esp, 8
push ebx
lea ecx, [esp + 0x3c]
call fcn.0041ba20
push eax
push 0x2005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [esp + 0x14]
call fcn.004023a0
lea ecx, [esp + 0x10]
call fcn.004023a0
lea ecx, [esp + 0x54]
call fcn.00469dd0
lea ecx, [esp + 0x38]
mov byte [esp + 0x4a0], bl
call fcn.00432550
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.0041c550
push eax
lea ecx, [esp + 0x1c]
call fcn.0041c640
test al, al
jne 0x466f53
lea ecx, [esp + 0x20]
call fcn.0043a490
mov eax, 1
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.00472710
mov esp, ebp
pop ebp
ret