Function at 0x14009b545
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x9a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x920], 0xfffffffffffffffe
mov r15, rdx
mov r14, rcx
mov qword [rbp + 0x850], r8
mov qword [rbp + 0x858], r9
mov r12, qword [rdx + 0x98]
mov esi, dword [r12 + 0x80]
cmp esi, 0x3b9aca00
jne 0x14009b5ad
mov rax, qword [r15 + 0x88]
mov qword [rbp + 0x860], rax
mov r13d, dword [r15 + 0x90]
jmp 0x14009b5e7
mov rdi, qword [r12 + 0x78]
call fcn.14006edb0
mov r13d, 0x3b9aca00
add rax, rdi
mov qword [rbp + 0x860], rax
jae 0x14009b5cb
jmp 0x14009b5e7
add edx, esi
cmp edx, 0x3b9aca00
jb 0x14009b5e4
inc qword [rbp + 0x860]
je 0x14009b5e7
add edx, 0xc4653600
mov r13d, edx
movabs rsi, 0x8000000000000000
cmp qword [r12 + 0x28], rsi
jne 0x14009b604
mov qword [rbp + 0x7d0], rsi
jmp 0x14009b6ea
mov rdx, qword [r12 + 0x30]
mov r8, qword [r12 + 0x38]
lea rcx, [rbp + 0x3d0]
call fcn.140009190
mov ebx, dword [r12 + 0x70]
cmp qword [r12 + 0x40], rsi
jne 0x14009b62f
mov qword [rbp + 0x6a0], rsi
jmp 0x14009b645
mov rdx, qword [r12 + 0x48]
mov r8, qword [r12 + 0x50]
lea rcx, [rbp + 0x6a0]
call fcn.140009190
cmp qword [r12 + 0x58], rsi
jne 0x14009b655
mov qword [rbp + 0x1c0], rsi
jmp 0x14009b66b
mov rdx, qword [r12 + 0x60]
mov r8, qword [r12 + 0x68]
lea rcx, [rbp + 0x1c0]
call fcn.140009190
mov dl, byte [r12 + 0x74]
mov rax, qword [rbp + 0x3e0]
lea rsi, [rbp + 0x480]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp + 0x3d0]
movaps xmmword [rsi], xmm0
movups xmm0, xmmword [rbp + 0x6a0]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rbp + 0x6b0]
mov qword [rsi + 0x28], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rsi + 0x30], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rsi + 0x38], rax
mov rax, qword [rbp + 0x1d0]
mov qword [rsi + 0x40], rax
lea rax, [rbp + 0x7d0]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov dword [rax + 0x48], ebx
mov byte [rax + 0x4c], dl
movabs rcx, 0x8000000000000000
cmp qword [rax], rcx
jne 0x14009b754
lea rax, [rbp + 0x850]
lea rcx, [rbp + 0x1c0]
mov qword [rcx], rax
lea rax, [0x140009287]
mov qword [rcx + 8], rax
lea rax, [rbp + 0x990]
mov qword [rcx + 0x10], rax
lea rax, [0x14000ccd0]
mov qword [rcx + 0x18], rax
lea rax, [0x140643940]
lea rdx, [rbp + 0x480]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rcx, [rbp + 0x6a0]
call fcn.140008c30
jmp 0x14009b7b5
lea rcx, [rbp + 0x818]
lea r8, [rbp + 0x1c0]
mov qword [r8], rax
lea rax, [0x140005f29]
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], rcx
lea rax, [0x14000a170]
mov qword [r8 + 0x18], rax
lea rax, [0x140643940]
lea rdx, [rbp + 0x480]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], rax
lea rcx, [rbp + 0x6a0]
call fcn.140008c30
movups xmm0, xmmword [rbp + 0x6a0]
movaps xmmword [rbp + 0x870], xmm0
mov rax, qword [rbp + 0x6b0]
mov qword [rbp + 0x880], rax
mov rax, qword [r15 + 0xa0]
mov rdx, qword [rax + 0x28]
lock inc qword [rdx]
jle 0x14009cc51
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x8b0], rdx
mov qword [rbp + 0x8b8], rax
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
mov qword [rbp + 0x908], rdx
add rdx, rcx
add rdx, 0x10
mov r8, qword [rbp + 0x878]
mov r9, qword [rbp + 0x880]
lea rcx, [rbp + 0x898]
call qword [rax + 0x18]
mov rbx, qword [rbp + 0x898]
mov rsi, qword [rbp + 0x8a0]
movabs rax, 0x8000000000000000
cmp rbx, rax
mov dword [rbp + 0x890], r13d
jne 0x14009b94f
mov qword [rbp + 0x8e8], rsi
lea rax, [rbp + 0x870]
lea rcx, [rbp + 0x1c0]
mov qword [rcx], rax
lea rax, [0x140005f29]
mov qword [rcx + 8], rax
lea rax, str.resolve_dns_name_
lea rdx, [rbp + 0x480]
mov qword [rdx], rax
mov qword [rdx + 8], 2
mov qword [rbp + 0x8d0], rsi
mov rsi, qword [rbp + 0x8a8]