Function at 0x140026479
Capabilities:
Get socket status

Disassembly:
jmp 0x1400623a0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x8818
call fcn.1400263c0
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x207a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8838]
mov rax, qword [0x14008e148]
xor rax, rbp
mov qword [rbp + 0x87d0], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
mov rax, qword [rbp + 0x8800]
mov rax, qword [rax + 0x10]
mov qword [rbp + 0x80a8], rax
mov dword [rbp + 0x50], 0
mov dword [rbp + 0x4080], 0
mov dword [rbp + 0x8104], 0
jmp 0x140062430
mov eax, dword [rbp + 0x8104]
inc eax
mov dword [rbp + 0x8104], eax
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8104], eax
jae 0x140062457
mov eax, dword [rbp + 0x8104]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx + 0x10]
cmp qword [rbp + rax*8 + 0x58], rcx
jne 0x140062455
jmp 0x140062457
jmp 0x140062422
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8104], eax
jne 0x140062489
cmp dword [rbp + 0x50], 0x800
jae 0x140062489
mov eax, dword [rbp + 0x8104]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx + 0x10]
mov qword [rbp + rax*8 + 0x58], rcx
mov eax, dword [rbp + 0x50]
inc eax
mov dword [rbp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x140062416
mov rax, qword [rbp + 0x8800]
mov rax, qword [rax]
mov qword [rbp + 8], rax
jmp 0x1400624ae
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0xa0]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400625ec
mov rax, qword [rbp + 8]
cmp dword [rax], 2
jl 0x140062554
mov dword [rbp + 0x8124], 0
jmp 0x1400624e0
mov eax, dword [rbp + 0x8124]
inc eax
mov dword [rbp + 0x8124], eax
mov eax, dword [rbp + 0x4080]
cmp dword [rbp + 0x8124], eax
jae 0x14006250a
mov eax, dword [rbp + 0x8124]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
cmp qword [rbp + rax*8 + 0x4088], rcx
jne 0x140062508
jmp 0x14006250a
jmp 0x1400624d2
mov eax, dword [rbp + 0x4080]
cmp dword [rbp + 0x8124], eax
jne 0x140062548
cmp dword [rbp + 0x4080], 0x800
jae 0x140062548
mov eax, dword [rbp + 0x8124]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
mov qword [rbp + rax*8 + 0x4088], rcx
mov eax, dword [rbp + 0x4080]
inc eax
mov dword [rbp + 0x4080], eax
xor eax, eax
test eax, eax
jne 0x1400624c6
jmp 0x1400625c7
mov dword [rbp + 0x8144], 0
jmp 0x14006256e
mov eax, dword [rbp + 0x8144]
inc eax
mov dword [rbp + 0x8144], eax
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8144], eax
jae 0x140062592
mov eax, dword [rbp + 0x8144]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
cmp qword [rbp + rax*8 + 0x58], rcx
jne 0x140062590
jmp 0x140062592
jmp 0x140062560
mov eax, dword [rbp + 0x50]
cmp dword [rbp + 0x8144], eax
jne 0x1400625c1
cmp dword [rbp + 0x50], 0x800
jae 0x1400625c1
mov eax, dword [rbp + 0x8144]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x60]
mov qword [rbp + rax*8 + 0x58], rcx
mov eax, dword [rbp + 0x50]
inc eax
mov dword [rbp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x140062554
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x80a8]
cmp qword [rax + 0x60], rcx
jbe 0x1400625e7
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x80a8], rax
jmp 0x14006249f
mov eax, dword [rbp + 0x8808]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rbp + 0x80c8], eax
mov eax, dword [rbp + 0x8808]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rbp + 0x80cc], eax
mov rax, qword [rbp + 0x80a8]
inc rax
lea rcx, [rbp + 0x80c8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x4080]
lea rdx, [rbp + 0x50]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
call fcn.140063ef0
mov rcx, qword [rbp + 0x8800]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0x8800]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x1400627f4
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x60]
call fcn.140026064
test eax, eax
je 0x1400626b6
mov rcx, qword [rbp + 8]
call fcn.140063280
mov dword [rbp + 0x80e4], eax
cmp dword [rbp + 0x80e4], 0
je 0x1400626b6
mov eax, dword [rbp + 0x80e4]
jmp 0x1400628c8
lea rdx, [rbp + 0x4080]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x60]
call fcn.140026064
test eax, eax
je 0x1400626f1
mov rcx, qword [rbp + 8]
call fcn.140063700
mov dword [rbp + 0x80e4], eax
cmp dword [rbp + 0x80e4], 0
je 0x1400626f1
mov eax, dword [rbp + 0x80e4]
jmp 0x1400628c8
mov rax, qword [rbp + 0x8800]
cmp qword [rax + 0x28], 0
je 0x14006273d
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x48]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov qword [rbp + 0x87c8], rax
mov rcx, qword [rbp + 0x8800]
mov rax, qword [rcx + 0x28]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x87c8]
cmp rcx, rax
jg 0x1400627ac
mov rax, qword [rbp + 0x8800]
cmp qword [rax + 0x30], 0
je 0x140062789
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x40]
mov rax, qword [rax + 0x20]
sub rax, rcx
mov qword [rbp + 0x87c8], rax
mov rcx, qword [rbp + 0x8800]
mov rax, qword [rcx + 0x30]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x87c8]
cmp rcx, rax
jg 0x1400627ac
mov rax, qword [rbp + 0x8800]
cmp qword [rax + 0x38], 0
je 0x1400627b5
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx + 0x38]
cmp qword [rax + 0x70], rcx
jb 0x1400627b5
mov rcx, qword [rbp + 8]
call fcn.140062de0
mov rax, qword [rbp + 8]
cmp dword [rax], 6
jne 0x1400627de
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0xa0]
mov qword [rax], rcx
mov rcx, qword [rbp + 8]
call fcn.140062e30
jmp 0x140062665
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
add rax, 0xa0
mov qword [rbp + 0x28], rax
jmp 0x140062665
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rax + 0x10]
call fcn.140026064
test eax, eax
je 0x1400628c6
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x81b8], rax
cmp qword [rbp + 0x81b8], 0xffffffffffffffff
je 0x1400628c6
mov rdx, qword [rbp + 0x81b8]
mov rcx, qword [rbp + 0x8800]
call fcn.140063150
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14006286d
mov rcx, qword [rbp + 0x81b8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xfffffffe
jmp 0x1400628c8
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x8800]
mov rcx, qword [rcx]
mov qword [rax + 0xa0], rcx
mov rax, qword [rbp + 0x8800]
mov rcx, qword [rbp + 8]
mov qword [rax], rcx
mov dword [rbp + 0x8168], 0
lea rdx, [rbp + 0x8168]
mov rcx, qword [rbp + 8]
call fcn.140062f70
mov dword [rbp + 0x80e4], eax
cmp dword [rbp + 0x80e4], 0
je 0x1400628c1
mov eax, dword [rbp + 0x80e4]
jmp 0x1400628c8
jmp 0x140062810
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140027171
mov rax, rdi
mov rcx, qword [rbp + 0x87d0]
xor rcx, rbp
call fcn.140026a1e
lea rsp, [rbp + 0x87e8]
pop rdi
pop rbp
ret