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

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
movsd xmm0, qword [rbp + 0x70]
mov eax, dword [rbp + 0x68]
mov rax, qword [rbp + 0x60]
mov rax, qword [0x00442300]
mov rax, qword [rax]
xor rax, rbp
mov qword [rbp + 0x28], rax
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
mov dword [rbp - 0x4c], 0x7d0
movsd xmm0, qword [rbp + 0x70]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x42e91a
call fcn.0042dbc0
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x30], rax
movsd xmm0, qword [rbp + 0x70]
movsd xmm1, qword [0x00445df8]
mulsd xmm0, xmm1
movaps xmm1, xmm0
cvttsd2si rax, xmm1
mov rdx, rax
sar rdx, 0x3f
movsd xmm1, qword [0x00445e00]
subsd xmm0, xmm1
cvttsd2si rcx, xmm0
and rcx, rdx
or rax, rcx
mov qword [rbp - 0x40], rax
cmp qword [rbp - 0x10], 0
jne 0x42e931
mov dword [rbp - 4], 0xfffffffe
jmp 0x42eb84
cmp qword [rbp - 0x28], 0
je 0x42e948
mov dword [rbp - 4], 0xfffffffe
jmp 0x42eb84
jmp 0x42e94d
cmp qword [rbp - 0x18], 0
je 0x42e9a4
mov rcx, qword [rbp + 0x60]
movsxd r8, dword [rbp + 0x68]
mov r9, qword [rbp - 0x18]
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov dword [rbp - 0x44], eax
mov rcx, qword [rbp - 0x18]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ferror
cmp eax, 0
je 0x42e998
mov dword [rbp - 0x44], 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x48], eax
jmp 0x42e99f
mov dword [rbp - 0x48], 0
jmp 0x42ea1a
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x60]
mov r8d, dword [rbp + 0x68]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp - 0x44], eax
cmp dword [rbp - 0x44], 0
jge 0x42e9d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x58], eax
jmp 0x42e9de
xor eax, eax
mov dword [rbp - 0x58], eax
jmp 0x42e9de
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x48], eax
cmp dword [rbp - 0x48], 0x2733
jne 0x42e9ff
mov dword [rbp - 0x48], 0
mov dword [rbp - 0x44], 0
cmp dword [rbp - 0x44], 0
jge 0x42ea15
mov dword [rbp - 4], 0xfffffffe
jmp 0x42eb84
jmp 0x42ea1a
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x28]
cmp eax, 0
je 0x42ea36
mov dword [rbp - 4], 0xfffffffe
jmp 0x42eb84
cmp dword [rbp - 0x44], 0
jg 0x42ea54
cmp dword [rbp - 0x44], 0
jne 0x42ea5f
cmp dword [rbp + 0x68], 0
jne 0x42ea5f
mov eax, dword [rbp - 0x44]
mov dword [rbp - 4], eax
jmp 0x42eb84
cmp dword [rbp - 0x44], 0
jge 0x42ea7f
jmp 0x42ea6e
jmp 0x42ea73
mov dword [rbp - 4], 0xfffffffe
jmp 0x42eb84
cmp qword [rbp - 0x18], 0
je 0x42ea9a
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42eb41
mov dword [rbp - 0x54], 1
mov rax, qword [rbp - 0x20]
mov qword [rbp], rax
mov word [rbp + 8], 4
mov rax, qword [rbp - 0x10]
cmp dword [rax], 1
jne 0x42eaf7
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 0x7cd4]
mov eax, dword [rbp - 0x54]
mov edx, eax
mov rax, rbp
shl rdx, 4
add rax, rdx
mov qword [rax], rcx
mov eax, dword [rbp - 0x54]
mov ecx, eax
mov rax, rbp
shl rcx, 4
add rax, rcx
mov word [rax + 8], 1
mov eax, dword [rbp - 0x54]
add eax, 1
mov dword [rbp - 0x54], eax
mov rcx, rbp
mov edx, dword [rbp - 0x54]
mov r8d, dword [rbp - 0x4c]
mov r9, qword [rbp - 0x10]
add r9, 0x28
call fcn.0042e280
mov dword [rbp - 0x50], eax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x28]
cmp eax, 0
je 0x42eb2d
mov dword [rbp - 4], 0xfffffffe
jmp 0x42eb84
cmp dword [rbp - 0x50], 0
jle 0x42eb3c
jmp 0x42e94d
jmp 0x42eb41
movsd xmm0, qword [rbp + 0x70]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x42eb78
call fcn.0042dbc0
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
sub rax, qword [rbp - 0x30]
cmp rax, qword [rbp - 0x40]
jbe 0x42eb73
jmp 0x42eb7d
jmp 0x42eb78
jmp 0x42e94d
mov dword [rbp - 4], 0xffffffff
mov eax, dword [rbp - 4]
mov dword [rbp - 0x5c], eax
mov rcx, qword [rbp + 0x28]
xor rcx, rbp
mov rax, qword [0x00442300]
mov rax, qword [rax]
sub rax, rcx
jne 0x42eba9
jmp 0x42ebae
call fcn.0041bf30
mov eax, dword [rbp - 0x5c]
add rsp, 0xb0
pop rbp
ret