Function at 0x1400094a0
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 [0x14003d180]
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 0x1400099dc
movzx eax, word [rsp + 0x270]
cmp al, 2
jne 0x1400099ae
shr ax, 8
cmp al, 2
jne 0x1400099ae
mov word [rsp + 0x160], 1
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140009538
add r8, qword [rdi]
mov rdx, qword [rdi]
jmp 0x14000953e
add r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x168]
call fcn.14000f880
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, [0x1400311f1]
lea rcx, [rsp + 0x30]
call fcn.140011660
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 3
lea rdx, [0x140032410]
lea rcx, [rsp + 0x58]
call fcn.140011660
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.14000f7b0
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.140005c70
nop
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140009658
mov rdx, qword [rsp + 0xe8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009652
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009652
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140009698
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009693
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009693
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400096eb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400096e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400294ec
movdqa xmm0, xmmword [0x140032bf0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x78]
call fcn.14000ee00
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 0x14000974d
mov r8, r12
mov ebx, recv
mov qword [rsp + 0xf0], rbx
mov byte [rsp + 0xd8], r8b
jmp 0x140009868
sub r14, r15
mov qword [rsp + recv0], 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140009a07
mov esi, recv
cmp r14, rsi
jbe 0x140009825
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x1400097cc
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400294b0
mov rcx, rax
test rax, rax
je 0x1400098c9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000982d
mov eax, socket
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400097f4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009a0c
jmp 0x14000979a
test rcx, rcx
je 0x140009810
call fcn.1400294b0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000982d
mov rax, r12
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000982d
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 0x14000997f
lea rdx, str.true
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000997f
cmp rbx, 0xf
jbe 0x1400098d9
lea rdx, [rbx + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400098d0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400294ec
nop
lea rcx, [rsp + 0x100]
call fcn.140007130
nop
lea rcx, [rsp + 0x168]
call fcn.140006e80
cmp byte [rsp + 0x160], 0
je 0x140009905
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000993b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140009936
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009978
mov rcx, r8
call fcn.1400294ec
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.140029490
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.140010fb0
lea rdx, [0x140011180]
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.1400022c0
lea rdx, [0x14003aa70]
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
lea r9, str.WSAStartup_failed
mov edx, eax
lea rcx, [rsp + 0xa8]
call fcn.140002770
lea rdx, [0x14003a9e0]
lea rcx, [rsp + 0xa8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1400014c0
call fcn.140001420
int3