Function at 0x1400af910
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 [0x14011c028]
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 0x1400afe05
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x1400afddc
shr ax, 8
cmp al, 2
jne 0x1400afddc
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 0x1400afa08
mov rcx, qword [rsi]
lea r12, [rsi + 0x10]
mov r15, qword [r12]
mov qword [rsp + 0x20], 3
lea r9, [0x1400f6c94]
xor r8d, r8d
mov rdx, r15
call fcn.140028a90
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400afae6
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 0x1400afa60
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.140028b80
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 8]
call fcn.140026390
lea rcx, [rsp + 0x30]
call fcn.140027180
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 0x1400afdd6
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 0x10
jb 0x1400afabf
mov rsi, qword [rsi]
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x30]
call fcn.140028b80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140026390
lea rcx, [rsp + 0x30]
call fcn.140027180
jmp 0x1400afb1a
mov r8d, 4
lea rdx, str.http
lea rcx, [r13 + 8]
call fcn.140027250
cmp rbx, rsi
je 0x1400afb1a
cmp qword [rsi + 0x18], 0x10
jb 0x1400afb0b
mov rsi, qword [rsi]
mov r8, qword [r12]
mov rdx, rsi
mov rcx, rbx
call fcn.140027250
mov r14, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400afb27
mov r14, qword [rbx]
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x1400afb5d
mov r8, rsi
mov edx, 0x23
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400afb5d
sub rax, r14
cmp rax, 0xffffffffffffffff
je 0x1400afb5d
mov rdx, rax
mov rcx, rbx
call fcn.14003db40
mov rsi, qword [rbx + 0x10]
mov r15, rbx
mov r12, qword [rbx + 0x18]
cmp r12, 0x10
jb 0x1400afb6d
mov r15, qword [rbx]
test rsi, rsi
je 0x1400afc4d
mov r8, rsi
mov edx, 0x2f
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x1400afc4d
sub r14, r15
cmp r14, 0xffffffffffffffff
je 0x1400afc4d
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 0x1400afbc6
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.140028b80
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140026390
lea rcx, [rsp + 0x30]
call fcn.140027180
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 0x1400afdd6
sub rax, r14
mov r12, 0xffffffffffffffff
mov r8, r12
cmp rax, r12
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400afc26
mov rax, qword [rbx]
lea rdx, [r14 + rax]
lea rcx, [rsp + 0x30]
call fcn.140028b80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140026390
lea rcx, [rsp + 0x30]
call fcn.140027180
jmp 0x1400afc85
cmp rdi, rbx
je 0x1400afc69
mov rdx, rbx
cmp r12, 0x10
jb 0x1400afc5e
mov rdx, qword [rbx]
mov r8, rsi
mov rcx, rdi
call fcn.140027250
mov r8d, 1
lea rdx, str.__01c
mov rcx, rbx
call fcn.140027250
mov r12, 0xffffffffffffffff
mov r15, rdi
mov r14, qword [rdi + 0x18]
cmp r14, 0x10
jb 0x1400afc95
mov r15, qword [rdi]
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x1400afd75
mov r8, rsi
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400afd75
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x1400afd75
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 0x1400afcf2
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140028b80
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 0x48]
call fcn.140026390
lea rcx, [rsp + 0x30]
call fcn.140027180
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 0x1400afdd6
sub rax, rbx
cmp rax, 0xffffffffffffffff
cmovb r12, rax
cmp qword [rdi + 0x18], 0x10
jb 0x1400afd4a
mov rdi, qword [rdi]
lea rdx, [rdi + rbx]
mov r8, r12
lea rcx, [rsp + 0x30]
call fcn.140028b80
lea rdx, [rsp + 0x30]
lea rcx, [r13 + 0x68]
call fcn.140026390
lea rcx, [rsp + 0x30]
call fcn.140027180
jmp 0x1400afda9
lea rcx, [r13 + 0x48]
cmp rcx, rdi
je 0x1400afd92
cmp r14, 0x10
jb 0x1400afd87
mov rdi, qword [rdi]
mov r8, rsi
mov rdx, rdi
call fcn.140027250
mov r8d, 2
lea rdx, [0x1400f6cd0]
lea rcx, [r13 + 0x68]
call fcn.140027250
nop
mov rax, r13
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400d1560
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.140027640
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.1400a6410
lea rdx, [0x140117ce8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400a66f0
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x70]
call fcn.1400a64c0
lea rdx, [0x140117cc8]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3