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

Disassembly:
push 0xffffffffffffffff
push 0x43c117
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x49c]
mov esi, ecx
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414752
call fcn.00413350
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x4a0], ebx
call fcn.004159f0
add esp, 0xc
test eax, eax
jne 0x414759
lea ebx, [esp + 0x20]
call fcn.00413480
mov edx, dword [esp + 0x24]
push edx
call fcn.0041c4fe
add esp, 4
xor eax, eax
jmp 0x4149d7
mov eax, dword [esp + 0x24]
mov ebp, dword [eax]
cmp ebp, dword [esp + 0x24]
je 0x4149bc
push 0xffffffffffffffff
lea eax, [ebp + 8]
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.004079e0
cmp ebp, dword [esp + 0x24]
jne 0x414794
call fcn.0041d74b
mov ebp, dword [ebp]
push 6
push ebx
mov dword [esp + 0x58], vtable.QMTShortCut.0
mov dword [esp + 0x5c], vtable.CQMTInitializeCOMThread.0
mov dword [esp + 0x60], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
mov edi, 1
jne 0x4147c1
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
mov byte [esp + 0x494], 2
mov eax, dword [esp + 0x38]
mov esi, 8
cmp dword [esp + 0x4c], esi
jae 0x4147e8
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x41498f
cmp dword [esp + 0x4c], esi
mov esi, dword [esp + 0x38]
jae 0x414805
lea esi, [esp + 0x38]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41498f
lea eax, [esp + 0x50]
call fcn.00417dc0
test eax, eax
jl 0x41498f
mov eax, dword [esp + 0x60]
push ebx
mov dword [esp + 0x68], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push eax
call edx
push esi
mov edi, eax
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.0041d75b
add esp, 0xc
cmp edi, ebx
jl 0x41498f
push 0x208
lea ecx, [esp + 0x27e]
push ebx
push ecx
mov word [esp + 0x284], bx
call fcn.00420090
lea edx, [esp + 0x284]
add esp, 0xc
test edx, edx
je 0x41498f
mov eax, dword [esp + 0x5c]
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 0x41498f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x27c]
call fcn.00401b70
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x498], 3
call fcn.00401b70
lea edi, [esp + 0x18]
mov byte [esp + 0x494], 4
call fcn.00414a00
lea edi, [esp + 0x1c]
call fcn.00414a00
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x41493f
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jl 0x41493f
push ecx
push eax
call fcn.0041d5ad
add esp, 8
cmp eax, ebx
je 0x41493f
sub eax, dword [esp + 0x18]
sar eax, 1
js 0x41493f
mov eax, dword [esp + 0x38]
mov esi, 8
cmp dword [esp + 0x4c], esi
jae 0x414918
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00415080
mov eax, dword [esp + 0x40]
add esp, 8
cmp dword [esp + 0x4c], esi
jae 0x414930
lea eax, [esp + 0x38]
push ebx
push eax
push 0x2005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov byte [esp + 0x494], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414967
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x494], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41498f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
call fcn.00417d50
mov byte [esp + 0x494], bl
cmp dword [esp + 0x4c], 8
jb 0x41475f
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041c4fe
add esp, 4
jmp 0x41475f
lea ebx, [esp + 0x20]
call fcn.00413480
mov edx, dword [esp + 0x24]
push edx
call fcn.0041c4fe
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.0041cb94
add esp, 0x484
ret