Function at 0x4a08ee
Capabilities:
Set socket configuration

Disassembly:
push 0x4f0
mov eax, 0x67044c
call fcn.005bea6f
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 0x12fd5d4
push dword [0x12fd28c]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48c], eax
call fcn.004203f9
lea esi, [edi + 0x17258]
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.004ad3d7
test al, al
jne 0x4a0975
push str.CMessageId::Create___failed
push 0x170
lea eax, [ebp - 0x488]
push 0x80
push eax
call fcn.0042077f
add esp, 0x10
jmp 0x4a0c3e
push 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.005e1980
add esp, 0xc
push 0x3a
push dword [ebp - 0x490]
call fcn.005e4700
pop ecx
pop ecx
push 0xe76
push dword [ebp - 0x490]
test eax, eax
lea eax, [ebp - 0x410]
je 0x4a09b5
push str.soap.udp:____s_:_ld
jmp 0x4a09ba
push str.soap.udp:___s:_ld
push 0x400
push eax
call fcn.00417969
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 0x4a09ee
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.004b701f
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.004a66c4
mov edx, dword [esi + 0x2fa8]
test edx, edx
je 0x4a0a88
mov ecx, esi
call fcn.004b1d3a
lea edx, [ebp - 0x4fc]
mov ecx, esi
call fcn.004b7039
push ecx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.004ac1b1
pop ecx
pop ecx
test eax, eax
je 0x4a0ada
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.0042077f
add esp, 0x18
jmp 0x4a0c3e
mov edx, dword [ebp - 0x494]
test edx, edx
je 0x4a0ba8
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x48c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0af3
sub ecx, dword [ebp - 0x48c]
je 0x4a0ba8
push 0x3a
push edx
call fcn.005e4700
pop ecx
pop ecx
test eax, eax
mov eax, dword [ebp - 0x494]
push eax
je 0x4a0b56
call fcn.004a13fb
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 0x4a0ba8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.setsockopt_IPV6_MULTICAST_IF__failed__err_d
push 0x1ab
jmp 0x4a0b8f
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 0x4a0ba8
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.0042077f
add esp, 0x14
jmp 0x4a0c3e
mov ecx, esi
call fcn.004abb5c
test eax, eax
jne 0x4a0c37
mov ecx, esi
call fcn.004ad905
test eax, eax
jne 0x4a0c37
mov ecx, esi
call fcn.004abf1e
test eax, eax
jne 0x4a0c37
push 0x28
sub esp, 0xc
lea edx, [ebp - 0x4fc]
mov ecx, esi
call fcn.004a529d
push 0x728ed5
lea ecx, [ebp - 0x4fc]
mov edx, str.wsd:Resolve
push ecx
push eax
mov ecx, esi
call fcn.004b4752
add esp, 0x1c
test eax, eax
je 0x4a0c07
mov eax, dword [esi + 0x16138]
jmp 0x4a0c0e
mov ecx, esi
call fcn.004aed70
test eax, eax
jne 0x4a0c37
mov ecx, esi
call fcn.004abf80
test eax, eax
jne 0x4a0c37
mov ecx, esi
call fcn.004abc7c
test eax, eax
jne 0x4a0c37
mov ecx, esi
call fcn.004a5fcd
test eax, eax
jne 0x4a0c37
mov bl, 1
jmp 0x4a0c3e
mov ecx, esi
call fcn.004a522a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.004204d2
mov al, bl
call fcn.005bea19
ret 0x14