Function at 0x41dbf0
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x49e957
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x4c02a0]
xor eax, esp
mov dword [esp + 0x48c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c02a0]
xor eax, esp
push eax
lea eax, [esp + 0x4a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4b4]
mov esi, ecx
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dc94
lea ecx, [esp + 0x24]
push ecx
call fcn.004731a0
xor ebx, ebx
push ebx
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x4b8], ebx
call fcn.00471d20
add esp, 0xc
test eax, eax
jne 0x41dc9b
lea ebx, [esp + 0x24]
call fcn.004733f0
mov eax, dword [esp + 0x38]
push eax
call fcn.0047ceda
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov dword [esp + 0x3c], 0
call fcn.0047ceda
add esp, 4
xor eax, eax
jmp 0x41df91
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
mov ebp, dword [edx]
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x38]
cmp edi, ebx
je 0x41dcb7
cmp edi, dword [esp + 0x24]
je 0x41dcbc
call fcn.0047d0a2
cmp ebp, esi
je 0x41df61
cmp edi, ebx
jne 0x41df53
call fcn.0047d0a2
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x41dcdd
call fcn.0047d0a2
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x54], cx
lea eax, [ebp + 8]
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
call fcn.0040e3b0
cmp edi, ebx
jne 0x41df5a
call fcn.0047d0a2
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x41dd18
call fcn.0047d0a2
mov ebp, dword [ebp]
push 6
push ebx
mov dword [esp + 0x70], vtable.QMTShortCut.0
mov dword [esp + 0x74], vtable.CQMTInitializeCOMThread.0
mov dword [esp + 0x78], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jne 0x41dd44
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 1
mov byte [esp + 0x4ac], 2
mov eax, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
jae 0x41dd6f
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x41df26
cmp dword [esp + 0x64], esi
mov esi, dword [esp + 0x50]
jae 0x41dd8c
lea esi, [esp + 0x50]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41df26
lea eax, [esp + 0x68]
call fcn.004712b0
test eax, eax
jl 0x41df26
mov eax, dword [esp + 0x78]
push ebx
mov dword [esp + 0x80], 1
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x14]
call eax
push esi
lea ecx, [esp + 0x84]
push 0x104
push ecx
mov edi, eax
call fcn.00480146
add esp, 0xc
cmp edi, ebx
jl 0x41df22
push 0x208
lea eax, [esp + 0x296]
xor edx, edx
push ebx
push eax
mov word [esp + 0x29c], dx
call fcn.004820f0
lea ecx, [esp + 0x29c]
add esp, 0xc
test ecx, ecx
je 0x41df22
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
push ebx
push 0x104
push ecx
push eax
call edx
cmp eax, ebx
jl 0x41df22
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x294]
call fcn.00406d60
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x4b0], 3
call fcn.00406d60
lea edi, [esp + 0x18]
mov byte [esp + 0x4ac], 4
call fcn.0041a140
lea edi, [esp + 0x1c]
call fcn.0041a140
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x41ded2
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jl 0x41ded2
push ecx
push eax
call fcn.0047e443
add esp, 8
cmp eax, ebx
je 0x41ded2
sub eax, dword [esp + 0x18]
sar eax, 1
js 0x41ded2
mov eax, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
jae 0x41deab
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.00471a90
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [esp + 0x64], esi
jae 0x41dec3
lea eax, [esp + 0x50]
push ebx
push eax
push 0x2005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov byte [esp + 0x4ac], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41defa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4ac], 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 0x41df22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x68]
call fcn.00471240
mov byte [esp + 0x4ac], bl
cmp dword [esp + 0x64], 8
jb 0x41dca9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0047ceda
add esp, 4
jmp 0x41dca9
mov eax, dword [edi]
jmp 0x41dcd3
mov eax, dword [edi]
jmp 0x41dd0e
lea ebx, [esp + 0x24]
call fcn.004733f0
mov edx, dword [esp + 0x38]
push edx
call fcn.0047ceda
mov eax, dword [esp + 0x28]
add esp, 4
push eax
mov dword [esp + 0x3c], 0
call fcn.0047ceda
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48c]
xor ecx, esp
call fcn.0047cee5
add esp, 0x49c
ret