Function at 0x140007db0
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 0x1400082ec
movzx eax, word [rsp + 0x270]
cmp al, 2
jne 0x1400082be
shr ax, 8
cmp al, 2
jne 0x1400082be
mov word [rsp + 0x160], 1
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140007e48
add r8, qword [rdi]
mov rdx, qword [rdi]
jmp 0x140007e4e
add r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x168]
call fcn.14000b600
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.14000d260
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 3
lea rdx, [0x140013a1c]
lea rcx, [rsp + 0x58]
call fcn.14000d260
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.14000b530
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 0x140007f68
mov rdx, qword [rsp + 0xe8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007f62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140007fa8
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fa3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
movdqa xmm0, xmmword [0x140013e20]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140007ffb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ff6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ff6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f7fc
movdqa xmm0, xmmword [0x140013e20]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x78]
call fcn.14000abf0
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 0x14000805d
mov r8, r12
mov ebx, select
mov qword [rsp + 0xf0], rbx
mov byte [rsp + 0xd8], r8b
jmp 0x140008178
sub r14, r15
mov qword [rsp + socket0], 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140008317
mov esi, select
cmp r14, rsi
jbe 0x140008135
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x1400080dc
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000f7c0
mov rcx, rax
test rax, rax
je 0x1400081d9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000813d
mov eax, socket
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140008104
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000831c
jmp 0x1400080aa
test rcx, rcx
je 0x140008120
call fcn.14000f7c0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000813d
mov rax, r12
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000813d
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 0x14000828f
lea rdx, str.true
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000828f
cmp rbx, 0xf
jbe 0x1400081e9
lea rdx, [rbx + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400081e0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000f7fc
nop
lea rcx, [rsp + 0x100]
call fcn.140007300
nop
lea rcx, [rsp + 0x168]
call fcn.140007050
cmp byte [rsp + 0x160], 0
je 0x140008215
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000824b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008246
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008288
mov rcx, r8
call fcn.14000f7fc
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], select
mov byte [rdi], 0
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.14000f7a0
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.14000cbb0
lea rdx, [0x14000cd80]
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, [0x140016b00]
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, [0x140016ab8]
lea rcx, [rsp + 0xa8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001220
call fcn.140001180
int3