Function at 0x140009bd0
Capabilities:
Send data
Send data on socket
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push r12
sub rsp, 0xb8
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x48], rax
movsd xmm6, qword [0x1400a2400]
xor ebp, ebp
mov rsi, rdx
mov rdx, qword [rsp + 0x100]
mov r12, r9
mov qword [rsp + 0x28], r8
mov rbx, rcx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x30], rdx
test rcx, rcx
jne 0x140009c2c
or rax, 0xffffffffffffffff
jmp 0x140009eaf
mov rcx, qword [rcx + 0x150]
mov qword [rsp + 0xb0], rdi
test rcx, rcx
je 0x140009c5a
call fcn.140074200
mov rdx, qword [rsp + 0x30]
movd xmm6, eax
cvtdq2pd xmm6, xmm6
divsd xmm6, qword [0x140097a20]
mov rdi, qword [rsp + 0x108]
test rdi, rdi
jle 0x140009ea4
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r15
movaps xmmword [rsp + 0x70], xmm7
xorpd xmm7, xmm7
movaps xmmword [rsp + 0x60], xmm8
movsd xmm8, qword [0x140097a40]
lea r14, [rbx + 0x28]
movabs rbx, 0x8000000000000000
movaps xmmword [rsp + 0x50], xmm9
movsd xmm9, qword [0x1400a2368]
nop dword [rax + rax]
mov eax, dword [r14]
test eax, eax
jne 0x140009e7b
add rbp, rdx
xor r15d, r15d
xor r13d, r13d
comisd xmm6, xmm7
jbe 0x140009d10
call fcn.140007950
movapd xmm0, xmm6
mov r15, rax
xor eax, eax
mulsd xmm0, xmm9
comisd xmm0, xmm8
jbe 0x140009d03
subsd xmm0, xmm8
comisd xmm0, xmm8
jae 0x140009d03
mov rax, rbx
cvttsd2si r13, xmm0
add r13, rax
nop dword [rax + rax]
test r12, r12
je 0x140009d59
mov r8d, edi
mov rdx, rbp
mov rcx, r12
call qword [0x1400d1008]
mov ebx, eax
test eax, eax
jg 0x140009db8
mov edx, eax
mov rcx, r12
call qword [0x1400d1018]
cmp eax, 5
jne 0x140009d4f
cmp ebx, 0xffffffff
jne 0x140009e3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140009db8
cmp eax, 2
je 0x140009db6
cmp eax, 3
jmp 0x140009db0
test rsi, rsi
je 0x140009d8b
movsxd r8, edi
mov r9, rsi
mov edx, 1
mov rcx, rbp
call fcn.14007eebc
mov rcx, rsi
mov rbx, rax
call fcn.1400807e4
test eax, eax
je 0x140009db8
or ebx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140009db8
mov rcx, qword [rsp + 0x28]
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test eax, eax
jns 0x140009db8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x140009e3c
xor ebx, ebx
mov eax, dword [r14]
test eax, eax
jne 0x140009e3c
test ebx, ebx
jg 0x140009e41
jne 0x140009dcb
test edi, edi
je 0x140009e41
jmp 0x140009dcd
js 0x140009e3c
test rsi, rsi
je 0x140009ddf
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140009e1c
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x38]
mov r9, r14
mov qword [rsp + 0x38], rax
mov eax, 4
mov r8d, 0x7d0
lea edx, [rax - 3]
mov word [rsp + 0x40], ax
call fcn.1400099a0
mov r11d, eax
mov eax, dword [r14]
test eax, eax
jne 0x140009e3c
test r11d, r11d
jg 0x140009d10
comisd xmm6, xmm7
jbe 0x140009d10
call fcn.140007950
sub rax, r15
cmp rax, r13
jbe 0x140009d10
or ebx, 0xffffffff
jmp 0x140009e41
mov ebx, 0xfffffffe
mov rbp, qword [rsp + 0x20]
movsxd rax, ebx
test ebx, ebx
js 0x140009e74
je 0x140009e7b
mov rdx, qword [rsp + 0x30]
add rbp, rax
sub rdi, rax
mov qword [rsp + 0x20], rbp
movabs rbx, 0x8000000000000000
test rdi, rdi
jg 0x140009cc0
jmp 0x140009e7b
test rbp, rbp
cmove rbp, rax
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
mov r15, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
movaps xmm9, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0xb0]
mov rax, rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006f1f0
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0xb8
pop r12
pop rsi
pop rbp
pop rbx
ret