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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
test al, 1
je 0x46a43e
mov eax, dword [ebx + 4]
jmp 0x46a440
shr eax, 1
mov esi, dword [ebp + 8]
test eax, eax
je 0x46a460
cmp byte [0x99d5e0], 1
jne 0x46a4b8
push ebx
push esi
call dword [0x99d5ec]
add esp, 8
jmp 0x46a505
sub esp, 0x14
movaps xmm0, xmmword [0x872340]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.packages_modules_adb_client_transport_mdns.cpp
lea edi, [esp + 0x34]
mov ecx, edi
call fcn.004b9f90
mov ecx, edi
call fcn.004b9f60
push 0x1b
push 0x8724f9
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x872515
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, edi
call fcn.004ba060
cmp byte [0x99d5e0], 1
je 0x46a450
mov eax, dword [0x99d5fc]
test eax, eax
je 0x46a4fe
mov ecx, dword [eax + 0x14]
cmp ecx, dword [eax + 0x18]
je 0x46a4fe
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
movzx eax, byte [ebx]
lea edi, [ebx + 1]
test al, 1
je 0x46a50f
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
jmp 0x46a513
mov byte [esi], 0
mov byte [esi + 0x28], 0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
shr eax, 1
mov ecx, edi
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0xc4]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.0060c030
add esp, 0xc
cmp byte [esp + 0x84], 0
je 0x46a59c
xorps xmm0, xmm0
movups xmmword [esp + 0x3c], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
movzx eax, byte [esp + 0x6c]
test al, 1
je 0x46a5b6
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x46a5be
test al, 1
je 0x46a5e3
mov eax, dword [esp + 0x74]
test byte [esp + 0x78], 1
jne 0x46a5ee
lea ecx, [esp + 0x79]
jmp 0x46a5f5
mov eax, dword [0x86159c]
test byte [eax], 8
jne 0x46aa07
mov byte [esi], 0
mov byte [esi + 0x28], 0
jmp 0x46a8dd
mov ecx, eax
shr ecx, 1
test ecx, ecx
jne 0x46a587
mov eax, dword [0x99d5fc]
mov ecx, dword [eax + 0x14]
add ecx, 8
movzx eax, byte [ebx]
test al, 1
mov dword [esp + 0xc], edi
je 0x46a6c9
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
jmp 0x46a6cd
lea eax, [esp + 0x6d]
test byte [esp + 0x78], 1
je 0x46a596
mov ecx, dword [esp + 0x80]
lea ebx, [esp + 0x8c]
push ecx
push eax
push 0x872536
push ebx
call fcn.004ba8a0
add esp, 0x10
test byte [esp + 0x10], 1
je 0x46a635
mov eax, dword [esp + 0x18]
mov byte [eax], 0
mov dword [esp + 0x14], 0
test byte [esp + 0x10], 1
je 0x46a635
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 0x10], xmm0
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
movzx ecx, byte [esp + 0x10]
mov edx, ecx
shr edx, 1
test cl, 1
cmovne edx, dword [esp + 0x14]
lea edi, [esp + 0x11]
cmove eax, edi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
sub esp, 8
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp], xmm0
call fcn.0060c920
add esp, 8
test dl, 0xff
je 0x46a777
test eax, 0xfffffffd
jne 0x46a769
mov ecx, dword [0x99d5fc]
shl eax, 2
add eax, dword [ecx + 0x14]
movzx ecx, byte [esp + 0x60]
test cl, 1
je 0x46a783
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
jmp 0x46a789
shr eax, 1
mov edx, edi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xd8], 0x872a80
lea eax, [esp + 0x20]
mov dword [esp + 0xdc], eax
lea edi, [esp + 0xd8]
mov dword [esp + 0xe8], edi
sub esp, 8
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp], xmm0
mov edx, edi
call fcn.00469d90
add esp, 8
mov ecx, dword [esp + 0xe8]
cmp ecx, edi
je 0x46a732
test ecx, ecx
je 0x46a740
mov eax, dword [ecx]
add eax, 0x14
mov edi, ecx
jmp 0x46a73c
mov eax, dword [esp + 0xd8]
add eax, 0x10
mov ecx, edi
call dword [eax]
cmp byte [esp + 0x48], 0
jne 0x46a810
mov eax, dword [0x99d5fc]
mov ecx, dword [eax + 0x14]
movzx eax, byte [ebx]
test al, 1
je 0x46a977
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
jmp 0x46a97d
mov eax, dword [0x86159c]
test byte [eax], 8
jne 0x46aaae
mov byte [esi], 0
mov byte [esi + 0x28], 0
jmp 0x46a89a
shr ecx, 1
lea edx, [esp + 0x61]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xf0], 0x872a80
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], ecx
lea edi, [esp + 0xf0]
mov dword [esp + 0x100], edi
sub esp, 8
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp], xmm0
mov ecx, eax
mov edx, edi
call fcn.00469d90
add esp, 8
mov ecx, dword [esp + 0x100]
cmp ecx, edi
je 0x46a7f0
test ecx, ecx
je 0x46a7fe
mov eax, dword [ecx]
add eax, 0x14
mov edi, ecx
jmp 0x46a7fa
mov eax, dword [esp + 0xf0]
add eax, 0x10
mov ecx, edi
call dword [eax]
mov byte [esi], 0
mov byte [esi + 0x28], 0
cmp byte [esp + 0x48], 0
je 0x46a89a
mov eax, dword [esp + 0x28]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x20]
movsd qword [esi], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], eax
movsd xmm0, qword [esp + 0x2c]
movsd qword [esi + 0xc], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20], eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esi + 0x18], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
movzx eax, word [esp + 0x44]
mov word [esi + 0x24], ax
mov byte [esi + 0x28], 1
test byte [esp + 0x10], 1
je 0x46a8ad
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
cmp byte [esp + 0x48], 0
je 0x46a8dd
test byte [esp + 0x38], 1
jne 0x46a944
test byte [esp + 0x2c], 1
jne 0x46a95b
test byte [esp + 0x20], 1
je 0x46a8dd
push dword [esp + 0x28]
call fcn.0051c570
add esp, 4
cmp byte [esp + 0x84], 0
je 0x46a505
test byte [esp + 0x78], 1
jne 0x46a906
test byte [esp + 0x6c], 1
jne 0x46a91c
test byte [esp + 0x60], 1
je 0x46a505
jmp 0x46a933
push dword [esp + 0x80]
call fcn.0051c570
add esp, 4
test byte [esp + 0x6c], 1
je 0x46a8f9
push dword [esp + 0x74]
call fcn.0051c570
add esp, 4
test byte [esp + 0x60], 1
je 0x46a505
push dword [esp + 0x68]
call fcn.0051c570
add esp, 4
jmp 0x46a505
push dword [esp + 0x40]
call fcn.0051c570
add esp, 4
test byte [esp + 0x2c], 1
je 0x46a8ca
push dword [esp + 0x34]
call fcn.0051c570
add esp, 4
test byte [esp + 0x20], 1
jne 0x46a8d1
jmp 0x46a8dd
shr eax, 1
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x20]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0xc0], 0x872a80
mov dword [esp + 0xc4], edi
lea edi, [esp + 0xc0]
mov dword [esp + 0xd0], edi
sub esp, 8
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp], xmm0
mov edx, edi
call fcn.00469d90
add esp, 8
mov ecx, dword [esp + 0xd0]
cmp ecx, edi
je 0x46a9e2
test ecx, ecx
je 0x46a9f0
mov eax, dword [ecx]
add eax, 0x14
mov edi, ecx
jmp 0x46a9ec
mov eax, dword [esp + 0xc0]
add eax, 0x10
mov ecx, edi
call dword [eax]
cmp byte [esp + 0x48], 0
mov byte [esi], 0
mov byte [esi + 0x28], 0
jne 0x46a810
jmp 0x46a89a
push 0
push 1
call fcn.004b9f30
add esp, 8
test al, al
je 0x46a5aa
mov dword [esp + 0xc], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
sub esp, 0x14
movaps xmm0, xmmword [0x872360]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.packages_modules_adb_client_transport_mdns.cpp
lea edi, [esp + 0x24]
mov ecx, edi
call fcn.004b9f90
mov ecx, edi
call fcn.004b9f60
mov edi, eax
test byte [ebx], 1
je 0x46aa61
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
lea ebx, [esp + 0x20]
push dword [esp + 0xc]
push 0x872517
push ebx
call fcn.004ba8a0
add esp, 0xc
push ebx
push edi
call fcn.00402f30
add esp, 8
test byte [esp + 0x20], 1
je 0x46aa94
push dword [esp + 0x28]
call fcn.0051c570
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004ba060
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
jmp 0x46a5aa
push 0
push 1
call fcn.004b9f30
add esp, 8
test al, al
je 0x46a777
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
sub esp, 0x14
movaps xmm0, xmmword [0x872350]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.packages_modules_adb_client_transport_mdns.cpp
lea ecx, [esp + 0x70]
call fcn.004b9f90
lea ecx, [esp + 0x5c]
call fcn.004b9f60
mov dword [esp + 0x58], eax
test byte [esp + 0x10], 1
je 0x46ab05
mov edi, dword [esp + 0x18]
push edi
push str.Not_a_connectable_service_name___s_
push ebx
call fcn.004ba8a0
add esp, 0xc
push ebx
push dword [esp + 0x5c]
call fcn.00402f30
add esp, 8
test byte [esp + 0x8c], 1
je 0x46ab3a
push dword [esp + 0x94]
call fcn.0051c570
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.004ba060
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
jmp 0x46a777