Function at 0x4a0515
Capabilities:
Set socket configuration

Disassembly:
push 0x4e0
mov eax, 0x670419
call fcn.005bea6f
mov esi, ecx
mov dword [ebp - 0x498], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48c]
xor ebx, ebx
mov dword [ebp - 0x494], eax
mov eax, dword [ebp + 0xc]
push ebx
push ebx
push 0xd7
push str.NGDiscovery::CWSDSession::SendProbe
push 0x12fd5d4
push dword [0x12fd28c]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x49c], eax
call fcn.004203f9
lea edi, [esi + 0x17258]
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.004ad3d7
test al, al
jne 0x4a05a2
push str.CMessageId::Create___failed
push 0xdc
lea eax, [ebp - 0x48c]
push 0x80
push eax
call fcn.0042077f
add esp, 0x10
jmp 0x4a08d5
lea eax, [ebp - 0x4b8]
mov dword [ebp - 0x4b4], ebx
mov dword [esi + 0x2fb0], eax
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x4b0], ebx
mov dword [ebp - 0x4a8], ebx
jb 0x4a05c8
mov edi, dword [edi]
lea eax, [ebp - 0x4ec]
mov dword [esi + 0x2c], ebx
mov dword [ebp - 0x4ac], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
add esi, 8
mov dword [ebp - 0x4b8], edi
mov ecx, esi
mov edi, dword [ebp - 0x49c]
mov dword [ebp - 0x4a4], str.urn:schemas_xmlsoap_org:ws:2005:04:discovery
mov dword [ebp - 0x4a0], str.http:__schemas.xmlsoap.org_ws_2005_04_discovery_Probe
movups xmmword [ebp - 0x4e8], xmm0
mov dword [ebp - 0x4d8], ebx
mov dword [ebp - 0x4d4], ebx
mov dword [ebp - 0x4d0], ebx
mov dword [ebp - 0x4ec], str.http:__schemas.xmlsoap.org_ws_2004_08_addressing_role_anonymous
movups xmmword [ebp - 0x4c8], xmm0
mov dword [ebp - 0x4cc], edi
call fcn.004a66c4
mov edx, dword [esi + 0x2fa8]
test edx, edx
je 0x4a064b
mov ecx, esi
call fcn.004b1d3a
push 3
mov edx, edi
mov ecx, esi
call fcn.004a55e1
pop ecx
lea edx, [ebp - 0x4c8]
mov ecx, esi
call fcn.004b875c
mov edi, 0x400
lea eax, [ebp - 0x414]
push edi
push ebx
push eax
call fcn.005e1980
add esp, 0xc
push 0x3a
push dword [ebp - 0x490]
call fcn.005e4700
test byte [ebp + 0x14], 0x20
pop ecx
pop ecx
je 0x4a07c7
push 0xe76
push dword [ebp - 0x490]
test eax, eax
lea eax, [ebp - 0x414]
je 0x4a06af
push str.soap.udp:____s_:_ld
jmp 0x4a06b4
push str.soap.udp:___s:_ld
push edi
push eax
call fcn.00417969
add esp, 0x14
lea eax, [ebp - 0x414]
push ecx
push eax
mov ecx, esi
call fcn.004ac1b1
pop ecx
pop ecx
test eax, eax
je 0x4a06f5
mov eax, dword [ebp - 0x498]
push dword [eax + 0x16140]
lea eax, [ebp - 0x414]
push eax
push str.soap_connect__s__failed__err_d
push 0x10a
jmp 0x4a081f
mov edi, dword [ebp - 0x494]
test edi, edi
je 0x4a083f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0708
sub ecx, edx
je 0x4a083f
push 0x3a
push edi
call fcn.005e4700
pop ecx
pop ecx
push edi
test eax, eax
je 0x4a076b
call fcn.004a13fb
push 4
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x494]
push eax
mov eax, dword [ebp - 0x498]
push 9
push 0x29
push dword [eax + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4a083f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_IPV6_MULTICAST_IF__failed__err_d
push 0x116
jmp 0x4a07ae
call dword [sym.imp.WS2_32.dll_inet_addr]
push 4
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x494]
push eax
mov eax, dword [ebp - 0x498]
push 9
push ebx
push dword [eax + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4a083f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_IP_MULTICAST_IF__failed__err_d
push 0x11f
lea eax, [ebp - 0x48c]
push 0x80
push eax
call fcn.0042077f
add esp, 0x14
jmp 0x4a08d5
push dword [ebp - 0x490]
test eax, eax
lea eax, [ebp - 0x414]
je 0x4a07de
push str.http:____s__StableWSDiscoveryEndpoint_schemas_xmlsoap_org_ws_2005_04_discovery
jmp 0x4a07e3
push str.http:___s_StableWSDiscoveryEndpoint_schemas_xmlsoap_org_ws_2005_04_discovery
push edi
push eax
call fcn.00417969
add esp, 0x10
lea eax, [ebp - 0x414]
push ecx
push eax
mov ecx, esi
call fcn.004ac1b1
pop ecx
test eax, eax
mov eax, dword [ebp - 0x498]
pop ecx
je 0x4a0838
push dword [eax + 0x16140]
lea eax, [ebp - 0x414]
push eax
push str.soap_connect__s__failed__err_d
push 0x14b
lea eax, [ebp - 0x48c]
push 0x80
push eax
call fcn.0042077f
add esp, 0x18
jmp 0x4a08d5
mov dword [eax + 0x34], 0x3e8
mov ecx, esi
call fcn.004abb5c
test eax, eax
jne 0x4a08ce
mov ecx, esi
call fcn.004ad905
test eax, eax
jne 0x4a08ce
mov ecx, esi
call fcn.004abf1e
test eax, eax
jne 0x4a08ce
push 0x25
sub esp, 0xc
lea edx, [ebp - 0x4cc]
mov ecx, esi
call fcn.004a529d
push 0x728ed5
lea ecx, [ebp - 0x4cc]
mov edx, str.wsd:Probe
push ecx
push eax
mov ecx, esi
call fcn.004b5047
add esp, 0x1c
test eax, eax
je 0x4a089e
mov eax, dword [esi + 0x16138]
jmp 0x4a08a5
mov ecx, esi
call fcn.004aed70
test eax, eax
jne 0x4a08ce
mov ecx, esi
call fcn.004abf80
test eax, eax
jne 0x4a08ce
mov ecx, esi
call fcn.004abc7c
test eax, eax
jne 0x4a08ce
mov ecx, esi
call fcn.004a5fcd
test eax, eax
jne 0x4a08ce
mov bl, 1
jmp 0x4a08d5
mov ecx, esi
call fcn.004a522a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48c]
call fcn.004204d2
mov al, bl
call fcn.005bea19
ret 0x14