Function at 0x1400a8880
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 [0x14011a028]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rdx
mov r13, 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 0x1400a8d75
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x1400a8d4c
shr ax, 8
cmp al, 2
jne 0x1400a8d4c
mov word [r13], 1
xorps xmm0, xmm0
movups xmmword [r13 + 8], xmm0
mov qword [r13 + 0x18], r14
mov qword [r13 + 0x20], reloc.WS2_32.dll_ntohs
mov byte [r13 + 8], dl
lea rdi, [r13 + 0x28]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], dl
movups xmmword [r13 + 0x48], xmm0
mov qword [r13 + 0x58], r14
mov qword [r13 + 0x60], reloc.WS2_32.dll_ntohs
mov byte [r13 + 0x48], dl
movups xmmword [r13 + 0x68], xmm0
mov qword [r13 + 0x78], r14
mov qword [r13 + 0x80], reloc.WS2_32.dll_ntohs
mov byte [r13 + 0x68], dl
lea rbx, [r13 + 0x88]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400a8978
mov rcx, qword [rsi]
lea r12, [rsi + 0x10]
mov r15, qword [r12]
mov qword [rsp + 0x20], 3
lea r9, [0x1400f4714]
xor r8d, r8d
mov rdx, r15
call fcn.140025bb0
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400a8a56
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, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400a89d0
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.140025ca0
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 8]
call fcn.1400238f0
lea rcx, [rsp + 0x30]
call fcn.1400245d0
lea rcx, [r14 + 3]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [r12]
cmp rax, rcx
jb 0x1400a8d46
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 0x10
jb 0x1400a8a2f
mov rsi, qword [rsi]
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x30]
call fcn.140025ca0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400238f0
lea rcx, [rsp + 0x30]
call fcn.1400245d0
jmp 0x1400a8a8a
mov r8d, 4
lea rdx, str.http
lea rcx, [r13 + 8]
call fcn.1400246a0
cmp rbx, rsi
je 0x1400a8a8a
cmp qword [rsi + 0x18], 0x10
jb 0x1400a8a7b
mov rsi, qword [rsi]
mov r8, qword [r12]
mov rdx, rsi
mov rcx, rbx
call fcn.1400246a0
mov r14, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400a8a97
mov r14, qword [rbx]
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x1400a8acd
mov r8, rsi
mov edx, 0x23
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400a8acd
sub rax, r14
cmp rax, 0xffffffffffffffff
je 0x1400a8acd
mov rdx, rax
mov rcx, rbx
call fcn.14003e5b0
mov rsi, qword [rbx + 0x10]
mov r15, rbx
mov r12, qword [rbx + 0x18]
cmp r12, 0x10
jb 0x1400a8add
mov r15, qword [rbx]
test rsi, rsi
je 0x1400a8bbd
mov r8, rsi
mov edx, 0x2f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x1400a8bbd
sub r14, r15
cmp r14, 0xffffffffffffffff
je 0x1400a8bbd
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, r14
cmp rsi, r14
cmovb r8, rsi
mov rdx, rbx
cmp r12, 0x10
jb 0x1400a8b36
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.140025ca0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400238f0
lea rcx, [rsp + 0x30]
call fcn.1400245d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rbx + 0x10]
cmp rax, r14
jb 0x1400a8d46
sub rax, r14
mov r12, 0xffffffffffffffff
mov r8, r12
cmp rax, r12
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400a8b96
mov rax, qword [rbx]
lea rdx, [r14 + rax]
lea rcx, [rsp + 0x30]
call fcn.140025ca0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400238f0
lea rcx, [rsp + 0x30]
call fcn.1400245d0
jmp 0x1400a8bf5
cmp rdi, rbx
je 0x1400a8bd9
mov rdx, rbx
cmp r12, 0x10
jb 0x1400a8bce
mov rdx, qword [rbx]
mov r8, rsi
mov rcx, rdi
call fcn.1400246a0
mov r8d, 1
lea rdx, str.__01c
mov rcx, rbx
call fcn.1400246a0
mov r12, 0xffffffffffffffff
mov r15, rdi
mov r14, qword [rdi + 0x18]
cmp r14, 0x10
jb 0x1400a8c05
mov r15, qword [rdi]
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x1400a8ce5
mov r8, rsi
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400a8ce5
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x1400a8ce5
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rbx
cmp rsi, rbx
cmovb r8, rsi
mov rdx, rdi
cmp r14, 0x10
jb 0x1400a8c62
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140025ca0
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 0x48]
call fcn.1400238f0
lea rcx, [rsp + 0x30]
call fcn.1400245d0
inc rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rdi + 0x10]
cmp rax, rbx
jb 0x1400a8d46
sub rax, rbx
cmp rax, 0xffffffffffffffff
cmovb r12, rax
cmp qword [rdi + 0x18], 0x10
jb 0x1400a8cba
mov rdi, qword [rdi]
lea rdx, [rdi + rbx]
mov r8, r12
lea rcx, [rsp + 0x30]
call fcn.140025ca0
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 0x68]
call fcn.1400238f0
lea rcx, [rsp + 0x30]
call fcn.1400245d0
jmp 0x1400a8d19
lea rcx, [r13 + 0x48]
cmp rcx, rdi
je 0x1400a8d02
cmp r14, 0x10
jb 0x1400a8cf7
mov rdi, qword [rdi]
mov r8, rsi
mov rdx, rdi
call fcn.1400246a0
mov r8d, 2
lea rdx, [0x1400f4750]
lea rcx, [r13 + 0x68]
call fcn.1400246a0
nop
mov rax, r13
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400cd0f0
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.140024a90
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.14009f380
lea rdx, [0x140116488]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.14009f660
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x70]
call fcn.14009f430
lea rdx, [0x140116468]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3