Function at 0x14029f3a0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r9d, edx
mov r11, r8
xor r10d, r10d
xor r8d, r8d
mov eax, 0x431bde83
mov dword [rsp + 0x40], r10d
mul edx
mov eax, 0x431bde83
mov dword [rbp + 0x150], r8d
shr edx, 0x12
xor ebx, ebx
mov dword [rsp + 0x30], edx
mov rsi, rcx
mul r9d
shr edx, 0x12
imul eax, edx, 0xf4240
sub r9d, eax
mov dword [rsp + 0x34], r9d
test r11, r11
je 0x14029f4dd
xor r9d, r9d
cmp qword [r11], rbx
je 0x14029f5af
cmp r9d, 0x40
jge 0x14029f5af
xor ecx, ecx
test r10d, r10d
je 0x14029f44e
mov rax, qword [r11]
mov rdx, qword [rax + 0x10]
nop dword [rax]
cmp qword [rsp + rcx*8 + 0x48], rdx
je 0x14029f44e
inc ecx
cmp ecx, r10d
jb 0x14029f440
cmp ecx, r10d
jne 0x14029f472
cmp r10d, 0x40
jae 0x14029f472
mov rax, qword [r11]
mov rax, qword [rax + 0x10]
mov qword [rsp + rcx*8 + 0x48], rax
mov r10d, dword [rsp + 0x40]
inc r10d
mov dword [rsp + 0x40], r10d
xor ecx, ecx
test r8d, r8d
je 0x14029f491
mov rax, qword [r11]
mov rdx, qword [rax + 0x10]
cmp qword [rbp + rcx*8 + 0x158], rdx
je 0x14029f491
inc ecx
cmp ecx, r8d
jb 0x14029f480
cmp ecx, r8d
jne 0x14029f4bc
cmp r8d, 0x40
jae 0x14029f4bc
mov rax, qword [r11]
mov rax, qword [rax + 0x10]
mov qword [rbp + rcx*8 + 0x158], rax
mov r8d, dword [rbp + 0x150]
inc r8d
mov dword [rbp + 0x150], r8d
mov rax, qword [r11]
cmp dword [rax + 0x10], ebx
jle 0x14029f4c7
mov ebx, dword [rax + 0x10]
add r11, 8
inc r9d
cmp qword [r11], 0
jne 0x14029f421
jmp 0x14029f5af
xor ecx, ecx
call fcn.14029bad0
mov r9, qword [rsi]
xor r11d, r11d
test r9, r9
je 0x14029f5a8
mov edx, dword [rsp + 0x40]
mov r8d, dword [rbp + 0x150]
nop
cmp r11d, 0x40
jge 0x14029f5a8
cmp qword [r9 + 0x10], 0xffffffffffffffff
je 0x14029f599
xor ecx, ecx
test edx, edx
je 0x14029f52d
mov r10, qword [r9 + 0x10]
nop
cmp qword [rsp + rcx*8 + 0x48], r10
je 0x14029f52d
inc ecx
cmp ecx, edx
jb 0x14029f520
cmp ecx, edx
jne 0x14029f549
cmp edx, 0x40
jae 0x14029f549
mov rax, qword [r9 + 0x10]
mov qword [rsp + rcx*8 + 0x48], rax
mov edx, dword [rsp + 0x40]
inc edx
mov dword [rsp + 0x40], edx
xor eax, eax
test r8d, r8d
je 0x14029f565
mov r10, qword [r9 + 0x10]
cmp qword [rbp + rax*8 + 0x158], r10
je 0x14029f565
inc eax
cmp eax, r8d
jb 0x14029f554
cmp eax, r8d
jne 0x14029f58f
cmp r8d, 0x40
jae 0x14029f58f
mov ecx, eax
mov rax, qword [r9 + 0x10]
mov qword [rbp + rcx*8 + 0x158], rax
mov r8d, dword [rbp + 0x150]
inc r8d
mov dword [rbp + 0x150], r8d
cmp dword [r9 + 0x10], ebx
jle 0x14029f599
mov ebx, dword [r9 + 0x10]
mov r9, qword [r9]
inc r11d
test r9, r9
jne 0x14029f500
xor ecx, ecx
call fcn.14029bd50
lea rax, [rsp + 0x30]
xor r8d, r8d
lea ecx, [rbx + 1]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x150]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
mov edi, eax
test eax, eax
jle 0x14029f64c
xor ecx, ecx
call fcn.14029bad0
mov rbx, qword [rsi]
test rbx, rbx
je 0x14029f643
cmp qword [rbx + 0x10], 0xffffffffffffffff
je 0x14029f63b
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x14029f63b
cmp byte [rbx + 0x2e9], 0
jne 0x14029f63b
cmp qword [rbx + 0x2a0], 0
je 0x14029f63b
test byte [rbx + 0x288], 2
je 0x14029f63b
mov r8, qword [rbx + 0x298]
xor edx, edx
mov rcx, rbx
mov byte [rbx + 0x2e9], 1
call qword [rbx + 0x2a0]
mov byte [rbx + 0x2e9], 0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14029f5e6
xor ecx, ecx
call fcn.14029bd50
mov eax, edi
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140284180
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret