Function at 0x4894e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f489c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x78], ebx
mov eax, dword [ebx + 0x100]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x3c0], ebp
jne 0x4895bb
mov eax, dword [esp + 0x3d0]
mov esi, dword [esp + 0x3cc]
cmp eax, ebp
je 0x48960a
mov edi, dword [ebx + 0x9c]
lea ecx, [esp + 0x14]
call fcn.00427790
push str.QvodMediaCenter
lea ecx, [esp + 0x40]
mov word [esp + 0x40], bp
call fcn.00406940
lea eax, [esp + 0x14]
lea ecx, [esp + 0x3c]
push eax
push ecx
push str.selectSingleNode
lea ecx, [edi + 4]
mov byte [esp + 0x3cc], 2
call fcn.004080f0
lea edx, [esp + 0x3c]
mov dword [edi + 8], eax
push edx
mov byte [esp + 0x3c4], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [edi + 8]
test eax, eax
jl 0x4895a6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4895a6
push eax
lea ecx, [esi + 4]
call fcn.004080d0
mov ebp, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c0], 0
call fcn.0042ca10
test ebp, ebp
jne 0x4895fd
mov eax, dword [esp + 0x3c8]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x48a0bb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48a0bb
mov edx, dword [esp + 0x3c8]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
jmp 0x48a0bb
mov ecx, dword [ebx + 0x88]
mov eax, dword [ecx]
call dword [eax + 8]
xor ebp, ebp
lea ecx, [esp + 0x3c8]
call fcn.00408c00
mov ecx, dword [esp + 0x3c8]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
lea ecx, [esp + 0x68]
call fcn.00427790
lea ecx, [esp + 0x54]
call fcn.00427790
lea ecx, [esp + 0x14]
call fcn.00427790
push str.files
lea ecx, [esp + 0x40]
mov word [esp + 0x40], bp
call fcn.00406940
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
lea edi, [esi + 4]
push edx
push eax
push str.selectNodes
mov ecx, edi
mov byte [esp + 0x3cc], 6
call fcn.004080f0
lea ecx, [esp + 0x3c]
mov dword [esi], eax
push ecx
mov byte [esp + 0x3c4], 5
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esi], ebp
jl 0x48969e
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x48969e
push eax
lea ecx, [esp + 0x6c]
call fcn.004080d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c0], 4
call fcn.0042ca10
lea ecx, [esp + 0x14]
call fcn.00427790
push str.file
lea ecx, [esp + 0x40]
mov word [esp + 0x40], bp
call fcn.00406940
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
push str.selectNodes
mov ecx, edi
mov byte [esp + 0x3cc], 8
call fcn.004080f0
lea ecx, [esp + 0x3c]
mov dword [esi], eax
push ecx
mov byte [esp + 0x3c4], 7
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esi], ebp
jl 0x489714
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x489714
push eax
lea ecx, [esp + 0x58]
call fcn.004080d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c0], 4
call fcn.0042ca10
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x3d4]
xor esi, esi
mov word [esp + 0x7c], si
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x54]
push edx
push str.length
mov byte [esp + 0x3c8], 9
call fcn.00469ae0
test eax, eax
mov dword [esp + 0x50], eax
jl 0x48976f
cmp word [esp + 0x7c], 3
jne 0x48976f
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x7c]
mov byte [esp + 0x3c0], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x14], esi
jge 0x48a012
lea ecx, [esp + 0x1c]
call fcn.00427790
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jl 0x489ff8
lea ecx, [esp + 0x4c]
call fcn.00427790
mov ecx, dword [esp + 0x14]
mov word [esp + 0x8c], 3
mov dword [esp + 0x94], ecx
lea edx, [esp + 0x4c]
lea eax, [esp + 0x8c]
push edx
push eax
push str.item
lea ecx, [esp + 0x60]
mov byte [esp + 0x3cc], 0xc
call fcn.004080f0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x50], eax
push ecx
mov byte [esp + 0x3c4], 0xb
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x50]
test eax, eax
jl 0x48981d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48981d
push eax
lea ecx, [esp + 0x20]
call fcn.004080d0
mov esi, 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3c0], 0xa
call fcn.0042ca10
test esi, esi
je 0x489ff8
lea edx, [esp + 0x30]
push 0x50e548
push edx
lea ecx, [esp + 0x20]
call fcn.004086e0
lea eax, [esp + 0x2c]
push str.title
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c8], 0xd
call fcn.004086e0
lea ecx, [esp + 0x24]
push str.author
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c8], 0xe
call fcn.004086e0
lea edx, [esp + 0x34]
push str.special
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c8], 0xf
call fcn.004086e0
mov eax, dword [esp + 0x30]
push 0x5c
push eax
mov byte [esp + 0x3c8], 0x10
mov esi, dword [eax - 8]
call fcn.004dec29
add esp, 8
test eax, eax
jne 0x4898bd
or eax, 0xffffffff
jmp 0x4898c3
sub eax, dword [esp + 0x30]
sar eax, 1
sub esi, eax
lea eax, [esp + 0x28]
dec esi
lea ecx, [esp + 0x30]
push esi
push eax
call fcn.004071a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c0], 0x11
call fcn.00408c00
mov ecx, dword [esp + 0x28]
push ecx
call edi
lea ecx, [esp + 0x2c]
call fcn.00408c00
mov edx, dword [esp + 0x2c]
push edx
call edi
lea ecx, [esp + 0x24]
call fcn.00408c00
mov eax, dword [esp + 0x24]
push eax
call edi
lea ecx, [esp + 0x34]
call fcn.00408c00
mov ecx, dword [esp + 0x34]
push ecx
call edi
mov edx, dword [esp + 0x3c8]
push 0
push edx
lea ecx, [esp + 0x30]
call fcn.00414af0
test eax, eax
jge 0x48997d
mov eax, dword [esp + 0x3c8]
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.00414af0
test eax, eax
jge 0x48997d
mov ecx, dword [esp + 0x3c8]
push 0
push ecx
lea ecx, [esp + 0x2c]
call fcn.00414af0
test eax, eax
jge 0x48997d
mov edx, dword [esp + 0x3c8]
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.00414af0
test eax, eax
jl 0x489fcb
mov eax, dword [0x50d0e0]
mov dword [esp + 0x20], eax
xor esi, esi
mov word [esp + 0x3c], si
push str.type
lea ecx, [esp + 0xa0]
mov word [esp + 0xa0], si
call fcn.00406940
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x9c]
push ecx
push edx
push str.getAttribute
lea ecx, [esp + 0x28]
mov byte [esp + 0x3cc], 0x14
call fcn.00406990
mov dword [esp + 0x18], eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x3c4], 0x13
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x18], esi
jl 0x489a49
cmp word [esp + 0x3c], 8
jne 0x489a49
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x489a49
push eax
lea ecx, [esp + 0x70]
call fcn.00406b50
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c4], 0x15
call fcn.00402090
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3c0], 0x13
call fcn.00402160
lea ecx, [esp + 0x20]
call fcn.00407410
lea ecx, [esp + 0x20]
call fcn.00407310
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004debd7
add esp, 4
mov esi, eax
jmp 0x489a4c
or esi, 0xffffffff
lea edx, [esp + 0x3c]
mov dword [esp + 0x58], esi
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c0], 0x11
call fcn.00402160
mov eax, dword [0x5258fc]
test eax, eax
jne 0x489b74
cmp esi, 4
jne 0x489b74
mov eax, dword [esp + 0x28]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x489ab5
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x489abb
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
jmp 0x489abb
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x34]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x489ae6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x489ae6
mov edx, dword [esp + 0x34]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x489b11
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x489b11
mov edx, dword [esp + 0x24]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x489b3c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x489b3c
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x489ff8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x489ff8
mov edx, dword [esp + 0x30]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
jmp 0x489ff8
lea eax, [esp + 0x10]
push str.title
push eax
lea ecx, [esp + 0x20]
call fcn.004086e0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x3c0], 0x16
mov eax, dword [ecx - 8]
test eax, eax
jle 0x489ba3
cmp esi, 2
je 0x489c60
lea edx, [esp + 0x38]
push 0x50e548
push edx
lea ecx, [esp + 0x20]
call fcn.004086e0
mov eax, dword [esp + 0x38]
push 0x5c
push eax
mov byte [esp + 0x3c8], 0x17
call fcn.004dec29
mov ecx, dword [esp + 0x40]
add esp, 8
test eax, eax
jne 0x489bda
or esi, 0xffffffff
jmp 0x489be0
sub eax, ecx
sar eax, 1
mov esi, eax
push 0x2e
push ecx
call fcn.004dec29
add esp, 8
test eax, eax
jne 0x489bf4
or eax, 0xffffffff
jmp 0x489bfa
sub eax, dword [esp + 0x38]
sar eax, 1
sub eax, esi
lea ecx, [esp + 0x60]
dec eax
inc esi
push eax
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.00437060
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c4], 0x18
call fcn.00402090
mov eax, dword [esp + 0x60]
mov ecx, dword [0x50d0e4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x489c4f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x489c4f
mov eax, dword [esp + 0x60]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x3c0], 0x16
call fcn.00402160
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx + 0x88]
push 0
push edx
call fcn.00483b50
lea eax, [esp + 0x74]
push str.author
push eax
lea ecx, [esp + 0x20]
call fcn.004086e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c4], 0x19
call fcn.00402090
lea ecx, [esp + 0x74]
mov byte [esp + 0x3c0], 0x16
call fcn.00402160
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx + 0x88]
push 1
push edx
call fcn.00483b50
lea eax, [esp + 0x70]
push str.special
push eax
lea ecx, [esp + 0x20]
call fcn.004086e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c4], 0x1a
call fcn.00402090
lea ecx, [esp + 0x70]
mov byte [esp + 0x3c0], 0x16
call fcn.00402160
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx + 0x88]
push 2
push edx
call fcn.00483b50
push 0x519544
lea ecx, [esp + 0x1c]
call fcn.00408910
mov ecx, eax
test ecx, ecx
jl 0x489dc6
cmp ecx, 0xe10
mov esi, 0x3c
cdq
jle 0x489d85
idiv esi
mov eax, ecx
mov esi, 0xe10
push edx
cdq
idiv esi
mov eax, 0x88888889
mov esi, edx
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x91a2b3c5
push edx
imul ecx
add edx, ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x1c]
push str._02d:_02d:_02d
push edx
call fcn.004074f0
add esp, 0x14
jmp 0x489dae
idiv esi
mov eax, 0x88888889
push edx
imul ecx
add edx, ecx
lea ecx, [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str._02d:_02d
push ecx
call fcn.004074f0
add esp, 0x10
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x88]
push 0xffffffffffffffff
push edx
push 3
push eax
call fcn.00483b50
push str.bits
lea ecx, [esp + 0x1c]
call fcn.00408910
test eax, eax
jle 0x489e03
push eax
lea ecx, [esp + 0x14]
push str._d_Kbps
push ecx
call fcn.004074f0
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x88]
add esp, 0xc
push 0xffffffffffffffff
push edx
push 4
push eax
call fcn.00483b50
push str.size
lea ecx, [esp + 0x1c]
call fcn.00408910
mov edx, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xac]
cmp edx, 0x400
mov dword [esp + 0x20], edx
rep stosd dword es:[edi], eax
jge 0x489e47
push edx
lea ecx, [esp + 0xb0]
push str._d_KB
push ecx
call fcn.004df42f
add esp, 0xc
jmp 0x489e9a
cmp edx, 0x100000
jge 0x489e75
mov eax, edx
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0xac]
sar eax, 0xa
push eax
push str._d_MB
push edx
call fcn.004df42f
add esp, 0xc
jmp 0x489e9a
fild dword [esp + 0x20]
sub esp, 8
lea eax, [esp + 0xb4]
fmul dword [0x4fc180]
fstp qword [esp]
push str._.2f_GB
push eax
call fcn.004df42f
add esp, 0x10
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x14]
call fcn.00430190
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x88]
push 0xffffffffffffffff
push edx
push 5
push eax
call fcn.00483b50
push 0x104
lea ecx, [esp + 0x1b4]
push 0
push ecx
call fcn.00406830
mov eax, dword [esp + 0x64]
add esp, 0xc
cmp eax, 1
jne 0x489ef7
lea edx, [esp + 0x1b0]
push 0x104
push edx
push 0x9ce0
jmp 0x489f36
cmp eax, 2
jne 0x489f10
lea eax, [esp + 0x1b0]
push 0x104
push eax
push 0x9ce1
jmp 0x489f36
cmp eax, 3
push 0x104
jne 0x489f29
lea ecx, [esp + 0x1b4]
push ecx
push 0x9ce2
jmp 0x489f36
lea edx, [esp + 0x1b4]
push edx
push 0x9ce3
call fcn.00432b50
add esp, 0xc
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x10]
push eax
call fcn.00406e00
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx + 0x88]
push 6
push edx
call fcn.00483b50
lea eax, [esp + 0x5c]
push 0x50e548
push eax
lea ecx, [esp + 0x20]
call fcn.004086e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c4], 0x1b
call fcn.00402090
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3c0], 0x16
call fcn.00402160
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx + 0x88]
push 7
push edx
call fcn.00483b50
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
inc eax
mov dword [ebp], eax
call fcn.00402160
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
lea ecx, [esp + 0x28]
call fcn.00402160
lea ecx, [esp + 0x34]
call fcn.00402160
lea ecx, [esp + 0x24]
call fcn.00402160
lea ecx, [esp + 0x2c]
call fcn.00402160
lea ecx, [esp + 0x30]
call fcn.00402160
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 4
call fcn.0042ca10
inc dword [esp + 0x14]
jmp 0x489736
lea ecx, [esp + 0x64]
xor esi, esi
call fcn.004639e0
test eax, eax
jle 0x48a08d
mov bl, 0x1c
lea ecx, [esp + 0x18]
call fcn.004098a0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x64]
push eax
push esi
mov byte [esp + 0x3c8], bl
call fcn.00463aa0
test eax, eax
je 0x48a06e
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
push ecx
lea edx, [esp + 0x3d8]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call fcn.0040bd90
mov ecx, dword [esp + 0x88]
call fcn.004894e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 4
call fcn.0042ca10
lea ecx, [esp + 0x64]
inc esi
call fcn.004639e0
cmp esi, eax
jl 0x48a023
lea ecx, [esp + 0x54]
mov byte [esp + 0x3c0], 3
call fcn.0042ca10
lea ecx, [esp + 0x68]
mov byte [esp + 0x3c0], 0
call fcn.0042ca10
lea ecx, [esp + 0x3c8]
call fcn.00402160
mov ecx, dword [esp + 0x3b8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3b4
ret 0x10