Function at 0x1400b2400
Capabilities:
Print debug messages
Send data
Send data on socket

Disassembly:
mov r9, qword [rcx + 0xc0]
mov rax, qword [rcx + 0xc8]
sub rax, r9
sar rax, 3
cmp rdx, rax
jae 0x1400b244b
mov rdx, qword [r9 + rdx*8]
test rdx, rdx
je 0x1400b244b
mov byte [rdx + 0x38], r8b
test r8b, 4
je 0x1400b2439
mov dword [rdx + 0x4c], 1
jmp 0x1400b2610
test r8b, 8
je 0x1400b2446
mov dword [rdx + 0x4c], 2
jmp 0x1400b2610
xor al, al
ret
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x39], rdx
movzx eax, byte [rdx + 0x26]
nop
cmp al, 2
je 0x1400b26e8
movzx eax, byte [rdx + 0x26]
nop
cmp al, 1
je 0x1400b26e8
mov rbx, qword [rbp - 0x39]
and byte [rbx + 0x27], 0xfd
or byte [rbx + 0x27], 1
inc dword [rbx + 0x180]
add rcx, 0xd8
call fcn.14025d0d0
test eax, eax
jne 0x1400b28a3
mov rdx, qword [rdi + 0x130]
lea rcx, [rdi + 0x128]
mov rax, qword [rcx]
cmp rax, rdx
je 0x1400b269e
nop
cmp qword [rax], rbx
je 0x1400b26bb
add rax, 8
cmp rax, rdx
jne 0x1400b2690
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400b26b2
mov qword [rdx], rbx
add qword [rcx + 8], 8
jmp 0x1400b26bb
lea r8, [rbp - 0x39]
call fcn.14006f740
lea rcx, [rdi + 0xd8]
call fcn.14025d0f4
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [0x1402f466c]
mov rcx, qword [rdi + 0x178]
call sub.WS2_32.dll_send
mov al, 1
jmp 0x1400b287e
call fcn.14025cafc
imul rcx, rax, 0x64
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov r9, rdx
shr r9, 0x3f
add r9, rdx
mov rax, qword [rbp - 0x39]
mov ecx, dword [rax + 0x48]
mov dword [rsp + 0x20], ecx
lea r8, str._yasio___lld__index:__d__the_channel_open_operation_is_in_progress__n
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rbp - 9]
call fcn.140089000
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x1400b2792
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b278d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b28ab
call fcn.14025e328
mov qword [rbp + 7], rbx
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
mov rcx, qword [rdi + 0x940]
test rcx, rcx
je 0x1400b27d7
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x39], 1
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x39]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400b2845
lea r9, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae r9, qword [rbp - 0x29]
lea r8, [0x1402f3734]
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rbp + 0x17]
call fcn.140089000
cmp qword [rax + 0x18], 0x10
jb 0x1400b2804
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1400b2845
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b283f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b28b1
call fcn.14025e328
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400b287c
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2877
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b289d
call fcn.14025e328
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14025e930
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
call fcn.14026d254
int3
mov ecx, eax
call fcn.14025d438
nop
call fcn.14026d254
nop
call fcn.14026d254
int3