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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44df12
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x48d06c]
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 - 0x474], edx
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41cf90
push 0
push 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
call fcn.0040f750
mov dword [ebp - 0x468], eax
push ecx
lea edx, [ebp - 0x468]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.0041b050
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x468]
jne 0x41cbd1
xor ebx, ebx
jmp 0x41ceff
mov edi, dword [eax]
cmp edi, eax
je 0x41cefa
mov ebx, dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040e900
mov edi, dword [edi]
push 6
push 0
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, esi
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 0x41ce1d
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push ecx
cmovae eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x460]
push eax
call fcn.00420f00
test eax, eax
js 0x41ce1d
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00424870
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 0x41ce1d
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x41cfb1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x46c]
call fcn.00409340
test al, al
jne 0x41cd42
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cd20
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x46c]
call fcn.00409090
push dword [ebp - 0x474]
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 4
call fcn.004092a0
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 5
call fcn.00414d20
lea ecx, [ebp - 0x470]
call fcn.00414d20
mov eax, dword [ebp - 0x470]
mov esi, dword [ebp - 0x46c]
test eax, eax
je 0x41cde0
cmp dword [esi - 0xc], 0
jl 0x41cde0
push eax
push esi
call fcn.00423c86
add esp, 8
test eax, eax
je 0x41cdda
sub eax, esi
sar eax, 1
js 0x41cdda
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x238]
xor edx, edx
call fcn.0041a310
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]
mov eax, dword [ebp - 0x470]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cdfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ce18
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 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 0x41ce4f
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x450], ecx
test eax, eax
je 0x41ce4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x450]
mov edx, dword [ebp - 0x454]
test edx, edx
je 0x41ce79
mov eax, edx
xor edx, edx
mov dword [ebp - 0x454], edx
test eax, eax
je 0x41ce79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x450]
mov edx, dword [ebp - 0x454]
test ecx, ecx
je 0x41ce89
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x454]
test edx, edx
je 0x41ce93
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 0x41cea8
call ebx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x41ceec
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cee2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cfac
push edx
push ecx
call fcn.0042297a
add esp, 8
mov eax, dword [ebp - 0x468]
cmp edi, eax
jne 0x41cbe6
mov ebx, 1
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x468]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x464], 0
cmp esi, eax
je 0x41cf83
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi]
cmp ecx, 8
jb 0x41cf58
mov eax, dword [esi + 8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41cf4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cfac
mov eax, edx
push ecx
push eax
call fcn.0042297a
add esp, 8
xor eax, eax
mov dword [esi + 0x18], 0
push 0x20
mov dword [esi + 0x1c], 7
push esi
mov word [esi + 8], ax
call fcn.0042297a
mov eax, dword [ebp - 0x468]
add esp, 8
mov esi, edi
cmp edi, eax
jne 0x41cf20
push 0x20
push eax
call fcn.0042297a
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.00422308
mov esp, ebp
pop ebp
ret
call fcn.004309e5
push 0x80004005
call fcn.00408740
int3