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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x855125
push str.external_openscreen_discovery_mdns_mdns_reader.cc
push 4
call fcn.0075e090
add esp, 8
test al, al
je 0x855125
mov dword [esp + 0x80], 4
mov dword [esp + 0x84], str.external_openscreen_discovery_mdns_mdns_reader.cc
mov dword [esp + 0x88], 0x119
lea ecx, [esp + 0xcc]
lea ebx, [esp + 0x94]
mov dword [esp + 0x94], 0x866ac4
lea edi, [esp + 0x98]
mov dword [esp + 0x8c], 0x866be8
mov dword [esp + 0xcc], 0x866bfc
mov dword [esp + 0x90], 0
push edi
call fcn.004cf350
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0xffffffff
mov dword [esp + 0x8c], 0x866ab0
mov dword [esp + 0xcc], 0x866ad8
mov dword [esp + 0x94], 0x866ac4
mov ecx, edi
call fcn.004cf9a0
mov dword [esp + 0x98], 0x865954
xorps xmm0, xmm0
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xc8], 0x18
push 0xa
push 0x947742
push ebx
call fcn.00402f60
add esp, 0xc
push 3
push 0x947789
push eax
call fcn.00402f60
add esp, 0xc
push 0xa
push 0x947775
push eax
call fcn.00402f60
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.0060f450
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
lea ebx, [esp + 0x20]
mov ecx, ebx
call fcn.00833c80
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
lea edi, [esp + 0x50]
mov ecx, edi
call fcn.00834450
mov dword [esp + 0x78], 0
mov ecx, esi
push ebx
call fcn.008535c0
test al, al
je 0x85533a
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
lea ecx, [eax + 2]
cmp ecx, edx
ja 0x85533a
mov dword [esi + 4], ecx
lea ecx, [eax + 4]
cmp ecx, edx
ja 0x85533a
movzx edi, word [eax]
mov word [esp + 0x10], di
mov dword [esi + 4], ecx
lea edi, [eax + 8]
cmp edi, edx
jbe 0x8551b0
xor ebx, ebx
lea edi, [esp + 0x50]
jmp 0x85533c
movzx edx, word [esp + 0x10]
rol dx, 8
movzx eax, word [eax + 2]
mov word [esp + 0x16], ax
mov dword [esi + 4], edi
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
movzx eax, dx
mov ecx, esi
lea edi, [esp + 0x50]
push edi
mov dword [esp + 0x20], eax
push eax
call fcn.008554e0
test al, al
je 0x85533a
movzx edi, word [esp + 0x16]
rol di, 8
mov eax, dword [esp + 0x10]
bswap eax
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0x40]
push ebx
call fcn.00833e00
movzx edi, di
mov ebx, edi
and ebx, 0x7fff
shr edi, 0xf
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov byte [esp + 0x128], 0
mov dword [esp + 0x150], 0xffffffff
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
je 0x8552a6
lea edx, [esp + 0xc]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x12c]
push ecx
push edx
call dword [eax*4 + 0x947840]
add esp, 0xc
mov eax, dword [esp + 0x78]
mov dword [esp + 0x150], eax
sub esp, 0x20
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x14], xmm0
lea eax, [esp + 0x148]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
movzx eax, bx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.008368a0
add esp, 0x20
mov eax, dword [esp + 0x150]
cmp eax, 0xffffffff
je 0x855310
lea ecx, [esp + 0xc]
lea edx, [esp + 0x128]
push edx
push ecx
call dword [eax*4 + 0x947820]
add esp, 8
mov dword [esp + 0x150], 0xffffffff
mov ebx, dword [esp + 0x44]
test ebx, ebx
lea edi, [esp + 0x50]
je 0x8553fb
mov eax, dword [esp + 0x48]
mov ecx, ebx
cmp eax, ebx
jne 0x8553a6
jmp 0x8553ee
xor ebx, ebx
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
je 0x855358
lea ecx, [esp + 0x80]
push edi
push ecx
call dword [eax*4 + 0x947820]
add esp, 8
mov edi, dword [esp + 0x24]
test edi, edi
je 0x8553d3
mov eax, dword [esp + 0x28]
mov ecx, edi
cmp eax, edi
je 0x8553c6
mov dword [esp + 0x10], esi
mov esi, ebx
jmp 0x855386
mov eax, ebx
cmp ebx, edi
je 0x8553bc
lea ebx, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x855380
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x855380
mov eax, edi
cmp edi, ebx
je 0x8553e6
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x8553a0
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x8553a0
mov ecx, dword [esp + 0x24]
mov ebx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], edi
push ecx
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [esp + 0x44]
lea edi, [esp + 0x50]
mov dword [esp + 0x48], ebx
push ecx
call fcn.0051c570
add esp, 4
movzx ebx, byte [esp + 0xd0]
test bl, bl
je 0x85549e
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x80]
push eax
call fcn.00836f70
mov eax, dword [esi + 4]
cmp byte [esp + 0xd0], 0
mov dword [esp + 0x18], eax
je 0x85549e
mov eax, dword [esp + 0xc8]
cmp eax, 0xffffffff
je 0x85544f
lea ecx, [esp + 0xa0]
lea edx, [esp + 0xc]
push ecx
push edx
call dword [eax*4 + 0x947820]
add esp, 8
mov dword [esp + 0xc8], 0xffffffff
mov edx, dword [esp + 0x84]
mov bl, 1
test edx, edx
je 0x85533c
mov eax, dword [esp + 0x88]
mov ecx, edx
cmp eax, edx
je 0x8554bf
mov dword [esp + 0x10], edx
jmp 0x855484
mov eax, edi
cmp edi, edx
je 0x8554b4
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x85547e
push dword [eax - 4]
call fcn.0051c570
mov edx, dword [esp + 0x14]
add esp, 4
jmp 0x85547e
test bl, bl
setne bl
lea ecx, [esp + 0x80]
call fcn.0060d3d0
jmp 0x85533c
mov ecx, dword [esp + 0x84]
lea edi, [esp + 0x50]
mov dword [esp + 0x88], edx
push ecx
call fcn.0051c570
add esp, 4
jmp 0x85533c