Function at 0x140077420
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov r8, qword [rax]
mov rax, qword [rcx + 0x50]
movsxd rdx, dword [rax]
add rdx, r8
cmp r8, rdx
jne 0x1400776d1
lea rsi, [rcx + 0x150]
xor r14d, r14d
movabs r12, 0x4d54ee85da812030
lea r15, [0x1400af558]
nop word [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.140064b90
mov rcx, qword [rbx + 0x168]
cmp rcx, qword [rsp + 0x48]
je 0x1400774ae
jl 0x140077701
test byte [rbx + 0xc0], 2
jne 0x1400774cb
lea rcx, [rbx + 0xb0]
mov r9, rsi
lea rdx, [rsp + 0x50]
call fcn.1400786c0
mov rax, qword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
sub rcx, rax
je 0x1400774e8
cmp rcx, 8
jbe 0x1400774eb
mov edx, 8
jmp 0x1400774ee
mov rax, r14
mov rdx, rcx
sub rcx, rdx
add rax, rdx
mov dword [rbp - 0x68], ecx
mov qword [rbp - 0x58], rcx
mov rcx, qword [rbx + 0xb8]
mov qword [rbp - 0x60], rax
cmp byte [rbx + 0xf4], r14b
jne 0x140077522
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], rsi
lea rdx, [rbp - 0x68]
call fcn.1400691c0
mov r8d, eax
test eax, eax
jg 0x1400777e3
mov dword [rsp + 0x34], r14d
test eax, eax
je 0x14007779a
mov rdi, qword [0x1400af560]
lea rax, [rdi + r12]
cmp rax, 1
jbe 0x14007757a
mov rax, qword [0x1400af558]
mov edx, 0x2733
mov rcx, r15
call qword [rax + 0x30]
mov rdi, qword [0x1400af560]
jmp 0x14007757c
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, rsi
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r15
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rbp - 0x78], xmm1
movups xmmword [rsp + 0x78], xmm0
call fcn.1400668b0
test al, al
jne 0x140077624
lea rax, [rdi + r12]
mov dword [rsp + 0x34], r14d
cmp rax, 1
jbe 0x1400775de
mov rax, qword [0x1400af558]
mov edx, 0x4d5
mov rcx, r15
call qword [rax + 0x30]
jmp 0x1400775e0
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, rsi
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r15
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x50], xmm0
call fcn.1400668b0
test al, al
je 0x1400776d1
mov rcx, rbx
call fcn.1400785f0
mov r8d, eax
mov rcx, qword [rbx + 0xb8]
cmp byte [rbx + 0xf4], r14b
jne 0x140077652
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 0x14007773e
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x50], 1
test r8d, r8d
js 0x14007769a
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rbp - 0x70], edx
sub r8d, eax
imul eax, r8d, 0x3e8
mov dword [rbp - 0x6c], eax
lea rax, [rbp - 0x70]
jmp 0x14007769d
mov rax, r14
inc ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [rbp - 0x50]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov edx, eax
mov rcx, rsi
shr edx, 0x1f
mov edi, eax
call fcn.140068f00
test edi, edi
je 0x140077490
jns 0x140077490
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14007f7f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, qword [0x1400af560]
add rcx, r12
mov dword [rsp + 0x34], r14d
cmp rcx, 1
jbe 0x140077732
mov rax, qword [0x1400af558]
mov edx, 0x274c
mov rcx, r15
call qword [rax + 0x30]
mov dword [rsp + 0x30], 0x274c
jmp 0x140077771
mov al, 1
mov dword [rsp + 0x30], 0x274c
jmp 0x140077771
mov rcx, qword [0x1400af560]
add rcx, r12
mov dword [rsp + 0x34], r14d
cmp rcx, 1
jbe 0x140077767
mov rax, qword [0x1400af558]
mov edx, 0x2719
mov rcx, r15
call qword [rax + 0x30]
jmp 0x140077769
mov al, 1
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x38], r15
movups xmm0, xmmword [rsp + 0x30]
movzx eax, al
add rax, 2
mov qword [rsp + 0x40], rax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
jmp 0x1400776d1
mov rcx, qword [0x1400af0c0]
lea rbx, [0x1400af0b8]
add rcx, r12
cmp rcx, 1
jbe 0x1400777d2
mov rax, qword [0x1400af0b8]
mov edx, 2
mov rcx, rbx
call qword [rax + 0x30]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rbx
jmp 0x140077776
mov al, 1
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rbx
jmp 0x140077776
mov rdx, qword [rbx + 0x78]
mov rax, qword [rbx + 0x18]
lea rcx, [rdx + 8]
mov qword [rax], rdx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
lea ecx, [rdx + 8]
mov rax, qword [rbx + 0x50]
add ecx, r8d
mov dword [rax], ecx
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
movzx eax, byte [rcx]
jmp 0x1400776d6