Function at 0x140032f58
Capabilities:
Get socket status

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
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 byte [rsp + 0x38], 1
mov dword [rsp + 0x48], 0
cmp qword [rsp + 0x730], 0
je 0x140032fef
mov dword [rsp + 0x30], 0
jmp 0x140032fc2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x738]
cmp dword [rsp + 0x30], eax
jae 0x140032fef
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
cmp qword [rcx + rax], 0xffffffffffffffff
je 0x140032fed
mov byte [rsp + 0x38], 0
jmp 0x140032fef
jmp 0x140032fb8
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140033011
mov ecx, dword [rsp + 0x740]
call fcn.1400336f8
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x1400336d7
cmp dword [rsp + 0x740], 0
jle 0x14003303f
mov eax, dword [rsp + 0x740]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0xb0]
call fcn.1400231d8
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0xd0], xmm0
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0x2f0], 0
mov dword [rsp + 0x500], 0
mov qword [rsp + 0x58], 0xffffffffffffffff
mov dword [rsp + 0x30], 0
jmp 0x14003307d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x738]
cmp dword [rsp + 0x30], eax
jae 0x14003334b
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
xor ecx, ecx
mov rdx, qword [rsp + 0x730]
mov word [rdx + rax + 0xa], cx
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
cmp qword [rcx + rax], 0xffffffffffffffff
jne 0x1400330be
jmp 0x140033073
xor eax, eax
test eax, eax
jne 0x1400330be
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 8]
and eax, 0x710
test eax, eax
je 0x140033346
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
mov rdx, qword [rsp + 0x58]
cmp qword [rcx + rax], rdx
jbe 0x14003311a
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 8]
and eax, 0x300
test eax, eax
je 0x1400331d4
mov dword [rsp + 0x3c], 0
jmp 0x140033150
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x3c], eax
jae 0x140033183
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x730]
mov rcx, qword [rdx + rcx]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x140033181
jmp 0x140033183
jmp 0x140033146
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x3c], eax
jne 0x1400331ca
cmp dword [rsp + 0xe0], 0x40
jae 0x1400331ca
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x730]
mov rax, qword [rdx + rax]
mov qword [rsp + rcx*8 + 0xe8], rax
mov eax, dword [rsp + 0xe0]
inc eax
mov dword [rsp + 0xe0], eax
xor eax, eax
test eax, eax
jne 0x14003313c
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 8]
and eax, 0x10
test eax, eax
je 0x14003328c
mov dword [rsp + 0x40], 0
jmp 0x140033208
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x40], eax
jae 0x14003323b
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x730]
mov rcx, qword [rdx + rcx]
cmp qword [rsp + rax*8 + 0x2f8], rcx
jne 0x140033239
jmp 0x14003323b
jmp 0x1400331fe
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x40], eax
jne 0x140033282
cmp dword [rsp + 0x2f0], 0x40
jae 0x140033282
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x730]
mov rax, qword [rdx + rax]
mov qword [rsp + rcx*8 + 0x2f8], rax
mov eax, dword [rsp + 0x2f0]
inc eax
mov dword [rsp + 0x2f0], eax
xor eax, eax
test eax, eax
jne 0x1400331f4
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 8]
and eax, 0x600
test eax, eax
je 0x140033346
mov dword [rsp + 0x44], 0
jmp 0x1400332c2
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x500]
cmp dword [rsp + 0x44], eax
jae 0x1400332f5
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x730]
mov rcx, qword [rdx + rcx]
cmp qword [rsp + rax*8 + 0x508], rcx
jne 0x1400332f3
jmp 0x1400332f5
jmp 0x1400332b8
mov eax, dword [rsp + 0x500]
cmp dword [rsp + 0x44], eax
jne 0x14003333c
cmp dword [rsp + 0x500], 0x40
jae 0x14003333c
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x730]
mov rax, qword [rdx + rax]
mov qword [rsp + rcx*8 + 0x508], rax
mov eax, dword [rsp + 0x500]
inc eax
mov dword [rsp + 0x500], eax
xor eax, eax
test eax, eax
jne 0x1400332ae
jmp 0x140033073
cmp dword [rsp + 0xe0], 0
jne 0x140033382
cmp dword [rsp + 0x2f0], 0
jne 0x140033382
cmp dword [rsp + 0x500], 0
jne 0x140033382
mov ecx, dword [rsp + 0x740]
call fcn.1400336f8
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x1400336d7
cmp dword [rsp + 0x740], 0
jge 0x140033397
mov qword [rsp + 0x60], 0
jmp 0x1400333a1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0x740], 0
jle 0x1400333e2
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x54], eax
jmp 0x1400333fc
cmp dword [rsp + 0x740], 0
jne 0x1400333fc
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x500], 0
je 0x140033415
lea rax, [rsp + 0x500]
mov qword [rsp + 0x68], rax
jmp 0x14003341e
mov qword [rsp + 0x68], 0
cmp dword [rsp + 0x2f0], 0
je 0x140033437
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x70], rax
jmp 0x140033440
mov qword [rsp + 0x70], 0
cmp dword [rsp + 0xe0], 0
je 0x140033459
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x78], rax
jmp 0x140033462
mov qword [rsp + 0x78], 0
mov eax, dword [rsp + 0x58]
inc eax
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
je 0x14003349c
jmp 0x140033536
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x1400334c2
cmp dword [0x1400f3480], 0
jne 0x1400334c0
cmp dword [rsp + 0x4c], 0x2714
je 0x1400334c2
jmp 0x140033536
cmp dword [rsp + 0x740], 0
jle 0x14003352b
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
mov ecx, dword [rsp + 0x740]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jg 0x14003352b
mov dword [rsp + 0x34], 0
jmp 0x140033536
cmp dword [rsp + 0x34], 0xffffffff
je 0x1400333ae
cmp dword [rsp + 0x34], 0
jge 0x140033547
mov eax, 0xffffffff
jmp 0x1400336d7
cmp dword [rsp + 0x34], 0
jne 0x140033555
xor eax, eax
jmp 0x1400336d7
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
jmp 0x140033571
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x738]
cmp dword [rsp + 0x30], eax
jae 0x1400336d3
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
xor ecx, ecx
mov rdx, qword [rsp + 0x730]
mov word [rdx + rax + 0xa], cx
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
cmp qword [rcx + rax], 0xffffffffffffffff
jne 0x1400335b2
jmp 0x140033567
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x730]
mov rcx, qword [rcx + rax]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140033606
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 0xa]
or eax, 0x300
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x730]
mov word [rdx + rcx + 0xa], ax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x730]
mov rcx, qword [rcx + rax]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140033658
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 0xa]
or eax, 0x10
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x730]
mov word [rdx + rcx + 0xa], ax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
lea rdx, [rsp + 0x500]
mov rcx, qword [rsp + 0x730]
mov rcx, qword [rcx + rax]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400336ab
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 0xa]
bts eax, 0xa
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x730]
mov word [rdx + rcx + 0xa], ax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x730]
movsx eax, word [rcx + rax + 0xa]
test eax, eax
je 0x1400336ce
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x140033567
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.14008e520
add rsp, 0x728
ret