Function at 0x14003eccc
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4e8]
sub rsp, 0x5e8
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x14017a140]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov r12, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x16b
lea r9, str.NGDiscovery::CWSDSession::SendResolve
lea r8, [0x140182cb8]
mov rdx, qword [0x1401828c8]
lea rcx, [rbp + 0x30]
call fcn.140003374
nop
lea rdi, [rsi + 0x1b368]
mov rcx, rdi
call fcn.14004e15c
test al, al
jne 0x14003ed71
lea r9, str.CMessageId::Create___failed
mov edx, 0x80
mov r8d, 0x170
lea rcx, [rbp + 0x30]
call fcn.1400037a4
jmp 0x14003f050
mov r13d, 0x400
mov r8d, r13d
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.1400bbca0
mov edx, 0x3a
mov rcx, r15
call fcn.1400bdbe0
mov dword [rsp + 0x20], 0xe76
mov r9, r15
mov edx, r13d
lea rcx, [rbp + 0xd0]
test rax, rax
lea r8, str.soap.udp:____s_:_ld
jne 0x14003edbd
lea r8, str.soap.udp:___s:_ld
call fcn.140004500
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x28], rbx
lea rax, [rbp - 0x48]
mov qword [rsi + 0x5f28], rax
cmp qword [rdi + 0x18], 0x10
jb 0x14003ede3
mov rdi, qword [rdi]
mov qword [rbp - 0x48], rdi
lea rax, str.urn:schemas_xmlsoap_org:ws:2005:04:discovery
mov qword [rbp - 0x20], rax
lea rax, str.http:__schemas.xmlsoap.org_ws_2005_04_discovery_Resolve
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rbx
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov dword [rbp + 0x18], ebx
movdqa xmmword [rbp + 0x20], xmm0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, str.http:__schemas.xmlsoap.org_ws_2004_08_addressing_role_anonymous
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x58], rbx
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], ebx
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rsp + 0x50], r12
mov dword [rsi + 0x64], 0x20
mov qword [rsi + 0x40], rbx
lea rdi, [rsi + 8]
mov rcx, rdi
call fcn.140046300
mov rdx, qword [rdi + 0x5f20]
test rdx, rdx
je 0x14003ee79
mov rcx, rdi
call fcn.14005435c
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14005ae40
lea r8, [rbp + 0xd0]
mov rcx, rdi
call fcn.14004c714
test eax, eax
je 0x14003eecf
mov eax, dword [rsi + 0x191cc]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, str.soap_connect__s__failed__err_d
mov edx, 0x80
mov r8d, 0x19c
lea rcx, [rbp + 0x30]
call fcn.1400037a4
jmp 0x14003f050
test r14, r14
je 0x14003efa3
or rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], bl
jne 0x14003eedc
test rax, rax
je 0x14003efa3
mov edx, 0x3a
mov rcx, r14
call fcn.1400bdbe0
test rax, rax
je 0x14003ef48
mov rdx, r14
call fcn.14003fc54
mov dword [rsp + 0x40], eax
movsxd rcx, dword [rsi + 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 0x14003efa3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.setsockopt_IPV6_MULTICAST_IF__failed__err_d
mov r8d, 0x1ab
jmp 0x14003ef8c
mov rcx, r14
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x40], eax
movsxd rcx, dword [rsi + 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 0x14003efa3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.setsockopt_IP_MULTICAST_IF__failed__err_d
mov r8d, 0x1b4
mov edx, 0x80
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x30]
call fcn.1400037a4
jmp 0x14003f050
mov rcx, rdi
call fcn.14004c228
test eax, eax
jne 0x14003f047
mov rcx, rdi
call fcn.14004e620
test eax, eax
jne 0x14003f047
mov rcx, rdi
call fcn.14004c660
test eax, eax
jne 0x14003f047
mov dword [rsp + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx], 0x28
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140044968
lea rcx, [0x140115d75]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
mov r8d, eax
lea rdx, str.wsd:Resolve
mov rcx, rdi
call fcn.140057a10
test eax, eax
je 0x14003f013
mov eax, dword [rdi + 0x191c4]
jmp 0x14003f01b
mov rcx, rdi
call fcn.140050088
test eax, eax
jne 0x14003f047
mov rcx, rdi
call fcn.14004c6dc
test eax, eax
jne 0x14003f047
mov rcx, rdi
call fcn.14004c388
test eax, eax
jne 0x14003f047
mov rcx, rdi
call fcn.1400459fc
test eax, eax
jne 0x14003f047
mov bl, 1
jmp 0x14003f050
mov rcx, rdi
call fcn.1400448b0
nop
lea rcx, [rbp + 0x30]
call fcn.1400034bc
mov al, bl
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1400b9f80
add rsp, 0x5e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret