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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov ebx, edx
mov dword [esp + 0x30], ecx
mov eax, dword [edx + 8]
cmp eax, dword [edx + 4]
jne 0x820fe4
push str.external_openscreen_discovery_mdns_mdns_probe_manager.cc
push 4
call fcn.0075e090
add esp, 8
test al, al
je 0x820fe4
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], str.external_openscreen_discovery_mdns_mdns_probe_manager.cc
mov dword [esp + 0x48], 0x18
lea ecx, [esp + 0x8c]
lea esi, [esp + 0x54]
mov dword [esp + 0x54], 0x866ac4
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
call fcn.004cf9a0
mov dword [esp + 0x58], 0x865954
xorps xmm0, xmm0
movups xmmword [esp + 0x78], xmm0
mov dword [esp + 0x88], 0x18
push 0xa
push 0x942a8d
push esi
call fcn.00402f60
add esp, 0xc
push 0x14
push str.name.labels__.size__
push eax
call fcn.00402f60
add esp, 0xc
push 0xa
push 0x942aa0
push eax
call fcn.00402f60
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.0060f450
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov ecx, eax
sub ecx, edx
sub eax, edx
je 0x82106c
sar ecx, 2
imul esi, ecx, 0xaaaaaaab
cmp esi, 0x15555556
jae 0x8211fa
push eax
call fcn.0051c3d0
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], ecx
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
cmp esi, edi
je 0x82107a
mov dword [esp + 4], eax
mov ebx, eax
nop
mov ecx, ebx
push esi
call fcn.0051f860
add esi, 0xc
add ebx, 0xc
mov dword [esp + 0x44], ebx
cmp esi, edi
jne 0x821050
mov esi, dword [esp + 4]
jmp 0x82107e
mov dword [esp + 0x18], 0
xor ebx, ebx
xor esi, esi
jmp 0x82107e
mov ebx, eax
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 8]
push eax
push ecx
call fcn.0051d450
add esp, 8
movzx ecx, byte [esi]
test cl, 1
je 0x8210b4
mov ecx, dword [esi + 4]
jmp 0x8210b6
shr ecx, 1
movzx edx, byte [esp + 8]
mov eax, edx
shr eax, 1
and dl, 1
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1c], edi
cmove edi, eax
add ecx, edi
mov dword [esp + 4], esi
mov dword [esp + 0x20], esi
cmp ecx, 0x3f
mov esi, dword [esp + 0x18]
jb 0x82115d
mov eax, 0x3f
sub eax, edi
lea ecx, [esp + 0x34]
mov esi, dword [esp + 4]
push esi
push eax
push 0
push esi
call fcn.0051fac0
test byte [esi], 1
jne 0x821105
mov word [esi], 0
jmp 0x821128
mov eax, dword [esi + 8]
mov byte [eax], 0
mov dword [esi + 4], 0
test byte [esi], 1
je 0x821128
push dword [esi + 8]
call fcn.0051c570
add esp, 4
mov dword [esi], 0
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [esi], xmm0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x44]
mov edx, eax
and dl, 1
shr eax, 1
mov esi, dword [esp + 0x48]
test dl, dl
je 0x82116b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
jmp 0x82116f
lea edx, [esp + 9]
mov ecx, dword [esp + 4]
push eax
push edx
call fcn.00520110
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, ebx
push eax
call fcn.00833c90
mov esi, dword [esp + 0x24]
test esi, esi
je 0x8211dd
mov eax, dword [esp + 0x28]
mov ecx, esi
cmp eax, esi
jne 0x8211b6
jmp 0x8211d0
mov eax, edi
cmp edi, esi
je 0x8211cc
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x8211b0
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x8211b0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], esi
push ecx
call fcn.0051c570
add esp, 4
test byte [esp + 8], 1
je 0x8211f0
push dword [esp + 0x10]
call fcn.0051c570
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x40]
call fcn.005256b0
nop word cs:[eax + eax]
push edi
push esi
mov esi, ecx
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [ecx], 0
mov dword [esi], edx
lea ecx, [esi + 4]
push eax
call fcn.00833e00
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0
pop esi
pop edi
ret 0xc