Function at 0x140009280
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 [0x140111028]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
mov r12, 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 0x1400096ef
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x1400096c6
shr ax, 8
cmp al, 2
jne 0x1400096c6
mov word [r12], 1
xorps xmm0, xmm0
movups xmmword [r12 + 8], xmm0
mov qword [r12 + 0x18], r14
mov qword [r12 + 0x20], reloc.WS2_32.dll_ntohs
mov byte [r12 + 8], dl
lea rsi, [r12 + 0x28]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], dl
movups xmmword [r12 + 0x48], xmm0
mov qword [r12 + 0x58], r14
mov qword [r12 + 0x60], reloc.WS2_32.dll_ntohs
mov byte [r12 + 0x48], dl
lea rbx, [r12 + 0x68]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
mov r13, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000936b
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 3
lea r9, [0x1400cc62c]
mov rdx, r13
call fcn.140014440
mov r14, rax
mov r15, 0xffffffffffffffff
cmp rax, r15
je 0x140009441
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rax
cmp r13, rax
cmovb r8, r13
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400093be
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140006c00
lea rdx, [rsp + 0x30]
lea rcx, [r12 + 8]
call fcn.140013340
lea rcx, [rsp + 0x30]
call fcn.140006360
add 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, r14
jb 0x1400096c0
sub rax, r14
mov r8, r15
cmp rax, r15
cmovb r8, rax
cmp qword [rdi + 0x18], 0x10
jb 0x14000941a
mov rdi, qword [rdi]
lea rdx, [rdi + r14]
lea rcx, [rsp + 0x30]
call fcn.140006c00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140013340
lea rcx, [rsp + 0x30]
call fcn.140006360
jmp 0x140009476
mov r8d, 4
lea rdx, str.http
lea rcx, [r12 + 8]
call fcn.140013a60
cmp rbx, rdi
je 0x140009476
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000946b
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rbx
call fcn.140013a60
mov r8, qword [rbx + 0x10]
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140009487
mov rdi, qword [rbx]
test r8, r8
je 0x1400094b1
mov edx, 0x23
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400094b1
sub rax, rdi
cmp rax, r15
je 0x1400094b1
mov rdx, rax
mov rcx, rbx
call fcn.1400132b0
mov r14, qword [rbx + 0x10]
mov r13, rbx
mov rax, qword [rbx + 0x18]
cmp rax, 0x10
jb 0x1400094c5
mov r13, qword [rbx]
test r14, r14
je 0x1400095a2
mov r8, r14
mov edx, 0x2f
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x14000959e
sub rdi, r13
cmp rdi, r15
je 0x14000959e
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rdi
cmp r14, rdi
cmovb r8, r14
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000951e
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.140006c00
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140013340
lea rcx, [rsp + 0x30]
call fcn.140006360
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x1400096c0
sub rax, rdi
mov r8, r15
cmp rax, r15
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140009577
mov rax, qword [rbx]
lea rdx, [rdi + rax]
lea rcx, [rsp + 0x30]
call fcn.140006c00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140013340
lea rcx, [rsp + 0x30]
call fcn.140006360
jmp 0x1400095d3
mov rax, qword [rbx + 0x18]
cmp rsi, rbx
je 0x1400095be
mov rdx, rbx
cmp rax, 0x10
jb 0x1400095b3
mov rdx, qword [rbx]
mov r8, r14
mov rcx, rsi
call fcn.140013a60
mov r8d, 1
lea rdx, [0x1400cc638]
mov rcx, rbx
call fcn.140013a60
mov rdi, qword [rsi + 0x10]
mov r14, rsi
mov r13, qword [rsi + 0x18]
cmp r13, 0x10
jb 0x1400095e7
mov r14, qword [rsi]
test rdi, rdi
je 0x140009609
mov r8, rdi
mov edx, 0x3a
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140009609
sub rbx, r14
jmp 0x14000960c
mov rbx, r15
cmp rbx, r15
je 0x14000967b
lea rax, [rbx + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
cmp rdi, rax
jb 0x1400096c0
sub rdi, rax
cmp rdi, r15
cmovb r15, rdi
mov rdx, rsi
cmp r13, 0x10
jb 0x140009645
mov rdx, qword [rsi]
add rdx, rax
mov r8, r15
lea rcx, [rsp + 0x30]
call fcn.140006c00
lea rdx, [rsp + 0x30]
lea rcx, [r12 + 0x48]
call fcn.140013340
lea rcx, [rsp + 0x30]
call fcn.140006360
mov rdx, rbx
mov rcx, rsi
call fcn.1400132b0
jmp 0x140009693
mov r8d, 2
lea rdx, [0x1400cc63c]
lea rcx, [r12 + 0x48]
call fcn.140013a60
nop
mov rax, r12
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400c6990
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.140006500
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.1400087f0
lea rdx, [0x14010d168]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140008e30
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x70]
call fcn.140008b20
lea rdx, [0x14010d148]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3