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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x854332
push str.external_openscreen_discovery_mdns_mdns_reader.cc
push 4
call fcn.0075e090
add esp, 8
test al, al
je 0x854332
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], str.external_openscreen_discovery_mdns_mdns_reader.cc
mov dword [esp + 0x38], 0xc7
lea ecx, [esp + 0x7c]
lea edi, [esp + 0x44]
mov dword [esp + 0x44], 0x866ac4
lea ebx, [esp + 0x48]
mov dword [esp + 0x3c], 0x866be8
mov dword [esp + 0x7c], 0x866bfc
mov dword [esp + 0x40], 0
push ebx
call fcn.004cf350
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0x3c], 0x866ab0
mov dword [esp + 0x7c], 0x866ad8
mov dword [esp + 0x44], 0x866ac4
mov ecx, ebx
call fcn.004cf9a0
mov dword [esp + 0x48], 0x865954
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x78], 0x18
push 0xa
push 0x947742
push edi
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 + 0x30]
call fcn.0060f450
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
lea ebx, [esp + 0x30]
mov ecx, ebx
call fcn.00833c80
mov eax, dword [esi + 4]
lea ecx, [eax + 2]
cmp ecx, dword [esi + 8]
ja 0x8543dc
mov dword [esi + 4], ecx
movzx edi, word [eax]
mov ecx, esi
push ebx
call fcn.008535c0
test al, al
je 0x8543dc
rol di, 8
mov eax, dword [esi + 4]
sub eax, dword [esp + 8]
movzx ecx, di
add ecx, 2
cmp eax, ecx
jne 0x8543dc
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
call fcn.00833e00
lea ebx, [esp + 0x20]
mov ecx, ebx
push edi
call fcn.00834fb0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00835170
mov edi, dword [esp + 0x24]
test edi, edi
je 0x854455
mov eax, dword [esp + 0x28]
mov ecx, edi
cmp eax, edi
jne 0x8543c6
jmp 0x854448
mov eax, ebx
cmp ebx, edi
je 0x854444
lea ebx, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x8543c0
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x8543c0
xor ebx, ebx
mov edi, dword [esp + 0x34]
test edi, edi
je 0x854431
mov eax, dword [esp + 0x38]
mov ecx, edi
cmp eax, edi
je 0x854424
mov dword [esp + 0xc], esi
jmp 0x854406
mov eax, esi
cmp esi, edi
je 0x85441c
lea esi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x854400
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x854400
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x38], edi
push ecx
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 8]
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 + 0x24]
mov dword [esp + 0x28], edi
push ecx
call fcn.0051c570
add esp, 4
mov edi, dword [esp + 0x14]
test edi, edi
je 0x85449d
mov eax, dword [esp + 0x18]
mov ecx, edi
cmp eax, edi
jne 0x854476
jmp 0x854490
mov eax, ebx
cmp ebx, edi
je 0x85448c
lea ebx, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x854470
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x854470
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
push ecx
call fcn.0051c570
add esp, 4
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
mov bl, 1
jmp 0x8543de