Function at 0x1400b4af0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
xor edi, edi
mov esi, r9d
mov r15, r8
mov r14, rdx
mov r13, rcx
mov qword [rbp + 0x5a0], rdi
mov r12d, edi
cmp rcx, 0xffffffffffffffff
jne 0x1400b4b66
cmp rdx, rcx
jne 0x1400b4b66
cmp r8, rcx
jne 0x1400b4b66
test r9d, r9d
je 0x1400b4b5f
jns 0x1400b4b56
mov ecx, 0x2726
call qword [sym.imp.WSOCK32.DLL_WSASetLastError]
or edi, r13d
mov eax, edi
jmp 0x1400b4e39
mov ecx, r9d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
jmp 0x1400b4e39
mov qword [rsp + 0x6a8], rbx
test r9d, r9d
jle 0x1400b4b80
mov r12d, r9d
call fcn.1400b4f30
mov rbx, rax
jmp 0x1400b4b87
mov rbx, qword [rbp + 0x5a0]
or r8, 0xffffffffffffffff
mov ecx, edi
mov r9d, edi
lea eax, [r8 + 2]
mov dword [rsp + 0x40], ecx
mov dword [rbp + 0x150], edi
cmp r13, r8
je 0x1400b4bc1
mov qword [rbp + 0x158], r13
mov r9d, eax
mov dword [rbp + 0x150], eax
mov qword [rsp + 0x48], r13
mov ecx, eax
mov dword [rsp + 0x40], eax
mov r8, r13
cmp r14, 0xffffffffffffffff
je 0x1400b4c46
mov edx, edi
test r9d, r9d
je 0x1400b4be5
mov eax, edx
cmp qword [rbp + rax*8 + 0x158], r14
je 0x1400b4be5
inc edx
cmp edx, r9d
jb 0x1400b4bd2
cmp edx, r9d
jne 0x1400b4c0b
cmp r9d, 0x40
jae 0x1400b4c0b
mov eax, edx
mov qword [rbp + rax*8 + 0x158], r14
mov r9d, dword [rbp + 0x150]
inc r9d
mov dword [rbp + 0x150], r9d
mov edx, edi
test ecx, ecx
je 0x1400b4c20
mov eax, edx
cmp qword [rsp + rax*8 + 0x48], r14
je 0x1400b4c20
inc edx
cmp edx, ecx
jb 0x1400b4c11
cmp edx, ecx
jne 0x1400b4c3a
cmp ecx, 0x40
jae 0x1400b4c3a
mov eax, edx
mov qword [rsp + rax*8 + 0x48], r14
mov ecx, dword [rsp + 0x40]
inc ecx
mov dword [rsp + 0x40], ecx
cmp r14, r8
mov eax, 1
cmova r8, r14
mov dword [rbp + 0x360], edi
cmp r15, 0xffffffffffffffff
je 0x1400b4c8f
mov qword [rbp + 0x368], r15
mov dword [rbp + 0x360], eax
mov edx, edi
test ecx, ecx
je 0x1400b4c74
mov eax, edx
cmp qword [rsp + rax*8 + 0x48], r15
je 0x1400b4c74
inc edx
cmp edx, ecx
jb 0x1400b4c65
cmp edx, ecx
jne 0x1400b4c88
cmp ecx, 0x40
jae 0x1400b4c88
mov eax, edx
mov qword [rsp + rax*8 + 0x48], r15
inc dword [rsp + 0x40]
cmp r15, r8
cmova r8, r15
lea r10, [rsp + 0x30]
test esi, esi
lea r11d, [r8 + 1]
cmovs r10, rdi
mov dword [rbp + 0x5a0], r11d
mov qword [rsp + 0x38], r10
nop word [rax + rax]
test esi, esi
jle 0x1400b4ce1
mov eax, 0x10624dd3
mov ecx, r12d
imul r12d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x30], edx
imul eax, edx, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x34], eax
jmp 0x1400b4ce8
jne 0x1400b4ce8
mov qword [rsp + 0x30], rdi
cmp dword [rbp + 0x360], edi
lea r8, [rbp + 0x360]
lea rdx, [rbp + 0x150]
cmove r8, rdi
test r9d, r9d
lea r9, [rsp + 0x40]
mov ecx, r11d
cmove rdx, rdi
mov qword [rsp + 0x20], r10
call qword [sym.imp.WSOCK32.DLL_select]
cmp eax, 0xffffffff
jne 0x1400b4d87
call qword [sym.imp.WSOCK32.DLL_WSAGetLastError]
test eax, eax
je 0x1400b4d38
cmp dword [0x1401526cc], edi
jne 0x1400b4d8b
cmp eax, 0x2714
jne 0x1400b4d8b
test esi, esi
jg 0x1400b4d54
mov r9d, dword [rbp + 0x150]
mov r10, qword [rsp + 0x38]
mov r11d, dword [rbp + 0x5a0]
jmp 0x1400b4cb0
call fcn.1400b4f30
mov rdx, rbx
mov rcx, rax
call fcn.1400b4ea0
mov r12d, esi
sub r12d, eax
test r12d, r12d
jle 0x1400b4d95
mov r9d, dword [rbp + 0x150]
mov r10, qword [rsp + 0x38]
mov r11d, dword [rbp + 0x5a0]
jmp 0x1400b4cb0
test eax, eax
jns 0x1400b4d93
or eax, 0xffffffff
jmp 0x1400b4e31
jne 0x1400b4d9c
xor eax, eax
jmp 0x1400b4e31
cmp r13, 0xffffffffffffffff
je 0x1400b4dcf
lea rdx, [rbp + 0x150]
mov rcx, r13
call sub.WSOCK32.DLL___WSAFDIsSet
lea rdx, [rsp + 0x40]
mov rcx, r13
test eax, eax
mov eax, 1
cmovne edi, eax
call sub.WSOCK32.DLL___WSAFDIsSet
test eax, eax
je 0x1400b4dcf
or edi, 4
cmp r14, 0xffffffffffffffff
je 0x1400b4dff
lea rdx, [rbp + 0x150]
mov rcx, r14
call sub.WSOCK32.DLL___WSAFDIsSet
test eax, eax
je 0x1400b4deb
or edi, 8
lea rdx, [rsp + 0x40]
mov rcx, r14
call sub.WSOCK32.DLL___WSAFDIsSet
test eax, eax
je 0x1400b4dff
or edi, 4
cmp r15, 0xffffffffffffffff
je 0x1400b4e2f
lea rdx, [rbp + 0x360]
mov rcx, r15
call sub.WSOCK32.DLL___WSAFDIsSet
test eax, eax
je 0x1400b4e1b
or edi, 2
lea rdx, [rsp + 0x40]
mov rcx, r15
call sub.WSOCK32.DLL___WSAFDIsSet
test eax, eax
je 0x1400b4e2f
or edi, 4
mov eax, edi
mov rbx, qword [rsp + 0x6a8]
lea r11, [rsp + 0x670]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret