Function at 0x1401fed6f
Capabilities:
Get socket status

Disassembly:
jmp 0x14025d5a0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xac8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xae8]
mov rax, qword [0x1406fa740]
xor rax, rbp
mov qword [rbp + 0xa88], rax
lea rcx, [0x1420070d9]
call fcn.140205606
mov qword [rbp + 0x6b8], 0
mov qword [rbp + 0x6d8], 0
mov qword [rbp + 0x6f8], 0
mov rax, qword [rbp + 0xab0]
cmp dword [rax + 8], 0xffffffff
je 0x14025d9e5
cmp dword [rbp + 0xac0], 0
jg 0x14025d643
mov dword [rbp + 0x718], 0
mov dword [rbp + 0x71c], 0
jmp 0x14025d691
cmp dword [rbp + 0xac0], 0x3e8
jg 0x14025d667
mov dword [rbp + 0x718], 0
mov eax, dword [rbp + 0xac0]
mov dword [rbp + 0x71c], eax
jmp 0x14025d691
mov eax, dword [rbp + 0xac0]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rbp + 0x718], eax
mov eax, dword [rbp + 0xac0]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
mov dword [rbp + 0x71c], eax
mov eax, dword [rbp + 0xab8]
and eax, 1
test eax, eax
je 0x14025d760
lea rax, [rbp + 0x30]
mov qword [rbp + 0x6b8], rax
mov rax, qword [rbp + 0x6b8]
mov dword [rax], 0
mov dword [rbp + 0x734], 0
jmp 0x14025d6d4
mov eax, dword [rbp + 0x734]
inc eax
mov dword [rbp + 0x734], eax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax]
cmp dword [rbp + 0x734], eax
jae 0x14025d708
mov eax, dword [rbp + 0x734]
mov rcx, qword [rbp + 0xab0]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rbp + 0x6b8]
cmp qword [rdx + rax*8 + 8], rcx
jne 0x14025d706
jmp 0x14025d708
jmp 0x14025d6c6
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax]
cmp dword [rbp + 0x734], eax
jne 0x14025d756
mov rax, qword [rbp + 0x6b8]
cmp dword [rax], 0x40
jae 0x14025d756
mov rax, qword [rbp + 0xab0]
movsxd rax, dword [rax + 8]
mov ecx, dword [rbp + 0x734]
mov rdx, qword [rbp + 0x6b8]
mov qword [rdx + rcx*8 + 8], rax
mov rax, qword [rbp + 0x6b8]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x6b8]
mov dword [rcx], eax
xor eax, eax
test eax, eax
jne 0x14025d6ba
mov eax, dword [rbp + 0xab8]
and eax, 2
test eax, eax
je 0x14025d832
lea rax, [rbp + 0x260]
mov qword [rbp + 0x6d8], rax
mov rax, qword [rbp + 0x6d8]
mov dword [rax], 0
mov dword [rbp + 0x754], 0
jmp 0x14025d7a6
mov eax, dword [rbp + 0x754]
inc eax
mov dword [rbp + 0x754], eax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax]
cmp dword [rbp + 0x754], eax
jae 0x14025d7da
mov eax, dword [rbp + 0x754]
mov rcx, qword [rbp + 0xab0]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rbp + 0x6d8]
cmp qword [rdx + rax*8 + 8], rcx
jne 0x14025d7d8
jmp 0x14025d7da
jmp 0x14025d798
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax]
cmp dword [rbp + 0x754], eax
jne 0x14025d828
mov rax, qword [rbp + 0x6d8]
cmp dword [rax], 0x40
jae 0x14025d828
mov rax, qword [rbp + 0xab0]
movsxd rax, dword [rax + 8]
mov ecx, dword [rbp + 0x754]
mov rdx, qword [rbp + 0x6d8]
mov qword [rdx + rcx*8 + 8], rax
mov rax, qword [rbp + 0x6d8]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x6d8]
mov dword [rcx], eax
xor eax, eax
test eax, eax
jne 0x14025d78c
mov eax, dword [rbp + 0xab8]
and eax, 4
test eax, eax
je 0x14025d904
lea rax, [rbp + 0x490]
mov qword [rbp + 0x6f8], rax
mov rax, qword [rbp + 0x6f8]
mov dword [rax], 0
mov dword [rbp + 0x774], 0
jmp 0x14025d878
mov eax, dword [rbp + 0x774]
inc eax
mov dword [rbp + 0x774], eax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax]
cmp dword [rbp + 0x774], eax
jae 0x14025d8ac
mov eax, dword [rbp + 0x774]
mov rcx, qword [rbp + 0xab0]
movsxd rcx, dword [rcx + 8]
mov rdx, qword [rbp + 0x6f8]
cmp qword [rdx + rax*8 + 8], rcx
jne 0x14025d8aa
jmp 0x14025d8ac
jmp 0x14025d86a
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax]
cmp dword [rbp + 0x774], eax
jne 0x14025d8fa
mov rax, qword [rbp + 0x6f8]
cmp dword [rax], 0x40
jae 0x14025d8fa
mov rax, qword [rbp + 0xab0]
movsxd rax, dword [rax + 8]
mov ecx, dword [rbp + 0x774]
mov rdx, qword [rbp + 0x6f8]
mov qword [rdx + rcx*8 + 8], rax
mov rax, qword [rbp + 0x6f8]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x6f8]
mov dword [rcx], eax
xor eax, eax
test eax, eax
jne 0x14025d85e
mov rax, qword [rbp + 0xab0]
mov eax, dword [rax + 8]
inc eax
lea rcx, [rbp + 0x718]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp + 0x6f8]
mov r8, qword [rbp + 0x6d8]
mov rdx, qword [rbp + 0x6b8]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x14025d9e0
mov dword [rbp + 4], 0
cmp qword [rbp + 0x6f8], 0
je 0x14025d97e
mov rax, qword [rbp + 0xab0]
movsxd rax, dword [rax + 8]
mov rdx, qword [rbp + 0x6f8]
mov rcx, rax
call fcn.1401f83d4
test eax, eax
je 0x14025d97e
mov eax, dword [rbp + 4]
or eax, 4
mov dword [rbp + 4], eax
cmp qword [rbp + 0x6b8], 0
je 0x14025d9af
mov rax, qword [rbp + 0xab0]
movsxd rax, dword [rax + 8]
mov rdx, qword [rbp + 0x6b8]
mov rcx, rax
call fcn.1401f83d4
test eax, eax
je 0x14025d9af
mov eax, dword [rbp + 4]
or eax, 1
mov dword [rbp + 4], eax
cmp qword [rbp + 0x6d8], 0
je 0x14025d9e0
mov rax, qword [rbp + 0xab0]
movsxd rax, dword [rax + 8]
mov rdx, qword [rbp + 0x6d8]
mov rcx, rax
call fcn.1401f83d4
test eax, eax
je 0x14025d9e0
mov eax, dword [rbp + 4]
or eax, 2
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
jmp 0x14025d9ea
mov eax, 0xffffffff
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140202ef1
mov rax, rdi
mov rcx, qword [rbp + 0xa88]
xor rcx, rbp
call fcn.1401fe6b7
lea rsp, [rbp + 0xa98]
pop rdi
pop rbp
ret