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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov edi, ecx
cmp dword [ebp + 8], 0
jne 0x8545c2
push str.external_openscreen_discovery_mdns_mdns_reader.cc
push 4
call fcn.0075e090
add esp, 8
test al, al
je 0x8545c2
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], str.external_openscreen_discovery_mdns_mdns_reader.cc
mov dword [esp + 0x48], 0xd5
lea ecx, [esp + 0x8c]
lea esi, [esp + 0x54]
mov dword [esp + 0x54], 0x866ac4
mov ebx, edi
lea edi, [esp + 0x58]
mov dword [esp + 0x4c], 0x866be8
mov dword [esp + 0x8c], 0x866bfc
mov dword [esp + 0x50], 0
push edi
call fcn.004cf350
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x4c], 0x866ab0
mov dword [esp + 0x8c], 0x866ad8
mov dword [esp + 0x54], 0x866ac4
mov ecx, edi
mov edi, ebx
call fcn.004cf9a0
mov dword [esp + 0x58], 0x865954
xorps xmm0, xmm0
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x88], 0x18
push 0xa
push 0x947742
push esi
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 + 0x40]
call fcn.0060f450
mov ebx, dword [edi + 4]
lea eax, [ebx + 2]
cmp eax, dword [edi + 8]
mov dword [esp + 0x28], ebx
ja 0x8545e5
mov dword [edi + 4], eax
movzx eax, word [ebx]
mov ecx, eax
rol cx, 8
movzx esi, cx
cmp dword [edi + 0xc], esi
jae 0x8545fa
xor ebx, ebx
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
add esi, 2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
test ax, ax
mov dword [esp + 4], edi
je 0x854830
mov dword [esp + 0x3c], esi
jmp 0x854641
mov eax, dword [edi + 4]
sub eax, ebx
mov esi, dword [esp + 0x3c]
cmp eax, esi
jae 0x854835
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov ecx, edi
lea eax, [esp + 8]
push eax
call fcn.008534f0
test al, al
je 0x8548be
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 8]
cmp eax, 0x100
jb 0x854779
push str.external_openscreen_discovery_mdns_mdns_reader.cc
push 4
call fcn.0075e090
add esp, 8
test al, al
je 0x854779
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], str.external_openscreen_discovery_mdns_mdns_reader.cc
mov dword [esp + 0x48], 0xe4
mov dword [esp + 0x54], 0x866ac4
mov dword [esp + 0x4c], 0x866be8
mov dword [esp + 0x8c], 0x866bfc
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x8c]
lea esi, [esp + 0x58]
push esi
call fcn.004cf350
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0xffffffff
mov dword [esp + 0x4c], 0x866ab0
mov dword [esp + 0x8c], 0x866ad8
mov dword [esp + 0x54], 0x866ac4
mov ecx, esi
call fcn.004cf9a0
mov dword [esp + 0x58], 0x865954
xorps xmm0, xmm0
lea eax, [esp + 0x8c]
movups xmmword [eax - 0x14], xmm0
mov dword [esp + 0x88], 0x18
push 0xa
push 0x947742
lea eax, [esp + 0x5c]
push eax
call fcn.00402f60
add esp, 0xc
push 0x20
push str.entry.size_____kTXTMaxEntrySize
push eax
call fcn.00402f60
add esp, 0xc
push 0xa
push 0x947775
push eax
call fcn.00402f60
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0060f450
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0xc]
je 0x854816
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x20]
jae 0x854800
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov esi, dword [esp + 0xc]
mov edi, esi
sub edi, dword [esp + 8]
je 0x8547f0
js 0x8549c8
push edi
call fcn.0051c3d0
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx], eax
add edi, eax
mov dword [ebx + 8], edi
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
sub edi, esi
test edi, edi
jle 0x8547f0
push edi
push esi
push eax
mov dword [esp + 0x44], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x38]
add eax, edi
mov dword [ebx + 4], eax
add dword [esp + 0x1c], 0xc
mov edi, dword [esp + 4]
jmp 0x854812
lea ecx, [esp + 0x18]
lea eax, [esp + 8]
push eax
call fcn.00857bf0
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0x28]
test esi, esi
je 0x854630
mov dword [esp + 0xc], esi
push esi
call fcn.0051c570
add esp, 4
jmp 0x854630
mov eax, 2
cmp eax, esi
jne 0x8548d3
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x2c]
lea edi, [esp + 0x40]
push eax
push edi
call fcn.00835230
add esp, 8
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x8548eb
mov eax, dword [esp + 0x30]
mov ecx, esi
cmp eax, esi
jne 0x8548a6
jmp 0x8548de
mov eax, ebx
cmp ebx, esi
je 0x8548da
lea ebx, [eax - 0xc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x8548a0
mov dword [eax - 8], ecx
push ecx
call fcn.0051c570
add esp, 4
jmp 0x8548a0
mov eax, dword [esp + 8]
test eax, eax
je 0x8548d3
mov dword [esp + 0xc], eax
push eax
call fcn.0051c570
add esp, 4
xor ebx, ebx
jmp 0x854975
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], esi
push ecx
call fcn.0051c570
add esp, 4
movzx ebx, byte [esp + 0x50]
test bl, bl
je 0x85494c
mov ecx, dword [ebp + 8]
push edi
call fcn.00835550
mov edi, dword [esp + 4]
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
cmp byte [esp + 0x50], 0
je 0x85494c
mov esi, dword [esp + 0x44]
mov bl, 1
test esi, esi
je 0x854975
mov eax, dword [esp + 0x48]
mov ecx, esi
cmp eax, esi
jne 0x854936
jmp 0x854968
mov eax, edi
cmp edi, esi
je 0x854960
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x854930
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x854930
test bl, bl
setne bl
lea ecx, [esp + 0x40]
call fcn.0060d3d0
mov edi, dword [esp + 4]
jmp 0x854975
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 4]
mov dword [esp + 0x48], esi
push ecx
call fcn.0051c570
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x8545e7
mov eax, dword [esp + 0x1c]
mov ecx, esi
cmp eax, esi
jne 0x854996
jmp 0x8549b6
mov eax, edi
cmp edi, esi
je 0x8549ae
lea edi, [eax - 0xc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x854990
mov dword [eax - 8], ecx
push ecx
call fcn.0051c570
add esp, 4
jmp 0x854990
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 4]
mov dword [esp + 0x1c], esi
push ecx
call fcn.0051c570
add esp, 4
jmp 0x8545e7
mov ecx, ebx
call fcn.005256b0
nop