Function at 0x14006b7a0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x68], rdx
xor r12d, r12d
mov byte [rbp + 0x20], r12b
mov ecx, 0x202
lea rdx, [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14006bc19
movzx eax, word [rbp + 0x130]
cmp al, 2
jne 0x14006bbf0
shr ax, 8
cmp al, 2
jne 0x14006bbf0
mov word [rbp + 0x20], 1
cmp qword [r14 + 0x18], 0xf
jbe 0x14006b837
mov r8, qword [r14]
mov rdx, r8
add r8, qword [r14 + 0x10]
jmp 0x14006b841
mov r8, qword [r14 + 0x10]
add r8, r14
mov rdx, r14
lea rcx, [rbp + 0x28]
call fcn.1400b74d0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400f6b40]
movdqu xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x70], 0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_closesocket]
movdqu xmmword [rbp - 0x80], xmm1
mov eax, dword [0x1400f0654]
mov word [rsp + 0x70], ax
movzx eax, byte [0x1400f0656]
mov byte [rsp + 0x72], al
mov byte [rsp + 0x73], 0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400b7400
nop
mov qword [rsp + 0x28], 0x3a98
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.140065cb0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006b917
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b911
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b911
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc760
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14006b956
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b951
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc760
movdqa xmm0, xmmword [0x1400f6b40]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14006b9a6
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b9a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b9a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc760
movdqa xmm0, xmmword [0x1400f6b40]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14006ba39
mov rsi, qword [rsp + 0x38]
cmp rdi, rsi
je 0x14006b9ef
nop dword [rax + rax]
lea rcx, [rdi + 0x20]
call fcn.1400798f0
mov rcx, rdi
call fcn.1400798f0
add rdi, 0x40
cmp rdi, rsi
jne 0x14006b9d0
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rdi
and rdx, 0xffffffffffffffc0
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006ba23
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ba23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400cc760
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov r15, qword [rbp + 8]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], recv
mov rdi, qword [rbp]
cmp rdi, r15
jne 0x14006ba60
mov byte [rbx], 0
jmp 0x14006bb3d
mov rax, r15
sub rax, rdi
movabs rsi, 0x7fffffffffffffff
cmp rax, rsi
ja 0x14006bbe4
cmp rax, 0xf
jbe 0x14006bafc
or rax, 0xf
cmp rax, rsi
jbe 0x14006bab4
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400ccb44
mov rcx, rax
test rax, rax
je 0x14006badf
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006baf5
mov rsi, rax
mov ecx, socket
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14006bae6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006bbea
jmp 0x14006ba96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14006baf2
call fcn.1400ccb44
jmp 0x14006baf5
mov rax, r12
mov qword [rbx], rax
mov qword [rbx + 0x18], rsi
cmp rdi, r15
je 0x14006bb24
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006bb0e
mov rdx, qword [rbx]
movzx ecx, byte [rdi]
mov rax, qword [rbx + 0x10]
mov byte [rdx + rax], cl
inc qword [rbx + 0x10]
inc rdi
cmp rdi, r15
jne 0x14006bb01
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14006bb31
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0
mov rdi, qword [rbp]
test rdi, rdi
je 0x14006bb85
mov rdx, qword [rbp + 0x10]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006bb71
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006bb71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400cc760
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
lea rcx, [rbp - 0x18]
call fcn.1400b5fc0
lea rcx, [rbp - 0x38]
call fcn.1400798f0
nop
lea rcx, [rbp + 0x28]
call fcn.140066e50
cmp byte [rbp + 0x20], 0
je 0x14006bbae
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rcx, r14
call fcn.1400798f0
mov rax, rbx
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400cc3e0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400630f0
nop
call fcn.140062f60
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x50]
call fcn.140063170
lea rdx, [0x14010a290]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea r9, str.WSAStartup_failed
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140063570
lea rdx, [0x14010a250]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3