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

Disassembly:
sub esp, 0x98
push ebx
xor ebx, ebx
push 0x8c
lea eax, [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.004b3a80
add esp, 0xc
cmp dword [0x642764], ebx
mov dword [esp + 4], 0xffffffff
jne 0x574294
push str.Airplay_module_has_not_been_initialized.
push ebx
push str.create_airplay_ldmr
push 1
push 4
call fcn.0048d750
add esp, 0x14
mov eax, 0x19c
pop ebx
add esp, 0x98
ret
cmp dword [esp + 0xb0], ebx
push ebp
push esi
je 0x5746a0
cmp dword [esp + 0xa8], ebx
je 0x5746a0
mov esi, dword [esp + 0xac]
cmp esi, ebx
je 0x5746a0
mov ebp, dword [esp + 0xb0]
cmp ebp, ebx
je 0x5746a0
push ebx
push 0x642760
call fcn.00479fc0
add esp, 8
test eax, eax
je 0x574306
push str.could_not_get_lock
push ebx
push str.create_airplay_ldmr
push 1
push 4
call fcn.0048d750
add esp, 0x14
pop esi
pop ebp
mov eax, 0xe
pop ebx
add esp, 0x98
ret
xor ecx, ecx
mov eax, 0x641a2c
lea ecx, [ecx]
cmp dword [eax - 0x78], ebx
je 0x57435e
cmp dword [eax], ebx
je 0x574347
cmp dword [eax + 0x78], ebx
je 0x57434c
cmp dword [eax + 0xf0], ebx
je 0x574351
cmp dword [eax + 0x168], ebx
je 0x574356
cmp dword [eax + 0x1e0], ebx
je 0x57435b
add eax, 0x2d0
add ecx, 6
cmp eax, 0x64283c
jl 0x574310
jmp 0x574363
add ecx, 1
jmp 0x57435e
add ecx, 2
jmp 0x57435e
add ecx, 3
jmp 0x57435e
add ecx, 4
jmp 0x57435e
add ecx, 5
cmp ecx, 0x1e
jl 0x574396
push 0x1e
push str.Reached_maximum_of__u_supported_Apple_LDMRs
push ebx
push str.create_airplay_ldmr
push 1
push 4
call fcn.0048d750
push ebx
push 0x642760
call fcn.0047a000
add esp, 0x20
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x98
ret
mov edx, ecx
shl edx, 4
sub edx, ecx
or eax, 0xffffffff
push edi
lea edi, [edx*8 + 0x641950]
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0xac]
push eax
mov dword [edi + 0x64], 1
mov dword [edi + 0x20], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x6c], ebx
call fcn.004774f0
push esi
mov dword [edi], eax
call fcn.00491780
push ebp
mov dword [edi + 4], eax
call fcn.004774f0
mov esi, dword [esp + 0xc4]
push esi
mov dword [edi + 8], eax
call fcn.004774f0
push str.AppleTV2
push esi
mov dword [edi + 0xc], eax
call fcn.004767e0
mov esi, ebp
mov dword [edi + 0x70], eax
call fcn.00571ab0
push 0x14
push 1
mov dword [edi + 0x10], eax
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], 0x5e9a40
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
call fcn.00477460
add esp, 0x20
cmp eax, ebx
mov dword [edi + 0x4c], eax
je 0x574445
push 0x14
push 1
call fcn.00477460
mov ecx, dword [edi + 0x4c]
add esp, 8
mov dword [ecx + 0x10], eax
cmp dword [edi], ebx
je 0x57462f
cmp dword [edi + 4], ebx
je 0x57462f
cmp dword [edi + 8], ebx
je 0x57462f
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x57462f
mov eax, dword [edi + 0x4c]
cmp eax, ebx
je 0x57462f
cmp dword [eax + 0x10], ebx
je 0x57462f
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x10]
mov dword [esp + 0xa4], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0x571be0
mov dword [esp + 0x24], 0x571c70
mov dword [esp + 0x28], 0x571d90
mov dword [esp + 0x30], 0x571ee0
mov dword [esp + 0x58], fcn.00573fd0
mov dword [esp + 0x5c], 0x571f00
mov dword [esp + 0x60], 0x572c10
mov dword [esp + 0x64], 0x572010
mov dword [esp + 0x68], 0x572290
mov dword [esp + 0x6c], 0x572110
mov dword [esp + 0x70], fcn.005739b0
mov dword [esp + 0x78], 0x573dd0
mov dword [esp + 0x7c], fcn.00572cb0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0x572de0
mov dword [esp + 0x90], fcn.00572430
mov dword [esp + 0x94], 0x573140
mov dword [esp + 0xa8], edx
call fcn.0053b1c0
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x57455c
mov esi, dword [esp + 0x10]
cmp esi, ebx
jl 0x57455c
mov dword [edi + 0x28], 0xffffffff
call fcn.005709d0
mov edx, dword [esp + 0x10]
mov esi, eax
cmp esi, edi
mov dword [edi + 0x28], edx
jne 0x57455e
mov esi, ebx
push ebx
push 0x642760
call fcn.0047a000
add esp, 8
cmp ebp, ebx
je 0x57458c
push str.cannot_add_LDMR
push ebx
push str.create_airplay_ldmr
push 1
push 4
call fcn.0048d750
add esp, 0x14
jmp 0x574656
cmp esi, ebx
je 0x5745c9
mov eax, dword [esi + 4]
cmp eax, ebx
mov ecx, eax
jne 0x57459e
mov ecx, 0x5dd014
mov eax, dword [esi]
cmp eax, ebx
jne 0x5745a9
mov eax, 0x5dd014
push ecx
push eax
push str.Releasing_duplicate_duplicate_AirPlay_LDMR__s_at__s
push ebx
push str.create_airplay_ldmr
push 1
push 2
call fcn.0048d750
add esp, 0x1c
mov eax, esi
call fcn.00570be0
mov eax, dword [esp + 0x10]
push 1
push eax
call fcn.0053c0d0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x5745e5
push str.Cannot_enable_LDMR
jmp 0x574575
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xbc]
push edx
push eax
mov dword [ecx], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
push str.Added_AppleTV__name:_s___udn:_s___idx:_d___ip:_s_
push ebx
push str.create_airplay_ldmr
push 1
push 2
call fcn.0048d750
add esp, 0x24
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x98
ret
push ebx
push 0x642760
mov ebp, 8
call fcn.0047a000
push str.Cannot_setup_AirPlay_LDMR
push ebx
push str.create_airplay_ldmr
push 1
push 4
call fcn.0048d750
add esp, 0x1c
push ebp
push str.Problem_creating_the_LDMR:_nResult_d
push ebx
push str.create_airplay_ldmr
push 1
push 4
call fcn.0048d750
mov eax, dword [esp + 0x28]
add esp, 0x18
cmp eax, ebx
jl 0x57468c
push eax
call fcn.0053c210
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x98
ret
mov eax, edi
call fcn.00570be0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x98
ret
push str.Invalid_parameter
push ebx
push str.create_airplay_ldmr
push 1
push 4
call fcn.0048d750
add esp, 0x14
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x98
ret