Function at 0x14000dd60
Capabilities:
Send data
Send 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 - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rax, qword [rcx + 0x2b10]
mov r14, rcx
test rax, rax
mov dword [rbp - 0x39], r8d
mov ecx, 0xa
mov esi, 4
cmovne esi, ecx
xor ecx, ecx
mov qword [rbp - 0x41], rsi
lea rbx, [r14 + 0x28]
mov qword [rbp + 0x17], rcx
mov dword [rbp + 0x1f], ecx
mov word [rbp + 0x23], cx
mov qword [rbp - 0x49], rbx
test rax, rax
je 0x14000de2c
mov rax, qword [rbx]
movzx esi, word [rax + 0x28]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
lea ecx, [rsi + 1]
idiv ecx
mov ebx, edx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx ecx, bx
mov edi, eax
call qword [sym.imp.WS2_32.dll_htons]
xor bx, si
mov word [rbp + 0x17], ax
movzx ecx, bx
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 0xf3df
mov word [rbp + 0x19], ax
and cx, di
mov eax, 0x920d
or cx, ax
call qword [sym.imp.WS2_32.dll_ntohs]
mov rsi, qword [rbp - 0x41]
lea rbx, [r14 + 0x28]
mov word [rbp + 0x1b], ax
jmp 0x14000de30
mov qword [rbp - 0x49], rbx
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
imul rax, qword [r14 + 0x30], 0x1d8
mov rbx, qword [rbx]
add rax, rbx
mov dword [r14 + 0x58], r15d
cmp rbx, rax
jae 0x14000e5ac
mov rcx, qword [rbp - 0x49]
nop
mov eax, dword [rbx + 0x38]
test eax, eax
je 0x14000e587
cmp eax, 9
je 0x14000e587
lea rax, [rbx + 0xe0]
mov word [r14 + 0x68], r15w
lea r13, [r14 + 0xa88]
mov qword [r14 + 0x670], r15
mov qword [r13], 1
mov qword [r14 + 0x60], rsi
mov r12, qword [rax]
cmp r12, rax
je 0x14000dfce
lea rdi, [r14 + 0x6a]
lea r15, [r14 + 0x688]
lea rax, [r14 + 0x66a]
nop dword [rax + rax]
cmp rdi, rax
jae 0x14000df81
cmp r15, r13
jae 0x14000df81
mov eax, dword [rbx + 0xd0]
sub rax, qword [r14 + 0x60]
cmp rax, 8
jb 0x14000df81
mov rsi, r12
mov r12, qword [r12]
mov qword [r15 + 8], rdi
mov qword [r15], 8
add qword [r14 + 0x60], 8
movzx ecx, word [rsi + 0x16]
call qword [sym.imp.WS2_32.dll_htons]
mov byte [rdi], 1
movzx ecx, byte [rsi + 0x15]
mov byte [rdi + 1], cl
mov word [rdi + 2], ax
mov word [rdi + 4], ax
movzx ecx, word [rsi + 0x10]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rdi + 6], ax
movzx eax, byte [rsi + 0x14]
and al, 0xf
cmp al, 4
jne 0x14000df42
mov r8d, 9
mov rdx, rbx
mov rcx, r14
call fcn.14000bbb0
mov rdx, qword [rsi + 8]
mov rcx, rsi
mov rax, qword [rsi]
mov qword [rdx], rax
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rdx + 8], rax
call qword [fcn.140184bae]
lea rax, [rbx + 0xe0]
add rdi, 0x30
add r15, 0x10
cmp r12, rax
lea rax, [r14 + 0x66a]
jne 0x14000dec0
jmp 0x14000df89
mov dword [r14 + 0x58], 1
mov rsi, qword [rbp - 0x41]
sub r15, r14
sub rdi, r14
sub r15, 0x678
sub rdi, 0x6a
sar r15, 4
movabs rax, 0x2aaaaaaaaaaaaaab
mov qword [r14 + 0xa88], r15
imul rdi
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [r14 + 0x670], rdx
xor r15d, r15d
cmp dword [rbp - 0x39], 0
je 0x14000e107
lea r11, [rbx + 0xf0]
mov r9, qword [r11]
cmp r9, r11
je 0x14000e107
mov eax, dword [r14 + 0x40]
sub eax, dword [rbx + 0x70]
cmp eax, 0x5265c00
jae 0x14000e107
mov rdi, qword [rbx + 0x110]
nop dword [rax]
nop dword [rax + rax]
mov r10d, dword [r14 + 0x40]
mov rdx, r9
mov r9, qword [r9]
mov ecx, r10d
mov r8d, dword [rdx + 0x14]
sub ecx, r8d
mov eax, r8d
sub eax, r10d
cmp ecx, 0x5265c00
cmovb eax, ecx
cmp eax, dword [rdx + 0x18]
jb 0x14000e0fe
mov ecx, dword [rbx + 0x74]
test ecx, ecx
je 0x14000e04f
mov eax, r8d
sub eax, ecx
cmp eax, 0x5265c00
jb 0x14000e05f
mov dword [rbx + 0x74], r8d
mov ecx, r8d
mov r10d, dword [r14 + 0x40]
test r8d, r8d
je 0x14000e0a0
mov r8d, r10d
mov eax, ecx
sub r8d, ecx
sub eax, r10d
cmp r8d, 0x5265c00
cmovb eax, r8d
cmp eax, dword [rbx + 0xb4]
jae 0x14000e107
mov eax, dword [rdx + 0x1c]
cmp dword [rdx + 0x18], eax
jb 0x14000e0a0
sub ecx, r10d
cmp r8d, 0x5265c00
cmovae r8d, ecx
cmp r8d, dword [rbx + 0xb0]
jae 0x14000e107
cmp qword [rdx + 0x58], 0
je 0x14000e0b1
movzx eax, word [rdx + 0x24]
sub dword [rbx + 0xd8], eax
inc dword [rbx + 0x80]
mov eax, dword [rdx + 0x18]
mov rcx, qword [rdx + 8]
add eax, eax
mov dword [rdx + 0x18], eax
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov rcx, qword [rdx]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
mov qword [rdx], rdi
mov qword [rax], rdx
mov qword [rdi + 8], rdx
mov rax, qword [r11]
cmp r9, rax
jne 0x14000e0fe
cmp rax, r11
je 0x14000e0fe
mov eax, dword [r9 + 0x18]
add eax, dword [r9 + 0x14]
mov dword [rbx + 0x70], eax
cmp r9, r11
jne 0x14000e010
lea rax, [rbx + 0x110]
cmp qword [rax], rax
je 0x14000e126
mov rdx, rbx
mov rcx, r14
call fcn.14000d9b0
test eax, eax
je 0x14000e1c3
lea rax, [rbx + 0xf0]
cmp qword [rax], rax
jne 0x14000e1c3
mov edx, dword [rbx + 0x6c]
mov ecx, dword [r14 + 0x40]
sub ecx, edx
sub edx, dword [r14 + 0x40]
cmp ecx, 0x5265c00
cmovb edx, ecx
cmp edx, dword [rbx + 0xa8]
jb 0x14000e1c3
mov eax, dword [rbx + 0xd0]
sub rax, qword [r14 + 0x60]
cmp rax, 4
jb 0x14000e1c3
cmp dword [rbx + 0x38], 5
jne 0x14000e1b8
mov ecx, 0x60
mov word [rbp - 0x31], 0xff85
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x14000e188
call qword [0x1402046a0]
jmp 0x14000e1b8
movups xmm0, xmmword [rbp - 0x31]
mov rdx, rax
mov rcx, rbx
movups xmm1, xmmword [rbp - 0x21]
mov dword [rax + 0x20], r15d
movups xmmword [rax + 0x28], xmm0
mov word [rax + 0x24], r15w
movups xmm0, xmmword [rbp - 0x11]
mov qword [rax + 0x58], r15
movups xmmword [rax + 0x38], xmm1
movups xmmword [rax + 0x48], xmm0
call fcn.14000b440
mov rdx, rbx
mov rcx, r14
call fcn.14000d9b0
lea rax, [rbx + 0x120]
cmp qword [rax], rax
je 0x14000e1da
mov rdx, rbx
mov rcx, r14
call fcn.14000d630
cmp qword [r14 + 0x670], 0
je 0x14000e583
mov ecx, dword [rbx + 0x78]
mov edx, dword [r14 + 0x40]
test ecx, ecx
jne 0x14000e1fb
mov dword [rbx + 0x78], edx
jmp 0x14000e28b
mov eax, edx
sub eax, ecx
sub ecx, edx
cmp eax, 0x5265c00
cmovb ecx, eax
cmp ecx, 0x2710
jb 0x14000e28b
mov ecx, dword [rbx + 0x7c]
test ecx, ecx
je 0x14000e28b
mov eax, dword [rbx + 0x80]
xor edx, edx
shl eax, 0x10
div ecx
mov edx, dword [rbx + 0x88]
mov ecx, edx
shr ecx, 2
mov r8d, eax
sub edx, ecx
mov ecx, dword [rbx + 0x84]
mov dword [rbx + 0x88], edx
cmp eax, ecx
jb 0x14000e251
sub eax, ecx
shr eax, 3
add ecx, eax
sub r8d, ecx
jmp 0x14000e263
mov eax, ecx
sub eax, r8d
shr eax, 3
sub ecx, eax
mov eax, ecx
sub eax, r8d
mov r8d, eax
shr r8d, 2
mov rax, rbx
add r8d, edx
mov edx, 0x84
mov dword [rdx + rbx], ecx
mov dword [rbx + 0x88], r8d
mov eax, dword [r14 + 0x40]
mov dword [rbx + 0x78], eax
mov qword [rbx + 0x7c], 0
cmp word [r14 + 0x68], 0
lea rax, [rbp + 0x17]
mov qword [r14 + 0x680], rax
mov rax, qword [r14 + 0x2b10]
jge 0x14000e2d9
movzx ecx, word [r14 + 0x40]
test rax, rax
je 0x14000e2c4
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1f], ax
mov r13d, 2
mov rax, rsi
jmp 0x14000e2eb
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x19], ax
mov r13d, 2
mov rax, rsi
jmp 0x14000e2eb
mov r13d, 2
test rax, rax
lea eax, [r13 + 6]
jne 0x14000e2eb
mov eax, r13d
mov rcx, r14
mov rsi, r15
mov qword [rcx + 0x678], rax
mov rcx, qword [r14 + 0xa98]
test rcx, rcx
je 0x14000e357
mov r10, qword [r14 + 0xaa0]
test r10, r10
je 0x14000e357
mov rdi, qword [r14 + 0x60]
lea rax, [r14 + 0x1ab8]
mov r8, qword [r14 + 0xa88]
lea rdx, [r14 + 0x688]
sub rdi, 4
dec r8
mov qword [rsp + 0x28], rdi
mov r9, rdi
mov qword [rsp + 0x20], rax
call r10
test rax, rax
je 0x14000e357
cmp rax, rdi
jae 0x14000e357
mov ecx, 0x4000
mov rsi, rax
or word [r14 + 0x68], cx
mov r12d, 0xfff
cmp word [rbx + 0x18], r12w
jae 0x14000e371
movzx eax, byte [rbx + 0x20]
shl ax, 0xc
or word [r14 + 0x68], ax
movzx ecx, word [r14 + 0x68]
or cx, word [rbx + 0x18]
cmp qword [r14 + 0x2b10], 0
je 0x14000e390
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1d], ax
jmp 0x14000e39a
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x17], ax
mov r8, qword [r14 + 0xa90]
test r8, r8
je 0x14000e3e3
mov rcx, qword [r14 + 0x678]
lea rdi, [rbp + 0x17]
add rdi, rcx
cmp word [rbx + 0x18], r12w
jae 0x14000e3c0
mov eax, dword [rbx + 0x1c]
jmp 0x14000e3c3
mov eax, r15d
mov rdx, qword [r14 + 0xa88]
mov dword [rdi], eax
lea rax, [rcx + 4]
lea rcx, [r14 + 0x678]
mov qword [r14 + 0x678], rax
call r8
mov dword [rdi], eax
test rsi, rsi
je 0x14000e404
lea rax, [r14 + 0x1ab8]
mov qword [r14 + 0x688], rsi
mov qword [r14 + 0x690], rax
mov qword [r14 + 0xa88], r13
mov eax, dword [r14 + 0x40]
lea rdi, [rbx + 0x24]
mov dword [rbx + 0x68], eax
mov rsi, qword [r14 + 0xa88]
mov r15, qword [r14]
test rdi, rdi
je 0x14000e43d
movzx ecx, word [rdi + 4]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov word [rbp + 7], r13w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 9], ax
mov eax, dword [rdi]
mov dword [rbp + 0xb], eax
mov ecx, 0
lea rdx, [r14 + 0x678]
mov qword [rsp + 0x40], rcx
mov rax, rdi
neg rax
mov qword [rsp + 0x38], rcx
lea rax, [rbp + 7]
mov r8d, esi
sbb r9d, r9d
and r9d, 0x10
mov dword [rsp + 0x30], r9d
test rdi, rdi
lea r9, [rbp - 1]
cmove rax, rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, r15
call qword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x14000e4a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb r12d, r12d
jmp 0x14000e4a4
mov r12d, dword [rbp - 1]
lea r15, [rbx + 0x100]
mov rdi, qword [r15]
cmp rdi, r15
je 0x14000e570
nop word [rax + rax]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x58]
test rax, rax
je 0x14000e527
dec qword [rax]
mov rax, qword [rdi + 0x58]
cmp qword [rax], 0
jne 0x14000e527
or dword [rax + 8], 0x100
mov rsi, qword [rdi + 0x58]
test rsi, rsi
je 0x14000e527
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14000e509
mov rcx, rsi
call rax
test byte [rsi + 8], 4
jne 0x14000e51e
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14000e51e
call qword [fcn.140184bae]
mov rcx, rsi
call qword [fcn.140184bae]
mov rcx, rdi
call qword [fcn.140184bae]
mov rdi, qword [r15]
cmp rdi, r15
jne 0x14000e4c0
cmp dword [rbx + 0x38], 6
jne 0x14000e570
lea rax, [rbx + 0x110]
cmp qword [rax], rax
jne 0x14000e570
lea rax, [rbx + 0x120]
cmp qword [rax], rax
jne 0x14000e570
lea rax, [rbx + 0xf0]
cmp qword [rax], rax
jne 0x14000e570
mov edx, dword [rbx + 0x1c8]
mov rcx, rbx
call fcn.14000b260
test r12d, r12d
js 0x14000e5c0
add dword [r14 + 0x2ad0], r12d
inc dword [r14 + 0x2ad4]
mov rcx, qword [rbp - 0x49]
imul rax, qword [r14 + 0x30], 0x1d8
mov rsi, qword [rbp - 0x41]
add rbx, 0x1d8
add rax, qword [rcx]
mov r15d, 0
cmp rbx, rax
jb 0x14000de60
cmp dword [r14 + 0x58], 0
je 0x14000e5c7
mov rsi, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x49]
jmp 0x14000de40
mov eax, 0xffffffff
jmp 0x14000e5c9
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140183920
lea r11, [rsp + 0xd0]
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