Function at 0x140054270
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov rdi, qword [r8 + 0x30]
lea r12, [r8 + 0x10]
movzx eax, byte [r12]
xor r9d, r9d
mov rbx, qword [rbp + 0x620]
xor esi, esi
mov r15, qword [r8 + 0x18]
test rdi, rdi
mov r10, qword [r8 + 0x28]
mov r13, rdx
mov rdx, qword [r8 + 0x20]
mov r11d, 1
cmovne r11d, eax
mov qword [rbp + 0x3a8], r9
cmp rdx, rdi
cmovae rdx, rdi
xor r14d, r14d
mov qword [rsp + 0x70], rdx
mov qword [rbp + 0x3a0], rsi
test r11b, r11b
jne 0x140054372
cmp rsi, 0x40
jae 0x140054372
mov eax, dword [rsp + 0x70]
add rsi, rsi
mov qword [rbp + rsi*8 - 0x58], r15
mov dword [rbp + rsi*8 - 0x60], eax
mov r9, qword [rbp + 0x3a8]
add r9, rdx
mov qword [rbp + 0x3a8], r9
cmp r10, r12
je 0x140054363
lea r8, [rdx + r14]
cmp r8, rdi
jae 0x140054363
mov rsi, qword [rbp + 0x3a0]
mov rax, r10
add r10, 0x10
mov rcx, rdi
sub rcx, r8
mov r14, r8
mov rdx, qword [rax + 8]
mov r15, qword [rax]
cmp rdx, rcx
cmovae rdx, rcx
inc rsi
mov qword [rsp + 0x70], rdx
jmp 0x1400542f3
mov rsi, qword [rbp + 0x3a0]
mov r11b, 1
inc rsi
jmp 0x1400542f3
mov r15, qword [r13]
movzx r12d, byte [r13 + 8]
cmp r15, 0xffffffffffffffff
jne 0x1400543a2
mov dword [rsp + 0x30], 0x2719
call fcn.1400f7cd0
mov qword [rsp + 0x38], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x1400544d9
test r9, r9
jne 0x1400543cb
test r12b, 0x10
je 0x1400543cb
mov dword [rsp + 0x30], r9d
call fcn.1400f7cd0
mov qword [rsp + 0x38], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x1400544d9
mov r8, rsi
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.140040780
test eax, eax
jns 0x1400544d7
and r12b, 1
xor r13d, r13d
nop
test r12b, r12b
jne 0x140054509
call fcn.1400f7cd0
cmp qword [rbx + 8], rax
jne 0x14005440c
cmp dword [rbx], 0x2733
je 0x140054427
call fcn.1400f7cd0
cmp qword [rbx + 8], rax
jne 0x140054509
cmp dword [rbx], 0x4d5
jne 0x140054509
xor ecx, ecx
mov qword [rbp + 0x3b8], r15
mov dword [rbp + 0x3b0], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [r15 + 1]
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0x3b0]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov r14d, eax
call fcn.1400f7cd0
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
test r14d, r14d
jne 0x14005449b
mov dword [rsp + 0x40], r13d
call fcn.1400f7cd0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x1400544bb
jle 0x1400544b6
mov dword [rsp + 0x50], r13d
call fcn.1400f7cd0
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
jmp 0x1400544bb
test r14d, r14d
js 0x140054509
mov r8, rsi
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.140040780
test eax, eax
js 0x1400543f0
mov eax, eax
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140229810
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, r13
jmp 0x1400544d9