Function at 0x1400095d0
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 0x140009b0c
movzx eax, word [rsp + 0x270]
cmp al, 2
jne 0x140009ade
shr ax, 8
cmp al, 2
jne 0x140009ade
mov word [rsp + 0x160], 1
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140009668
add r8, qword [rdi]
mov rdx, qword [rdi]
jmp 0x14000966e
add r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x168]
call fcn.14000f000
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, [0x140031211]
lea rcx, [rsp + 0x30]
call fcn.140010de0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 3
lea rdx, [0x140032440]
lea rcx, [rsp + 0x58]
call fcn.140010de0
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.14000ef30
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.140005cd0
nop
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140009788
mov rdx, qword [rsp + 0xe8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009782
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009782
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028c6c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400097c8
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400097c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400097c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028c6c
movdqa xmm0, xmmword [0x140032b80]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000981b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009816
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028c6c
movdqa xmm0, xmmword [0x140032b80]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x78]
call fcn.14000e580
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 0x14000987d
mov r8, r12
mov ebx, recv
mov qword [rsp + 0xf0], rbx
mov byte [rsp + 0xd8], r8b
jmp 0x140009998
sub r14, r15
mov qword [rsp + recv0], 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140009b37
mov esi, recv
cmp r14, rsi
jbe 0x140009955
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x1400098fc
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140028c30
mov rcx, rax
test rax, rax
je 0x1400099f9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000995d
mov eax, socket
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140009924
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009b3c
jmp 0x1400098ca
test rcx, rcx
je 0x140009940
call fcn.140028c30
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000995d
mov rax, r12
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rsi
jmp 0x14000995d
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 0x140009aaf
lea rdx, str.true
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009aaf
cmp rbx, 0xf
jbe 0x140009a09
lea rdx, [rbx + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140009a00
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009a00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140028c6c
nop
lea rcx, [rsp + 0x100]
call fcn.140007190
nop
lea rcx, [rsp + 0x168]
call fcn.140006ee0
cmp byte [rsp + 0x160], 0
je 0x140009a35
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140009a6b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140009a66
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009aa8
mov rcx, r8
call fcn.140028c6c
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.140028c10
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.140010730
lea rdx, [0x140010900]
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.140002320
lea rdx, [0x14003a908]
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
lea r9, str.WSAStartup_failed
mov edx, eax
lea rcx, [rsp + 0xa8]
call fcn.1400027d0
lea rdx, [0x14003a878]
lea rcx, [rsp + 0xa8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001520
call fcn.140001480
int3