Function at 0x140032808
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x728
mov rax, qword [0x1400f2078]
xor rax, rsp
mov qword [rsp + 0x710], rax
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0x50], 0
cmp qword [rsp + 0x748], 0x7fffffff
jl 0x14003286e
mov qword [rsp + 0x748], 0x7fffffff
cmp qword [rsp + 0x730], 0xffffffffffffffff
jne 0x1400328a8
cmp qword [rsp + 0x738], 0xffffffffffffffff
jne 0x1400328a8
cmp qword [rsp + 0x740], 0xffffffffffffffff
jne 0x1400328a8
mov ecx, dword [rsp + 0x748]
call fcn.1400336f8
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x140032f38
cmp qword [rsp + 0x748], 0
jle 0x1400328d7
mov eax, dword [rsp + 0x748]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xb0]
call fcn.1400231d8
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0xd0], xmm0
mov dword [rsp + 0xe0], 0
mov qword [rsp + 0x58], 0xffffffffffffffff
mov dword [rsp + 0x2f0], 0
cmp qword [rsp + 0x730], 0xffffffffffffffff
je 0x140032a10
xor eax, eax
test eax, eax
jne 0x140032905
mov dword [rsp + 0x38], 0
jmp 0x14003291f
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x38], eax
jae 0x140032946
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x730]
cmp qword [rsp + rax*8 + 0x2f8], rcx
jne 0x140032944
jmp 0x140032946
jmp 0x140032915
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x38], eax
jne 0x140032981
cmp dword [rsp + 0x2f0], 0x40
jae 0x140032981
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x730]
mov qword [rsp + rax*8 + 0x2f8], rcx
mov eax, dword [rsp + 0x2f0]
inc eax
mov dword [rsp + 0x2f0], eax
xor eax, eax
test eax, eax
jne 0x14003290b
mov dword [rsp + 0x3c], 0
jmp 0x14003299b
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x3c], eax
jae 0x1400329c2
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x730]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x1400329c0
jmp 0x1400329c2
jmp 0x140032991
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x3c], eax
jne 0x1400329fd
cmp dword [rsp + 0xe0], 0x40
jae 0x1400329fd
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x730]
mov qword [rsp + rax*8 + 0xe8], rcx
mov eax, dword [rsp + 0xe0]
inc eax
mov dword [rsp + 0xe0], eax
xor eax, eax
test eax, eax
jne 0x140032987
mov rax, qword [rsp + 0x730]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x738], 0xffffffffffffffff
je 0x140032b39
xor eax, eax
test eax, eax
jne 0x140032a1f
mov dword [rsp + 0x40], 0
jmp 0x140032a39
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x40], eax
jae 0x140032a60
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x738]
cmp qword [rsp + rax*8 + 0x2f8], rcx
jne 0x140032a5e
jmp 0x140032a60
jmp 0x140032a2f
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x40], eax
jne 0x140032a9b
cmp dword [rsp + 0x2f0], 0x40
jae 0x140032a9b
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x738]
mov qword [rsp + rax*8 + 0x2f8], rcx
mov eax, dword [rsp + 0x2f0]
inc eax
mov dword [rsp + 0x2f0], eax
xor eax, eax
test eax, eax
jne 0x140032a25
mov dword [rsp + 0x44], 0
jmp 0x140032ab5
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x44], eax
jae 0x140032adc
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x738]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x140032ada
jmp 0x140032adc
jmp 0x140032aab
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x44], eax
jne 0x140032b17
cmp dword [rsp + 0xe0], 0x40
jae 0x140032b17
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x738]
mov qword [rsp + rax*8 + 0xe8], rcx
mov eax, dword [rsp + 0xe0]
inc eax
mov dword [rsp + 0xe0], eax
xor eax, eax
test eax, eax
jne 0x140032aa1
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x738], rax
jbe 0x140032b39
mov rax, qword [rsp + 0x738]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x500], 0
cmp qword [rsp + 0x740], 0xffffffffffffffff
je 0x140032c6d
xor eax, eax
test eax, eax
jne 0x140032b53
mov dword [rsp + 0x48], 0
jmp 0x140032b6d
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x500]
cmp dword [rsp + 0x48], eax
jae 0x140032b94
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x740]
cmp qword [rsp + rax*8 + 0x508], rcx
jne 0x140032b92
jmp 0x140032b94
jmp 0x140032b63
mov eax, dword [rsp + 0x500]
cmp dword [rsp + 0x48], eax
jne 0x140032bcf
cmp dword [rsp + 0x500], 0x40
jae 0x140032bcf
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x740]
mov qword [rsp + rax*8 + 0x508], rcx
mov eax, dword [rsp + 0x500]
inc eax
mov dword [rsp + 0x500], eax
xor eax, eax
test eax, eax
jne 0x140032b59
mov dword [rsp + 0x4c], 0
jmp 0x140032be9
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x4c], eax
jae 0x140032c10
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x740]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x140032c0e
jmp 0x140032c10
jmp 0x140032bdf
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x4c], eax
jne 0x140032c4b
cmp dword [rsp + 0xe0], 0x40
jae 0x140032c4b
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x740]
mov qword [rsp + rax*8 + 0xe8], rcx
mov eax, dword [rsp + 0xe0]
inc eax
mov dword [rsp + 0xe0], eax
xor eax, eax
test eax, eax
jne 0x140032bd5
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x740], rax
jbe 0x140032c6d
mov rax, qword [rsp + 0x740]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x748], 0
jge 0x140032c83
mov qword [rsp + 0x70], 0
jmp 0x140032c8d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x748], 0
jle 0x140032ccf
mov eax, dword [rsp + 0x50]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x50]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x6c], eax
jmp 0x140032cea
cmp qword [rsp + 0x748], 0
jne 0x140032cea
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x500], 0
je 0x140032d03
lea rax, [rsp + 0x500]
mov qword [rsp + 0x78], rax
jmp 0x140032d0c
mov qword [rsp + 0x78], 0
cmp dword [rsp + 0x2f0], 0
je 0x140032d28
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x80], rax
jmp 0x140032d34
mov qword [rsp + 0x80], 0
mov eax, dword [rsp + 0x58]
inc eax
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xe0]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
je 0x140032d74
jmp 0x140032e14
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140032d9a
cmp dword [0x1400f3480], 0
jne 0x140032d98
cmp dword [rsp + 0x60], 0x2714
je 0x140032d9a
jmp 0x140032e14
cmp qword [rsp + 0x748], 0
jle 0x140032e09
movups xmm0, xmmword [rsp + 0xd0]
movdqu xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0xc0]
call fcn.1400231d8
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0xa0], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa0]
call fcn.140023258
cdqe
mov rcx, qword [rsp + 0x748]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jg 0x140032e09
mov dword [rsp + 0x34], 0
jmp 0x140032e14
cmp dword [rsp + 0x34], 0xffffffff
je 0x140032c9a
cmp dword [rsp + 0x34], 0
jge 0x140032e25
mov eax, 0xffffffff
jmp 0x140032f38
cmp dword [rsp + 0x34], 0
jne 0x140032e33
xor eax, eax
jmp 0x140032f38
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x730], 0xffffffffffffffff
je 0x140032e8e
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x730]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140032e6a
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x730]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140032e8e
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x738], 0xffffffffffffffff
je 0x140032ee1
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x738]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140032ebd
mov eax, dword [rsp + 0x30]
or eax, 8
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x738]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140032ee1
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x740], 0xffffffffffffffff
je 0x140032f34
lea rdx, [rsp + 0x500]
mov rcx, qword [rsp + 0x740]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140032f10
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x740]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140032f34
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.14008e520
add rsp, 0x728
ret