Function at 0x14001dd93
Capabilities:
Get socket status

Disassembly:
jmp 0x140031fd0
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 [0x14006d158]
xor rax, rbp
mov qword [rbp + 0x718], rax
lea rcx, [0x140077081]
call fcn.14001e13a
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 0x140032101
mov dword [rbp + 0x4a4], 0
jmp 0x140032094
mov eax, dword [rbp + 0x4a4]
inc eax
mov dword [rbp + 0x4a4], eax
mov eax, dword [rbp + 0x240]
cmp dword [rbp + 0x4a4], eax
jae 0x1400320bd
mov eax, dword [rbp + 0x4a4]
mov rcx, qword [rbp + 0x740]
cmp qword [rbp + rax*8 + 0x248], rcx
jne 0x1400320bb
jmp 0x1400320bd
jmp 0x140032086
mov eax, dword [rbp + 0x240]
cmp dword [rbp + 0x4a4], eax
jne 0x1400320f7
cmp dword [rbp + 0x240], 0x40
jae 0x1400320f7
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 0x14003207a
mov rax, qword [rbp + 0x748]
mov eax, dword [rax]
and eax, 2
test eax, eax
je 0x14003217f
mov dword [rbp + 0x4c4], 0
jmp 0x14003212b
mov eax, dword [rbp + 0x4c4]
inc eax
mov dword [rbp + 0x4c4], eax
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x4c4], eax
jae 0x14003214e
mov eax, dword [rbp + 0x4c4]
mov rcx, qword [rbp + 0x740]
cmp qword [rbp + rax*8 + 0x18], rcx
jne 0x14003214c
jmp 0x14003214e
jmp 0x14003211d
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x4c4], eax
jne 0x140032179
cmp dword [rbp + 0x10], 0x40
jae 0x140032179
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 0x140032111
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 0x1400321c1
mov eax, 0xffffffff
jmp 0x140032232
mov rax, qword [rbp + 0x748]
mov dword [rax], 0
cmp dword [rbp + 0x484], 0
jne 0x1400321db
xor eax, eax
jmp 0x140032232
lea rdx, [rbp + 0x240]
mov rcx, qword [rbp + 0x740]
call fcn.14001d050
test eax, eax
je 0x140032207
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.14001d050
test eax, eax
je 0x140032230
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.14001de01
mov rax, rdi
mov rcx, qword [rbp + 0x718]
xor rcx, rbp
call fcn.14001d857
lea rsp, [rbp + 0x728]
pop rdi
pop rbp
ret