Function at 0x499ee8
Capabilities:
Set socket configuration

Disassembly:
push 0x4e0
mov eax, 0x62c639
call fcn.005b83bf
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 0x129b978
push dword [0x129b630]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x49c], eax
call fcn.0041f881
lea edi, [esi + 0x17258]
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.004a6d96
test al, al
jne 0x499f75
push str.CMessageId::Create___failed
push 0xdc
lea eax, [ebp - 0x48c]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x10
jmp 0x49a2a8
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 0x499f9b
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.004a0083
mov edx, dword [esi + 0x2fa8]
test edx, edx
je 0x49a01e
mov ecx, esi
call fcn.004ab5aa
push 3
mov edx, edi
mov ecx, esi
call fcn.0049efa0
pop ecx
lea edx, [ebp - 0x4c8]
mov ecx, esi
call fcn.004b1fcc
mov edi, 0x400
lea eax, [ebp - 0x414]
push edi
push ebx
push eax
call fcn.005b9760
add esp, 0xc
push 0x3a
push dword [ebp - 0x490]
call fcn.005e9fd0
test byte [ebp + 0x14], 0x20
pop ecx
pop ecx
je 0x49a19a
push 0xe76
push dword [ebp - 0x490]
test eax, eax
lea eax, [ebp - 0x414]
je 0x49a082
push str.soap.udp:____s_:_ld
jmp 0x49a087
push str.soap.udp:___s:_ld
push edi
push eax
call fcn.00416fdb
add esp, 0x14
lea eax, [ebp - 0x414]
push ecx
push eax
mov ecx, esi
call fcn.004a5b70
pop ecx
pop ecx
test eax, eax
je 0x49a0c8
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 0x49a1f2
mov edi, dword [ebp - 0x494]
test edi, edi
je 0x49a212
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49a0db
sub ecx, edx
je 0x49a212
push 0x3a
push edi
call fcn.005e9fd0
pop ecx
pop ecx
push edi
test eax, eax
je 0x49a13e
call fcn.0049adce
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 0x49a212
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_IPV6_MULTICAST_IF__failed__err_d
push 0x116
jmp 0x49a181
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 0x49a212
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.0041fc07
add esp, 0x14
jmp 0x49a2a8
push dword [ebp - 0x490]
test eax, eax
lea eax, [ebp - 0x414]
je 0x49a1b1
push str.http:____s__StableWSDiscoveryEndpoint_schemas_xmlsoap_org_ws_2005_04_discovery
jmp 0x49a1b6
push str.http:___s_StableWSDiscoveryEndpoint_schemas_xmlsoap_org_ws_2005_04_discovery
push edi
push eax
call fcn.00416fdb
add esp, 0x10
lea eax, [ebp - 0x414]
push ecx
push eax
mov ecx, esi
call fcn.004a5b70
pop ecx
test eax, eax
mov eax, dword [ebp - 0x498]
pop ecx
je 0x49a20b
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.0041fc07
add esp, 0x18
jmp 0x49a2a8
mov dword [eax + 0x34], 0x3e8
mov ecx, esi
call fcn.004a551b
test eax, eax
jne 0x49a2a1
mov ecx, esi
call fcn.004a7174
test eax, eax
jne 0x49a2a1
mov ecx, esi
call fcn.004a58dd
test eax, eax
jne 0x49a2a1
push 0x25
sub esp, 0xc
lea edx, [ebp - 0x4cc]
mov ecx, esi
call fcn.0049ec5c
push 0x6da9f5
lea ecx, [ebp - 0x4cc]
mov edx, str.wsd:Probe
push ecx
push eax
mov ecx, esi
call fcn.004ae8b7
add esp, 0x1c
test eax, eax
je 0x49a271
mov eax, dword [esi + 0x16138]
jmp 0x49a278
mov ecx, esi
call fcn.004a85df
test eax, eax
jne 0x49a2a1
mov ecx, esi
call fcn.004a593f
test eax, eax
jne 0x49a2a1
mov ecx, esi
call fcn.004a563b
test eax, eax
jne 0x49a2a1
mov ecx, esi
call fcn.0049f98c
test eax, eax
jne 0x49a2a1
mov bl, 1
jmp 0x49a2a8
mov ecx, esi
call fcn.0049ebe9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48c]
call fcn.0041f95a
mov al, bl
call fcn.005b8369
ret 0x14