Function at 0x140435390
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4d8
mov r15, qword [rsp + 0x540]
mov r14, qword [rsp + 0x548]
mov eax, dword [r15 + 0x90]
mov rbp, rdx
mov rdx, qword [r15 + 8]
mov r13, rcx
mov dword [rsp + 0x58], eax
lea rcx, [0x140552c20]
mov dword [rsp + 0x538], r9d
mov rsi, r8
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], r15
call fcn.1403e4940
mov rcx, qword [rax]
test rcx, rcx
je 0x1404353fe
mov rcx, qword [rcx + 8]
mov edx, 0x1a8
call fcn.14004b3f0
movdqu xmm0, xmmword [rbp + 0x10]
mov qword [rsp + 0x68], rax
mov rbx, rax
movhlps xmm2, xmm0
movq rdi, xmm2
test rdi, rdi
je 0x140435c60
lock add dword [rdi + 0xc], 1
pxor xmm3, xmm3
lea r8, [0x14042fc20]
mov qword [rax + 0x28], r8
mov qword [rax + 0x10], 0
mov dword [rax + 0x30], 0
movups xmmword [rax], xmm3
movups xmmword [rax + 0x18], xmm3
movups xmmword [rax + 0x38], xmm0
lock add dword [rdi + 0xc], 1
mov r9, qword [rsi + 0x20]
movdqu xmm5, xmmword [rsi + 0x10]
lea r11, [0x14062d080]
mov r12, rsi
movdqu xmm4, xmmword [rsi]
mov rdx, qword [r15 + 8]
mov qword [rbx + 0x70], r11
mov rax, qword [r15 + 0x10]
mov r8d, dword [r15 + 0x30]
movups xmmword [rbx + 0x58], xmm5
sub r9, rsi
movdqu xmm0, xmmword [r15 + 0x18]
mov rcx, qword [r15 + 0x28]
lea r10, [rbx + r9 + 0x48]
mov qword [rbx + 0x78], rdx
mov qword [rbx + 0x68], r10
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x98], rcx
mov dword [rbx + 0xa0], r8d
movups xmmword [rbx + 0x48], xmm4
movups xmmword [rbx + 0x88], xmm0
movdqu xmm2, xmmword [r15 + 0x38]
mov qword [r15 + 0x40], 0
movups xmmword [rbx + 0xa8], xmm2
mov r9, qword [r15 + 0x48]
cmp byte [r15 + 0x50], 0
mov byte [rbx + 0xc0], 0
mov qword [rbx + 0xb8], r9
je 0x14043555d
cmp qword [r15 + 0x78], 0
je 0x140435d78
mov r10, qword [r15 + 0x70]
mov r11, qword [r15 + 0x80]
mov qword [r15 + 0x70], 0
lea rdx, [r15 + 0x58]
mov qword [r15 + 0x80], 0
lea rcx, [rbx + 0xc8]
mov qword [rbx + 0xe0], r10
mov qword [rbx + 0xf0], r11
call qword [r10 + 0x10]
mov qword [r15 + 0x78], 0
mov rdx, qword [r15 + 0x88]
lea rax, [0x140631cc0]
mov qword [r15 + 0x88], rax
mov qword [rbx + 0xf8], rdx
mov byte [rbx + 0xc0], 1
mov ecx, dword [r15 + 0x90]
mov r8d, dword [r15 + 0x94]
lea r9, [0x14062d170]
pxor xmm4, xmm4
mov qword [rbx + 0x70], r9
mov dword [rbx + 0x100], ecx
mov dword [rbx + 0x104], r8d
movdqu xmm3, xmmword [r15 + 0x98]
movups xmmword [r15 + 0x98], xmm4
movups xmmword [rbx + 0x108], xmm3
mov r10, qword [r15 + 0xa8]
movzx r11d, byte [r15 + 0xb0]
mov byte [r15 + 0xb0], 0
mov qword [rbx + 0x118], r10
movdqu xmm5, xmmword [r15 + 0xb8]
mov byte [rbx + 0x120], r11b
movups xmmword [rbx + 0x128], xmm5
cmp qword [r14 + 0x20], 0
je 0x140435ca8
mov r15, qword [r14 + 0x28]
call qword [r15]
mov rcx, rax
lea rdx, [0x1406212a0]
call fcn.1404e0d50
test al, al
je 0x140435c90
lea rdx, [0x140631cc0]
pxor xmm0, xmm0
mov qword [rbx + 0x160], 0
mov qword [rbx + 0x168], rdx
movups xmmword [rbx + 0x150], xmm0
movzx r15d, byte [rbx + 0xc0]
test r15b, r15b
je 0x140435e54
cmp qword [rbx + 0xe8], 0
je 0x140435cd8
mov rax, qword [rbx + 0xe0]
mov rcx, qword [rbx + 0xf0]
lea rdx, [rbx + 0xc8]
mov qword [rsp + 0xe8], rcx
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
call qword [rax + 8]
mov r8, qword [rbx + 0xf8]
mov r9, qword [rbx + 0xa8]
mov qword [rsp + 0xf0], r8
cmp qword [r9 + 0x28], 0
je 0x140435cb8
mov r10, qword [r9 + 0x20]
mov r11, qword [r9 + 0x30]
lea rdx, [r9 + 8]
mov qword [rsp + 0x48], r9
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x98], r10
mov qword [rsp + 0xa8], r11
call qword [r10 + 8]
mov r9, qword [rsp + 0x48]
cmp qword [rsp + 0xe0], 0
mov rdx, qword [r9 + 0x38]
mov qword [rsp + 0xb0], rdx
je 0x1404356ec
mov rax, qword [rsp + 0xd8]
lea rcx, [rsp + 0xc0]
call qword [rax]
cmp qword [rbx + 0x158], 0
je 0x140435b48
lea rcx, [rsp + 0x80]
lea r14, [rbx + 0x170]
mov rdx, rcx
mov rcx, r14
call fcn.14004b160
mov r8, qword [rsp + 0xa0]
test r8, r8
je 0x140435734
mov r10, qword [rsp + 0x98]
lea rcx, [rsp + 0x80]
call qword [r10]
mov qword [rsp + 0x70], rbx
test rdi, rdi
je 0x140435749
lock sub dword [rdi + 0xc], 1
je 0x140435bd0
mov r9, qword [rsi + 0x20]
pxor xmm4, xmm4
movups xmmword [rsp + 0x4c0], xmm4
cmp rsi, r9
je 0x140435930
mov rax, qword [rsi + 0x10]
lea rcx, [rsp + 0xc0]
xor edx, edx
xor r8d, r8d
lea rdi, [rsp + 0x4c0]
mov rsi, qword [r12 + 8]
mov r10, qword [r12]
mov r14, rax
lea r11, [r12 + 0x10]
cmp rsi, rax
mov qword [rcx + 8], r10
lea r10, [r8 + 1]
cmovbe r14, rsi
mov r8, r10
sub rax, rsi
mov dword [rcx], r14d
add rdx, r14
cmp r9, r11
je 0x140435920
mov r11, qword [r11 + 8]
mov rsi, rax
mov r14, qword [r12 + 0x10]
cmp r11, rax
mov qword [rcx + 0x18], r14
cmovbe rsi, r11
sub rax, r11
add r8, 1
mov dword [rcx + 0x10], esi
add rdx, rsi
lea rsi, [r12 + 0x20]
cmp r9, rsi
je 0x140435920
mov r8, qword [rsi + 8]
mov r11, rax
mov r14, qword [r12 + 0x20]
lea rsi, [r12 + 0x30]
cmp r8, rax
mov qword [rcx + 0x28], r14
cmovbe r11, r8
sub rax, r8
lea r8, [r10 + 2]
mov dword [rcx + 0x20], r11d
add rdx, r11
cmp r9, rsi
je 0x140435920
mov r14, qword [r12 + 0x38]
mov r8, rax
mov r11, qword [r12 + 0x30]
lea rsi, [r12 + 0x40]
cmp r14, rax
mov qword [rcx + 0x38], r11
cmovbe r8, r14
sub rax, r14
mov dword [rcx + 0x30], r8d
add rdx, r8
lea r8, [r10 + 3]
cmp r9, rsi
je 0x140435920
mov r14, qword [r12 + 0x48]
mov r8, rax
mov r11, qword [r12 + 0x40]
lea rsi, [r12 + 0x50]
cmp r14, rax
mov qword [rcx + 0x48], r11
cmovbe r8, r14
sub rax, r14
mov dword [rcx + 0x40], r8d
add rdx, r8
lea r8, [r10 + 4]
cmp r9, rsi
je 0x140435920
mov r14, qword [r12 + 0x58]
mov r8, rax
mov r11, qword [r12 + 0x50]
lea rsi, [r12 + 0x60]
cmp r14, rax
mov qword [rcx + 0x58], r11
cmovbe r8, r14
sub rax, r14
mov dword [rcx + 0x50], r8d
add rdx, r8
lea r8, [r10 + 5]
cmp r9, rsi
je 0x140435920
mov r14, qword [r12 + 0x68]
mov r8, rax
mov r11, qword [r12 + 0x60]
lea rsi, [r12 + 0x70]
cmp r14, rax
mov qword [rcx + 0x68], r11
cmovbe r8, r14
sub rax, r14
mov dword [rcx + 0x60], r8d
add rdx, r8
lea r8, [r10 + 6]
cmp r9, rsi
je 0x140435920
mov r14, qword [r12 + 0x78]
mov r8, rax
mov r11, qword [r12 + 0x70]
cmp r14, rax
mov qword [rcx + 0x78], r11
cmovbe r8, r14
sub r12, 0xffffffffffffff80
sub rax, r14
mov dword [rcx + 0x70], r8d
add rdx, r8
lea r8, [r10 + 7]
cmp r9, r12
je 0x140435920
sub rcx, 0xffffffffffffff80
cmp rcx, rdi
jne 0x14043577b
nop dword [rax]
mov qword [rsp + 0x4c8], rdx
mov qword [rsp + 0x4c0], r8
mov r12, qword [rsp + 0x50]
test r12, r12
je 0x1404359bf
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov r9d, 8
mov r8d, 0x60
call fcn.140414f50
mov r9, qword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
pxor xmm5, xmm5
lea rcx, [0x14062cc90]
mov rdi, qword [rbp]
lea rdx, [0x14043a290]
mov qword [r9 + 0x48], rbx
mov ebx, dword [rsp + 0x58]
mov qword [r9], rcx
mov dword [r9 + 0x50], ebx
lea rbx, [r9 + 8]
mov qword [r9 + 0x30], rdx
mov qword [r9 + 0x18], 0
mov dword [r9 + 0x38], 0
mov qword [r9 + 0x40], rdi
mov qword [r9 + 0x58], rax
movups xmmword [r9 + 8], xmm5
movups xmmword [r9 + 0x20], xmm5
mov qword [r12], r9
mov r10, qword [r13 + 8]
test byte [rbp + 8], 0x10
je 0x140435a30
cmp qword [rsp + 0x4c8], 0
jne 0x140435a30
lock add dword [r10 + 0x30], 1
lea r15, [0x14054d5e0]
mov r8d, 2
xor edx, edx
mov r13, qword [r13 + 8]
mov rcx, qword [r13 + 0x28]
mov dword [rbx + 0x30], 1
mov r9, rbx
mov qword [rbx], r15
mov qword [rbx + 0x10], 0
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x140435da8
add rsp, 0x4d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rsp + 0x4c0]
lock add dword [r10 + 0x30], 1
mov rcx, qword [rbp]
cmp rcx, 0xffffffffffffffff
je 0x140435be0
mov ebp, dword [rsp + 0x538]
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0xc0]
lea r9, [rsp + 0x80]
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
je 0x140435d98
cmp eax, 0x3e5
setne r15b
mov r13, qword [r13 + 8]
test esi, esi
je 0x140435cf8
test r15b, r15b
je 0x140435cf8
movd xmm0, eax
lea r15, [0x14054d5e0]
mov r9, rbx
xor edx, edx
movd xmm2, dword [rsp + 0x80]
mov rcx, qword [r13 + 0x28]
mov dword [rbx + 0x30], 1
mov r8d, 2
mov qword [rbx], r15
punpckldq xmm0, xmm2
movq qword [rbx + 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140435a14
lea r14, [r13 + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [r13 + 0x98]
mov qword [rbx + 0x20], 0
test r11, r11
je 0x140435e28
mov qword [r11 + 0x20], rbx
mov qword [r13 + 0x98], rbx
mov r8d, 1
xchg dword [r13 + 0x58], r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140435a14
mov rcx, qword [rsp + 0xa0]
mov r8, qword [r14 + 0x20]
cmp rcx, r8
je 0x140435ba5
test rcx, rcx
je 0x140435df0
test r8, r8
je 0x1404356fa
mov rax, qword [rsp + 0xa8]
lea rcx, [rsp + 0x80]
cmp rax, qword [r14 + 0x28]
jne 0x140435702
mov qword [rsp + 0x48], rcx
mov rdx, r14
call qword [rax + 8]
mov rcx, qword [rsp + 0x48]
test al, al
je 0x140435702
mov r8, qword [rsp + 0xa0]
pxor xmm3, xmm3
lea r9, [0x140631cc0]
mov qword [rbx + 0x198], 0
mov qword [rbx + 0x1a0], r9
movups xmmword [rbx + 0x188], xmm3
jmp 0x14043571c
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x18]
jmp 0x140435749
mov rbp, qword [r13 + 8]
lea rdx, [0x14054d5e0]
mov r9, rbx
mov dword [rbx + 0x30], 1
mov qword [rbx], rdx
mov r8d, 2
xor edx, edx
mov qword [rbx + 0x10], 0x2719
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140435a14
lea rsi, [rbp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r10, qword [rbp + 0x98]
mov qword [rbx + 0x20], 0
test r10, r10
je 0x140435e13
mov qword [r10 + 0x20], rbx
mov qword [rbp + 0x98], rbx
mov ebx, 1
xchg dword [rbp + 0x58], ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140435a14
pxor xmm1, xmm1
lea rcx, [0x14042fc20]
movups xmmword [rax + 0x38], xmm0
mov qword [rax + 0x28], rcx
mov qword [rax + 0x10], 0
mov dword [rax + 0x30], 0
movups xmmword [rax], xmm1
movups xmmword [rax + 0x18], xmm1
jmp 0x140435459
lea rcx, [rbx + 0x138]
mov rdx, r14
call fcn.14004b160
jmp 0x140435621
mov rcx, qword [0x14061b940]
jmp 0x1404355e9
mov qword [rsp + 0xa8], 0
pxor xmm1, xmm1
movups xmmword [rsp + 0x98], xmm1
jmp 0x1404356c3
mov qword [rsp + 0xe8], 0
pxor xmm2, xmm2
movups xmmword [rsp + 0xd8], xmm2
jmp 0x140435670
xor eax, eax
mov r12d, 1
lock cmpxchg dword [rbx + 0x30], r12d
cmp eax, 1
jne 0x140435a14
mov rcx, qword [r13 + 0x28]
mov r9, rbx
mov r8d, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140435a14
lea rdi, [r13 + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r9, qword [r13 + 0x98]
mov qword [rbx + 0x20], 0
test r9, r9
je 0x140435e3e
mov qword [r9 + 0x20], rbx
mov qword [r13 + 0x98], rbx
mov ecx, 1
xchg dword [r13 + 0x58], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140435a14
mov qword [rbx + 0xf0], 0
pxor xmm1, xmm1
movups xmmword [rbx + 0xe0], xmm1
jmp 0x14043553a
mov eax, 0x274d
jmp 0x140435aa2
lea r14, [r13 + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [r13 + 0x98]
mov qword [rbx + 0x20], 0
test r11, r11
je 0x140435e00
mov qword [r11 + 0x20], rbx
mov qword [r13 + 0x98], rbx
mov r8d, 1
xchg dword [r13 + 0x58], r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140435a14
test r8, r8
je 0x140435b6b
jmp 0x1404356fa
movq xmm5, rbx
punpcklqdq xmm5, xmm5
movups xmmword [r13 + 0x90], xmm5
jmp 0x140435dd4
movq xmm4, rbx
punpcklqdq xmm4, xmm4
movups xmmword [rbp + 0x90], xmm4
jmp 0x140435c4a
movq xmm1, rbx
punpcklqdq xmm1, xmm1
movups xmmword [r13 + 0x90], xmm1
jmp 0x140435b2b
movq xmm3, rbx
punpcklqdq xmm3, xmm3
movups xmmword [r13 + 0x90], xmm3
jmp 0x140435d5c
mov r8d, 0x32
lea rdx, [0x140556468]
lea rcx, [0x14055649a]
call qword [sym.imp.msvcrt.dll__assert]
mov r12, rax
lea rcx, [rsp + 0x60]
call fcn.140430690
mov rcx, r12
call fcn.1403e4610
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop