Function at 0x14000d2a0
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 [0x140158638]
xor rax, rsp
mov qword [rbp + 0x140], rax
movzx edi, r8b
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
xor r14d, r14d
mov byte [rcx], r14b
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
jne 0x14000db15
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x14000daec
shr ax, 8
cmp al, 2
jne 0x14000daec
mov byte [rsi], 1
mov byte [rsi + 1], dil
lea rcx, [rsi + 8]
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bl
lea rax, [rsi + 0x28]
mov qword [rsp + 0x40], rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea rax, [rsi + 0x48]
mov qword [rsp + 0x58], rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r15, [rsi + 0x68]
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], bl
mov rax, qword [r12 + 0x10]
mov rsi, r12
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14000d3a1
mov rsi, qword [r12]
mov r13, 0xffffffffffffffff
cmp rax, 3
jb 0x14000d421
lea rbx, [rax + rsi]
lea r8, [rbx - 2]
sub r8, rsi
lea edx, [r13 + 0x3b]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x14000d412
nop dword [rax]
cmp byte [rdi], 0x3a
jne 0x14000d3e6
cmp byte [rdi + 1], 0x2f
jne 0x14000d3e6
cmp byte [rdi + 2], 0x2f
jne 0x14000d3e6
mov eax, r14d
jmp 0x14000d3eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x14000d49a
inc rdi
lea r8, [rbx - 2]
sub r8, rdi
mov edx, 0x3a
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
jne 0x14000d3d0
mov rax, qword [r12 + 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [r12 + 0x18]
mov rdi, r13
movabs rsi, 0x7fffffffffffffff
mov ebx, reloc.WS2_32.dll_shutdown
cmp rdi, r13
je 0x14000d655
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r14, rdi
cmp rax, rdi
cmovb r14, rax
mov rax, r12
mov qword [rsp + 0x48], rax
cmp rdx, 0x10
jb 0x14000d465
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
cmp r14, rsi
ja 0x14000dae6
cmp r14, 0x10
jae 0x14000d4b1
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + r14 + 0x20], 0
jmp 0x14000d507
sub rdi, rsi
mov rax, qword [r12 + 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [r12 + 0x18]
jmp 0x14000d424
mov r13, r14
or r13, 0xf
cmp r13, rsi
jbe 0x14000d4c2
mov r13, rsi
jmp 0x14000d4c9
cmp r13, rbx
cmovb r13, rbx
lea rdx, [r13 + 1]
lea rcx, [rsp + 0x20]
call fcn.14001fe20
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r13
mov r8, r14
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
mov ebx, reloc.WS2_32.dll_shutdown
lea r13, [rbx - 0x17]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140010f60
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000d553
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d54e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000da83
call fcn.1400e4e30
lea rcx, [rdi + 3]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [r12 + 0x10]
cmp rax, rcx
jb 0x14000db42
sub rax, rcx
mov rdi, r13
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
cmp qword [r12 + 0x18], 0x10
jb 0x14000d587
mov r12, qword [r12]
add r12, rcx
cmp rdi, rsi
ja 0x14000dae6
cmp rdi, 0x10
jae 0x14000d5be
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov r8, rdi
mov rdx, r12
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x20], 0
jmp 0x14000d609
mov r14, rdi
or r14, 0xf
cmp r14, rsi
jbe 0x14000d5cf
mov r14, rsi
jmp 0x14000d5d7
cmp r14, 0x16
cmovb r14, rbx
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x20]
call fcn.14001fe20
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
mov r8, rdi
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140010f60
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000d688
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d64e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000da83
call fcn.1400e4e30
jmp 0x14000d688
mov r8d, 4
lea rdx, str.http
call fcn.1400201c0
cmp r15, r12
je 0x14000d688
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x14000d67d
mov r12, qword [r12]
mov rdx, r12
mov rcx, r15
call fcn.1400201c0
mov r8, qword [r15 + 0x10]
mov rbx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14000d699
mov rbx, qword [r15]
test r8, r8
je 0x14000d6c7
mov edx, 0x23
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14000d6c7
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x14000d6c7
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call fcn.14002a190
mov rbx, qword [r15 + 0x10]
mov rdi, r15
mov r14, qword [r15 + 0x18]
cmp r14, 0x10
jb 0x14000d6db
mov rdi, qword [r15]
test rbx, rbx
je 0x14000d946
mov r8, rbx
mov edx, 0x2f
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov r12, rax
test rax, rax
je 0x14000d946
sub r12, rdi
cmp r12, 0xffffffffffffffff
je 0x14000d946
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rdi, r12
cmp rbx, r12
cmovb rdi, rbx
mov rax, r15
mov qword [rsp + 0x48], rax
cmp r14, 0x10
jb 0x14000d735
mov rax, qword [r15]
mov qword [rsp + 0x48], rax
cmp rdi, rsi
ja 0x14000dae6
cmp rdi, 0x10
jae 0x14000d769
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x20], 0
jmp 0x14000d7bb
mov r14, rdi
or r14, 0xf
cmp r14, rsi
jbe 0x14000d77a
mov r14, rsi
jmp 0x14000d787
cmp r14, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb r14, rax
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x20]
call fcn.14001fe20
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
mov r8, rdi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140010f60
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000d807
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000da83
call fcn.1400e4e30
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [r15 + 0x10]
cmp rax, r12
jb 0x14000db42
sub rax, r12
mov rdi, r13
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
mov rax, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14000d837
mov rax, qword [r15]
add r12, rax
cmp rdi, rsi
ja 0x14000dae6
cmp rdi, 0x10
jae 0x14000d86e
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov r8, rdi
mov rdx, r12
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x20], 0
jmp 0x14000d8be
mov r14, rdi
or r14, 0xf
cmp r14, rsi
jbe 0x14000d87f
mov r14, rsi
jmp 0x14000d88c
cmp r14, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb r14, rax
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x20]
call fcn.14001fe20
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
mov r8, rdi
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140010f60
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000d908
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d903
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000da83
call fcn.1400e4e30
mov r12, qword [rsp + 0x40]
mov rbx, qword [r12 + 0x10]
mov r14, r12
mov r15, qword [r12 + 0x18]
cmp r15, 0x10
jb 0x14000d924
mov r14, qword [r12]
test rbx, rbx
je 0x14000d97e
mov r8, rbx
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x14000d97e
sub rdi, r14
jmp 0x14000d981
mov r12, qword [rsp + 0x40]
cmp r12, r15
je 0x14000d967
mov rdx, r15
cmp r14, 0x10
jb 0x14000d95c
mov rdx, qword [r15]
mov r8, rbx
mov rcx, r12
call fcn.1400201c0
mov r8d, 1
lea rdx, [0x1400ec914]
mov rcx, r15
call fcn.1400201c0
jmp 0x14000d90d
mov rdi, r13
cmp rdi, 0xffffffffffffffff
je 0x14000da9f
lea rax, [rdi + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
cmp rbx, rax
jb 0x14000db42
sub rbx, rax
cmp rbx, 0xffffffffffffffff
cmovb r13, rbx
mov rcx, r12
cmp r15, 0x10
jb 0x14000d9b8
mov rcx, qword [r12]
lea r14, [rcx + rax]
cmp r13, rsi
ja 0x14000dae6
cmp r13, 0x10
jae 0x14000d9f1
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov r8, r13
mov rdx, r14
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + r13 + 0x20], 0
jmp 0x14000da40
mov rax, r13
or rax, 0xf
cmp rax, rsi
ja 0x14000da0d
mov rsi, rax
cmp rax, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.14001fe20
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rsi
mov r8, r13
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r13], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
call fcn.140010f60
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000da8f
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000da8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e4e30
xor r8d, r8d
mov rdx, rdi
mov rcx, r12
call fcn.14002a190
jmp 0x14000dab7
mov r8d, 2
lea rdx, [0x1400ec918]
mov rcx, qword [rsp + 0x58]
call fcn.1400201c0
nop
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400e4f50
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.14001fc10
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x20]
call fcn.14000e810
lea rdx, [0x140151f40]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.14002df20
mov r8, rax
lea r9, str.WSAStartup_failed
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.14000e920
lea rdx, [0x140151e48]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14001fc50
int3