Function at 0x1400270d1
Capabilities:
Get socket status

Disassembly:
jmp 0x14003bf50
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 [0x14008e148]
xor rax, rbp
mov qword [rbp + 0x718], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
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 0x14003c081
mov dword [rbp + 0x4a4], 0
jmp 0x14003c014
mov eax, dword [rbp + 0x4a4]
inc eax
mov dword [rbp + 0x4a4], eax
mov eax, dword [rbp + 0x240]
cmp dword [rbp + 0x4a4], eax
jae 0x14003c03d
mov eax, dword [rbp + 0x4a4]
mov rcx, qword [rbp + 0x740]
cmp qword [rbp + rax*8 + 0x248], rcx
jne 0x14003c03b
jmp 0x14003c03d
jmp 0x14003c006
mov eax, dword [rbp + 0x240]
cmp dword [rbp + 0x4a4], eax
jne 0x14003c077
cmp dword [rbp + 0x240], 0x40
jae 0x14003c077
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 0x14003bffa
mov rax, qword [rbp + 0x748]
mov eax, dword [rax]
and eax, 2
test eax, eax
je 0x14003c0ff
mov dword [rbp + 0x4c4], 0
jmp 0x14003c0ab
mov eax, dword [rbp + 0x4c4]
inc eax
mov dword [rbp + 0x4c4], eax
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x4c4], eax
jae 0x14003c0ce
mov eax, dword [rbp + 0x4c4]
mov rcx, qword [rbp + 0x740]
cmp qword [rbp + rax*8 + 0x18], rcx
jne 0x14003c0cc
jmp 0x14003c0ce
jmp 0x14003c09d
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x4c4], eax
jne 0x14003c0f9
cmp dword [rbp + 0x10], 0x40
jae 0x14003c0f9
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 0x14003c091
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 0x14003c141
mov eax, 0xffffffff
jmp 0x14003c1b2
mov rax, qword [rbp + 0x748]
mov dword [rax], 0
cmp dword [rbp + 0x484], 0
jne 0x14003c15b
xor eax, eax
jmp 0x14003c1b2
lea rdx, [rbp + 0x240]
mov rcx, qword [rbp + 0x740]
call fcn.140026064
test eax, eax
je 0x14003c187
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.140026064
test eax, eax
je 0x14003c1b0
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.140027171
mov rax, rdi
mov rcx, qword [rbp + 0x718]
xor rcx, rbp
call fcn.140026a1e
lea rsp, [rbp + 0x728]
pop rdi
pop rbp
ret