Function at 0x140007fe0
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x420
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rsp + 0x418], rax
mov rdi, rcx
mov qword [rsp + 0xd0], rcx
xor r12d, r12d
mov byte [rsp + 0x160], r12b
mov ecx, 0x202
lea rdx, [rsp + 0x270]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14000851c
movzx eax, word [rsp + 0x270]
cmp al, 2
jne 0x1400084ee
shr ax, 8
cmp al, 2
jne 0x1400084ee
mov word [rsp + 0x160], 1
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140008078
add r8, qword [rdi]
mov rdx, qword [rdi]
jmp 0x14000807e
add r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x168]
call fcn.14000c1a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], r12
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor r8d, r8d
lea rdx, [0x140012a51]
lea rcx, [rsp + 0x30]
call fcn.14000de00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 3
lea rdx, [0x140013a88]
lea rcx, [rsp + 0x58]
call fcn.14000de00
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
add r8, rdx
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xd8]
call fcn.14000c0d0
nop
mov qword [rsp + 0x28], 0xffffffffffffffff
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x160]
call fcn.140005e40
nop
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140008198
mov rdx, qword [rsp + 0xe8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008192
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001039c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400081d8
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001039c
movdqa xmm0, xmmword [0x140013ee0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000822b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008226
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008226
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001039c
movdqa xmm0, xmmword [0x140013ee0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x78]
call fcn.14000b790
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov r15, qword [rsp + 0x140]
mov r14, qword [rsp + 0x148]
mov qword [rsp + 0xe8], r12
cmp r15, r14
jne 0x14000828d
mov r8, r12
mov ebx, recv
mov qword [rsp + 0xf0], rbx
mov byte [rsp + 0xd8], r8b
jmp 0x1400083a8
sub r14, r15
mov qword [rsp + recv0], 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140008547
mov esi, recv
cmp r14, rsi
jbe 0x140008365
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x14000830c
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140010360
mov rcx, rax
test rax, rax
je 0x140008409
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000836d
mov eax, socket
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140008334
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000854c
jmp 0x1400082da
test rcx, rcx
je 0x140008350
call fcn.140010360
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000836d
mov rax, r12
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000836d
mov rax, qword [rsp + 0xd8]
lea rbx, [rsp + 0xd8]
cmp rsi, 0xf
cmova rbx, rax
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0xe8], r14
mov byte [rbx + r14], 0
mov rbx, qword [rsp + 0xf0]
mov r8, qword [rsp + 0xe8]
lea rcx, [rsp + 0xd8]
mov rsi, qword [rsp + 0xd8]
cmp rbx, 0xf
cmova rcx, rsi
cmp r8, 4
jne 0x1400084bf
lea rdx, str.true
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400084bf
cmp rbx, 0xf
jbe 0x140008419
lea rdx, [rbx + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140008410
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008410
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14001039c
nop
lea rcx, [rsp + 0x100]
call fcn.140007300
nop
lea rcx, [rsp + 0x168]
call fcn.140007050
cmp byte [rsp + 0x160], 0
je 0x140008445
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000847b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008476
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400084b8
mov rcx, r8
call fcn.14001039c
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.140010340
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.____Invalid_license_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d750
lea rdx, [0x14000d920]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x90]
call fcn.140002020
lea rdx, [0x140016c48]
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
lea r9, str.WSAStartup_failed
mov edx, eax
lea rcx, [rsp + 0xa8]
call fcn.1400024d0
lea rdx, [0x140016c00]
lea rcx, [rsp + 0xa8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001220
call fcn.140001180
int3