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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [esp + 0x28]
push esi
xor esi, esi
push edi
xor edi, edi
cmp eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
jne 0x5150d6
pop edi
lea eax, [esi + 2]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp dword [esp + 0x4c], esi
mov dword [eax], esi
push 0x1000
je 0x5150f6
push str._SearchResponse__Result_
call fcn.00474820
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x515112
push str._BrowseResponse__Result_
call fcn.00474820
add esp, 8
mov dword [esp + 0x14], eax
jmp 0x515112
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0x28], esi
je 0x51512b
push eax
mov dword [esp + 0x14], esi
call fcn.004aef00
add esp, 4
mov ecx, dword [esp + 0x68]
cmp ecx, esi
mov eax, dword [esp + 0x38]
je 0x515185
cmp eax, esi
je 0x515140
cmp byte [eax], 0
jne 0x515145
mov eax, dword [str.dc:title_upnp:author_upnp:album_upnp:artist_upnp:genre_upnp:originalTrackNumber_res_res_protocolInfo_res_duration_res_resolution_pv:rating_pv:playlistRoot_container_childCount_upnp:albumArtURI_upnp:class]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
push ebx
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push edx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
sub esi, edi
push esi
add edx, edi
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x5c]
push eax
push ebp
push edx
call ecx
jmp 0x515227
cmp dword [esp + 0x4c], esi
je 0x5151da
cmp eax, esi
je 0x515194
cmp byte [eax], 0
jne 0x515199
mov eax, dword [str.dc:title_upnp:author_upnp:album_upnp:artist_upnp:genre_upnp:originalTrackNumber_res_res_protocolInfo_res_duration_res_resolution_pv:rating_pv:playlistRoot_container_childCount_upnp:albumArtURI_upnp:class]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x58]
push ebx
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edx
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push ecx
sub esi, edi
push esi
lea ecx, [edi + edx]
mov edx, dword [esp + 0x58]
push ecx
push eax
push edx
push ebp
call fcn.00508fb0
jmp 0x515227
cmp eax, esi
je 0x5151e3
cmp byte [eax], 0
jne 0x5151e8
mov eax, dword [str.dc:title_upnp:author_upnp:album_upnp:artist_upnp:genre_upnp:originalTrackNumber_res_res_protocolInfo_res_duration_res_resolution_pv:rating_pv:playlistRoot_container_childCount_upnp:albumArtURI_upnp:class]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x58]
push ebx
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edx
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push ecx
sub esi, edi
push esi
lea ecx, [edi + edx]
mov edx, dword [esp + 0x58]
push ecx
push eax
push edx
push ebp
call fcn.00508f00
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
add esp, 0x34
cmp dword [esp + 0x1c], 0
jne 0x51542f
test eax, eax
je 0x515448
push 0
push str.TotalMatches
push eax
call fcn.004b0360
add esp, 0xc
cmp dword [esp + 0x18], eax
jae 0x51525f
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push esi
push 0
push ecx
push ebp
push 0xffffffffffffffff
push 0
call fcn.00514dc0
mov esi, dword [esp + 0x44]
add esp, 0x1c
add edi, esi
mov dword [esp + 0x14], eax
jne 0x5153b1
cmp dword [esp + 0x18], edi
jbe 0x5153b1
cmp dword [esp + 0x3c], edi
jne 0x5153b1
cmp dword [esp + 0x4c], edi
jne 0x5153b1
push str.Received_empty_result_although_total_matches___0
push edi
push str.browseOrSearchSimpleXml
push 8
push 3
call fcn.0048d750
mov eax, dword [esp + 0x38]
add esp, 0x14
sub eax, edi
jne 0x515361
push 1
push ebp
call fcn.00495240
push eax
call fcn.00494ae0
add esp, 0xc
test eax, eax
je 0x5153b1
push str.Trying_browse_work_around_via_BrowseMetadata
push edi
push str.browseOrSearchSimpleXml
push 8
push 2
mov dword [esp + 0x34], edi
call fcn.0048d750
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x58]
push edx
lea eax, [esp + 0x48]
push eax
push str.BrowseMetadata
push 0x5cd6b3
push 1
push edi
push 0x5d95cc
push ecx
push ebp
call fcn.00508f00
mov esi, eax
mov eax, dword [esp + 0x68]
add esp, 0x48
test eax, eax
je 0x515350
push eax
mov dword [esp + 0x24], edi
call fcn.004aef00
add esp, 4
test esi, esi
jne 0x5153ad
mov dword [esp + 0x24], 1
jmp 0x515110
sub eax, 1
je 0x515380
push str.Browse_work_arounds_did_not_help___giving_up
push 0
push str.browseOrSearchSimpleXml
push 8
push 3
call fcn.0048d750
add esp, 0x14
jmp 0x5153b1
push str.Trying_browse_work_around_by_using_index_1___index_0_is_lost_
push 0
push str.browseOrSearchSimpleXml
push 8
push 3
call fcn.0048d750
add esp, 0x14
mov dword [esp + 0x3c], 1
mov dword [esp + 0x24], 2
jmp 0x515110
mov esi, dword [esp + 0x28]
test esi, esi
jbe 0x5153d9
cmp edi, dword [esp + 0x40]
jae 0x5153d7
mov edx, dword [esp + 0x3c]
lea eax, [edi + edx]
cmp eax, dword [esp + 0x18]
jb 0x515110
cmp dword [esp + 0x18], 0
je 0x515110
test esi, esi
jne 0x51545a
mov eax, dword [esp + 0x10]
test edi, edi
jbe 0x51545e
cmp edi, dword [esp + 0x40]
jae 0x51545e
mov ecx, dword [esp + 0x3c]
lea esi, [edi + ecx]
mov ecx, dword [esp + 0x18]
cmp esi, ecx
jb 0x5153fc
test ecx, ecx
jne 0x51545e
push esi
push ecx
push str.Changing_TotalMatches_from__u_to__u
push 0
push str.browseOrSearchSimpleXml
push 8
push 3
call fcn.0048d750
push ebp
mov dword [esp + 0x38], esi
call fcn.00543060
add esp, 0x20
test eax, eax
je 0x51545a
mov eax, dword [esp + 0x10]
mov ecx, str.true
jmp 0x515463
test eax, eax
je 0x515448
push eax
mov dword [esp + 0x14], 0
call fcn.004aef00
mov eax, dword [esp + 0x14]
add esp, 4
test edi, edi
jbe 0x515507
mov dword [esp + 0x1c], 0
jmp 0x5153df
mov eax, dword [esp + 0x10]
mov ecx, str.false
push ecx
push str.UpdateID
push eax
call fcn.004b02f0
mov edx, dword [esp + 0x24]
add esp, 8
push eax
mov eax, dword [esp + 0x1c]
push edx
push edi
push str.__Result__NumberReturned__u__NumberReturned__TotalMatches__u__TotalMatches__UpdateID__s__UpdateID__CountUpdated__s__CountUpdated_
push eax
call fcn.00477200
add esp, 0x18
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x14], eax
je 0x51549d
push str.__SearchResponse_
jmp 0x5154a2
push str.__BrowseResponse_
push eax
call fcn.00476b80
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x5154ce
mov eax, ecx
push eax
mov dword [esp + 0x14], 0
call fcn.004aef00
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x5154ea
cmp dword [eax + 8], 0
je 0x5154ea
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop ebx
add esp, 0x1c
ret
push eax
call fcn.0051ffe0
add esp, 4
pop edi
pop esi
mov dword [esp + 0x14], 8
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
add esp, 0x1c
ret
lea edx, [esp + 0x14]
push edx
call fcn.00474c00
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret