Function at 0x14000cb80
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14006b028]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rdx
mov r13, rcx
mov qword [rsp + 0x60], rcx
xor r15d, r15d
mov byte [rcx], r15b
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, eax
test eax, eax
jne 0x14000d1b5
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x14000d18c
shr ax, 8
cmp al, 2
jne 0x14000d18c
mov word [r13], 1
mov qword [r13 + 8], r15
mov qword [r13 + 0x18], r15
mov qword [r13 + 0x20], reloc.WS2_32.dll_ntohs
mov byte [r13 + 8], dl
lea rdi, [r13 + 0x28]
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], dl
mov qword [r13 + 0x48], r15
mov qword [r13 + 0x58], r15
mov qword [r13 + 0x60], reloc.WS2_32.dll_ntohs
mov byte [r13 + 0x48], dl
mov qword [r13 + 0x68], r15
mov qword [r13 + 0x78], r15
mov qword [r13 + 0x80], reloc.WS2_32.dll_ntohs
mov byte [r13 + 0x68], dl
lea rbx, [r13 + 0x88]
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
mov rcx, rsi
mov r15, qword [rsi + 0x18]
cmp r15, 0x10
jb 0x14000cc75
mov rcx, qword [rsi]
lea rax, [rsi + 0x10]
mov qword [rsp + 0x50], rax
mov r12, qword [rax]
mov qword [rsp + 0x20], 3
lea r9, [0x14005610c]
xor r8d, r8d
mov rdx, r12
call fcn.14002e340
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x14000cdc9
mov qword [rsp + 0x30], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r8, rax
cmp r12, rax
cmovb r8, r12
mov rdx, rsi
cmp r15, 0x10
jb 0x14000ccd3
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 8]
call fcn.140029e30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000cd28
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d117
call fcn.14004e23c
mov rcx, qword [rsp + 0x58]
add rcx, 3
mov qword [rsp + 0x30], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r8, qword [rsp + 0x50]
mov rax, qword [r8]
cmp rax, rcx
jb 0x14000d186
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 0x10
jb 0x14000cd6f
mov rsi, qword [rsi]
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140029e30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000ce01
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cdc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d117
call fcn.14004e23c
jmp 0x14000ce01
mov r8d, 4
lea rdx, str.http
lea rcx, [r13 + 8]
call fcn.140029c60
cmp rbx, rsi
je 0x14000ce01
cmp qword [rsi + 0x18], 0x10
jb 0x14000cdee
mov rsi, qword [rsi]
mov r8, qword [rsp + 0x50]
mov r8, qword [r8]
mov rdx, rsi
mov rcx, rbx
call fcn.140029c60
mov r14, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000ce0e
mov r14, qword [rbx]
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x14000ce44
mov r8, rsi
mov edx, 0x23
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14000ce44
sub rax, r14
cmp rax, 0xffffffffffffffff
je 0x14000ce44
mov rdx, rax
mov rcx, rbx
call fcn.140029a30
mov rsi, qword [rbx + 0x10]
mov r15, rbx
mov r12, qword [rbx + 0x18]
cmp r12, 0x10
jb 0x14000ce54
mov r15, qword [rbx]
test rsi, rsi
je 0x14000cf97
mov r8, rsi
mov edx, 0x2f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x14000cf97
sub r14, r15
cmp r14, 0xffffffffffffffff
je 0x14000cf97
xor r15d, r15d
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r8, r14
cmp rsi, r14
cmovb r8, rsi
mov rdx, rbx
cmp r12, 0x10
jb 0x14000cead
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140029e30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000cf01
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cefc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d117
call fcn.14004e23c
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rax, qword [rbx + 0x10]
cmp rax, r14
jb 0x14000d186
sub rax, r14
mov r12, 0xffffffffffffffff
mov r8, r12
cmp rax, r12
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000cf3d
mov rax, qword [rbx]
lea rdx, [rax + r14]
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140029e30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000cfcf
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d117
call fcn.14004e23c
jmp 0x14000cfcf
cmp rdi, rbx
je 0x14000cfb3
mov rdx, rbx
cmp r12, 0x10
jb 0x14000cfa8
mov rdx, qword [rbx]
mov r8, rsi
mov rcx, rdi
call fcn.140029c60
mov r8d, 1
lea rdx, [0x140056118]
mov rcx, rbx
call fcn.140029c60
mov r12, 0xffffffffffffffff
mov r15, rdi
mov r14, qword [rdi + 0x18]
cmp r14, 0x10
jb 0x14000cfdf
mov r15, qword [rdi]
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x14000d125
mov r8, rsi
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000d125
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x14000d125
xor r15d, r15d
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r8, rbx
cmp rsi, rbx
cmovb r8, rsi
mov rdx, rdi
cmp r14, 0x10
jb 0x14000d03c
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 0x48]
call fcn.140029e30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000d091
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d08c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d117
call fcn.14004e23c
inc rbx
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rax, qword [rdi + 0x10]
cmp rax, rbx
jb 0x14000d186
sub rax, rbx
cmp rax, 0xffffffffffffffff
cmovb r12, rax
cmp qword [rdi + 0x18], 0x10
jb 0x14000d0c4
mov rdi, qword [rdi]
lea rdx, [rdi + rbx]
mov r8, r12
lea rcx, [rsp + 0x30]
call fcn.14002e6c0
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 0x68]
call fcn.140029e30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000d159
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d11e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d11e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e23c
jmp 0x14000d159
lea rcx, [r13 + 0x48]
cmp rcx, rdi
je 0x14000d142
cmp r14, 0x10
jb 0x14000d137
mov rdi, qword [rdi]
mov r8, rsi
mov rdx, rdi
call fcn.140029c60
mov r8d, 2
lea rdx, [0x14005611c]
lea rcx, [r13 + 0x68]
call fcn.140029c60
nop
mov rax, r13
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14004e1e0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002ac70
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.1400092f0
lea rdx, [0x1400673a0]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400099c0
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x70]
call fcn.140009650
lea rdx, [0x140067360]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3