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

Disassembly:
push 0xffffffffffffffff
push 0x4f6bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x18], esi
cmp eax, edi
je 0x4aa244
cmp dword [esi + 0x108], edi
je 0x4aa244
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1004
push eax
call ebx
mov ecx, dword [esp + 0x74]
cmp ecx, edi
jl 0x4aa244
cmp ecx, eax
jg 0x4aa244
mov ecx, dword [0x50d0e0]
mov dword [esp + 0x10], ecx
mov ebp, dword [esi + 0xc4]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x3c], edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 1
call fcn.00406cd0
mov esi, 0x100
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x58], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x50], eax
je 0x4a9ffa
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x3c]
push edx
push eax
push 0x1073
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x4a9ffa
add esi, esi
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x58], esi
call fcn.004569b0
test eax, eax
mov dword [esp + 0x50], eax
jne 0x4a9fc6
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407e30
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4aa14d
lea ecx, [esp + 0x20]
call fcn.00427790
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
xor edi, edi
mov esi, dword [eax + 0x108]
call fcn.00427790
xor ebx, ebx
push str.QvodPlaylist
lea ecx, [esp + 0x30]
mov word [esp + 0x30], bx
call fcn.00406940
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
push str.selectSingleNode
lea ecx, [esi + 4]
mov byte [esp + 0x78], 3
call fcn.004080f0
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esi + 8], eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x6c], 2
push eax
call ebp
cmp dword [esi + 8], ebx
jl 0x4aa094
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4aa094
push eax
lea ecx, [esp + 0x24]
call fcn.004080d0
mov edi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 1
call fcn.0042ca10
cmp edi, ebx
je 0x4aa13b
lea ecx, [esp + 0x28]
call fcn.00427790
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.00427790
push str.list
lea ecx, [esp + 0x30]
mov word [esp + 0x30], bx
call fcn.00406940
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
push ecx
push str.selectNodes
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 6
call fcn.004080f0
lea edx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
push edx
mov byte [esp + 0x70], 5
call ebp
cmp dword [esp + 0x1c], ebx
jl 0x4aa11b
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4aa11b
push eax
lea ecx, [esp + 0x2c]
call fcn.004080d0
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 4
call fcn.0042ca10
cmp esi, ebx
jne 0x4aa185
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.0042ca10
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0
call fcn.0042ca10
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4aa244
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4aa244
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
jmp 0x4aa244
xor edi, edi
mov word [esp + 0x2c], bx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push str.length
mov byte [esp + 0x74], 7
call fcn.00469ae0
cmp eax, ebx
mov dword [esp + 0x24], eax
jl 0x4aa1b8
cmp word [esp + 0x2c], 3
jne 0x4aa1b8
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 4
push ecx
call ebp
xor esi, esi
cmp edi, ebx
jle 0x4aa21f
mov ebp, dword [esp + 0x78]
lea ebx, [ebp + 4]
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00463aa0
test eax, eax
je 0x4aa21a
lea edx, [esp + 0x78]
push str.createtime
push edx
mov ecx, ebp
call fcn.004086e0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x74], 8
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4aa25b
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 4
call fcn.00402160
inc esi
cmp esi, edi
jl 0x4aa1d1
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.0042ca10
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0
call fcn.0042ca10
lea ecx, [esp + 0x10]
call fcn.00402160
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4aa290
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x1c]
push esi
push str.hotitem
call fcn.00408550
mov edi, dword [esp + 0x18]
push 3
push 3
push esi
mov ecx, dword [edi + 0xc4]
call fcn.00472fd0
mov dword [edi + 0x10c], esi
lea ecx, [esp + 0x78]
call fcn.00402160
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.0042ca10
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0
call fcn.0042ca10
lea ecx, [esp + 0x10]
call fcn.00402160
mov eax, 1
jmp 0x4aa246