Function at 0x180007c90
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov rax, qword [0x1800a3248]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x2d0]
call fcn.180006880
movzx eax, al
test eax, eax
je 0x180007f49
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x34], 0
jmp 0x180007cea
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x34], eax
jae 0x180007d11
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
cmp qword [rsp + rax*8 + 0xa8], rcx
jne 0x180007d0f
jmp 0x180007d11
jmp 0x180007ce0
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x34], eax
jne 0x180007d4c
cmp dword [rsp + 0xa0], 0x40
jae 0x180007d4c
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov qword [rsp + rax*8 + 0xa8], rcx
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0xa0], eax
xor eax, eax
test eax, eax
jne 0x180007cd6
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xa0]
xor edx, edx
mov ecx, 1
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
cmp dword [rsp + 0x44], 0
jle 0x180007dc6
lea rdx, [rsp + 0xa0]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x180007dc4
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2d0]
call fcn.180007ab0
mov byte [rsp + 0x30], al
jmp 0x180007e2f
cmp dword [rsp + 0x44], 0
jge 0x180007e2f
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x4c], 4
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8d, 0x1007
mov edx, 0xffff
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x180007e13
call fcn.18001e720
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180007e2f
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov dword [rax + 0x34], 3
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x180007f2d
call fcn.180005f80
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
mov dword [rsp + 0x54], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
call fcn.180005e00
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x180007eac
call fcn.180005f80
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
call fcn.180005e10
jmp 0x180007f0c
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180007f00
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
jmp 0x180007f0c
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x98], rax
mov edx, 0x20
mov rcx, qword [rsp + 0x98]
call fcn.18006a98c
jmp 0x180007f44
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800068b0
call fcn.1800066d0
jmp 0x180007cae
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.18006a240
add rsp, 0x2c8
ret