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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9927
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x4f3280]
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 0x480ac2
lea ecx, [esp + 0x20]
call fcn.00451ba0
xor ebx, ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x4ac], ebx
call fcn.0048d660
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x20]
jne 0x480ac9
call fcn.00451bf0
xor eax, eax
jmp 0x480d41
lea edx, [esp + 0x18]
push edx
call fcn.00451c20
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.00451c60
push eax
lea ecx, [esp + 0x1c]
call fcn.00451de0
test al, al
je 0x480d33
lea ecx, [esp + 0x18]
call fcn.00451cf0
push eax
lea ecx, [esp + 0x3c]
call fcn.00409680
lea ecx, [esp + 0x18]
call fcn.00451d20
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 0x480b39
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x60]
call fcn.0042c0b0
lea ecx, [esp + 0x64]
call fcn.0042c0b0
mov dword [esp + 0x68], edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x4a0], 2
call fcn.00403570
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x480cfa
lea ecx, [esp + 0x38]
call fcn.00403570
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x480cfa
lea eax, [esp + 0x54]
call fcn.0048fed0
test eax, eax
jl 0x480cfa
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.004a4ecc
add esp, 0xc
cmp edi, ebx
jl 0x480cfa
push 0x208
lea ecx, [esp + 0x282]
push ebx
push ecx
mov word [esp + 0x288], bx
call fcn.004a1e50
lea edx, [esp + 0x288]
add esp, 0xc
test edx, edx
je 0x480cfa
lea ecx, [esp + 0x60]
call fcn.0042cd20
mov ecx, dword [eax]
push ebx
push ebx
push 0x104
lea edx, [esp + 0x288]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x480cfa
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402f90
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a4], 3
call fcn.00402f90
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a0], 4
call fcn.004180e0
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.004031c0
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004a742f
add esp, 8
push esi
lea ecx, [esp + 0x14]
call fcn.00404540
lea ecx, [esp + 0x14]
call fcn.004180e0
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.004031c0
lea edx, [esi + 1]
push edx
push eax
call fcn.004a742f
add esp, 8
push esi
lea ecx, [esp + 0x18]
call fcn.00404540
push ebx
lea ecx, [esp + 0x18]
call fcn.0042cd20
push eax
lea ecx, [esp + 0x18]
call fcn.0043b010
test eax, eax
jl 0x480ce8
push ebx
lea ecx, [esp + 0x3c]
call fcn.00403570
push eax
call fcn.0048cd60
add esp, 8
push ebx
lea ecx, [esp + 0x3c]
call fcn.00403570
push eax
push 0x3005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [esp + 0x14]
call fcn.00418010
lea ecx, [esp + 0x10]
call fcn.00418010
lea ecx, [esp + 0x54]
call fcn.0048fe60
lea ecx, [esp + 0x38]
mov byte [esp + 0x4a0], bl
call fcn.00406930
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.00451c60
push eax
lea ecx, [esp + 0x1c]
call fcn.00451de0
test al, al
jne 0x480af3
lea ecx, [esp + 0x20]
call fcn.00451bf0
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.004a1873
mov esp, ebp
pop ebp
ret