Function at 0x1400b3060
Capabilities:
Get socket status
Print debug messages
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9e0]
sub rsp, 0xae0
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov rsi, rcx
lea rcx, str.yasio
call fcn.1400b5a30
call fcn.1400b5e70
mov word [rsi + 0x948], ax
mov qword [rsi + 0x1e8], 0x11e1a300
movabs rbx, 0x431bde82d7b634db
xor r13d, r13d
nop dword [rax + rax]
mov rdi, qword [rsi + 0x1e8]
mov rax, qword [rsi + 0x188]
cmp qword [rsi + 0x180], rax
je 0x1400b3184
lea rcx, [rsi + 0x198]
call fcn.14025d0d0
test eax, eax
jne 0x1400b359d
mov rax, qword [rsi + 0x188]
mov r15, qword [rax - 0x48]
call fcn.14025c9fc
mov r14, rax
call fcn.14025c9e0
cmp r14, 0x989680
jne 0x1400b3126
imul rax, rax, 0x64
jmp 0x1400b3141
cqo
idiv r14
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv r14
add rax, rcx
mov rcx, qword [r15 + 8]
sub rcx, rax
movabs rax, 0x20c49ba5e353f7cf
imul rcx
mov r14, rdx
sar r14, 7
mov rax, r14
shr rax, 0x3f
add r14, rax
lea rcx, [rsi + 0x198]
call fcn.14025d0f4
movabs rbx, 0x431bde82d7b634db
cmp r14, rdi
jge 0x1400b3184
mov rdi, r14
mov qword [rsi + 0x1e8], 0x11e1a300
test rdi, rdi
jle 0x1400b3493
lea rcx, [rbp - 0x50]
lea rdx, [rsi + 0x1f8]
mov r8d, 0x618
call fcn.140260c10
mov rax, rbx
imul rdi
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsp + 0x38], edx
imul eax, edx, 0xf4240
sub edi, eax
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x1b8]
lea rdx, [rbp - 0x50]
mov ecx, dword [rsi + 0x1f0]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x1400b33fb
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
call fcn.14025cafc
imul rcx, rax, 0x64
mov rax, rbx
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rcx, rbx
shr rcx, 0x3f
add rbx, rcx
mov ecx, edi
call fcn.1400b4cd0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, str._yasio___lld__core__do_select_failed__ec_d__detail:_s_n_n
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rsp + 0x68]
call fcn.140089000
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400b32b9
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b32b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b35a5
call fcn.14025e328
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov rcx, qword [rsi + 0x940]
test rcx, rcx
je 0x1400b3307
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 2
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400b337c
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
lea r8, [0x1402f3734]
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rbp - 0x78]
call fcn.140089000
cmp qword [rax + 0x18], 0x10
jb 0x1400b3337
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400b337c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b3376
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b35ab
call fcn.14025e328
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400b33b9
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b33b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b3597
call fcn.14025e328
cmp edi, 0x2719
jne 0x1400b3567
mov dword [rsi], 3
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.14025e930
lea r11, [rsp + 0xae0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
je 0x1400b3493
lea rbx, [rsi + 0x170]
lea rdx, [rbp - 0x50]
mov rcx, qword [rbx]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400b3493
nop dword [rax + rax]
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x5d0]
mov rcx, qword [rbx]
call sub.WS2_32.dll_recv
cmp eax, 0x400
je 0x1400b3420
test eax, eax
jg 0x1400b3493
je 0x1400b345d
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 4
je 0x1400b3420
cmp eax, 0x2733
je 0x1400b3493
cmp eax, 0x2afa
je 0x1400b3493
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1400b346c
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400b347c
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 8], 0xffffffffffffffff
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400b2450
mov rbx, qword [rsi + 0x140]
cmp rbx, qword [rsi + 0x148]
je 0x1400b3553
lea r14, [rbx + 8]
nop dword [rax + rax]
mov rdi, qword [rbx]
lea r8, [rbp - 0x50]
mov rdx, rdi
mov rcx, rsi
call fcn.1400af560
test al, al
je 0x1400b351b
mov rax, qword [rdi]
lea rdx, [rsi + 0x1e8]
mov rcx, rdi
call qword [rax + Ordinal_41]
test al, al
je 0x1400b351b
mov rcx, qword [rdi + 0x10050]
movzx eax, byte [rsi + 0x94a]
or al, byte [rdi + 0x27]
or al, byte [rcx + 0x27]
jne 0x1400b34fa
add rbx, 8
add r14, 8
jmp 0x1400b3543
cmp dword [rdi + 0x20], 0
jne 0x1400b3507
mov dword [rdi + 0x20], 0xffffffe8
test byte [rcx + 0x38], 4
je 0x1400b351b
mov edx, 2
mov rcx, qword [rdi + 0x10]
call fcn.1400b6760
mov rdx, rdi
mov rcx, rsi
call fcn.1400b09b0
mov r8, qword [rsi + 0x148]
sub r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.140260c10
add qword [rsi + 0x148], 0xfffffffffffffff8
mov rax, qword [rsi + 0x148]
cmp rbx, rax
jne 0x1400b34b0
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.1400b2960
mov rcx, rsi
call fcn.1400b2c60
cmp byte [rsi + 0x94a], 0
movabs rbx, 0x431bde82d7b634db
je 0x1400b30d0
mov rax, qword [rsi + 0x148]
cmp qword [rsi + 0x140], rax
je 0x1400b33c5
jmp 0x1400b30d0
call fcn.14026d254
int3
mov ecx, eax
call fcn.14025d438
nop
call fcn.14026d254
nop
call fcn.14026d254
int3