Function at 0x1400a7baf
Capabilities:
Get socket status

Disassembly:
jmp 0x1400c5d90
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x13a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x778]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x718], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
xor edx, edx
mov eax, dword [rbp + 0x750]
mov ecx, 0x3e8
div ecx
mov dword [rbp + 0x468], eax
xor edx, edx
mov eax, dword [rbp + 0x750]
mov ecx, 0x3e8
div ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rbp + 0x46c], eax
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x240], 0
mov rax, qword [rbp + 0x748]
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400c5ec2
mov dword [rbp + 0x4a4], 0
jmp 0x1400c5e55
mov eax, dword [rbp + 0x4a4]
inc eax
mov dword [rbp + 0x4a4], eax
mov eax, dword [rbp + 0x240]
cmp dword [rbp + 0x4a4], eax
jae 0x1400c5e7e
mov eax, dword [rbp + 0x4a4]
mov rcx, qword [rbp + 0x740]
cmp qword [rbp + rax*8 + 0x248], rcx
jne 0x1400c5e7c
jmp 0x1400c5e7e
jmp 0x1400c5e47
mov eax, dword [rbp + 0x240]
cmp dword [rbp + 0x4a4], eax
jne 0x1400c5eb8
cmp dword [rbp + 0x240], 0x40
jae 0x1400c5eb8
mov eax, dword [rbp + 0x4a4]
mov rcx, qword [rbp + 0x740]
mov qword [rbp + rax*8 + 0x248], rcx
mov eax, dword [rbp + 0x240]
inc eax
mov dword [rbp + 0x240], eax
xor eax, eax
test eax, eax
jne 0x1400c5e3b
mov rax, qword [rbp + 0x748]
mov eax, dword [rax]
and eax, 2
test eax, eax
je 0x1400c5f40
mov dword [rbp + 0x4c4], 0
jmp 0x1400c5eec
mov eax, dword [rbp + 0x4c4]
inc eax
mov dword [rbp + 0x4c4], eax
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x4c4], eax
jae 0x1400c5f0f
mov eax, dword [rbp + 0x4c4]
mov rcx, qword [rbp + 0x740]
cmp qword [rbp + rax*8 + 0x18], rcx
jne 0x1400c5f0d
jmp 0x1400c5f0f
jmp 0x1400c5ede
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x4c4], eax
jne 0x1400c5f3a
cmp dword [rbp + 0x10], 0x40
jae 0x1400c5f3a
mov eax, dword [rbp + 0x4c4]
mov rcx, qword [rbp + 0x740]
mov qword [rbp + rax*8 + 0x18], rcx
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
xor eax, eax
test eax, eax
jne 0x1400c5ed2
mov rax, qword [rbp + 0x740]
inc rax
lea rcx, [rbp + 0x468]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x240]
lea rdx, [rbp + 0x10]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rbp + 0x484], eax
cmp dword [rbp + 0x484], 0
jge 0x1400c5f82
mov eax, 0xffffffff
jmp 0x1400c5ff3
mov rax, qword [rbp + 0x748]
mov dword [rax], 0
cmp dword [rbp + 0x484], 0
jne 0x1400c5f9c
xor eax, eax
jmp 0x1400c5ff3
lea rdx, [rbp + 0x240]
mov rcx, qword [rbp + 0x740]
call fcn.1400a319a
test eax, eax
je 0x1400c5fc8
mov rax, qword [rbp + 0x748]
mov eax, dword [rax]
or eax, 1
mov rcx, qword [rbp + 0x748]
mov dword [rcx], eax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x740]
call fcn.1400a319a
test eax, eax
je 0x1400c5ff1
mov rax, qword [rbp + 0x748]
mov eax, dword [rax]
or eax, 2
mov rcx, qword [rbp + 0x748]
mov dword [rcx], eax
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x718]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x728]
pop rdi
pop rbp
ret