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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a46b7
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4c6280]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x4c6280]
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 0x462842
lea ecx, [esp + 0x20]
call fcn.00437530
xor ebx, ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x4ac], ebx
call fcn.0045bcb0
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x20]
jne 0x462849
call fcn.00437580
xor eax, eax
jmp 0x462aab
lea edx, [esp + 0x18]
push edx
call fcn.004375b0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.004375f0
push eax
lea ecx, [esp + 0x1c]
call fcn.00437790
test al, al
je 0x462a9d
lea ecx, [esp + 0x18]
call fcn.004376a0
push eax
lea ecx, [esp + 0x3c]
call fcn.00419630
lea ecx, [esp + 0x18]
call fcn.004376d0
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 0x4628b9
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.00421e20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x462a64
lea ecx, [esp + 0x38]
call fcn.00421e20
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462a64
lea eax, [esp + 0x54]
call fcn.004606c0
test eax, eax
jl 0x462a64
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.00482d72
add esp, 0xc
cmp edi, ebx
jl 0x462a64
push 0x208
lea ecx, [esp + 0x282]
push ebx
push ecx
mov word [esp + 0x288], bx
call fcn.004806d0
lea edx, [esp + 0x288]
add esp, 0xc
test edx, edx
je 0x462a64
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 0x462a64
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040ff10
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a4], 3
call fcn.0040ff10
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a0], 4
call fcn.0040feb0
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.00410180
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004850a7
add esp, 8
push esi
lea ecx, [esp + 0x14]
call fcn.00412520
lea ecx, [esp + 0x14]
call fcn.0040feb0
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.00410180
lea edx, [esi + 1]
push edx
push eax
call fcn.004850a7
add esp, 8
push esi
lea ecx, [esp + 0x18]
call fcn.00412520
push ebx
lea ecx, [esp + 0x18]
call fcn.00410760
push eax
lea ecx, [esp + 0x18]
call fcn.00420bf0
test eax, eax
jl 0x462a52
push ebx
lea ecx, [esp + 0x3c]
call fcn.00421e20
push eax
call fcn.0045b3b0
add esp, 8
push ebx
lea ecx, [esp + 0x3c]
call fcn.00421e20
push eax
push 0x2005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [esp + 0x14]
call fcn.0040fde0
lea ecx, [esp + 0x10]
call fcn.0040fde0
lea ecx, [esp + 0x54]
call fcn.00460650
lea ecx, [esp + 0x38]
mov byte [esp + 0x4a0], bl
call fcn.00419810
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.004375f0
push eax
lea ecx, [esp + 0x1c]
call fcn.00437790
test al, al
jne 0x462873
lea ecx, [esp + 0x20]
call fcn.00437580
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.0047f404
mov esp, ebp
pop ebp
ret