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

Disassembly:
push 0xffffffffffffffff
push 0x100e7f11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
mov esi, dword [esp + 0x140]
push edi
push str.streamid
lea eax, [esp + 0x1c]
mov edi, ecx
push esi
xor ebx, ebx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
call fcn.1006c370
add esp, 0xc
add edi, 4
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x140], ebx
call dword [0x100eb4d0]
test al, al
jne 0x1002ea33
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x13c], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002ef7b
mov eax, dword [esp + 0x18]
push eax
jmp 0x1002ef72
mov edi, dword [0x100eb52c]
push ebp
mov dword [esp + 0x14], edi
lea eax, [edi + 0x34]
mov ecx, 1
lock xadd dword [eax], ecx
push str.mmcsurl
lea edx, [esp + 0x30]
push esi
push edx
mov byte [esp + 0x14c], 1
call fcn.1006c370
push str.assets
push esi
mov byte [esp + 0x154], 2
call sub.libplist.dll_plist_dict_get_item
mov ebp, eax
push ebp
mov dword [esp + 0x7c], ebp
call sub.libplist.dll_plist_array_get_size
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x60], eax
jle 0x1002eb19
push ebx
push ebp
call sub.libplist.dll_plist_array_get_item
mov ecx, dword [esp + 0x2c]
add esp, 8
push eax
call sym.cloudaccess.dll_private:_struct_CloudMediaStream::MediaItem____thiscall_CloudMediaStream::parseMetaAssetItem_void__
mov esi, eax
test esi, esi
je 0x1002eb09
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call dword [0x100eb560]
mov ecx, dword [edi + 0x34]
lea ebp, [esi + 8]
cmp ecx, 1
je 0x1002eacb
lea ecx, [esp + 0x14]
call fcn.1002a700
push ebp
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call fcn.10045610
mov edi, dword [esp + 0x14]
cmp eax, edi
jne 0x1002eb02
lea eax, [esp + 0x68]
push eax
push ebp
lea ecx, [esp + 0x80]
push ecx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0
call fcn.1002a620
mov ebp, dword [esp + 0x64]
mov dword [eax - 4], esi
inc ebx
cmp ebx, dword [esp + 0x60]
jl 0x1002ea90
mov esi, dword [esp + 0x148]
xor ebx, ebx
push str.mmcsheaders
push esi
call sub.libplist.dll_plist_dict_get_item
lea edx, [esp + 0x28]
mov ebp, eax
push edx
push ebp
mov dword [esp + 0x30], ebx
call sub.libplist.dll_plist_dict_new_iter
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, ebx
je 0x1002ec7b
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], ebx
call sub.libplist.dll_plist_dict_next_item
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp eax, ebx
je 0x1002ec77
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x100eb3d8]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 3
call fcn.10038260
cmp eax, edi
je 0x1002ec39
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1006c2a0
add esp, 8
mov esi, eax
mov ecx, dword [edi + 0x34]
mov byte [esp + 0x140], 4
cmp ecx, 1
je 0x1002ebc8
lea ecx, [esp + 0x14]
call fcn.1002a700
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x1c]
call fcn.10045610
mov edi, dword [esp + 0x14]
cmp eax, edi
jne 0x1002ec09
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xe0]
push eax
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], ebx
call fcn.1002a620
mov ecx, dword [eax - 4]
push esi
add ecx, 0x10
call dword [0x100eb560]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x140], 3
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002ec39
mov eax, dword [esp + 0x58]
push eax
call dword [0x100eb564]
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
call sub.libplist.dll_plist_free_block
mov edx, dword [esp + 0x1c]
add esp, 4
mov byte [esp + 0x140], 2
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1002ec69
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x100eb564]
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1002eb44
jmp 0x1002ec7b
mov eax, dword [esp + 0x20]
push eax
call sub.libplist.dll_plist_free_block
add esp, 4
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.10067320
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x148], 5
call fcn.1002e530
add esp, 8
mov eax, dword [esp + 0x30]
mov ebp, dword [0x100eb558]
mov byte [esp + 0x140], 7
cmp eax, ebx
je 0x1002ece0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002ece0
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
test eax, eax
jne 0x1002ece0
mov ecx, dword [esp + 0x30]
push ecx
call ebp
add esp, 4
jmp 0x1002ece0
mov eax, dword [esp + 0x38]
mov edx, eax
inc eax
mov dword [esp + 0x38], eax
test edx, edx
jne 0x1002ecfd
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
je 0x1002ecfd
mov bl, 1
jmp 0x1002ecff
xor bl, bl
test byte [esp + 0x10], 2
je 0x1002ed30
mov eax, dword [esp + 0x5c]
and dword [esp + 0x10], 0xfffffffd
test eax, eax
je 0x1002ed30
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002ed30
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
test eax, eax
jne 0x1002ed30
mov ecx, dword [esp + 0x5c]
push ecx
call ebp
add esp, 4
test bl, bl
je 0x1002eede
test byte [esp + 0x10], 4
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx]
je 0x1002ed70
mov eax, dword [esp + 0x50]
and dword [esp + 0x10], 0xfffffffb
test eax, eax
je 0x1002ed70
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002ed70
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
test eax, eax
jne 0x1002ed70
mov ecx, dword [esp + 0x50]
push ecx
call ebp
add esp, 4
nop
test byte [esp + 0x10], 0x10
mov esi, dword [esp + 0x38]
je 0x1002eda5
mov eax, dword [esp + 0x44]
and dword [esp + 0x10], 0xffffffef
test eax, eax
je 0x1002eda5
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1002eda5
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1002eda5
mov edx, dword [esp + 0x44]
push edx
call ebp
add esp, 4
test esi, esi
je 0x1002ee98
mov eax, dword [ebx + 0x10]
cmp dword [eax + 8], 0
mov esi, dword [esp + 0x24]
jne 0x1002ee03
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x34]
add esi, 0xc
add eax, 0x34
lea edi, [ebx + 8]
cmp ecx, 1
je 0x1002edd5
mov ecx, esi
call fcn.1002a700
push edi
lea edx, [esp + 0xac]
push edx
mov ecx, esi
call fcn.10045610
mov ecx, dword [esi]
cmp eax, ecx
jne 0x1002ee51
lea eax, [esp + 0x70]
push eax
push edi
lea edx, [esp + 0xb0]
mov dword [esp + 0x78], 0
push edx
jmp 0x1002ee49
mov eax, dword [esi + 8]
add esi, 8
add eax, 0x34
mov eax, dword [eax]
lea edi, [ebx + 0x14]
cmp eax, 1
je 0x1002ee1d
mov ecx, esi
call fcn.1002a700
push edi
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.10045610
mov ecx, dword [esi]
cmp eax, ecx
jne 0x1002ee51
lea edx, [esp + 0x6c]
push edx
push edi
lea eax, [esp + 0x110]
mov dword [esp + 0x74], 0
push eax
push ecx
mov ecx, esi
call fcn.1002a620
mov dword [eax - 4], ebx
dec dword [esp + 0x38]
test byte [esp + 0x10], 8
je 0x1002ed70
mov eax, dword [esp + 0x4c]
and dword [esp + 0x10], 0xfffffff7
test eax, eax
je 0x1002ed70
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002ed70
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
test eax, eax
jne 0x1002ed70
mov ecx, dword [esp + 0x4c]
jmp 0x1002ed69
add dword [esp + 0x3c], 4
test byte [esp + 0x10], 1
je 0x1002ece0
mov eax, dword [esp + 0x54]
and dword [esp + 0x10], 0xfffffffe
test eax, eax
je 0x1002ece0
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1002ece0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1002ece0
mov edx, dword [esp + 0x54]
push edx
jmp 0x1002ecd6
mov eax, dword [esp + 0x34]
mov byte [esp + 0x140], 2
test eax, eax
je 0x1002ef0b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002ef0b
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
test eax, eax
jne 0x1002ef0b
mov ecx, dword [esp + 0x34]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x140], 1
or eax, 0xffffffff
pop ebp
lock xadd dword [edx], eax
jne 0x1002ef2f
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x100eb564]
add esp, 4
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x13c], 0
test ecx, ecx
je 0x1002ef55
lea eax, [ecx + 0x34]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x1002ef55
push ecx
lea ecx, [esp + 0x14]
call fcn.10038210
mov eax, dword [esp + 0x18]
mov dword [esp + 0x13c], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002ef7b
mov edx, dword [esp + 0x18]
push edx
call dword [0x100eb564]
add esp, 4
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret 4