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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x575b3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x4916d0
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
push edi
mov dword [esp + 0x48], ebx
call dword [eax + 0x24]
cmp dword [esp + 0x40], ebx
je 0x491577
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], ebx
call fcn.004f3790
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.00492b00
push 7
push ebx
push str.Microsoft.XMLDOM
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 1
call fcn.00492b30
cmp eax, ebx
jl 0x4915f6
push ebx
lea ecx, [esp + 0x14]
call fcn.004367c0
test al, al
jne 0x4915f6
lea ecx, [esp + 0x10]
call fcn.00436700
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 0xfc]
lea ecx, [esp + 0x10]
call fcn.00436700
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x118]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
call fcn.004f3790
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4916bb
lea edx, [esp + 0x64]
mov esi, eax
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x64]
push eax
mov byte [esp + 0x84], 2
call fcn.004927a0
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004925f0
cmp ax, 0xffff
mov byte [esp + 0x80], bl
jne 0x4916a2
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x49165b
push eax
call fcn.00565a92
mov ecx, dword [edi]
lea edx, [esp + 0x58]
push edx
push edi
call dword [ecx + 0xb0]
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0xb4]
push ecx
mov dword [esp + 0x58], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
mov byte [esp + 0x84], 3
je 0x4916e7
push str._playlist
mov ecx, eax
call fcn.004129d0
jmp 0x4916e9
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x4916b7
push eax
call fcn.00565a92
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x80], 0xffffffff
je 0x4916d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x84], bl
mov dword [esi], eax
jne 0x491700
push 0x8007000e
call fcn.00565a92
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], bl
push ecx
lea ecx, [esp + 0x1c]
call fcn.00436700
mov ecx, eax
call fcn.00436260
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x80], 5
cmp eax, ebx
je 0x491b5a
push ecx
mov dword [esp + 0x58], esp
mov esi, esp
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
mov byte [esp + 0x84], 6
je 0x49175f
push 0x5d974c
mov ecx, eax
call fcn.004129d0
jmp 0x491761
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x84], 5
mov dword [esi], eax
jne 0x491779
push 0x8007000e
call fcn.00565a92
lea edx, [esp + 0x24]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x88], 5
call fcn.00436700
mov ecx, eax
call fcn.004361b0
mov byte [esp + 0x80], 8
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x4917b8
push 0x80004003
call fcn.00565a92
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebx
jge 0x4917d5
push 0x5d1838
push esi
push eax
call fcn.00565aa0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x491b44
cmp dword [esp + 0x20], ebx
jne 0x4917f5
push 0x80004003
call fcn.00565a92
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00436340
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x491b29
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x1c]
mov byte [esp + 0x80], 0xa
push edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.00435f80
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x80], 0xb
cmp eax, ebx
jne 0x491863
push 0x80004003
call fcn.00565a92
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
mov esi, eax
call dword [ecx + 0x2c]
cmp eax, ebx
jge 0x491880
push 0x5d1858
push esi
push eax
call fcn.00565aa0
mov edi, dword [esp + 0x48]
xor esi, esi
cmp edi, ebx
jle 0x491a83
cmp dword [esp + 0x1c], ebx
jne 0x49189e
push 0x80004003
call fcn.00565a92
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004924a0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 0xc
cmp eax, ebx
jne 0x4918c7
push 0x80004003
call fcn.00565a92
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00435ee0
mov ecx, dword [eax]
mov byte [esp + 0x80], 0xd
cmp ecx, ebx
je 0x4918ea
call fcn.00412aa0
jmp 0x4918ec
xor eax, eax
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x4c]
call fcn.00412980
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 0x10
cmp eax, ebx
jne 0x491921
push 0x80004003
call fcn.00565a92
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [edx + 0x68]
cmp dword [esp + 0x18], ebx
jne 0x49193c
push 0x80004003
call fcn.00565a92
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x50]
push edx
call fcn.00436070
mov ecx, dword [eax]
mov byte [esp + 0x80], 0x11
cmp ecx, ebx
je 0x49195f
call fcn.00412aa0
jmp 0x491961
xor eax, eax
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 0x13
call fcn.00412980
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], ebx
je 0x491a3c
push str.source
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4919cc
lea ecx, [esp + 0x10]
call fcn.004f3790
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov dword [esp + 0x1c], ebx
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x491a3c
mov eax, dword [esp + 0x24]
push 0x5d9708
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x491a05
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
mov dword [esp + 0x58], eax
add esp, 4
fild dword [esp + 0x54]
fmul qword [0x58ec78]
fstp qword [esp + 0x5c]
jmp 0x491a3c
mov edx, dword [esp + 0x24]
push str.startpos
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x491a3c
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
mov dword [esp + 0x58], eax
add esp, 4
fild dword [esp + 0x54]
fmul qword [0x58ec78]
fstp qword [esp + 0x64]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0x10
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 0xb
call fcn.004f3790
inc esi
cmp esi, edi
jl 0x49188e
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x28], eax
je 0x491aa8
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
push 0x5d3348
push ecx
call dword [edx]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x80], 0x14
je 0x491ae0
mov edx, dword [esp + 0x60]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x60]
push edx
push eax
call dword [ecx + 0x14]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x68]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x80], 0xb
je 0x491af6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x80], 0xa
cmp eax, ebx
je 0x491b10
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
mov byte [esp + 0x80], 9
je 0x491b22
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov edi, dword [ebp + 8]
cmp ecx, ebx
mov byte [esp + 0x80], 8
je 0x491b3b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
inc dword [esp + 0x38]
jmp 0x4917a2
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 5
cmp eax, ebx
je 0x491b5a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x58]
mov edx, dword [edi]
push eax
push edi
call dword [edx + 0xb4]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x80], bl
cmp eax, ebx
je 0x491b7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
cmp eax, ebx
je 0x491b96
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret