Function at 0x140070900
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x140070957
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::setMulticastInterface___was_called_on_an_uninitialized_socket_device
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rbx + 0x6c], 1
je 0x140070999
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::setMulticastInterface___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp 0x140083a60
push rbx
push rdi
sub rsp, 0x38
mov eax, dword [rcx + 0x70]
mov rdi, rcx
dec eax
mov rbx, rdx
mov rcx, rdx
cmp eax, 1
jbe 0x140083bd8
call fcn.140014340
test al, al
je 0x140083bc9
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x58], rbp
mov rcx, rbx
call fcn.140012cd0
mov rax, qword [rsp + 0x68]
xor ebx, ebx
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
test ecx, ecx
jle 0x140083b3c
movsxd rdx, dword [rax + 8]
movsxd rcx, ebx
add rcx, 2
add rdx, rcx
lea rcx, [rax + rdx*8]
lea rdx, [rsp + 0x60]
call fcn.140014320
lea rcx, [rsp + 0x60]
call fcn.1400495e0
test eax, eax
jne 0x140083b1d
lea rcx, [rsp + 0x60]
call fcn.1400499d0
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0xa8]
lea r9, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x50], eax
mov r8d, 9
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140083bb2
lea rcx, [rsp + 0x60]
call fcn.1400482a0
mov rax, qword [rsp + 0x68]
inc ebx
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp ebx, ecx
jl 0x140083ab2
xor bpl, bpl
mov ecx, dword [rax]
test ecx, ecx
je 0x140083b5d
cmp ecx, 0xffffffff
je 0x140083ba2
mov rax, qword [rsp + 0x68]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140083ba2
mov qword [rsp + 0x30], rsi
mov rsi, qword [rsp + 0x68]
movsxd rdi, dword [rsi + 8]
movsxd rbx, dword [rsi + 0xc]
add rdi, 2
add rbx, 2
lea rdi, [rsi + rdi*8]
lea rbx, [rsi + rbx*8]
cmp rbx, rdi
je 0x140083b95
sub rbx, 8
mov rcx, rbx
call fcn.140012ac0
cmp rbx, rdi
jne 0x140083b84
mov rcx, rsi
call fcn.1400c6df0
mov rsi, qword [rsp + 0x30]
movzx eax, bpl
mov rbp, qword [rsp + 0x58]
add rsp, 0x38
pop rdi
pop rbx
ret
lea rcx, [rsp + 0x60]
call fcn.1400482a0
mov rax, qword [rsp + 0x68]
mov bpl, 1
jmp 0x140083b3f
xor ebx, ebx
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
xor edx, edx
jmp 0x140083bfd
call fcn.140014340
test al, al
je 0x140083bed
mov rcx, rbx
call fcn.140013ca0
mov ebx, eax
jmp 0x140083bef
xor ebx, ebx
mov dword [rsp + 0x60], ebx
lea r9, [rsp + 0x60]
mov edx, 0x29
mov rcx, qword [rdi + 0xa8]
mov r8d, 9
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
setne al
add rsp, 0x38
pop rdi
pop rbx
ret