Function at 0x1400c0dd0
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
push rsi
push rdi
sub rsp, 0x728
mov rax, qword [0x140158280]
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 + 0x758], 0x7fffffff
jl 0x1400c0e38
mov qword [rsp + 0x758], 0x7fffffff
cmp qword [rsp + 0x740], 0xffffffffffffffff
jne 0x1400c0e72
cmp qword [rsp + 0x748], 0xffffffffffffffff
jne 0x1400c0e72
cmp qword [rsp + 0x750], 0xffffffffffffffff
jne 0x1400c0e72
mov ecx, dword [rsp + 0x758]
call fcn.1400c1d20
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x1400c1529
cmp qword [rsp + 0x758], 0
jle 0x1400c0eaa
mov eax, dword [rsp + 0x758]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0xc0]
call fcn.1400c39a0
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0xe0], 0
mov qword [rsp + 0x58], 0xffffffffffffffff
mov dword [rsp + 0x2f0], 0
cmp qword [rsp + 0x740], 0xffffffffffffffff
je 0x1400c0fe3
xor eax, eax
test eax, eax
jne 0x1400c0ed8
mov dword [rsp + 0x4c], 0
jmp 0x1400c0ef2
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x4c], eax
jae 0x1400c0f19
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x740]
cmp qword [rsp + rax*8 + 0x2f8], rcx
jne 0x1400c0f17
jmp 0x1400c0f19
jmp 0x1400c0ee8
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x4c], eax
jne 0x1400c0f54
cmp dword [rsp + 0x2f0], 0x40
jae 0x1400c0f54
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x740]
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 0x1400c0ede
mov dword [rsp + 0x48], 0
jmp 0x1400c0f6e
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jae 0x1400c0f95
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x740]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x1400c0f93
jmp 0x1400c0f95
jmp 0x1400c0f64
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jne 0x1400c0fd0
cmp dword [rsp + 0xe0], 0x40
jae 0x1400c0fd0
mov eax, dword [rsp + 0x48]
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 0x1400c0f5a
mov rax, qword [rsp + 0x740]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x748], 0xffffffffffffffff
je 0x1400c110c
xor eax, eax
test eax, eax
jne 0x1400c0ff2
mov dword [rsp + 0x44], 0
jmp 0x1400c100c
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x44], eax
jae 0x1400c1033
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x748]
cmp qword [rsp + rax*8 + 0x2f8], rcx
jne 0x1400c1031
jmp 0x1400c1033
jmp 0x1400c1002
mov eax, dword [rsp + 0x2f0]
cmp dword [rsp + 0x44], eax
jne 0x1400c106e
cmp dword [rsp + 0x2f0], 0x40
jae 0x1400c106e
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x748]
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 0x1400c0ff8
mov dword [rsp + 0x38], 0
jmp 0x1400c1088
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x38], eax
jae 0x1400c10af
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x748]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x1400c10ad
jmp 0x1400c10af
jmp 0x1400c107e
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x38], eax
jne 0x1400c10ea
cmp dword [rsp + 0xe0], 0x40
jae 0x1400c10ea
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x748]
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 0x1400c1074
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x748], rax
jbe 0x1400c110c
mov rax, qword [rsp + 0x748]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x500], 0
cmp qword [rsp + 0x750], 0xffffffffffffffff
je 0x1400c1240
xor eax, eax
test eax, eax
jne 0x1400c1126
mov dword [rsp + 0x3c], 0
jmp 0x1400c1140
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x500]
cmp dword [rsp + 0x3c], eax
jae 0x1400c1167
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x750]
cmp qword [rsp + rax*8 + 0x508], rcx
jne 0x1400c1165
jmp 0x1400c1167
jmp 0x1400c1136
mov eax, dword [rsp + 0x500]
cmp dword [rsp + 0x3c], eax
jne 0x1400c11a2
cmp dword [rsp + 0x500], 0x40
jae 0x1400c11a2
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x750]
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 0x1400c112c
mov dword [rsp + 0x40], 0
jmp 0x1400c11bc
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x40], eax
jae 0x1400c11e3
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x750]
cmp qword [rsp + rax*8 + 0xe8], rcx
jne 0x1400c11e1
jmp 0x1400c11e3
jmp 0x1400c11b2
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x40], eax
jne 0x1400c121e
cmp dword [rsp + 0xe0], 0x40
jae 0x1400c121e
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x750]
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 0x1400c11a8
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x750], rax
jbe 0x1400c1240
mov rax, qword [rsp + 0x750]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x758], 0
jge 0x1400c1259
mov qword [rsp + 0x80], 0
jmp 0x1400c1266
lea rax, [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x758], 0
jle 0x1400c12ab
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 0x1400c12c6
cmp qword [rsp + 0x758], 0
jne 0x1400c12c6
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x500], 0
je 0x1400c12df
lea rax, [rsp + 0x500]
mov qword [rsp + 0x70], rax
jmp 0x1400c12e8
mov qword [rsp + 0x70], 0
cmp dword [rsp + 0x2f0], 0
je 0x1400c1301
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x78], rax
jmp 0x1400c130a
mov qword [rsp + 0x78], 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 + 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 0x1400c1347
jmp 0x1400c13ff
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400c1370
cmp dword [0x140168c94], 0
jne 0x1400c136b
cmp dword [rsp + 0x60], 0x2714
je 0x1400c1370
jmp 0x1400c13ff
cmp qword [rsp + 0x758], 0
jle 0x1400c13f4
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0xd0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xb0]
call fcn.1400c39a0
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa0]
call fcn.1400c3940
cdqe
mov rcx, qword [rsp + 0x758]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jg 0x1400c13f4
mov dword [rsp + 0x34], 0
jmp 0x1400c13ff
cmp dword [rsp + 0x34], 0xffffffff
je 0x1400c1276
cmp dword [rsp + 0x34], 0
jge 0x1400c1410
mov eax, 0xffffffff
jmp 0x1400c1529
cmp dword [rsp + 0x34], 0
jne 0x1400c141e
xor eax, eax
jmp 0x1400c1529
mov dword [rsp + 0x30], 0
cmp qword [rsp + 0x740], 0xffffffffffffffff
je 0x1400c147b
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x740]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400c1456
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x740]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400c147b
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x748], 0xffffffffffffffff
je 0x1400c14d0
lea rdx, [rsp + 0x2f0]
mov rcx, qword [rsp + 0x748]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400c14ab
mov eax, dword [rsp + 0x30]
or eax, 8
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x748]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400c14d0
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x750], 0xffffffffffffffff
je 0x1400c1525
lea rdx, [rsp + 0x500]
mov rcx, qword [rsp + 0x750]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400c1500
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x750]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400c1525
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.14006ed70
add rsp, 0x728
pop rdi
pop rsi
ret