Function at 0x490ef0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575a95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp ebx, edi
je 0x4914fe
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00492b00
push 7
push edi
push str.Microsoft.XMLDOM
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00492b30
cmp eax, edi
jl 0x490f86
push edi
lea ecx, [ebp - 0x14]
call fcn.004367c0
test al, al
jne 0x490f86
lea ecx, [ebp - 0x14]
call fcn.00436700
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xfc]
lea ecx, [ebp - 0x14]
call fcn.00436700
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x118]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
call fcn.004f3790
cmp dword [ebp - 0x18], edi
je 0x4914fe
mov dword [ebp - 0x30], edi
push ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
cmp ecx, edi
mov byte [ebp - 4], 4
je 0x490fc7
push str.version1.0_encodingUTF_8
call fcn.004129d0
jmp 0x490fc9
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 3
mov dword [esi], eax
jne 0x490fdd
push 0x8007000e
call fcn.00565a92
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x5d9728
call fcn.00492700
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00492cc0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.004924f0
mov edx, dword [eax]
lea ecx, [ebp - 0x30]
push edx
call fcn.004774f0
lea ecx, [ebp - 0x20]
call fcn.004f3790
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push edx
push eax
mov byte [ebp - 4], 7
mov word [ebp - 0xb0], 1
call fcn.00492430
lea ecx, [ebp - 0x20]
call fcn.004f3790
push ecx
mov dword [ebp - 0x3c], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
cmp ecx, edi
mov byte [ebp - 4], 8
je 0x491081
push str.playlist
call fcn.004129d0
jmp 0x491083
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 7
mov dword [esi], eax
jne 0x491097
push 0x8007000e
call fcn.00565a92
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00492cc0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.00436510
mov esi, dword [eax]
mov byte [ebp - 4], 0xa
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x4910c5
mov edx, dword [esi]
push esi
call dword [edx + 4]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.004f3790
cmp esi, edi
je 0x491400
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00436020
lea ecx, [ebp - 0x24]
call fcn.004f3790
mov ecx, dword [ebx]
lea edx, [ebp - 0x48]
push edx
push ebx
mov dword [ebp - 0x48], edi
call dword [ecx + 0x24]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x48]
jge 0x491400
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x14]
push esi
push ecx
mov edx, dword [eax]
push eax
mov byte [ebp - 4], 0xd
call dword [edx + 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4913e4
push ecx
mov dword [ebp - 0x90], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2c], ecx
cmp ecx, edi
mov byte [ebp - 4], 0xe
je 0x49115b
push str.item
call fcn.004129d0
jmp 0x49115d
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 0xd
mov dword [esi], eax
jne 0x491171
push 0x8007000e
call fcn.00565a92
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.00492cc0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, eax
call fcn.00436510
mov eax, dword [eax]
mov byte [ebp - 4], 0x10
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x49119f
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.004f3790
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x4913d3
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00436020
lea ecx, [ebp - 0x3c]
call fcn.004f3790
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x13
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x38]
mov word [ebp - 0x7c], 8
push eax
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, edi
mov dword [ebp - 0x74], eax
jne 0x491206
cmp esi, edi
je 0x491206
push 0x8007000e
call fcn.00565a92
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5d42e0
call fcn.00492700
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00492cc0
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00492640
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
push ecx
call ebx
cmp eax, edi
jge 0x491249
push eax
call fcn.00565a92
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov edx, dword [eax]
mov byte [ebp - 4], 0x16
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x34]
mov word [ebp - 0xa0], 8
push eax
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, edi
mov dword [ebp - 0x98], eax
jne 0x49128a
cmp esi, edi
je 0x49128a
push 0x8007000e
call fcn.00565a92
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0x17
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.source
call fcn.00492700
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.00492cc0
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00492640
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
push eax
call ebx
cmp eax, edi
jge 0x4912d3
push eax
call fcn.00565a92
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
fld qword [ebp - 0x50]
fmul qword [0x58d8f0]
mov esi, 5
mov word [ebp - 0x8c], si
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fstp qword [ebp - 0x84]
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x19
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5d9708
call fcn.00492700
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
call fcn.00492cc0
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00492640
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
push ecx
call ebx
cmp eax, edi
jge 0x49134a
push eax
call fcn.00565a92
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x40]
fld qword [ebp - 0x44]
fmul qword [0x58d8f0]
mov word [ebp - 0x6c], si
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fstp qword [ebp - 0x64]
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1b
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.startpos
call fcn.00492700
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1c
call fcn.00492cc0
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.00492640
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
push eax
call ebx
cmp eax, edi
jge 0x4913be
push eax
call fcn.00565a92
mov ecx, dword [ebp - 0x34]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [ebp - 0x38]
push edx
call esi
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov byte [ebp - 4], 0xd
je 0x4913e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 0xc
je 0x4913f2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov ecx, eax
jmp 0x491106
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push esi
lea ecx, [ebp - 0x6c]
mov word [ebp - 0x6c], di
call fcn.00454e20
lea eax, [ebp - 0x58]
mov bl, 0x1d
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x58]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, edi
jge 0x49143e
push eax
call fcn.00565a92
mov edi, dword [ebp - 0x58]
sub esp, 0x10
mov eax, dword [ebp - 0x18]
mov edx, esp
push eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
mov dword [edx], edi
mov edi, dword [ebp - 0x54]
mov esi, eax
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x50]
mov dword [edx + 8], edi
mov edi, dword [ebp - 0x4c]
mov dword [edx + 0xc], edi
call dword [ecx + 0x108]
test eax, eax
jge 0x49147c
push 0x5d19c0
push esi
push eax
call fcn.00565aa0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], bl
call esi
test eax, eax
jge 0x491495
push eax
call fcn.00565a92
lea ecx, [ebp - 0x6c]
push ecx
call esi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
test eax, eax
je 0x4914ac
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 3
push eax
call esi
test eax, eax
jge 0x4914c3
push eax
call fcn.00565a92
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test eax, eax
je 0x4914d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test eax, eax
je 0x4914e5
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0x80004005
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret