Function at 0x497330
Capabilities:
Empty the recycle bin

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a0acf
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0
mov dword [ecx + 4], 6
mov dword [ecx], vtable.tt::engine::SmartCleanResult.0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x44]
cmp ecx, edx
je 0x4973bd
nop dword [eax + eax]
mov eax, dword [ecx]
add ecx, 8
mov byte [eax + 0xd], 0
cmp ecx, edx
jne 0x4973b0
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov edx, dword [esi + 0x10]
mov edi, eax
sub edi, edx
xor esi, esi
add edi, 3
shr edi, 2
cmp edx, eax
cmova edi, ecx
test edi, edi
je 0x4973f8
nop word [eax + eax]
mov eax, dword [ebp - 0x4c]
lea edx, [edx + 4]
mov ecx, dword [edx - 4]
inc esi
mov eax, dword [eax + 0x44]
mov eax, dword [eax + ecx*8]
mov byte [eax + 0xd], 1
cmp esi, edi
jne 0x4973e0
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], vtable._.138.0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], 0
mov esi, dword [eax]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x48], eax
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00497980
mov dword [ebp - 0x14], eax
mov edi, dword [esi]
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x48], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x497456
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov esi, dword [ebp - 0x4c]
mov ecx, edi
add esi, 0x44
mov byte [ebp - 4], 3
push esi
call fcn.004507d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x49748a
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
je 0x4974b2
mov edx, dword [ecx]
cmp byte [edx + 0xd], 0
je 0x4974ab
mov byte [edx + 0xe], 1
mov eax, dword [ecx]
mov byte [eax + 0xc], 0
mov eax, dword [ecx]
mov byte [eax + 0xd], 0
add ecx, 8
cmp ecx, edi
jne 0x497493
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x4974d0
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x94]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [ebp - 0x4c]
add eax, 0x88
mov dword [ebp - 0x3c], eax
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
cmp edi, eax
je 0x497541
mov esi, dword [edi + 4]
test esi, esi
je 0x4974f5
lock inc dword [esi + 4]
mov esi, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
cmp ecx, edx
je 0x49750e
mov eax, dword [ecx]
add ecx, 8
mov byte [eax + 0xd], 0
cmp ecx, edx
jne 0x497501
mov byte [ebp - 4], 7
test esi, esi
je 0x497539
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x497539
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 8], eax
jne 0x497539
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add edi, 8
cmp edi, dword [ebp - 0x58]
jne 0x4974e7
mov eax, dword [ebp - 0x54]
xor edi, edi
mov dword [ebp - 0x58], edi
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x1c]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4975da
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ecx + esi]
mov eax, dword [eax]
mov eax, dword [eax + edi*8]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + esi + 4]
mov edi, eax
sub edi, edx
xor esi, esi
add edi, 3
shr edi, 2
cmp edx, eax
cmova edi, esi
test edi, edi
je 0x4975ab
nop
mov eax, dword [ebp - 0x48]
lea edx, [edx + 4]
mov ecx, dword [edx - 4]
inc esi
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*8]
mov byte [eax + 0xd], 1
cmp esi, edi
jne 0x497590
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x54]
add ecx, 0xc
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x64], ecx
inc edi
mov dword [ebp - 0x58], edi
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x1c]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x64]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x497568
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], vtable.p.1.0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x4c]
sub esp, 0x28
mov esi, esp
mov edi, dword [eax + 8]
mov dword [ebp - 0x48], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x497617
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
push dword [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.004555e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x18]
push dword [esi + 4]
call fcn.00455e90
mov eax, dword [ebp - 0x18]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0076e8f3
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x49767e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x94]
cmp ecx, eax
setne al
push eax
call edx
mov edi, dword [ebp - 0x54]
lea esi, [edi + 4]
mov byte [ebp - 4], 0
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
mov dword [ebp - 0x48], esi
test eax, eax
je 0x4977ce
cmp byte [edi], 0
je 0x49777e
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00411040
mov byte [ebp - 4], 0xc
call fcn.00451b60
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp esi, edi
je 0x49775a
nop
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x49774f
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi]
cmp dword [eax + 8], 1
jne 0x49774f
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x1f4
mov dword [ebp - 0x5c], 0
call fcn.004520e0
lea ecx, [ebp - 0x30]
call fcn.00412660
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x49774f
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x60]
call fcn.004520e0
lea ecx, [ebp - 0x30]
call fcn.00412660
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x497723
add esi, 8
cmp esi, edi
jne 0x4976d0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00413a10
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x28], eax
call fcn.004132d0
mov esi, dword [ebp - 0x48]
push 0
push esi
lea eax, [ebp - 0x4d]
push eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xc]
call fcn.004912d0
cmp byte [ebp - 0x4d], 0
je 0x4977ce
mov edi, dword [esi + 4]
mov edx, dword [esi]
cmp edx, edi
je 0x4977ce
nop
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x9c]
mov eax, dword [eax + 0x98]
cmp eax, esi
je 0x4977c7
mov ecx, dword [eax + 8]
cmp ecx, dword [edx]
jne 0x4977c0
mov ecx, dword [eax]
mov byte [ecx + 0x34], 0
add eax, 0xc
cmp eax, esi
jne 0x4977b3
add edx, 4
cmp edx, edi
jne 0x4977a0
mov eax, dword [ebp - 0x54]
cmp byte [eax + 1], 0
je 0x4978bc
xorps xmm0, xmm0
mov byte [ebp - 4], 0xd
push 0x18
movlpd qword [ebp - 0x60], xmm0
call fcn.0076e8c3
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
lea esi, [edi + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x68], 3
movlpd qword [ebp - 0x60], xmm0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.__b.0
mov dword [esi + 4], 3
mov dword [esi], vtable.tt::engine::RecycleBinCleanResult.0
mov dword [esi + 8], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
call fcn.00429070
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov dword [esi + 8], edx
call fcn.00427c60
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
cmp esi, eax
je 0x497874
mov edi, eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x49785f
mov eax, dword [esi]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
add esi, 0x18
cmp esi, edi
jne 0x497855
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
call fcn.00404220
or esi, 0xffffffff
mov byte [ebp - 4], 0xe
mov eax, esi
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x4978a5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x4978a5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe0], 0
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4978db
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 0x30