Function at 0x8535c0
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 edi, ecx
cmp dword [ebp + 8], 0
mov dword [esp + 4], ecx
jne 0x8536ca
push str.external_openscreen_discovery_mdns_mdns_reader.cc
push 4
call fcn.0075e090
add esp, 8
test al, al
je 0x8536ca
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], str.external_openscreen_discovery_mdns_mdns_reader.cc
mov dword [esp + 0x38], 0x3d
lea ecx, [esp + 0x7c]
lea esi, [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
mov edi, dword [esp + 4]
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 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 + 0x30]
call fcn.0060f450
mov esi, dword [edi + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov eax, dword [edi]
mov dword [esp + 0x1c], 0
mov ebx, 0
cmp esi, eax
jb 0x853813
xor edi, edi
mov dword [esp + 8], 0
mov ebx, dword [esp + 4]
jmp 0x853732
lea ecx, [esp + 0x10]
lea eax, [esp + 0x30]
push eax
call fcn.004206a0
add dword [esp + 0xc], ebx
mov ebx, dword [esp + 4]
mov eax, dword [ebx]
mov esi, edi
cmp edi, eax
mov edi, dword [esp + 0xc]
jb 0x853811
mov ecx, dword [ebx + 8]
xor ebx, ebx
cmp esi, ecx
jae 0x853813
mov edx, ecx
sub edx, eax
cmp edi, edx
ja 0x853813
movzx ebx, byte [esi]
test ebx, ebx
je 0x853834
cmp bl, 0xc0
jb 0x8537a0
lea edx, [esi + 2]
cmp edx, ecx
ja 0x853811
movzx ecx, word [esi]
and ecx, 0xff3f
rol cx, 8
mov ebx, dword [esp + 4]
sub edx, dword [ebx + 4]
mov esi, dword [esp + 8]
test esi, esi
cmove esi, edx
mov dword [esp + 8], esi
add edi, 2
mov dword [esp + 0xc], edi
movzx edi, cx
add edi, eax
jmp 0x853724
cmp bl, 0x3f
ja 0x853811
mov dword [esp + 0xc], edi
lea edi, [esi + ebx]
inc edi
cmp edi, ecx
jae 0x853811
inc esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
sub esp, 8
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
call fcn.00833c70
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x853811
add eax, ebx
inc eax
cmp eax, 0x100
ja 0x853811
mov dword [esp + 0x1c], eax
inc ebx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
je 0x85370c
movsd xmm0, qword [esp + 0x30]
movsd qword [eax], xmm0
add dword [esp + 0x14], 8
jmp 0x85371a
xor ebx, ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x853828
mov dword [esp + 0x14], eax
push eax
call fcn.0051c570
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edi, [esp + 0x38]
push edi
call fcn.008567d0
add esp, 0xc
cmp byte [esp + 0x40], 0
je 0x8538dc
mov ecx, dword [ebp + 8]
push edi
call fcn.00833e80
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
sub esi, ecx
inc esi
mov edi, dword [esp + 8]
test edi, edi
cmovne esi, edi
add esi, ecx
cmp esi, eax
ja 0x85389a
mov dword [edx + 4], esi
cmp esi, eax
setbe bl
cmp byte [esp + 0x40], 0
je 0x8538de
mov esi, dword [esp + 0x34]
test esi, esi
je 0x853813
mov eax, dword [esp + 0x38]
mov ecx, esi
cmp eax, esi
jne 0x8538c6
jmp 0x8538f0
mov eax, edi
cmp edi, esi
je 0x8538ec
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x8538c0
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x8538c0
xor ebx, ebx
lea ecx, [esp + 0x30]
call fcn.0060d3d0
jmp 0x853813
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], esi
push ecx
call fcn.0051c570
add esp, 4
jmp 0x853813