Function at 0x14000c660
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 - 0x150]
sub rsp, 0x250
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor r14d, r14d
mov byte [rcx], r14b
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, eax
test eax, eax
jne 0x14000cd86
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x14000cd5d
shr ax, 8
cmp al, 2
jne 0x14000cd5d
mov word [rbx], 1
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbx + 8], dl
movups xmmword [rbx + 0x28], xmm0
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x28], dl
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x48], dl
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x68], dl
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x88], dl
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000c757
mov rcx, qword [rdi]
mov r15, qword [rdi + 0x10]
mov qword [rsp + 0x20], 3
lea r9, [0x14005a044]
xor r8d, r8d
mov rdx, r15
call fcn.14001cf00
mov r14, rax
mov r12, 0xffffffffffffffff
cmp rax, r12
je 0x14000c8a1
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rax
cmp r15, rax
cmovb r8, r15
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000c7b1
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.14001cff0
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 8]
call fcn.14001c0e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000c806
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c801
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cc8e
call fcn.140051dfc
lea rcx, [r14 + 3]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rdi + 0x10]
cmp rax, rcx
jb 0x14000cd57
sub rax, rcx
mov r8, r12
cmp rax, r12
cmovb r8, rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14000c83f
mov rdi, qword [rdi]
lea rdx, [rdi + rcx]
lea rcx, [rsp + 0x30]
call fcn.14001cff0
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.14001c0e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000c8f1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c89a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cc8e
call fcn.140051dfc
jmp 0x14000c8f1
mov rcx, qword [rbx + 0x20]
cmp rcx, 4
jb 0x14000c8cd
lea rax, [rbx + 8]
cmp rcx, 0xf
jbe 0x14000c8b9
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], 4
mov dword [rax], 0x70747468
mov byte [rax + 4], 0
jmp 0x14000c8e2
lea r9, str.http
mov edx, 4
lea rcx, [rbx + 8]
call fcn.14001d2e0
lea rcx, [rbx + 0x88]
mov rdx, rdi
call fcn.14001c050
lea rdi, [rbx + 0x88]
cmp qword [rbx + 0xa0], 0xf
jbe 0x14000c909
mov rdi, qword [rbx + 0x88]
mov r8, qword [rbx + 0x98]
test r8, r8
je 0x14000c93e
mov edx, 0x23
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14000c93e
sub rax, rdi
cmp rax, r12
je 0x14000c93e
lea rcx, [rbx + 0x88]
mov rdx, rax
call fcn.14001beb0
lea r14, [rbx + 0x88]
mov r15, qword [rbx + 0xa0]
cmp r15, 0xf
jbe 0x14000c959
mov r14, qword [rbx + 0x88]
mov rdi, qword [rbx + 0x98]
test rdi, rdi
je 0x14000cab2
mov r8, rdi
mov edx, 0x2f
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x14000cab2
sub rsi, r14
cmp rsi, r12
je 0x14000cab2
lea rdx, [rbx + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
cmp r15, 0xf
jbe 0x14000c9bc
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.14001cff0
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14001c0e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000ca11
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cc8e
call fcn.140051dfc
lea rax, [rbx + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
jb 0x14000cd57
sub rcx, rsi
mov r8, r12
cmp rcx, r12
cmovb r8, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14000ca4d
mov rax, qword [rax]
lea rdx, [rax + rsi]
lea rcx, [rsp + 0x30]
call fcn.14001cff0
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.14001c0e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000cb3d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000caa8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cc8e
call fcn.140051dfc
jmp 0x14000cb3d
lea r9, [rbx + 0x88]
lea rcx, [rbx + 0x28]
cmp rcx, r9
je 0x14000cb00
cmp r15, 0xf
jbe 0x14000cacb
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x14000caf8
mov rsi, rcx
cmp rax, 0xf
jbe 0x14000cae0
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x14000cb00
mov rdx, rdi
call fcn.14001d2e0
lea rcx, [rbx + 0x88]
mov rdx, qword [rcx + 0x18]
cmp rdx, 1
jb 0x14000cb2c
mov rax, rcx
cmp rdx, 0xf
jbe 0x14000cb1d
mov rax, qword [rcx]
mov qword [rcx + 0x10], 1
mov word [rax], 0x2f
jmp 0x14000cb3d
lea r9, [0x14005a050]
mov edx, 1
call fcn.14001d2e0
lea r14, [rbx + 0x28]
mov r15, qword [rbx + 0x40]
cmp r15, 0xf
jbe 0x14000cb4f
mov r14, qword [rbx + 0x28]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14000cb75
mov r8, rdi
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x14000cb75
sub rsi, r14
jmp 0x14000cb78
mov rsi, r12
cmp rsi, r12
je 0x14000cc9f
lea rdx, [rbx + 0x28]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
cmp r15, 0xf
jbe 0x14000cba9
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.14001cff0
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x30]
call fcn.14001c0e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000cbfe
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cbf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cc8e
call fcn.140051dfc
inc rsi
lea rax, [rbx + 0x28]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
jb 0x14000cd57
sub rcx, rsi
cmp rcx, r12
cmovb r12, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14000cc37
mov rax, qword [rax]
lea rdx, [rax + rsi]
mov r8, r12
lea rcx, [rsp + 0x30]
call fcn.14001cff0
lea rcx, [rbx + 0x68]
lea rdx, [rsp + 0x30]
call fcn.14001c0e0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000cd29
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cc95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051dfc
jmp 0x14000cd29
lea r9, [rbx + 0x28]
lea rcx, [rbx + 0x48]
cmp rcx, r9
je 0x14000ccea
cmp r15, 0xf
jbe 0x14000ccb5
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x14000cce2
mov rsi, rcx
cmp rax, 0xf
jbe 0x14000ccca
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x14000ccea
mov rdx, rdi
call fcn.14001d2e0
lea rcx, [rbx + 0x68]
mov rdx, qword [rcx + 0x18]
cmp rdx, 2
jb 0x14000cd17
mov rax, rcx
cmp rdx, 0xf
jbe 0x14000cd04
mov rax, qword [rcx]
mov qword [rcx + 0x10], 2
mov word [rax], 0x3038
mov byte [rax + 2], 0
jmp 0x14000cd29
lea r9, [0x14005a054]
mov edx, 2
call fcn.14001d2e0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140051da0
lea r11, [rsp + 0x250]
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.14001c740
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.140008de0
lea rdx, [0x14006c570]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400094b0
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x70]
call fcn.140009170
lea rdx, [0x14006c550]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3