Function at 0x1800077d0
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 0x180007a8a
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x34], 0
jmp 0x18000782a
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x34], eax
jae 0x180007851
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
cmp qword [rsp + rax*8 + 0xa8], rcx
jne 0x18000784f
jmp 0x180007851
jmp 0x180007820
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x34], eax
jne 0x18000788c
cmp dword [rsp + 0xa0], 0x40
jae 0x18000788c
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 0x180007816
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xa0]
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 0x180007907
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 0x180007905
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800075d0
mov byte [rsp + 0x30], al
jmp 0x180007970
cmp dword [rsp + 0x44], 0
jge 0x180007970
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 0x180007954
call fcn.18001e720
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180007970
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 0x180007a6e
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 0x1800079ed
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 0x180007a4d
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 0x180007a41
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 0x180007a4d
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 0x180007a85
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800068b0
call fcn.1800066d0
jmp 0x1800077ee
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.18006a240
add rsp, 0x2c8
ret