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

Disassembly:
push 0xffffffffffffffff
push 0x50edb7
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x53a1a4]
xor eax, esp
mov dword [esp + 0x48c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
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 0x4264d4
lea ecx, [esp + 0x24]
push ecx
call fcn.00426830
xor ebx, ebx
push ebx
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x4b8], ebx
call fcn.004de8e0
add esp, 0xc
test eax, eax
jne 0x4264db
lea ebx, [esp + 0x24]
call fcn.004268a0
mov eax, dword [esp + 0x38]
push eax
call fcn.004ea0ff
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov dword [esp + 0x3c], 0
call fcn.004ea0ff
add esp, 4
xor eax, eax
jmp 0x4267d1
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 0x4264f7
cmp edi, dword [esp + 0x24]
je 0x4264fc
call fcn.004ea2c7
cmp ebp, esi
je 0x4267a1
cmp edi, ebx
jne 0x426793
call fcn.004ea2c7
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x42651d
call fcn.004ea2c7
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.0040e810
cmp edi, ebx
jne 0x42679a
call fcn.004ea2c7
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x426558
call fcn.004ea2c7
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 0x426584
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 0x4265af
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x426766
cmp dword [esp + 0x64], esi
mov esi, dword [esp + 0x50]
jae 0x4265cc
lea esi, [esp + 0x50]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426766
lea eax, [esp + 0x68]
call fcn.004dde70
test eax, eax
jl 0x426766
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.004ee7b6
add esp, 0xc
cmp edi, ebx
jl 0x426762
push 0x208
lea eax, [esp + 0x296]
xor edx, edx
push ebx
push eax
mov word [esp + 0x29c], dx
call fcn.004f0190
lea ecx, [esp + 0x29c]
add esp, 0xc
test ecx, ecx
je 0x426762
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 0x426762
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x294]
call fcn.00406c40
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x4b0], 3
call fcn.00406c40
lea edi, [esp + 0x18]
mov byte [esp + 0x4ac], 4
call fcn.00421580
lea edi, [esp + 0x1c]
call fcn.00421580
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x426712
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jl 0x426712
push ecx
push eax
call fcn.004ec267
add esp, 8
cmp eax, ebx
je 0x426712
sub eax, dword [esp + 0x18]
sar eax, 1
js 0x426712
mov eax, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
jae 0x4266eb
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.004de650
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [esp + 0x64], esi
jae 0x426703
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 0x42673a
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 0x426762
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.004dde00
mov byte [esp + 0x4ac], bl
cmp dword [esp + 0x64], 8
jb 0x4264e9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004ea0ff
add esp, 4
jmp 0x4264e9
mov eax, dword [edi]
jmp 0x426513
mov eax, dword [edi]
jmp 0x42654e
lea ebx, [esp + 0x24]
call fcn.004268a0
mov edx, dword [esp + 0x38]
push edx
call fcn.004ea0ff
mov eax, dword [esp + 0x28]
add esp, 4
push eax
mov dword [esp + 0x3c], 0
call fcn.004ea0ff
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.004ea10a
add esp, 0x49c
ret