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

Disassembly:
push rbx
push r13
sub rsp, 0x2d8
mov r13, rdx
mov ebx, ecx
cmp ecx, 4
jge 0x14000e57e
lea rcx, str.invalid_arguments____________________________________________________________n
call fcn.1400016f0
xor eax, eax
add rsp, 0x2d8
pop r13
pop rbx
ret
xor r8d, r8d
mov qword [rsp + 0x2d0], rsi
lea rcx, str.AI_Trainer__d._d______________n
lea edx, [r8 + 0x4d]
call fcn.1400016f0
mov r9, qword [r13 + 8]
xor esi, esi
mov r11d, esi
mov qword [rsp + 0x2c0], r12
nop word [rax + rax]
lea eax, [r11*8]
mov rdx, rsi
movsxd rcx, eax
lea r10, [rsp + 0xe8]
add r10, rcx
mov eax, recv
mov qword [r10], rsi
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r9 + rax - 1]
dec rax
lea ecx, [r8 - 0x41]
cmp cl, 0x19
ja 0x14000eaed
imul rdx, rdx, 0x1a
add rdx, 0xffffffffffffffbf
add rdx, r8
mov qword [r10], rdx
test rax, rax
jg 0x14000e5e0
inc r11d
add r9, 0xe
cmp r11d, 4
jl 0x14000e5b0
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x1e
jle 0x14000e631
lea rcx, str.MinerName_is_invalid__n
jmp 0x14000eaf4
mov rcx, qword [r13 + 0x18]
call fcn.14001506c
mov r12d, eax
test eax, eax
jne 0x14000e64d
lea rcx, str.MaximumNumberOfThreads_is_invalid__n
jmp 0x14000eaf4
mov qword [rsp + 0x2c8], rdi
mov qword [rsp + 0x2b8], r14
mov qword [rsp + 0x2b0], r15
cmp ebx, 4
jle 0x14000e688
mov rcx, qword [r13 + 0x20]
call fcn.140014f40
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov ebx, r12d
nop dword [rax + rax]
mov qword [rsp + 0x28], rsi
lea r8, [0x140003950]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x4800000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add ebx, 0xffffffff
jne 0x14000e690
lea edx, [rbx + 1]
lea rcx, [0x140003940]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 0x202
lea rdx, [rsp + 0x110]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movzx ecx, byte [0x1400318e0]
mov rdi, rsi
mov qword [rsp + 0x60], rax
mov r15, rax
mov qword [rsp + 0x300], rsi
mov r14, rax
mov dword [rsp + 0x2f0], esi
test cl, cl
jne 0x14000eaca
mov ecx, 1
vzeroupper
call qword [sym.imp.KERNEL32.dll_Sleep]
vpxor xmm0, xmm0, xmm0
cmp rbx, 0xffffffffffffffff
jne 0x14000e89d
mov edi, 2
lea edx, [rbx + 2]
mov ecx, edi
lea r8d, [rbx + 7]
vmovdqu ymmword [0x1400318e8], ymm0
vzeroupper
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e76e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Fail_to_create_a_socket___d___n
call fcn.1400016f0
jmp 0x14000eab3
mov ecx, 0x5551
mov qword [rsp + 0x48], 0
mov word [rsp + 0x40], di
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x44], 0x100007f
lea rdx, [rsp + 0x40]
mov word [rsp + 0x42], ax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14000e7f2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx ecx, byte [rsp + 0x47]
movzx r9d, byte [rsp + 0x46]
movzx r8d, byte [rsp + 0x45]
movzx edx, byte [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x5551
mov dword [rsp + 0x20], ecx
lea rcx, str.Fail_to_connect_to__d._d._d._d:_d___d___n
call fcn.1400016f0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14000eaac
vmovdqu ymm0, ymmword [rsp + 0xe8]
mov rcx, qword [r13 + 0x10]
xor eax, eax
vpxor xmm1, xmm1, xmm1
vmovdqu ymmword [rsp + 0x74], ymm0
vmovups xmmword [rsp + 0x94], xmm1
mov qword [rsp + 0xa4], rax
mov edi, 0x44
mov dword [rsp + 0xac], eax
mov word [rsp + 0xb0], ax
mov dword [rsp + 0x70], 0x1000044
vzeroupper
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x94]
movsxd r8, eax
call fcn.140010830
mov word [rsp + 0xb2], r12w
lea rsi, [rsp + 0x70]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14000e88f
movsxd rcx, eax
add rsi, rcx
sub edi, eax
jne 0x14000e863
mov esi, dword [rsp + 0x2f0]
jmp 0x14000eab3
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14000eaa5
vmovdqu ymm1, ymmword [0x1400318c0]
vpcmpeqq ymm0, ymm0, ymm1
vpmovmskb eax, ymm0
cmp eax, 0xffffffff
je 0x14000e930
vmovdqu ymm0, ymmword [0x1400318e8]
vmovdqu ymmword [rsp + 0x74], ymm0
mov edi, 0x44
mov dword [rsp + 0x70], 0x3000044
vmovdqu ymmword [rsp + 0x94], ymm1
lea rsi, [rsp + 0x70]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
vzeroupper
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14000e911
movsxd rcx, eax
add rsi, rcx
sub edi, eax
jne 0x14000e8e0
vpxor xmm0, xmm0, xmm0
vmovdqu ymmword [0x1400318c0], ymm0
jmp 0x14000e921
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x300]
mov esi, dword [rsp + 0x2f0]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r8, rax
sub r8, r14
cmp r8, 0x3e8
jb 0x14000eab3
mov rcx, qword [0x140031908]
xor edx, edx
sub rcx, rdi
imul rax, rcx, 0x3e8
div r8
mov rdi, rax
mov rax, qword [0x140031908]
mov qword [rsp + 0x300], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x308], rax
lea rcx, [0x1400318e8]
mov r14, rax
call fcn.14000e220
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r9, qword [0x140031908]
xor edx, edx
mov rcx, qword [0x140031908]
mov r8, rax
imul rax, rcx, 0x3e8
sub r8, r15
mov dword [rsp + 0x30], esi
div r8
mov edx, edi
lea rcx, str._d___d__it_s_______d_solutions_with__d_iterations_______.10s..._______d_qus_solution_n
mov r8, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9d, dword [0x140031910]
call fcn.1400016f0
cmp rbx, 0xffffffffffffffff
je 0x14000eab3
mov eax, recv
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x50], 0x200000c
lea r15, [rsp + 0xc0]
mov edi, eax
lea rsi, [rsp + 0x50]
lea r14d, [rax + 0x18]
nop word [rax + rax]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14000ea8f
movsxd rcx, eax
add rsi, rcx
sub edi, eax
jne 0x14000ea20
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000ea8f
movsxd rcx, eax
add r15, rcx
sub r14d, eax
jne 0x14000ea40
vmovdqu ymm0, ymmword [rsp + 0xc0]
mov esi, dword [rsp + 0xe0]
mov r14, qword [rsp + 0x308]
mov r15, qword [rsp + 0x60]
vmovdqu ymmword [0x1400318e8], ymm0
mov dword [rsp + 0x2f0], esi
jmp 0x14000eab3
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov r14, qword [rsp + 0x308]
mov r15, qword [rsp + 0x60]
mov esi, dword [rsp + 0x2f0]
mov rbx, 0xffffffffffffffff
movzx eax, byte [0x1400318e0]
mov rdi, qword [rsp + 0x300]
test al, al
je 0x14000e711
vzeroupper
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov r15, qword [rsp + 0x2b0]
mov r14, qword [rsp + 0x2b8]
mov rdi, qword [rsp + 0x2c8]
jmp 0x14000eaf9
lea rcx, str.OperatorId_is_invalid__n
call fcn.1400016f0
xor r8d, r8d
lea rcx, str.AI_Trainer__d._d_______________n
lea edx, [r8 + 0x4d]
call fcn.1400016f0
mov r12, qword [rsp + 0x2c0]
xor eax, eax
mov rsi, qword [rsp + 0x2d0]
add rsp, 0x2d8
pop r13
pop rbx
ret