Function at 0x140007590
Capabilities:
Create thread
Initialize winsock library
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r14d, r14d
mov esi, r14d
mov dword [rbp - 0x70], r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea r8d, [r14 + 0x18]
lea rdx, str.reportmanagement_log.txt
lea rcx, [rsp + 0x50]
call fcn.14000a120
nop
lea rcx, [rsp + 0x50]
call fcn.14000e290
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140007641
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000763c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000763c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fe00
mov ecx, 0x202
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140007763
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140009570
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, 0x1d
lea rdx, str.Failed_to_initialize_Winsock.
lea rcx, [rsp + 0x50]
call fcn.14000a120
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000e8d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400076e5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400076e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fe00
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], recv
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140007737
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007732
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007732
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fe00
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14000fde0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ebx, r14d
mov r15d, 2
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
mov rdi, rax
jne 0x140007885
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140009570
or esi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, 0x18
lea rdx, str.Failed_to_create_socket.
lea rcx, [rsp + 0x50]
call fcn.14000a120
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000e8d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140007811
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000780c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007877
call fcn.14000fe00
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], recv
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000785c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000787e
call fcn.14000fe00
inc ebx
cmp ebx, 0x14
jge 0x140007737
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000776c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov word [rbp - 0x68], r15w
mov dword [rbp - 0x64], r14d
mov ecx, 0x64
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x66], ax
mov ebx, r14d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x68]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1400079c6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140009570
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, socket
lea rdx, str.Failed_to_bind_socket.
lea rcx, [rsp + 0x50]
call fcn.14000a120
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000e8d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140007942
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000793d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400079a4
call fcn.14000fe00
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], recv
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000798d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400079ab
call fcn.14000fe00
inc ebx
cmp ebx, 0x14
jge 0x1400079b2
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400078a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140007737
mov edx, 3
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
mov dword [rbp - 0x70], reloc.WS2_32.dll_recv
lea rsi, [0x1400042b0]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x58]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140007adc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140009570
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea r8d, [rbx + 0x26]
lea rdx, str.Failed_to_accept_incoming_connection.
lea rcx, [rsp + 0x70]
call fcn.14000a120
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14000e8d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140007a85
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007b65
call fcn.14000fe00
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], recv
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400079e2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ad2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007b6c
call fcn.14000fe00
jmp 0x1400079e2
xor r9d, r9d
lea r8d, [r9 + 0x53]
lea rdx, str.Reports_Management_administrative_console._Type__help__to_view_available_commands._n
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400100a4
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000b610]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140007b88
cmp dword [rsp + 0x58], 0
je 0x140007b7c
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140007b73
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
jmp 0x1400079e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3