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

Disassembly:
push 0xffffffffffffffff
push 0x523090b
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0x120]
push str.GetStructSize
lea eax, [esp + 0x20]
push eax
push str.TDMB_ENSM_INFO_T
mov dword [esp + 0x28], 0
call fcn.051a8740
mov ebx, dword [esp + 0x124]
add esp, 0xc
test esi, esi
je 0x518a03a
cmp ebx, dword [esp + 0x1c]
jl 0x518a03a
test edi, edi
je 0x518a03a
movzx ebp, byte [esp + 0x11c]
push ebp
lea ecx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.m_ucStateNum
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x11c]
push edi
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x48]
push edx
push ebx
push esi
push eax
call fcn.05019e10
add esp, 0x24
cmp byte [edi], 0
mov dword [esp + 0x14], 0
jbe 0x51898cf
lea ecx, [edi + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x3c]
push str.m_rEnsmInfo.m_rChanDB__d_.m_u4State__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x120]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x4c]
push edx
push ebx
push esi
push eax
call fcn.05019ed0
mov eax, dword [esp + 0x3c]
movzx ecx, byte [edi]
add dword [esp + 0x40], 4
inc eax
add esp, 0x28
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5189883
push ebp
lea edx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.Type
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x11c]
lea eax, [edi + 0x2c]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019ed0
push ebp
lea eax, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.Id
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x140]
lea eax, [edi + 0x30]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x6c]
push ecx
push ebx
push esi
push edx
call fcn.05019ed0
add esp, 0x48
push ebp
lea eax, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.BitRate
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x11c]
lea ecx, [edi + 0x34]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x48]
push edx
push ebx
push esi
push eax
call fcn.05019ed0
push ebp
lea ecx, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.PL
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x140]
lea edx, [edi + 0x38]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x6c]
push eax
push ebx
push esi
push ecx
call fcn.05019e10
add esp, 0x48
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x3c]
push str.m_rEnsmInfo.m_rChanDB__d_.Reg__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x24]
lea edx, [edi + ecx + 0x39]
mov ecx, dword [esp + 0x120]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x4c]
push eax
push ebx
push esi
push ecx
call fcn.05019e10
mov eax, dword [esp + 0x3c]
inc eax
add esp, 0x28
cmp eax, 8
mov dword [esp + 0x14], eax
jl 0x5189995
push ebp
lea edx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.UserApplType
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x11c]
lea eax, [edi + 0x42]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019e50
push ebp
lea eax, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.TMId
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x140]
lea ecx, [edi + 0x44]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x6c]
push edx
push ebx
push esi
push eax
call fcn.05019ed0
add esp, 0x48
push ebp
lea ecx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.ASCTy_DSCTy
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x11c]
lea edx, [edi + 0x48]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x48]
push eax
push ebx
push esi
push ecx
call fcn.05019ed0
push ebp
lea edx, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.SCId
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x140]
lea eax, [edi + 0x4c]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x6c]
push ecx
push ebx
push esi
push edx
call fcn.05019ed0
add esp, 0x48
push ebp
lea eax, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.PackAdd
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x11c]
lea ecx, [edi + 0x50]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x48]
push edx
push ebx
push esi
push eax
call fcn.05019ed0
push ebp
push str.m_rEnsmInfo.m_rChanDB__d_.DG_MFflag
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x140]
lea edx, [edi + 0x54]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x6c]
push eax
push ebx
push esi
push ecx
call fcn.05019ed0
add esp, 0x48
push ebp
lea edx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.Primary
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x11c]
lea eax, [edi + 0x58]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019ed0
push ebp
lea eax, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.CAflag
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x140]
lea ecx, [edi + 0x5c]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x6c]
push edx
push ebx
push esi
push eax
call fcn.05019ed0
add esp, 0x48
push ebp
lea ecx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.Language
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x11c]
lea edx, [edi + 0x60]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x48]
push eax
push ebx
push esi
push ecx
call fcn.05019ed0
push ebp
lea edx, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.Id
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x140]
lea eax, [edi + 0x30]
push eax
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x6c]
push eax
push ebx
push esi
push ecx
call fcn.05019ed0
add esp, 0x48
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x3c]
push str.m_rEnsmInfo.m_rChanDB__d_.SCLabel__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x24]
lea edx, [edi + ecx + 0x64]
mov ecx, dword [esp + 0x120]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x4c]
push eax
push ebx
push esi
push ecx
call fcn.05019f10
mov eax, dword [esp + 0x3c]
inc eax
add esp, 0x28
cmp eax, 0x10
mov dword [esp + 0x14], eax
jl 0x5189bc1
push ebp
lea edx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_Order
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x11c]
lea eax, [edi + 0x74]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019e10
push ebp
lea eax, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_TMId
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x140]
lea ecx, [edi + 0x75]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x6c]
push edx
push ebx
push esi
push eax
call fcn.05019e10
add esp, 0x48
push ebp
lea ecx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_ASCTy_DSCTy
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x11c]
lea edx, [edi + 0x76]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x48]
push eax
push ebx
push esi
push ecx
call fcn.05019e10
push ebp
lea edx, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_SubCh_FIDCId
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x140]
lea eax, [edi + 0x77]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x6c]
push ecx
push ebx
push esi
push edx
call fcn.05019e10
add esp, 0x48
push ebp
lea eax, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_SId
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x11c]
lea ecx, [edi + 0x78]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x48]
push edx
push ebx
push esi
push eax
call fcn.05019ed0
push ebp
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_CAflag
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x140]
lea edx, [edi + 0x7c]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x6c]
push eax
push ebx
push esi
push ecx
call fcn.05019e10
add esp, 0x48
push ebp
lea edx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_DG_MFflag
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x11c]
lea eax, [edi + 0x7d]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019e10
push ebp
lea eax, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_Language
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x140]
lea ecx, [edi + 0x7e]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x6c]
push edx
push ebx
push esi
push eax
call fcn.05019e10
add esp, 0x48
push ebp
lea ecx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_SCIdS
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x11c]
lea edx, [edi + 0x7f]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x48]
push eax
push ebx
push esi
push ecx
call fcn.05019e10
add esp, 0x24
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x3c]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_SvcCompLabel__d_
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x24]
lea edx, [edi + ecx + 0x80]
mov ecx, dword [esp + 0x120]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x4c]
push eax
push ebx
push esi
push ecx
call fcn.05019e10
mov eax, dword [esp + 0x3c]
inc eax
add esp, 0x28
cmp eax, 0x10
mov dword [esp + 0x14], eax
jl 0x5189dbf
push ebp
lea edx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_SCId
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x11c]
lea eax, [edi + 0x90]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019e50
push ebp
lea eax, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_PackAdd
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x140]
lea ecx, [edi + 0x92]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x6c]
push edx
push ebx
push esi
push eax
call fcn.05019e50
add esp, 0x48
push ebp
lea ecx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_SCCA
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x11c]
lea edx, [edi + 0x94]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x48]
push eax
push ebx
push esi
push ecx
call fcn.05019e50
push ebp
lea edx, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_m_encoded_id
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x140]
lea eax, [edi + 0x96]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x6c]
push ecx
push ebx
push esi
push edx
call fcn.05019e50
add esp, 0x48
push ebp
lea eax, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.SvcComp_m_sif
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x11c]
lea ecx, [edi + 0x98]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x48]
push edx
push ebx
push esi
push eax
call fcn.05019e10
push ebp
push str.m_rEnsmInfo.m_rChanDB__d_.SubChId
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x140]
lea edx, [edi + 0x99]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x6c]
push eax
push ebx
push esi
push ecx
call fcn.05019e10
add esp, 0x48
push ebp
lea edx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.TblIndex
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x11c]
lea eax, [edi + 0x9a]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019e10
push ebp
lea eax, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.Form_Opt_Prot
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov eax, dword [esp + 0x140]
lea ecx, [edi + 0x9b]
push ecx
push str.TDMB_ENSM_INFO_T
lea edx, [esp + 0x6c]
push edx
push ebx
push esi
push eax
call fcn.05019e10
add esp, 0x48
push ebp
lea ecx, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.StrtAdd
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov ecx, dword [esp + 0x11c]
lea edx, [edi + 0x9c]
push edx
push str.TDMB_ENSM_INFO_T
lea eax, [esp + 0x48]
push eax
push ebx
push esi
push ecx
call fcn.05019e50
push ebp
lea edx, [esp + 0x5c]
push str.m_rEnsmInfo.m_rChanDB__d_.SubChSize
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
mov edx, dword [esp + 0x140]
lea eax, [edi + 0x9e]
push eax
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x6c]
push ecx
push ebx
push esi
push edx
call fcn.05019e50
add esp, 0x48
push ebp
lea eax, [esp + 0x38]
push str.m_rEnsmInfo.m_rChanDB__d_.Tag
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add edi, 0xa0
push edi
mov edx, dword [esp + 0x120]
push str.TDMB_ENSM_INFO_T
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
push edx
call fcn.05019ed0
add esp, 0x24
jmp 0x518a09f
push str._ERROR:
push 0xff
push 0xc4
push str..FunctionMultimediaMETA_tdmb.cpp
lea ecx, [esp + 0x30]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x108], 0
mov eax, dword [esp + 0x110]
push eax
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push edi
push ebx
push esi
push str.META_TDMB_COPY_CHANNEL_DB_FROM_PEER_BUF__:_Invalid_arguments:_peer_data_0x_08X___peer_data_len__d___ensembleDB_0x_08X_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.051ae2c0
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0520b902
add esp, 0xf8
ret