Function at 0x14006a550
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x770], rbx
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov rbx, rdx
mov qword [rbp - 0x60], rdx
mov r13, rcx
xor edi, edi
mov dword [rbp + 0x1f0], edi
mov dword [rbp + 0x400], edi
mov dword [rbp - 0x20], edi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
xor r8d, r8d
xor edx, edx
call fcn.14000e440
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
xor r8d, r8d
xor edx, edx
call fcn.14000e440
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
xor r8d, r8d
xor edx, edx
call fcn.14000e440
mov qword [rbp - 0x78], rax
movzx eax, byte [r13 + 8]
test al, al
jne 0x14006af57
lea rax, [r13 + 0x80]
mov qword [rsp + 0x50], rax
mov rdx, rbx
mov rcx, rax
call fcn.140043780
test al, al
je 0x14006a61f
mov dil, 1
jmp 0x14006af57
mov qword [rsp + 0x78], rdi
lea r15, [r13 + 0xf0]
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.14006b030
test al, al
je 0x14006a65c
nop dword [rax]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.14006b030
test al, al
jne 0x14006a640
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14006a67c
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [rsp + 0x40], rdi
mov r12, rdi
lea rax, [r13 + 0x10]
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140043780
lea r9, [0x1401336b8]
mov rsi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
test al, al
je 0x14006a96f
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14006a712
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
test al, al
je 0x14006a705
mov rbx, qword [rbp - 0x78]
lea r9, [rsp + 0x40]
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.140043e10
movabs rcx, 0xaaaaaaaaaaaaaa9
mov rdx, qword [rbp - 0x70]
sub rcx, rdx
cmp rcx, 1
jb 0x14006a948
inc rdx
mov qword [rbp - 0x70], rdx
jmp 0x14006a8eb
lea rax, [rbx + 0x10]
lea r9, [0x1401336b8]
jmp 0x14006a719
lea rax, [0x140139e9c]
cmp dword [rax], 0
jne 0x14006a800
xor edx, edx
mov r8d, dword [rbp + 0x1f0]
test r8d, r8d
je 0x14006a751
lea rcx, [rsp + 0x40]
call fcn.140065c90
mov rcx, qword [rax]
nop dword [rax]
cmp qword [rbp + rdx*8 + 0x1f8], rcx
je 0x14006a751
inc edx
cmp edx, r8d
jb 0x14006a740
cmp edx, r8d
jne 0x14006a779
cmp r8d, 0x40
jae 0x14006a779
test rbx, rbx
lea rax, [rbx + 0x18]
jne 0x14006a768
mov rax, r9
mov rax, qword [rax]
mov qword [rbp + rdx*8 + 0x1f8], rax
inc dword [rbp + 0x1f0]
xor edx, edx
mov r8d, dword [rbp - 0x20]
test r8d, r8d
je 0x14006a79f
lea rcx, [rsp + 0x40]
call fcn.140065c90
mov rcx, qword [rax]
cmp qword [rbp + rdx*8 - 0x18], rcx
je 0x14006a79f
inc edx
cmp edx, r8d
jb 0x14006a791
cmp edx, r8d
jne 0x14006a7c1
cmp r8d, 0x40
jae 0x14006a7c1
test rbx, rbx
lea rax, [rbx + 0x18]
jne 0x14006a7b6
mov rax, r9
mov rax, qword [rax]
mov qword [rbp + rdx*8 - 0x18], rax
inc dword [rbp - 0x20]
mov rbx, qword [rsp + 0x68]
lea r9, [rsp + 0x40]
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.140043e10
movabs rcx, 0xaaaaaaaaaaaaaa9
mov rsi, qword [rsp + 0x70]
sub rcx, rsi
cmp rcx, 1
jb 0x14006a955
inc rsi
mov qword [rsp + 0x70], rsi
jmp 0x14006a8eb
test rbx, rbx
lea rax, [rbx + 0x10]
jne 0x14006a810
lea rax, [0x140139e9c]
cmp dword [rax], 1
jne 0x14006a8fb
xor edx, edx
mov r8d, dword [rbp + 0x400]
test r8d, r8d
je 0x14006a845
lea rcx, [rsp + 0x40]
call fcn.140065c90
mov rcx, qword [rax]
cmp qword [rbp + rdx*8 + 0x408], rcx
je 0x14006a845
inc edx
cmp edx, r8d
jb 0x14006a834
cmp edx, r8d
jne 0x14006a86d
cmp r8d, 0x40
jae 0x14006a86d
test rbx, rbx
lea rax, [rbx + 0x18]
jne 0x14006a85c
mov rax, r9
mov rax, qword [rax]
mov qword [rbp + rdx*8 + 0x408], rax
inc dword [rbp + 0x400]
xor edx, edx
mov r8d, dword [rbp - 0x20]
test r8d, r8d
je 0x14006a893
lea rcx, [rsp + 0x40]
call fcn.140065c90
mov rcx, qword [rax]
cmp qword [rbp + rdx*8 - 0x18], rcx
je 0x14006a893
inc edx
cmp edx, r8d
jb 0x14006a885
cmp edx, r8d
jne 0x14006a8b5
cmp r8d, 0x40
jae 0x14006a8b5
test rbx, rbx
lea rax, [rbx + 0x18]
jne 0x14006a8aa
mov rax, r9
mov rax, qword [rax]
mov qword [rbp + rdx*8 - 0x18], rax
inc dword [rbp - 0x20]
mov rbx, qword [rsp + 0x58]
lea r9, [rsp + 0x40]
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.140043e10
movabs rcx, 0xaaaaaaaaaaaaaa9
mov r14, qword [rsp + 0x60]
sub rcx, r14
cmp rcx, 1
jb 0x14006a962
inc r14
mov qword [rsp + 0x60], r14
mov qword [rbx + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
lea rax, [rbx + 0x18]
jne 0x14006a90b
lea rax, [0x1401336b8]
cmp r12, qword [rax]
jae 0x14006a923
test rbx, rbx
lea rax, [rbx + 0x18]
jne 0x14006a920
lea rax, [0x1401336b8]
mov r12, qword [rax]
inc edi
cmp edi, 0x3f
je 0x14006a974
lea rdx, [rsp + 0x40]
lea rcx, [r13 + 0x10]
call fcn.140043780
test al, al
je 0x14006a96f
lea r9, [0x1401336b8]
jmp 0x14006a6b2
lea rcx, str.list_T__too_long
call fcn.14009b264
int3
lea rcx, str.list_T__too_long
call fcn.14009b264
int3
lea rcx, str.list_T__too_long
call fcn.14009b264
int3
mov rbx, qword [rsp + 0x40]
mov qword [rbp - 0x40], r15
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
nop
mov rax, qword [r15 + 0x38]
cmp qword [r15 + 0x30], rax
jne 0x14006a99a
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
or edi, 0xffffffff
jmp 0x14006a9df
mov rax, qword [0x140139968]
test rax, rax
jne 0x14006a9b1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
jmp 0x14006a9b6
call rax
mov r8, rax
mov rcx, qword [r15 + 0x30]
mov qword [rbp - 0x38], rcx
mov rdx, qword [rcx]
cmp r8, qword [rdx + 0x10]
jbe 0x14006a9cb
xor edi, edi
jmp 0x14006a9d5
mov qword [rbp - 0x30], rcx
mov edi, dword [rdx + 0x10]
sub edi, r8d
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test rsi, rsi
jne 0x14006aa69
test r14, r14
jne 0x14006aa69
mov rcx, qword [r13 + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x14006aa0f
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r13 + 0x160], 0xffffffffffffffff
mov rcx, qword [r13 + 0x178]
cmp edi, 0xffffffff
jne 0x14006aa20
or edx, 0xffffffff
jmp 0x14006aa22
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, byte [r13 + 8]
test al, al
je 0x14006aa39
xor dil, dil
jmp 0x14006af43
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rdi]
mov r14, qword [rsp + 0x50]
cmp rbx, rdi
je 0x14006af34
nop
lea rdx, [rbx + 0x10]
mov rcx, r14
call fcn.140042b80
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14006aa50
jmp 0x14006af34
xor r15d, r15d
mov qword [rbp - 0x58], r15
lea rsi, [rbp - 0x58]
cmp edi, 0xffffffff
jne 0x14006aa7e
mov esi, r15d
jmp 0x14006aa9a
mov edx, 0x3e8
mov ecx, edi
call fcn.1400b42bc
mov dword [rbp - 0x58], eax
shr rax, 0x20
imul ecx, eax, 0x3e8
mov dword [rbp - 0x54], ecx
cmp qword [r13 + 0x160], 0xffffffffffffffff
jne 0x14006aaef
lea rcx, [r13 + 0x158]
call fcn.140092650
test al, al
jne 0x14006aaef
lea rax, str._select_tracker__udp_loopback_create_failed
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xfb
lea r9, str.select_tracker_class_CTCPTask_::GetComeleted
lea r8, str.c:workgitlab_runner_buildszyayumz_0_sunloginclient_sunloginclientincludesonetlibsphstream_select_tracker.h
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
xor dil, dil
jmp 0x14006af48
mov rdi, qword [r13 + 0x160]
mov ecx, r15d
mov edx, dword [rbp + 0x1f0]
test edx, edx
je 0x14006ab15
mov eax, ecx
cmp qword [rbp + rax*8 + 0x1f8], rdi
je 0x14006ab15
inc ecx
cmp ecx, edx
jb 0x14006ab03
cmp ecx, edx
jne 0x14006ab2e
cmp edx, 0x40
jae 0x14006ab2e
mov eax, ecx
mov qword [rbp + rax*8 + 0x1f8], rdi
inc dword [rbp + 0x1f0]
mov ecx, r15d
mov edx, dword [rbp - 0x20]
test edx, edx
je 0x14006ab4f
nop dword [rax + rax]
mov eax, ecx
cmp qword [rbp + rax*8 - 0x18], rdi
je 0x14006ab4f
inc ecx
cmp ecx, edx
jb 0x14006ab40
cmp ecx, edx
jne 0x14006ab62
cmp edx, 0x40
jae 0x14006ab62
mov eax, ecx
mov qword [rbp + rax*8 - 0x18], rdi
inc dword [rbp - 0x20]
cmp r12, rdi
cmovb r12, rdi
lea ecx, [r12 + 1]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x400]
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
test eax, eax
jns 0x14006ac4b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], esi
lea rax, str._select_tracker__select_return__d__cause__u
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10d
lea r9, str.select_tracker_class_CTCPTask_::GetComeleted
lea r8, str.c:workgitlab_runner_buildszyayumz_0_sunloginclient_sunloginclientincludesonetlibsphstream_select_tracker.h
mov edx, 2
lea rcx, [0x1401399a0]
call fcn.14007a380
cmp edi, 0x2736
je 0x14006abe8
xor dil, dil
jmp 0x14006af48
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsi]
mov r14, qword [rbp - 0x80]
cmp rdi, rsi
je 0x14006ac14
nop dword [rax]
lea rdx, [rdi + 0x10]
mov rcx, r14
call fcn.140042b80
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x14006ac00
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x14006ac35
lea rdx, [rdi + 0x10]
mov rcx, r14
call fcn.140042b80
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x14006ac21
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.140043780
mov dil, 1
jmp 0x14006af48
movzx eax, byte [r13 + 8]
test al, al
je 0x14006ac5c
xor dil, dil
jmp 0x14006af43
lea rdx, [rbp + 0x1f0]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x14006ad25
mov rcx, qword [r13 + 0x160]
cmp rcx, 0xffffffffffffffff
je 0x14006aceb
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rbp - 0x68]
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 4
jl 0x14006acee
cmp dword [rbp - 0x68], r15d
jne 0x14006ad25
mov eax, 1
xchg byte [r13 + 8], al
lea rcx, str._select_tracker__control_event_:_Stop
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x135
lea r9, str.select_tracker_class_CTCPTask_::GetComeleted
lea r8, str.c:workgitlab_runner_buildszyayumz_0_sunloginclient_sunloginclientincludesonetlibsphstream_select_tracker.h
mov edx, 1
lea rcx, [0x1401399a0]
call fcn.14007a380
xor dil, dil
jmp 0x14006af43
mov eax, r15d
mov dword [rsp + 0x30], eax
lea rax, str._select_tracker__recv_event_failed__return__d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x195
lea r9, str.select_tracker_class_CTCPTask_::_read_event
lea r8, str.c:workgitlab_runner_buildszyayumz_0_sunloginclient_sunloginclientincludesonetlibsphstream_select_tracker.h
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x14006ad4f
lea rax, str._select_tracker__control_event_socket_be_closed
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x140
jmp 0x14006acc4
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsi]
lea r15, reloc.OLEAUT32.dll_VariantClear
mov r14, qword [rsp + 0x50]
cmp rbx, rsi
je 0x14006ade6
lea r12, [0x1401336b8]
nop
mov rax, qword [rbx + 0x10]
test rax, rax
lea rcx, [rax + 0x18]
jne 0x14006ad80
mov rcx, r12
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
mov rax, qword [rbx + 0x10]
je 0x14006adae
test rax, rax
je 0x14006ada0
add rax, 0x20
jmp 0x14006ada3
mov rax, r15
mov dword [rax], 2
mov rcx, r14
jmp 0x14006add5
test rax, rax
lea rcx, [rax + 0x18]
jne 0x14006adba
mov rcx, r12
lea rdx, [rbp + 0x1f0]
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
mov rcx, r14
jne 0x14006add5
mov rcx, qword [rbp - 0x80]
lea rdx, [rbx + 0x10]
call fcn.140042b80
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14006ad70
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14006af0c
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
lea r12, [0x1401336b8]
test rax, rax
lea rcx, [rax + 0x18]
jne 0x14006ae17
mov rcx, r12
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
mov rax, qword [rbx + 0x10]
je 0x14006ae48
test rax, rax
je 0x14006ae37
add rax, 0x20
jmp 0x14006ae3a
mov rax, r15
mov dword [rax], 2
mov rcx, r14
jmp 0x14006aef7
test rax, rax
lea rcx, [rax + 0x18]
jne 0x14006ae54
mov rcx, r12
lea rdx, [rbp + 0x400]
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x14006aef3
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14006ae7b
add rax, 0x20
jmp 0x14006ae7e
mov rax, r15
cmp dword [rax], 4
jne 0x14006aeee
mov dword [rsp + 0x48], 0
mov dword [rbp - 0x64], 4
mov rax, qword [rbx + 0x10]
test rax, rax
lea rcx, [rax + 0x18]
jne 0x14006aea2
mov rcx, r12
lea rax, [rbp - 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
js 0x14006aecf
cmp dword [rsp + 0x48], 0
je 0x14006aee9
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14006aede
add rax, 0x20
jmp 0x14006aee1
mov rax, r15
mov dword [rax], 2
jmp 0x14006aeee
call fcn.1400a8794
mov rcx, r14
jmp 0x14006aef7
mov rcx, qword [rbp - 0x80]
lea rdx, [rbx + 0x10]
call fcn.140042b80
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14006ae00
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14006af34
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rcx, r14
call fcn.140042b80
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14006af20
mov rdx, qword [rbp - 0x60]
mov rcx, r14
call fcn.140043780
mov dil, 1
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14006af57
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp - 0x78]
call fcn.140041fa0
mov rcx, qword [rbp - 0x78]
call fcn.14009d844
nop
lea rcx, [rsp + 0x58]
call fcn.140041fa0
mov rcx, qword [rsp + 0x58]
call fcn.14009d844
nop
lea rcx, [rsp + 0x68]
call fcn.140041fa0
mov rcx, qword [rsp + 0x68]
call fcn.14009d844
movzx eax, dil
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.14009d860
mov rbx, qword [rsp + 0x770]
add rsp, 0x720
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret