Function at 0x14003e8ac
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14017a140]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rsi, r9
mov r15, r8
mov r12, rdx
mov r14, rcx
xor ebx, ebx
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0xd7
lea r9, str.NGDiscovery::CWSDSession::SendProbe
lea r8, [0x140182cb8]
mov rdx, qword [0x1401828c8]
lea rcx, [rbp - 0x10]
call fcn.140003374
nop
lea rdi, [r14 + 0x1b368]
mov rcx, rdi
call fcn.14004e15c
test al, al
jne 0x14003e94e
lea r9, str.CMessageId::Create___failed
mov edx, 0x80
lea r8d, [rdx + 0x5c]
lea rcx, [rbp - 0x10]
call fcn.1400037a4
jmp 0x14003ec9e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], rbx
lea rax, [rsp + 0x78]
mov qword [r14 + 0x5f28], rax
cmp qword [rdi + 0x18], 0x10
jb 0x14003e970
mov rdi, qword [rdi]
mov qword [rsp + 0x78], rdi
lea rax, str.urn:schemas_xmlsoap_org:ws:2005:04:discovery
mov qword [rbp - 0x60], rax
lea rax, str.http:__schemas.xmlsoap.org_ws_2005_04_discovery_Probe
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rbx
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x28], ebx
movdqa xmmword [rbp - 0x20], xmm0
lea rax, [rbp - 0x50]
mov qword [rbp - 0x70], rax
lea rax, str.http:__schemas.xmlsoap.org_ws_2004_08_addressing_role_anonymous
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x48], rsi
mov esi, dword [rbp + 0x500]
mov dword [r14 + 0x64], esi
mov qword [r14 + 0x40], rbx
lea rdi, [r14 + 8]
mov rcx, rdi
call fcn.140046300
mov rdx, qword [rdi + 0x5f20]
test rdx, rdx
je 0x14003e9f5
mov rcx, rdi
call fcn.14005435c
mov r8d, 3
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140044d34
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14005cfa8
xor edx, edx
lea rcx, [rbp + 0x90]
test sil, 0x20
mov esi, 0x400
mov r8d, esi
je 0x14003eb68
call fcn.1400bbca0
mov edx, 0x3a
mov rcx, r15
call fcn.1400bdbe0
mov dword [rsp + 0x20], 0xe76
mov r9, r15
mov edx, esi
lea rcx, [rbp + 0x90]
test rax, rax
lea r8, str.soap.udp:____s_:_ld
jne 0x14003ea69
lea r8, str.soap.udp:___s:_ld
call fcn.140004500
lea r8, [rbp + 0x90]
mov rcx, rdi
call fcn.14004c714
test eax, eax
je 0x14003ea8c
mov r8d, 0x10a
jmp 0x14003ebb8
test r12, r12
je 0x14003ebf1
or rax, 0xffffffffffffffff
inc rax
cmp byte [r12 + rax], bl
jne 0x14003ea99
test rax, rax
je 0x14003ebf1
mov edx, 0x3a
mov rcx, r12
call fcn.1400bdbe0
test rax, rax
je 0x14003eb09
mov rdx, r12
call fcn.14003fc54
mov dword [rsp + 0x40], eax
movsxd rcx, dword [r14 + 0x60a4]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov edx, 0x29
lea r8d, [rdx - 0x20]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14003ebf1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.setsockopt_IPV6_MULTICAST_IF__failed__err_d
mov r8d, 0x116
jmp 0x14003eb51
mov rcx, r12
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x40], eax
movsxd rcx, dword [r14 + 0x60a4]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 9]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14003ebf1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.setsockopt_IP_MULTICAST_IF__failed__err_d
mov r8d, 0x11f
mov edx, 0x80
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x10]
call fcn.1400037a4
jmp 0x14003ec9e
call fcn.1400bbca0
mov edx, 0x3a
mov rcx, r15
call fcn.1400bdbe0
mov r9, r15
mov rdx, rsi
lea rcx, [rbp + 0x90]
test rax, rax
lea r8, str.http:____s__StableWSDiscoveryEndpoint_schemas_xmlsoap_org_ws_2005_04_discovery
jne 0x14003eb9a
lea r8, str.http:___s_StableWSDiscoveryEndpoint_schemas_xmlsoap_org_ws_2005_04_discovery
call fcn.140004500
lea r8, [rbp + 0x90]
mov rcx, rdi
call fcn.14004c714
test eax, eax
je 0x14003ebe9
mov r8d, 0x14b
mov eax, dword [r14 + 0x191cc]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x90]
mov edx, 0x80
lea r9, str.soap_connect__s__failed__err_d
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.1400037a4
jmp 0x14003ec9e
mov dword [r14 + 0x50], 0x3e8
mov rcx, rdi
call fcn.14004c228
test eax, eax
jne 0x14003ec95
mov rcx, rdi
call fcn.14004e620
test eax, eax
jne 0x14003ec95
mov rcx, rdi
call fcn.14004c660
test eax, eax
jne 0x14003ec95
mov dword [rsp + 0x28], SafeArrayAllocDescriptorEx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140044968
lea rcx, [0x140115d75]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x48]
mov r8d, eax
lea rdx, str.wsd:Probe
mov rcx, rdi
call fcn.140058524
test eax, eax
je 0x14003ec61
mov eax, dword [rdi + 0x191c4]
jmp 0x14003ec69
mov rcx, rdi
call fcn.140050088
test eax, eax
jne 0x14003ec95
mov rcx, rdi
call fcn.14004c6dc
test eax, eax
jne 0x14003ec95
mov rcx, rdi
call fcn.14004c388
test eax, eax
jne 0x14003ec95
mov rcx, rdi
call fcn.1400459fc
test eax, eax
jne 0x14003ec95
mov bl, 1
jmp 0x14003ec9e
mov rcx, rdi
call fcn.1400448b0
nop
lea rcx, [rbp - 0x10]
call fcn.1400034bc
mov al, bl
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1400b9f80
add rsp, 0x5a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret