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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455d12
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x46e018]
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 dword [ebp - 0x47c], edx
mov esi, ecx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x41489f
push 0x20
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
call fcn.0042dc81
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x470], eax
lea edx, [ebp - 0x470]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00411af0
mov ecx, dword [ebp - 0x470]
add esp, 4
test eax, eax
jne 0x414365
xor ebx, ebx
jmp 0x41481a
mov esi, dword [ecx]
cmp esi, ecx
je 0x414815
mov ebx, 1
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x238]
call fcn.00402670
mov esi, dword [esi]
push 6
push 0
mov dword [ebp - 0x474], esi
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
mov dword [ebp - 0x458], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x458]
test eax, eax
mov dword [ebp - 0x454], 0
cmove ecx, ebx
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x44c], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x414734
cmp dword [ebp - 0x224], 8
lea ebx, [ebp - 0x238]
cmovae ebx, dword [ebp - 0x238]
push ebx
call edi
test eax, eax
je 0x41472f
mov eax, dword [ebp - 0x450]
test eax, eax
je 0x414442
mov dword [ebp - 0x450], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x41445c
mov dword [ebp - 0x454], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x454]
push eax
push 0x458390
push 1
push 0
push 0x4583d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41472f
mov ecx, dword [ebp - 0x454]
test ecx, ecx
je 0x41449a
mov eax, dword [ecx]
lea edx, [ebp - 0x450]
push edx
push 0x4583e0
push ecx
call dword [eax]
mov eax, dword [ebp - 0x450]
push 0
mov dword [ebp - 0x44c], 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push ebx
mov edi, eax
lea eax, [ebp - 0x448]
push 0x104
push eax
call fcn.0043c6d4
add esp, 0xc
test edi, edi
js 0x414729
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0042ff40
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x220]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push 0x104
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x414729
call fcn.00402ca0
test eax, eax
je 0x4148ca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x464]
call fcn.0040f570
test al, al
jne 0x414572
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414550
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x464]
call fcn.0040f7b0
mov byte [ebp - 4], 4
call fcn.00402ca0
test eax, eax
je 0x4148ca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x468], eax
mov ebx, dword [ebp - 0x47c]
lea ecx, [ebp - 0x468]
push ebx
mov byte [ebp - 4], 5
call fcn.0040f570
test al, al
jne 0x4145dc
test ebx, ebx
jne 0x4145b5
xor ecx, ecx
jmp 0x4145cf
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4145c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x468]
call fcn.0040f7b0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x464]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4148c0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x414614
push edi
lea ecx, [ebp - 0x464]
call fcn.004104b0
mov esi, dword [ebp - 0x464]
lea eax, [edi + 1]
push eax
push esi
call fcn.0043b6d7
lea eax, [esi - 0x10]
add esp, 8
mov dword [ebp - 0x478], eax
cmp edi, dword [eax + 8]
jg 0x4148c0
mov dword [eax + 4], edi
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x468]
mov ebx, dword [edi - 0xc]
test ebx, ebx
js 0x4148c0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x414670
push ebx
lea ecx, [ebp - 0x468]
call fcn.004104b0
mov edi, dword [ebp - 0x468]
lea eax, [ebx + 1]
push eax
push edi
call fcn.0043b6d7
add esp, 8
cmp ebx, dword [edi - 8]
jg 0x4148c0
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
test edi, edi
je 0x4146f0
cmp dword [esi - 0xc], eax
lea ebx, [esi - 0x10]
jl 0x4146f6
push edi
push esi
call fcn.0042f57e
add esp, 8
test eax, eax
je 0x4146f6
sub eax, esi
sar eax, 1
js 0x4146f6
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x238]
xor edx, edx
call fcn.00410a10
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 0
cmovae eax, dword [ebp - 0x238]
push eax
push 0x3005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x4146f6
mov ebx, dword [ebp - 0x478]
or eax, 0xffffffff
lea edx, [edi - 0x10]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41470e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x414723
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x474]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x450]
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
test ecx, ecx
je 0x414766
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x450], ecx
test eax, eax
je 0x414766
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x450]
mov edx, dword [ebp - 0x454]
test edx, edx
je 0x414790
mov eax, edx
xor edx, edx
mov dword [ebp - 0x454], edx
test eax, eax
je 0x414790
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x450]
mov edx, dword [ebp - 0x454]
test ecx, ecx
je 0x4147a0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x454]
test edx, edx
je 0x4147aa
mov eax, dword [edx]
push edx
call dword [eax + 8]
cmp dword [ebp - 0x458], 0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
je 0x4147c3
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x414807
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4147fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4148bb
push edx
push ecx
call fcn.0042dc50
add esp, 8
mov ecx, dword [ebp - 0x470]
cmp esi, ecx
jne 0x414374
mov ebx, 1
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov esi, dword [ecx]
test esi, esi
je 0x41488d
nop dword [eax]
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi]
cmp ecx, 8
jb 0x414868
mov eax, dword [esi + 8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41485e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4148bb
mov eax, edx
push ecx
push eax
call fcn.0042dc50
add esp, 8
xor eax, eax
mov dword [esi + 0x18], 0
push 0x20
push esi
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
call fcn.0042dc50
add esp, 8
mov esi, edi
test edi, edi
jne 0x414830
push 0x20
push dword [ebp - 0x470]
call fcn.0042dc50
add esp, 8
mov eax, ebx
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.0042dc42
mov esp, ebp
pop ebp
ret
call fcn.0043276f
push 0x80070057
call fcn.00410440
push 0x80004005
call fcn.00410440
int3