Function at 0x49a2c1
Capabilities:
Set socket configuration

Disassembly:
push 0x4f0
mov eax, 0x62c66c
call fcn.005b83bf
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x488]
xor ebx, ebx
mov dword [ebp - 0x494], eax
mov eax, dword [ebp + 0xc]
push ebx
push ebx
push 0x16b
push str.NGDiscovery::CWSDSession::SendResolve
push 0x129b978
push dword [0x129b630]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48c], eax
call fcn.0041f881
lea esi, [edi + 0x17258]
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.004a6d96
test al, al
jne 0x49a348
push str.CMessageId::Create___failed
push pe_nt_image_headers32
lea eax, [ebp - 0x488]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x10
jmp 0x49a611
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.005b9760
add esp, 0xc
push 0x3a
push dword [ebp - 0x490]
call fcn.005e9fd0
pop ecx
pop ecx
push 0xe76
push dword [ebp - 0x490]
test eax, eax
lea eax, [ebp - 0x410]
je 0x49a388
push str.soap.udp:____s_:_ld
jmp 0x49a38d
push str.soap.udp:___s:_ld
push 0x400
push eax
call fcn.00416fdb
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4ac], ebx
add esp, 0x14
mov dword [edi + 0x2fb0], eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x4a8], ebx
mov dword [ebp - 0x4a0], ebx
jb 0x49a3c1
mov esi, dword [esi]
lea eax, [ebp - 0x4d0]
mov dword [ebp - 0x4b0], esi
xorps xmm0, xmm0
mov dword [ebp - 0x49c], str.urn:schemas_xmlsoap_org:ws:2005:04:discovery
lea edx, [ebp - 0x4fc]
mov dword [ebp - 0x498], str.http:__schemas.xmlsoap.org_ws_2005_04_discovery_Resolve
movups xmmword [ebp - 0x4cc], xmm0
mov dword [ebp - 0x4bc], ebx
mov dword [ebp - 0x4b8], ebx
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4d0], str.http:__schemas.xmlsoap.org_ws_2004_08_addressing_role_anonymous
call fcn.004b088f
mov eax, dword [ebp - 0x48c]
lea esi, [edi + 8]
mov ecx, esi
mov dword [ebp - 0x4dc], ebx
mov dword [ebp - 0x4d8], ebx
mov dword [ebp - 0x4d4], ebx
mov dword [ebp - 0x4fc], eax
mov dword [edi + 0x48], 0x20
mov dword [edi + 0x2c], ebx
call fcn.004a0083
mov edx, dword [esi + 0x2fa8]
test edx, edx
je 0x49a45b
mov ecx, esi
call fcn.004ab5aa
lea edx, [ebp - 0x4fc]
mov ecx, esi
call fcn.004b08a9
push ecx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.004a5b70
pop ecx
pop ecx
test eax, eax
je 0x49a4ad
push dword [edi + 0x16140]
lea eax, [ebp - 0x410]
push eax
push str.soap_connect__s__failed__err_d
push 0x19c
lea eax, [ebp - 0x488]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x18
jmp 0x49a611
mov edx, dword [ebp - 0x494]
test edx, edx
je 0x49a57b
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x48c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49a4c6
sub ecx, dword [ebp - 0x48c]
je 0x49a57b
push 0x3a
push edx
call fcn.005e9fd0
pop ecx
pop ecx
test eax, eax
mov eax, dword [ebp - 0x494]
push eax
je 0x49a529
call fcn.0049adce
push 4
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x48c]
push eax
push 9
push 0x29
push dword [edi + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x49a57b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_IPV6_MULTICAST_IF__failed__err_d
push 0x1ab
jmp 0x49a562
call dword [sym.imp.WS2_32.dll_inet_addr]
push 4
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x48c]
push eax
push 9
push ebx
push dword [edi + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x49a57b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_IP_MULTICAST_IF__failed__err_d
push 0x1b4
lea eax, [ebp - 0x488]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x14
jmp 0x49a611
mov ecx, esi
call fcn.004a551b
test eax, eax
jne 0x49a60a
mov ecx, esi
call fcn.004a7174
test eax, eax
jne 0x49a60a
mov ecx, esi
call fcn.004a58dd
test eax, eax
jne 0x49a60a
push 0x28
sub esp, 0xc
lea edx, [ebp - 0x4fc]
mov ecx, esi
call fcn.0049ec5c
push 0x6da9f5
lea ecx, [ebp - 0x4fc]
mov edx, str.wsd:Resolve
push ecx
push eax
mov ecx, esi
call fcn.004adfc2
add esp, 0x1c
test eax, eax
je 0x49a5da
mov eax, dword [esi + 0x16138]
jmp 0x49a5e1
mov ecx, esi
call fcn.004a85df
test eax, eax
jne 0x49a60a
mov ecx, esi
call fcn.004a593f
test eax, eax
jne 0x49a60a
mov ecx, esi
call fcn.004a563b
test eax, eax
jne 0x49a60a
mov ecx, esi
call fcn.0049f98c
test eax, eax
jne 0x49a60a
mov bl, 1
jmp 0x49a611
mov ecx, esi
call fcn.0049ebe9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.0041f95a
mov al, bl
call fcn.005b8369
ret 0x14