Function at 0x140005b00
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, qword [rbp + 0x248]
mov r12, rcx
mov rcx, qword [rbp + 0x238]
movzx r13d, dl
mov rdx, qword [rbp + 0x240]
mov rax, r8
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x70], rax
cmp r12, 0xffffffffffffffff
jne 0x140005bd5
mov rcx, qword [0x14001a150]
lea r14, [0x14001a148]
xor esi, esi
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x44], esi
cmp rcx, 1
jbe 0x140005ba0
mov rax, qword [0x14001a148]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140005ba2
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x40], 0x2719
mov qword [rsp + 0x50], rax
xor eax, eax
movsd xmm1, qword [rsp + 0x50]
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x140005d79
mov qword [rsp + 0x30], rbx
mov r8, r9
mov qword [rsp + 0x28], rdx
mov rdx, rax
mov qword [rsp + 0x20], rcx
mov rcx, r12
mov qword [rsp + 0x318], rdi
call fcn.140005830
test eax, eax
jns 0x140005d6f
and r13b, 1
lea r14, [0x14001a148]
xor esi, esi
movabs r15, 0x4d54ee85da812030
nop dword [rax]
test r13b, r13b
jne 0x140005df9
mov rdi, qword [0x14001a150]
mov dword [rsp + 0x44], esi
lea rax, [rdi + r15]
cmp rax, 1
jbe 0x140005c59
mov rax, qword [0x14001a148]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rdi, qword [0x14001a150]
jmp 0x140005c5b
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x70]
add rax, 2
mov dword [rsp + 0x40], 0x2733
mov qword [rsp + 0x50], rax
mov rcx, rbx
movsd xmm1, qword [rsp + 0x50]
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rsp + 0x40]
movsd qword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x70], xmm0
call fcn.1400026f0
test al, al
jne 0x140005cff
lea rax, [rdi + r15]
mov dword [rsp + 0x44], esi
cmp rax, 1
jbe 0x140005cba
mov rax, qword [0x14001a148]
mov edx, 0x4d5
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140005cbc
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x78]
add rax, 2
mov dword [rsp + 0x40], 0x4d5
mov qword [rsp + 0x50], rax
mov rcx, rbx
movsd xmm1, qword [rsp + 0x50]
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rsp + 0x40]
movsd qword [rbp - 0x78], xmm1
movups xmmword [rsp + 0x78], xmm0
call fcn.1400026f0
test al, al
je 0x140005df9
lea ecx, [r12 + 1]
mov qword [rbp - 0x48], r12
xor r9d, r9d
mov dword [rbp - 0x50], 1
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x140005d9b
mov rax, qword [rsp + 0x58]
xorps xmm0, xmm0
mov r8, qword [rsp + 0x68]
mov rcx, r12
mov rdx, qword [rsp + 0x70]
movups xmmword [rbx], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rsi
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbx + 0x10], xmm0
mov qword [rsp + 0x20], rax
call fcn.140005830
test eax, eax
js 0x140005c20
mov eax, eax
mov rdi, qword [rsp + 0x318]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14000f490
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x14001a150]
mov edi, eax
add rdx, r15
mov dword [rsp + 0x44], esi
cmp rdx, 1
jbe 0x140005dcc
mov rcx, qword [0x14001a148]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, r14
call r8
jmp 0x140005dd1
test edi, edi
setne al
movzx eax, al
mov dword [rsp + 0x40], edi
add rax, 2
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
xor eax, eax
jmp 0x140005d71