Function at 0x140077010
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rax, qword [rcx + 0x98]
mov r12d, edx
mov rbx, rcx
mov byte [rbp - 0x70], r12b
cmp qword [rcx + 0x90], rax
jne 0x140077076
cmp edx, 0xffffffff
je 0x140077313
lea r15, [rbp - 0x70]
mov edi, 1
jmp 0x140077087
mov rax, qword [rcx + 0x20]
mov r15, qword [rax]
mov rax, qword [rcx + 0x40]
mov rdi, qword [rax]
sub rdi, r15
mov rax, rdi
test rax, rax
je 0x1400772dc
lea r14, [rcx + 0x150]
lea r13, [0x1400af558]
lea rcx, [rsp + 0x48]
call fcn.140064b90
mov rcx, qword [rbx + 0x168]
cmp rcx, qword [rsp + 0x48]
je 0x1400770bf
jl 0x14007731a
test byte [rbx + 0xc0], 2
jne 0x1400770dc
lea rcx, [rbx + 0xb0]
mov r9, r14
lea rdx, [rsp + 0x50]
call fcn.1400786c0
cmp byte [rbx + 0xf4], 0
mov rcx, qword [rbx + 0xb8]
mov qword [rbp - 0x58], r15
mov dword [rbp - 0x60], edi
mov qword [rbp - 0x50], rdi
jne 0x14007710a
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x5c], xmm0
mov qword [rsp + 0x6c], rax
mov dword [rsp + 0x74], eax
mov r8d, 1
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x60]
call fcn.140069450
test eax, eax
jle 0x140077139
cdqe
mov rcx, rdi
cmp rax, rdi
cmovb rcx, rax
add r15, rcx
sub rdi, rcx
jmp 0x1400772d3
mov rsi, qword [0x1400af560]
movabs rax, 0x4d54ee85da812030
add rax, rsi
mov dword [rsp + 0x34], 0
cmp rax, 1
jbe 0x140077176
mov rax, qword [0x1400af558]
mov edx, 0x2733
mov rcx, r13
call qword [rax + 0x30]
mov rsi, qword [0x1400af560]
jmp 0x140077178
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x78]
add rax, 2
mov dword [rsp + 0x30], 0x2733
mov qword [rsp + 0x40], rax
mov rcx, r14
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rbp - 0x78], xmm1
movups xmmword [rsp + 0x78], xmm0
call fcn.1400668b0
test al, al
jne 0x14007722c
movabs rax, 0x4d54ee85da812030
mov dword [rsp + 0x34], 0
add rax, rsi
cmp rax, 1
jbe 0x1400771e6
mov rax, qword [0x1400af558]
mov edx, 0x4d5
mov rcx, r13
call qword [rax + 0x30]
jmp 0x1400771e8
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x50]
add rax, 2
mov dword [rsp + 0x30], 0x4d5
mov qword [rsp + 0x40], rax
mov rcx, r14
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x50], xmm0
call fcn.1400668b0
test al, al
je 0x14007737d
mov rcx, rbx
call fcn.1400785f0
cmp byte [rbx + 0xf4], 0
mov r8d, eax
mov rcx, qword [rbx + 0xb8]
jne 0x14007725a
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x5c], xmm0
mov qword [rsp + 0x6c], rax
mov dword [rsp + 0x74], eax
cmp rcx, 0xffffffffffffffff
je 0x140077384
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x40], 1
test r8d, r8d
js 0x1400772a2
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rbp - 0x68], edx
sub r8d, eax
imul eax, r8d, 0x3e8
mov dword [rbp - 0x64], eax
lea rax, [rbp - 0x68]
jmp 0x1400772a4
xor eax, eax
inc ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov edx, eax
mov rcx, r14
shr edx, 0x1f
mov esi, eax
call fcn.140068f00
test esi, esi
je 0x1400772d3
js 0x14007737d
test rdi, rdi
jne 0x1400770a1
mov rdx, qword [rbx + 0x90]
mov rcx, qword [rbx + 0x98]
cmp rdx, rcx
je 0x1400773e5
mov rax, qword [rbx + 0x20]
sub ecx, edx
mov qword [rax], rdx
mov rax, qword [rbx + 0x40]
mov qword [rax], rdx
mov rax, qword [rbx + 0x58]
mov dword [rax], ecx
cmp r12d, 0xffffffff
jne 0x1400773cb
xor eax, eax
jmp 0x1400773e8
movabs rcx, 0x4d54ee85da812030
mov dword [rsp + 0x34], 0
add rcx, qword [0x1400af560]
cmp rcx, 1
jbe 0x14007734d
mov rax, qword [0x1400af558]
mov edx, 0x274c
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14007734f
mov al, 1
mov dword [rsp + 0x30], 0x274c
movzx eax, al
mov qword [rsp + 0x38], r13
add rax, 2
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [r14], xmm0
movsd qword [r14 + 0x10], xmm1
mov eax, 0xffffffff
jmp 0x1400773e8
movabs rcx, 0x4d54ee85da812030
mov dword [rsp + 0x34], 0
add rcx, qword [0x1400af560]
cmp rcx, 1
jbe 0x1400773bf
mov rax, qword [0x1400af558]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
mov dword [rsp + 0x30], 0x2719
jmp 0x140077357
mov al, 1
mov dword [rsp + 0x30], 0x2719
jmp 0x140077357
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
movzx eax, byte [rbp - 0x70]
mov byte [rcx], al
mov rax, qword [rbx + 0x58]
dec dword [rax]
mov rax, qword [rbx + 0x40]
inc qword [rax]
mov eax, r12d
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14007f7f0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret