Function at 0x489e00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f9d5
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 0x48a40e
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0048b5d0
push 7
push edi
push str.Microsoft.XMLDOM
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0048b630
cmp eax, edi
jl 0x489e96
push edi
lea ecx, [ebp - 0x14]
call fcn.0048b600
test al, al
jne 0x489e96
lea ecx, [ebp - 0x14]
call fcn.00431ac0
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xfc]
lea ecx, [ebp - 0x14]
call fcn.00431ac0
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.0046ca80
cmp dword [ebp - 0x18], edi
je 0x48a40e
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 0x489ed7
push str.version1.0_encodingUTF_8
call fcn.004126f0
jmp 0x489ed9
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 3
mov dword [esi], eax
jne 0x489eed
push 0x8007000e
call fcn.005505fa
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x5bf010
call fcn.0048b1d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0048b7c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.0048afc0
mov edx, dword [eax]
lea ecx, [ebp - 0x30]
push edx
call fcn.00470970
lea ecx, [ebp - 0x20]
call fcn.0046ca80
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.0048af00
lea ecx, [ebp - 0x20]
call fcn.0046ca80
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 0x489f91
push str.playlist
call fcn.004126f0
jmp 0x489f93
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 7
mov dword [esi], eax
jne 0x489fa7
push 0x8007000e
call fcn.005505fa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0048b7c0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.004318e0
mov esi, dword [eax]
mov byte [ebp - 4], 0xa
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x489fd5
mov edx, dword [esi]
push esi
call dword [edx + 4]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.0046ca80
cmp esi, edi
je 0x48a310
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004313f0
lea ecx, [ebp - 0x24]
call fcn.0046ca80
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 0x48a310
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 0x48a2f4
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 0x48a06b
push str.item
call fcn.004126f0
jmp 0x48a06d
xor eax, eax
cmp eax, edi
mov byte [ebp - 4], 0xd
mov dword [esi], eax
jne 0x48a081
push 0x8007000e
call fcn.005505fa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.0048b7c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, eax
call fcn.004318e0
mov eax, dword [eax]
mov byte [ebp - 4], 0x10
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x48a0af
mov edx, dword [eax]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.0046ca80
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x48a2e3
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004313f0
lea ecx, [ebp - 0x3c]
call fcn.0046ca80
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 0x48a116
cmp esi, edi
je 0x48a116
push 0x8007000e
call fcn.005505fa
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x5b9d58
call fcn.0048b1d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.0048b7c0
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.0048b110
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
push ecx
call ebx
cmp eax, edi
jge 0x48a159
push eax
call fcn.005505fa
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 0x48a19a
cmp esi, edi
je 0x48a19a
push 0x8007000e
call fcn.005505fa
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.0048b1d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.0048b7c0
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.0048b110
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
push eax
call ebx
cmp eax, edi
jge 0x48a1e3
push eax
call fcn.005505fa
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 [0x576c68]
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 0x5beff0
call fcn.0048b1d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
call fcn.0048b7c0
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.0048b110
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
push ecx
call ebx
cmp eax, edi
jge 0x48a25a
push eax
call fcn.005505fa
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 [0x576c68]
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.0048b1d0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1c
call fcn.0048b7c0
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.0048b110
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
push eax
call ebx
cmp eax, edi
jge 0x48a2ce
push eax
call fcn.005505fa
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 0x48a2f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 0xc
je 0x48a302
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 0x48a016
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.0044e920
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 0x48a34e
push eax
call fcn.005505fa
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 0x48a38c
push 0x5b7678
push esi
push eax
call fcn.00550608
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 0x48a3a5
push eax
call fcn.005505fa
lea ecx, [ebp - 0x6c]
push ecx
call esi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 7
test eax, eax
je 0x48a3bc
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 0x48a3d3
push eax
call fcn.005505fa
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test eax, eax
je 0x48a3e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test eax, eax
je 0x48a3f5
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