Function at 0x140077a70
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 0x140077d21
lea rsi, [rcx + 0x150]
xor r14d, r14d
movabs r12, 0x4d54ee85da812030
lea r15, [0x1400af558]
nop word [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.140064fb0
mov rcx, qword [rbx + 0x168]
cmp rcx, qword [rsp + 0x48]
je 0x140077afe
jl 0x140077d51
test byte [rbx + 0xc0], 2
jne 0x140077b1b
lea rcx, [rbx + 0xb0]
mov r9, rsi
lea rdx, [rsp + 0x50]
call fcn.140078d10
mov rax, qword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
sub rcx, rax
je 0x140077b38
cmp rcx, 8
jbe 0x140077b3b
mov edx, 8
jmp 0x140077b3e
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 0x140077b72
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.1400695e0
mov r8d, eax
test eax, eax
jg 0x140077e33
mov dword [rsp + 0x34], r14d
test eax, eax
je 0x140077dea
mov rdi, qword [0x1400af560]
lea rax, [rdi + r12]
cmp rax, 1
jbe 0x140077bca
mov rax, qword [0x1400af558]
mov edx, 0x2733
mov rcx, r15
call qword [rax + 0x30]
mov rdi, qword [0x1400af560]
jmp 0x140077bcc
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.140066cd0
test al, al
jne 0x140077c74
lea rax, [rdi + r12]
mov dword [rsp + 0x34], r14d
cmp rax, 1
jbe 0x140077c2e
mov rax, qword [0x1400af558]
mov edx, 0x4d5
mov rcx, r15
call qword [rax + 0x30]
jmp 0x140077c30
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.140066cd0
test al, al
je 0x140077d21
mov rcx, rbx
call fcn.140078c40
mov r8d, eax
mov rcx, qword [rbx + 0xb8]
cmp byte [rbx + 0xf4], r14b
jne 0x140077ca2
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 0x140077d8e
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x50], 1
test r8d, r8d
js 0x140077cea
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 0x140077ced
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.140069320
test edi, edi
je 0x140077ae0
jns 0x140077ae0
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14007fe40
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 0x140077d82
mov rax, qword [0x1400af558]
mov edx, 0x274c
mov rcx, r15
call qword [rax + 0x30]
mov dword [rsp + 0x30], 0x274c
jmp 0x140077dc1
mov al, 1
mov dword [rsp + 0x30], 0x274c
jmp 0x140077dc1
mov rcx, qword [0x1400af560]
add rcx, r12
mov dword [rsp + 0x34], r14d
cmp rcx, 1
jbe 0x140077db7
mov rax, qword [0x1400af558]
mov edx, 0x2719
mov rcx, r15
call qword [rax + 0x30]
jmp 0x140077db9
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 0x140077d21
mov rcx, qword [0x1400af0c0]
lea rbx, [0x1400af0b8]
add rcx, r12
cmp rcx, 1
jbe 0x140077e22
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 0x140077dc6
mov al, 1
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x38], rbx
jmp 0x140077dc6
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 0x140077d26