Function at 0x1400941c4
Capabilities:
Connect socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov rax, qword [0x1401c6840]
xor rax, rsp
mov qword [rsp + 0x270], rax
movabs rbx, 0xbc44ce2cc5604b8e
movabs r15, 0xbc44ce2c27b9a602
lea rdx, [rsp + 0xd8]
mov cx, 0x202
call sub.WS2_32.dll_WSAStartup
mov dword [rsp + 0x4c], eax
mov r13d, 0x40400
movabs r10, 0xd9a51474e6b37966
movabs r11, 0x65e1da586034f572
lea rax, [r15 + 0x42d1312]
mov qword [rsp + 0x40], rax
lea rax, [r15 - 0x89bbd0c]
mov qword [rsp + 0x58], rax
movabs r12, 0xc0edb2e143a6919c
movabs rbp, 0x65c9ec1e3101d55a
mov r14, r15
mov qword [rsp + 0x50], rax
mov edi, r15d
not edi
mov ecx, edi
and ecx, r13d
mov edx, r15d
and edx, r13d
lea eax, [rdx + rcx]
add eax, 0xb031144
add edx, ecx
xor eax, 0xb071544
mov rcx, rax
xor rcx, r11
mov r8d, eax
or r8d, edi
mov r9d, eax
or r9d, r15d
not r9d
lea r9d, [r9 + r9*2]
lea edx, [rdx*2 + 0x16062288]
xor edx, 0xe9f1d576
sub edx, r15d
xor eax, r15d
sub eax, r8d
add eax, r9d
xor eax, edx
add rax, r10
xor rax, rcx
cmp r15, rax
jge 0x1400943fa
cmp r15, qword [rsp + 0x40]
jge 0x1400944aa
cmp r15, qword [rsp + 0x58]
jae 0x1400945b0
mov eax, r15d
or eax, 0xdc
movzx eax, al
imul eax, eax
imul eax, eax, 0x6fd3
mov ecx, eax
or ecx, 0xfffffffe
mov edx, eax
and edx, 0xfffffffe
xor edx, 0xfffffffe
lea edx, [rdx + rdx*2]
mov r8d, eax
not r8d
lea r8d, [r8*2 - 1]
xor eax, 1
sub eax, ecx
add eax, edx
xor eax, r8d
add rax, r14
add rax, 0xffffffffe045142c
cmp r15, rax
jne 0x140094260
lea rcx, [0x1401df9b0]
lea rdx, str.Error_when_sending_data_to_the_server.
call fcn.14000c603
mov rcx, rax
call fcn.14000cc2d
mov rcx, qword [rsp + 0x38]
call sub.WS2_32.dll_closesocket
mov edi, eax
call sub.WS2_32.dll_WSACleanup
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
mov eax, r15d
mov ecx, 0xfffffffe
xor eax, ecx
add eax, r15d
add eax, 2
add r15d, r15d
and r15d, 2
xor r15d, eax
add r15d, 0xb4d9b8a2
mov eax, r15d
xor eax, 0xb4d9b8a3
mov dword [rsp + 0x34], eax
mov ecx, edi
not ecx
lea eax, [rcx + rcx*2]
add ecx, ecx
add eax, edi
inc eax
xor eax, ecx
lea ecx, [rax + rdi]
mov edx, eax
xor edx, edi
sub ecx, edx
and edi, eax
add edi, edi
xor edi, ecx
mov ecx, eax
not ecx
or ecx, edi
mov edx, edi
or edx, eax
not edx
lea edx, [rdx + rdx*2]
mov r8d, edi
not r8d
add r8d, r8d
sub r8d, eax
xor edi, eax
sub edi, ecx
add edi, edx
xor edi, r8d
movabs rax, 0x2c9e1ade3b75edc1
add rdi, rax
movabs rax, 0x90dad4f2920bc171
xor rdi, rax
inc rdi
mov r15, rdi
jmp 0x140094260
lea rax, [rbx - 0x1be21edd]
cmp r15, rax
jge 0x140094561
mov eax, r15d
or eax, 0xfffffffe
mov ecx, edi
and ecx, 0xfffffffe
lea ecx, [rcx + rcx*2]
lea edx, [rdi*2 - 1]
mov r8d, r15d
xor r8d, 1
sub r8d, eax
add r8d, ecx
xor r8d, edx
mov rax, r8
xor rax, rbp
movabs rcx, 0x567ae20e6ef72cf9
add rax, rcx
lea ecx, [r8 + r15]
mov edx, r8d
xor edx, r15d
sub ecx, edx
and r8d, r15d
add r8d, r8d
xor r8d, ecx
add r8, rax
cmp r15, r8
jae 0x1400946df
mov eax, 0xfffffffe
add eax, 0xfbbf4582
xor eax, r15d
add eax, r15d
add eax, 0x440ba80
lea ecx, [r15 + r15]
and ecx, 0x88174fe
xor ecx, eax
movabs rax, 0x61240583261eac14
xor rcx, rax
movabs rax, 0x5b20c8a96068e000
add rcx, rax
cmp r15, rcx
cmove r15, rbx
jmp 0x140094260
lea rsi, [r14 + 0x59a5cf61]
cmp r15, rsi
jge 0x14009470b
mov eax, 0xfffffffe
add eax, 0xe0569bf0
xor eax, r15d
add eax, r15d
add eax, 0x1fa96412
lea ecx, [r15 + r15]
and ecx, 0x3f52c822
xor ecx, eax
movabs rax, 0x405301bccd344034
xor rcx, rax
movabs rax, 0x29120c46e3147237
imul rcx, rax
cmp r15, rcx
jge 0x1400948f6
cmp r15, qword [rsp + 0x40]
jne 0x140094260
lea rcx, [0x1401df660]
lea rdx, str.Sent
call fcn.14000c603
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.14004203a
mov rcx, rax
lea rdx, str._bytes_to_the_server.
call fcn.14000c603
mov rcx, rax
call fcn.14000cc2d
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
lea r15, [r14 + 0x5a59b7b2]
jmp 0x140094260
cmp r15, rbx
jge 0x1400948d8
lea rcx, [rbx - 0x13b47004]
cmp r15, rcx
jae 0x140094995
cmp r15, rax
jne 0x140094260
lea rcx, [rsp + 0x80]
call fcn.14000e914
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
lea r15, [rbx - 0x2567493b]
jmp 0x140094260
mov eax, r15d
mov ecx, 0xfffffffe
xor eax, ecx
add eax, r15d
add eax, 2
lea ecx, [r15 + r15]
and ecx, 2
xor ecx, eax
cmp r15, r14
jae 0x140094a8b
xor rcx, r15
cmp rcx, qword [rsp + 0x58]
jne 0x140094260
lea rcx, [0x1401df9b0]
lea rdx, str.Error_when_creating_a_socket.
call fcn.14000c603
mov rcx, rax
call fcn.14000cc2d
call sub.WS2_32.dll_WSACleanup
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
mov ecx, eax
or ecx, 0xfffffffe
mov edx, eax
not edx
lea r8d, [rdx*2 - 1]
and edx, 0xfffffffe
lea edx, [rdx + rdx*2]
xor eax, 1
sub eax, ecx
add eax, edx
xor eax, r8d
mov ecx, eax
xor ecx, 0xabe32e5a
add ecx, 0x541cd1a7
mov dword [rsp + 0x34], ecx
lea ecx, [rdi + rdi*2]
add edi, edi
lea edx, [r15 + rcx]
add ecx, r15d
inc ecx
xor ecx, edi
mov r8d, ecx
xor r8d, 0xfe
add r8d, ecx
add r8d, 2
lea edx, [rdx*2 + 2]
and edx, 2
mov r9d, 0xff
and r8d, r9d
xor r8d, edx
or r8d, 0x34
imul r8d, r8d
imul edx, r8d, 0xbd19
or eax, 0xa3
and eax, r9d
imul eax, eax
imul eax, eax, 0x5f99
xor r8d, r8d
cmp edx, eax
sete r8b
neg r8
movabs rax, 0x13961d1c6bc708f5
xor r8, rax
lea eax, [rcx + r15]
mov edx, ecx
xor edx, r15d
sub eax, edx
and ecx, r15d
add ecx, ecx
xor ecx, eax
movabs r15, 0x8a7791027f159f44
sub r15, rcx
imul r15, r8
jmp 0x140094260
lea rax, [rbx - 0x1c56ad63]
cmp r15, rax
jae 0x140094ac7
lea rax, [rbx - 0x2567493b]
cmp r15, rax
jne 0x140094260
lea r15, [r14 + 0x5ecde612]
jmp 0x140094260
lea rax, [r14 + 0x5a59b7b2]
cmp r15, rax
jge 0x140094b0c
cmp r15, rsi
jne 0x140094260
mov word [rsp + 0xc8], 2
movzx ecx, word [0x1401da6a0]
call sub.WS2_32.dll_htons
mov r15d, eax
mov word [rsp + 0xca], ax
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0xa0], ymm0
mov rdi, qword [0x1401da690]
lea rcx, [0x1401da680]
vzeroupper
call fcn.1400121c8
lea rsi, [rsp + 0xa0]
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.140013708
mov rcx, rsi
call fcn.1400121c8
mov rcx, rax
call sub.WS2_32.dll_inet_addr
mov edi, eax
mov dword [rsp + 0xcc], eax
mov rcx, rsi
call fcn.14000e914
mov rcx, qword [rsp + 0x38]
mov eax, ecx
xor eax, 0xf63359c4
add eax, ecx
add eax, 0x9cca63c
mov rbp, r14
lea r14d, [rcx + rcx]
and r14d, 0x13994c76
xor r14d, eax
movzx eax, r15w
lea esi, [rdi + rax]
mov edx, edi
xor edx, eax
sub esi, edx
and edi, eax
add edi, edi
xor edi, esi
mov eax, edi
xor eax, 0xaa2792c9
lea r8d, [r14 + rax]
add r8d, 0x55d86d47
lea rdx, [rsp + 0xc8]
call sub.WS2_32.dll_connect
movabs r11, 0x65e1da586034f572
mov ecx, r14d
not ecx
mov edx, ecx
or edx, 1
and ecx, 0xfffffffe
lea ecx, [rcx + rcx*2]
mov r8d, 0xfffffffc
sub r8d, r14d
xor r14d, 1
sub r14d, edx
add r14d, ecx
xor r14d, r8d
imul ecx, r14d, 0xaa01822f
mov r14, rbp
movabs rbp, 0x65c9ec1e3101d55a
dec ecx
mov edx, edi
xor edx, 0xfffffffe
add edx, edi
add edx, 2
add esi, esi
and esi, 2
xor esi, edx
lea rdx, [rbx + rsi]
add rdx, 0xffffffffec4b8ffc
mov r8d, edx
not r8d
or r8d, esi
mov r9d, esi
or r9d, edx
not r9d
lea r9d, [r9 + r9*2]
mov r10d, esi
not r10d
add r10d, r10d
sub r10d, edx
xor esi, edx
sub esi, r8d
add esi, r9d
xor esi, r10d
movabs r10, 0xd9a51474e6b37966
movabs r8, 0x355e1e34c3fc2417
add rsi, r8
movabs r8, 0x76e52fe7f619b87a
xor rsi, r8
mov r8d, eax
xor r8d, 0x7ea08a9c
add r8d, eax
add r8d, 0x815f7564
lea r15d, [rax + rax]
and r15d, 0x2beeac6
xor r15d, r8d
sub r15, rsi
cmp eax, ecx
cmove r15, rdx
jmp 0x140094260
lea rax, [rbx + 0x4ba1805]
cmp r15, rax
jge 0x140094b82
cmp r15, rbx
jne 0x140094260
jmp 0x140094d64
lea rax, [r14 + 0x53274d2a]
cmp r15, rax
jne 0x140094260
mov ecx, 2
mov edx, 1
xor r8d, r8d
call sub.WS2_32.dll_socket
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
mov r9, rax
mov edx, 0x44835f94
or eax, edx
mov ecx, r9d
not ecx
and ecx, edx
lea ecx, [rcx + rcx*2]
lea edx, [r9 + r9]
mov r8d, 0xfffffffe
xor edx, r8d
add edx, 0x44835f95
add r8d, 0xbb7ca06d
xor r8d, r9d
sub r8d, eax
add r8d, ecx
xor r8d, edx
movabs rax, 0x2eeb62684303180
xor r8, rax
movabs rax, 0xb95618059aedb776
add r8, rax
mov qword [rsp + 0x38], r9
cmp r9, 0xffffffffffffffff
cmove rsi, r8
mov r15, rsi
jmp 0x140094260
mov eax, r15d
mov ecx, 0xfffffffe
xor eax, ecx
add eax, r15d
add eax, 2
lea ecx, [r15 + r15]
and ecx, 2
xor ecx, eax
movabs rax, 0x473923ffdea743b7
xor rcx, rax
movabs rax, 0x750baa2cd30497d3
add rcx, rax
cmp r15, rcx
jne 0x140094260
lea rcx, [0x1401df9b0]
lea rdx, str.Error_when_connecting_to_the_server.
call fcn.14000c603
mov rcx, rax
call fcn.14000cc2d
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
mov ecx, eax
not ecx
mov edx, ecx
or edx, 1
and ecx, 0xfffffffe
lea ecx, [rcx + rcx*2]
mov r8d, 0xfffffffc
sub r8d, eax
xor eax, 1
sub eax, edx
add eax, ecx
xor eax, r8d
lea ecx, [rsi + r15]
mov edx, esi
xor edx, r15d
sub ecx, edx
and r15d, esi
add r15d, r15d
xor r15d, ecx
lea ecx, [r15 + rax]
inc ecx
mov dword [rsp + 0x34], ecx
mov ecx, eax
mov r9d, 0xfcf11154
or ecx, r9d
mov edx, eax
not edx
lea r8d, [rdx*2 - 0x30eeeab]
and edx, r9d
lea edx, [rdx + rdx*2]
xor eax, 0x30eeeab
sub eax, ecx
add eax, edx
xor eax, r8d
lea r15, [rbx + rax]
add r15, 0xffffffffda98b6c5
jmp 0x140094260
add rcx, r14
cmp r15, rcx
jne 0x140094260
mov eax, dword [rsp + 0x4c]
mov ecx, eax
xor ecx, 0xfffffffe
add ecx, eax
add ecx, 2
lea edx, [rax + rax]
and edx, 2
xor edx, ecx
lea rcx, [r14 + 0x53274d2a]
test eax, eax
lea r15, [rbx + rdx - 0x1c56ad63]
cmove r15, rcx
jmp 0x140094260
jne 0x140094260
lea rcx, [0x1401df9b0]
lea rdx, str.Error_during_Winsock_initialisation.
call fcn.14000c603
mov rcx, rax
call fcn.14000cc2d
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
mov dword [rsp + 0x34], 1
mov r15, rbx
jmp 0x140094260
mov eax, r15d
or eax, 0xfffffffe
mov ecx, edi
and ecx, 0xfffffffe
lea ecx, [rcx + rcx*2]
lea edx, [rdi*2 - 1]
mov r8d, r15d
xor r8d, 1
sub r8d, eax
add r8d, ecx
xor r8d, edx
xor r8, r12
movabs rax, 0x308f1a169b7aa10b
imul r8, rax
cmp r15, r8
jne 0x140094260
mov rcx, qword [rsp + 0x38]
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
lea r15, [rbx - 0x1be21edd]
mov dword [rsp + 0x34], 0
jmp 0x140094260
mov eax, edi
mov r9d, 0x2175300
or eax, r9d
and edi, 0xfde8acff
lea ecx, [rdi + rdi*2]
mov edx, 0xfbd159fe
sub edx, r15d
mov r8d, r15d
xor r8d, r9d
sub r8d, eax
add r8d, ecx
xor r8d, edx
movabs rax, 0xfac436a0d35c4838
add r8, rax
xor r8, r15
movabs rax, 0x4680f88c19462bab
cmp r8, rax
jne 0x140094260
mov eax, r15d
mov ecx, 0xfb793164
xor eax, ecx
add eax, r15d
add eax, 0x486ce9c
lea esi, [r15 + r15]
and esi, 0x90d9d36
xor esi, eax
imul r8d, esi, 0xdb39cdc5
add r8d, 4
xor eax, eax
mov byte [rsp + 0x20], al
mov dword [rsp + 0x28], 2
lea rcx, [0x1401d62c0]
lea r13, [rsp + 0x60]
mov rdx, r13
mov r9b, 0x20
call fcn.140094d8c
mov rdi, qword [rsp + 0x70]
mov rcx, r13
call fcn.1400121c8
lea rbp, [rsp + 0xa0]
mov rcx, rbp
mov rdx, rax
mov r8, rdi
call fcn.1400133ac
mov r8d, send
mov rcx, rbp
lea rdx, str.:QWcIub_8tDp_aPsl
call fcn.140011e6c
vmovups ymm0, ymmword [rax]
vmovups ymmword [rsp + 0x80], ymm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], send
xor ecx, ecx
mov byte [rax], cl
mov rcx, rbp
movabs rbp, 0x65c9ec1e3101d55a
vzeroupper
call fcn.14000e914
mov rcx, r13
mov r13d, 0x40400
call fcn.14000e914
mov edi, dword [rsp + 0x90]
lea rcx, [rsp + 0x80]
call fcn.1400121c8
mov rcx, qword [rsp + 0x38]
mov rdx, rax
mov r8d, edi
xor r9d, r9d
call sub.WS2_32.dll_send
movabs r11, 0x65e1da586034f572
movabs r10, 0xd9a51474e6b37966
mov edi, eax
mov eax, esi
not eax
lea eax, [rax + rax*2]
mov ecx, 0xfffffffe
sub ecx, esi
lea eax, [rax + rsi*2]
inc eax
xor eax, ecx
mov ecx, edi
not ecx
mov edx, ecx
mov r9d, 0x486ce9b
or edx, r9d
mov r8d, 0xfb793164
and ecx, r8d
lea ecx, [rcx + rcx*2]
mov r8d, edi
xor r8d, r9d
sub r8d, edx
add r8d, ecx
lea ecx, [rdi + 0x90d9d37]
xor ecx, eax
xor ecx, r8d
mov eax, r15d
mov edx, 0xfffffffe
xor eax, edx
add eax, r15d
add eax, 2
add r15d, r15d
and r15d, 2
xor r15d, eax
movabs rax, 0xf6e8e7c04296680d
xor r15, rax
movabs rax, 0xc55be66bc5685221
add r15, rax
mov qword [rsp + 0x50], rdi
cmp edi, ecx
cmovne r15, qword [rsp + 0x40]
jmp 0x140094260
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b84b0
mov eax, dword [rsp + 0x34]
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret