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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
movzx eax, byte [rdx + 0x26]
nop
cmp al, 3
jne 0x1400aecb1
xor r12d, r12d
mov dword [rbp - 0x79], r12d
mov rcx, qword [rdx + 0x10]
call fcn.1400b60d0
mov rcx, rax
mov rdx, rbx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1400aecb1
mov rax, qword [rdi + 0x10]
mov dword [rbp - 0x71], 4
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x79]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
js 0x1400aecb1
cmp dword [rbp - 0x79], r12d
jne 0x1400aecb1
test byte [rdi + 0x38], 4
je 0x1400ae86a
mov qword [rbp - 0x71], 0xffffffffffffffff
lea rdx, [rbp - 0x71]
mov rcx, qword [rdi + 0x10]
call fcn.1400b5ba0
mov dword [rbp - 0x79], eax
test eax, eax
jne 0x1400aecb1
lea ecx, [rax + 0x18]
call fcn.14025e2ec
mov rbx, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x1400ae847
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_yasio::inet::xxsocket_.0
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
mov rdx, qword [rbp - 0x71]
call fcn.1400b5ab0
jmp 0x1400ae84a
mov rbx, r12
lea rax, [rbx + 0x10]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rbx
lea r8, [rbp - 0x41]
mov rdx, rdi
mov rcx, rsi
call fcn.1400b1110
jmp 0x1400aecb1
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
movups xmmword [rbp - 0x51], xmm0
mov rbx, qword [rdi + 0x168]
sub rbx, qword [rdi + 0x160]
lea rcx, [rdi + 0x160]
call fcn.1400b05b0
mov rdx, rax
mov dword [rsp + 0x20], r12d
lea r9, [rbp - 0x61]
mov r8d, ebx
mov rcx, qword [rdi + 0x10]
call fcn.1400b61d0
mov r15d, eax
test eax, eax
jle 0x1400aeae8
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x61]
mov rdx, rdi
mov rcx, rsi
call fcn.1400af310
mov rbx, rax
test rax, rax
je 0x1400ae92f
mov r10, qword [rax]
lea rcx, [rsi + 0x1e8]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x79]
mov r8d, r15d
mov rdx, qword [rdi + 0x160]
mov rcx, rax
call qword [r10 + gethostname]
test eax, eax
jns 0x1400aecb1
mov eax, dword [rbp - 0x79]
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x27]
test al, 2
jne 0x1400aecb1
or al, 2
mov byte [rbx + 0x27], al
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [0x1402f466c]
mov rcx, qword [rsi + 0x178]
call sub.WS2_32.dll_send
jmp 0x1400aecb1
call fcn.14025cafc
imul rcx, rax, 0x64
movabs rax, 0x431bde82d7b634db
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov ecx, dword [rbp - 0x79]
call fcn.1400b4cd0
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x79]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x48]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str._yasio___lld__index:__d__do_dgram_accept_failed__ec_d__detail:_s_n
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rbp - 0x21]
call fcn.140089000
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400ae9ee
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ae9e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aecdb
call fcn.14025e328
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov rcx, qword [rsi + 0x940]
test rcx, rcx
je 0x1400aea33
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rax, qword [rbp - 0x41]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x71], 4
mov rax, qword [rcx]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x71]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400aeaa5
lea r9, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae r9, qword [rbp - 0x41]
lea r8, [0x1402f3734]
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rbp - 1]
call fcn.140089000
cmp qword [rax + 0x18], 0x10
jb 0x1400aea60
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400aeaa5
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aea9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aece1
call fcn.14025e328
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400aecb1
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aecac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aecd5
jmp 0x1400aecac
test r15d, r15d
jns 0x1400aecb1
call sub.WS2_32.dll_WSAGetLastError
mov dword [rbp - 0x79], eax
mov ecx, eax
call fcn.1400b60e0
test al, al
jne 0x1400aecb1
call fcn.14025cafc
imul rcx, rax, 0x64
movabs rax, 0x431bde82d7b634db
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov ecx, dword [rbp - 0x79]
call fcn.1400b4cd0
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x79]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x48]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str._yasio___lld__index:__d__recvfrom_failed__ec_d__detail:_s_n
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rbp - 0x21]
call fcn.140089000
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x1400aebc7
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aebc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aece7
call fcn.14025e328
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov rcx, qword [rsi + 0x940]
test rcx, rcx
je 0x1400aec0c
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rax, qword [rbp - 0x41]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x71], 4
mov rax, qword [rcx]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x71]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400aec7a
lea r9, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae r9, qword [rbp - 0x41]
lea r8, [0x1402f3734]
mov edx, reloc.WLDAP32.dll_Ordinal_127
lea rcx, [rbp - 1]
call fcn.140089000
cmp qword [rax + 0x18], 0x10
jb 0x1400aec39
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x1400aec7a
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aec74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aeced
call fcn.14025e328
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400aecb1
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aecac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aeccf
call fcn.14025e328
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14025e930
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14026d254
int3
call fcn.14026d254
nop
call fcn.14026d254
nop
call fcn.14026d254
nop
call fcn.14026d254
int3
call fcn.14026d254
int3