Function at 0x1800062a0
Capabilities:
Get socket status
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rbx, qword [0x181777668]
xor esi, esi
mov dword [rbp + 0x620], esi
mov dword [rbp + 0x630], esi
mov dword [rbp + 0x634], 0x64
test rbx, rbx
je 0x1800065a6
mov qword [rsp + 0x738], rdi
nop word [rax + rax]
cmp dword [rbx + 4], 2
jne 0x180006583
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x3f0], esi
lea r9, [rbp + 0x1e0]
mov dword [rbp + 0x620], eax
lea r8, [rbp + 0x3f0]
mov dword [rbp + 0x1e0], esi
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], esi
xor ecx, ecx
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x3f8], rax
mov dword [rbp + 0x3f0], 1
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x1e0], 1
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x630]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x30], 1
call qword [sym.imp.WS2_32.dll_select]
mov eax, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x20]
cmp eax, 2
jne 0x180006446
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x180006583
mov rcx, qword [rbx + 0x20]
xor r8d, r8d
xor edx, edx
mov dword [rbp + 0x628], 1
call qword [sym.imp.WS2_32.dll_accept]
lea r8, [rbp + 0x628]
mov edx, 0x8004667e
mov rcx, rax
mov rdi, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x180006595
call fcn.180006280
mov edx, eax
mov dword [rbp + 0x620], eax
mov rcx, rdi
call fcn.1800061f0
mov edx, 0x80
lea rcx, [rsp + 0x30]
call fcn.180002850
mov edx, dword [rbp + 0x620]
lea rcx, [rsp + 0x30]
call fcn.1800028c0
mov edx, dword [rbx + 0x14]
lea rcx, [rsp + 0x30]
call fcn.1800028c0
lea rcx, [rsp + 0x30]
call fcn.1800029f0
lea rcx, [rsp + 0x30]
mov edx, eax
call fcn.1800029e0
mov rcx, rax
mov r8d, 0x17
call fcn.180001c60
lea rcx, [rsp + 0x30]
call fcn.1800029b0
jmp 0x180006583
cmp eax, 3
jne 0x1800064b2
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x180006583
mov rcx, qword [rbx + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_accept]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180005c80
mov edx, dword [rbx + 0x14]
lea rcx, [rsp + 0x50]
or edx, 0x110000
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x80], xmm1
call fcn.180005670
jmp 0x180006583
lea rdx, [rbp + 0x1e0]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x18000656c
mov rcx, qword [rbx + 0x20]
lea rdx, [rbp + 0x3f0]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1800064f1
mov edx, 4
mov dword [rbx + 4], 1
lea r8d, [rdx + 2]
jmp 0x180006577
mov rcx, qword [rbx + 0x20]
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x18000655e
mov rdi, qword [rbx + 0x20]
xor r8d, r8d
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbx + 0x20], rax
mov edx, 4
lea rcx, [rbp + 0x620]
cmp rax, 0xffffffffffffffff
jne 0x180006541
mov r8d, edx
mov dword [rbx + 4], esi
call fcn.180001c60
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x180006583
mov r8d, 6
mov dword [rbx + 4], 1
call fcn.180001c60
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x180006583
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, dword [rbx + 8]
jbe 0x180006583
mov edx, 4
mov dword [rbx + 4], esi
mov r8d, edx
lea rcx, [rbp + 0x620]
call fcn.180001c60
mov rax, qword [rbx + 0x28]
mov rbx, rax
test rax, rax
jne 0x1800062f0
jmp 0x18000659e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, qword [rsp + 0x738]
add rsp, 0x700
pop rsi
pop rbx
pop rbp
ret