Function at 0x140075650
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
sub rsp, 0x120
mov rax, qword [0x1402de400]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rbx, qword [rcx]
xor eax, eax
xor edi, edi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov rax, qword [0x1402e50b0]
or rbp, 0xffffffffffffffff
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x50], reloc.WS2_32.dll_socket
mov dword [rsp + 0x54], 2
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x40], 0x20000
mov dword [rsp + 0x48], 0x60000
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x5c], edi
mov dword [rsp + 0x60], 2
mov dword [rsp + 0x64], reloc.WS2_32.dll_recvfrom
mov dword [rsp + 0x58], 9
test rax, rax
jne 0x140075712
xor ecx, ecx
call fcn.14006eb40
mov qword [0x1402e50b0], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, [0x1402a6678]
mov rcx, rbx
call rax
mov ecx, eax
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSASetLastError]
test ebx, ebx
je 0x14007573f
or rax, 0xffffffffffffffff
jmp 0x140075acb
mov qword [rsp + 0x160], rsi
mov rsi, qword [rsp + 0x30]
nop dword [rax]
mov rbx, rsi
test rsi, rsi
je 0x140075792
mov eax, dword [rsp + rdi*4 + 0x50]
nop dword [rax]
cmp dword [rbx + 4], eax
je 0x140075770
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140075760
jmp 0x140075792
test rbx, rbx
je 0x140075792
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call sub.WS2_32.dll_socket
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400757a5
mov rsi, qword [rsp + 0x30]
inc rdi
cmp rdi, 2
jl 0x140075750
cmp rbp, 0xffffffffffffffff
je 0x140075a91
mov eax, dword [rbx + 4]
mov dword [r12], eax
cmp dword [rbx + 4], 0x17
jne 0x1400757d0
mov edx, 0x29
lea r9, [rsp + 0x44]
mov rcx, rbp
lea r8d, [rdx - 0xe]
mov dword [rsp + 0x20], 4
call sub.WS2_32.dll_setsockopt
xor edx, edx
lea r9, [rsp + 0x38]
mov rcx, rbp
lea r8d, [rdx + 0xe]
mov dword [rsp + 0x20], 4
call sub.WS2_32.dll_setsockopt
cmp dword [rbx + 4], 0x17
jne 0x14007580f
mov edx, 0x29
lea r9, [rsp + 0x38]
mov rcx, rbp
lea r8d, [rdx - 0x1b]
mov dword [rsp + 0x20], 4
call sub.WS2_32.dll_setsockopt
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x1002
mov rcx, rbp
mov dword [rsp + 0x20], 4
call sub.WS2_32.dll_setsockopt
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbp
mov dword [rsp + 0x20], 4
call sub.WS2_32.dll_setsockopt
lea r8, [rsp + 0x3c]
mov edx, 0x8004667e
mov rcx, rbp
call sub.WS2_32.dll_ioctlsocket
test eax, eax
jne 0x140075a8c
movzx edi, word [r13 + 8]
test di, di
jne 0x1400758bf
cmp word [r13 + 0xa], di
jne 0x1400758bf
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rbp
call sub.WS2_32.dll_bind
test eax, eax
jne 0x140075a5b
mov rax, qword [0x1402e50c0]
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x1400758b2
lea ecx, [rax + 2]
call fcn.14006eb40
mov qword [0x1402e50c0], rax
mov rcx, rbx
call rax
mov rax, rbp
jmp 0x140075ac3
movzx esi, word [r13 + 0xa]
cmp di, si
jne 0x140075991
movsxd rsi, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x90]
mov r8, rsi
call fcn.1401e3ed0
movzx r11d, word [rsp + 0x90]
cmp r11d, 2
je 0x140075939
cmp r11d, 0x17
je 0x140075927
cmp dword [reloc.WS2_32.dll_accept], 2
jg 0x140075949
mov r8d, 0x2a
lea r9, str.Unknown_address_family__hu
lea rdx, str....._third_partieswebrtc_tice_addr.c
lea ecx, [r8 - 0x28]
mov dword [rsp + 0x20], r11d
call fcn.1400045a0
jmp 0x140075949
movzx ecx, di
call sub.WS2_32.dll_htons
mov word [rsp + 0x92], ax
jmp 0x140075949
movzx ecx, di
call sub.WS2_32.dll_htons
mov word [rsp + 0x92], ax
lea rdx, [rsp + 0x90]
mov r8d, esi
mov rcx, rbp
call sub.WS2_32.dll_bind
test eax, eax
jne 0x140075a5b
mov rax, qword [0x1402e50c0]
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x140075984
lea ecx, [rax + 2]
call fcn.14006eb40
mov qword [0x1402e50c0], rax
mov rcx, rbx
call rax
mov rax, rbp
jmp 0x140075ac3
movsxd r12, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x90]
mov r8, r12
call fcn.1401e3ed0
movzx ebx, si
movzx eax, di
sub ebx, eax
movzx edx, word [r13 + 0xa]
movzx ecx, word [r13 + 8]
call fcn.1400755c0
movzx ecx, word [rsp + 0x90]
cmp ecx, 2
je 0x140075a10
cmp ecx, 0x17
je 0x1400759fe
cmp dword [reloc.WS2_32.dll_accept], 2
jg 0x140075a20
mov r8d, 0x2a
mov dword [rsp + 0x20], ecx
lea r9, str.Unknown_address_family__hu
lea ecx, [r8 - 0x28]
lea rdx, str....._third_partieswebrtc_tice_addr.c
call fcn.1400045a0
jmp 0x140075a20
movzx ecx, ax
call sub.WS2_32.dll_htons
mov word [rsp + 0x92], ax
jmp 0x140075a20
movzx ecx, ax
call sub.WS2_32.dll_htons
mov word [rsp + 0x92], ax
lea rdx, [rsp + 0x90]
mov r8d, r12d
mov rcx, rbp
call sub.WS2_32.dll_bind
test eax, eax
je 0x140075a62
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2740
je 0x140075a4f
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x271d
jne 0x140075a5b
mov eax, ebx
dec ebx
test eax, eax
jg 0x1400759b1
mov rsi, qword [rsp + 0x30]
jmp 0x140075a91
mov rax, qword [0x1402e50c0]
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x140075a82
lea ecx, [rax + 2]
call fcn.14006eb40
mov qword [0x1402e50c0], rax
mov rcx, rbx
call rax
mov rax, rbp
jmp 0x140075ac3
mov rsi, qword [rsp + 0x30]
mov rax, qword [0x1402e50c0]
test rax, rax
jne 0x140075aac
lea ecx, [rax + 2]
call fcn.14006eb40
mov qword [0x1402e50c0], rax
mov rcx, rsi
call rax
cmp rbp, 0xffffffffffffffff
je 0x140075abf
mov rcx, rbp
call sub.WS2_32.dll_closesocket
or rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401e42a0
add rsp, 0x120
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret