Function at 0x1400aa5c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
mov byte [rcx], r12b
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, eax
test eax, eax
jne 0x1400aae43
movzx eax, word [rbp + 0x30]
cmp al, 2
jne 0x1400aae1c
shr ax, 8
cmp al, 2
jne 0x1400aae1c
mov word [rdi], 1
lea r15, [rdi + 8]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r12
mov r14d, send
mov qword [r15 + 0x18], r14
mov byte [r15], dl
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x38], r12
mov qword [rdi + 0x40], r14
mov byte [rdi + 0x28], dl
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], r12
mov qword [rdi + 0x60], r14
mov byte [rdi + 0x48], dl
movups xmmword [rdi + 0x68], xmm0
mov qword [rdi + 0x78], r12
mov qword [rdi + 0x80], r14
mov byte [rdi + 0x68], dl
lea rbx, [rdi + 0x88]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r14
mov byte [rbx], dl
mov rcx, rsi
cmp qword [rsi + 0x18], r14
jbe 0x1400aa69b
mov rcx, qword [rsi]
lea r13, [rdi + 0x88]
jmp 0x1400aa69e
mov r13, rbx
lea r12, [rsi + 0x10]
mov qword [rsp + 0x20], 3
lea r9, [0x1400e2a50]
xor r8d, r8d
mov rdx, qword [r12]
call fcn.140059e90
mov qword [rbp + 0x228], rax
cmp rax, 0xffffffffffffffff
je 0x1400aa8c4
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rax
cmp qword [r12], rax
cmovb r8, qword [r12]
mov rdx, rsi
mov rbx, r12
cmp qword [rsi + 0x18], 0xf
jbe 0x1400aa700
mov rdx, qword [rsi]
lea rbx, [rsi + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14004bfd0
lea rax, [rsp + 0x30]
cmp r15, rax
je 0x1400aa77e
mov rdx, qword [r15 + 0x18]
mov r12, rbx
cmp rdx, 0xf
jbe 0x1400aa755
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1400aa750
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400aadb9
mov rcx, r8
lea r12, [rsi + 0x10]
call fcn.1400c62ec
mov qword [r15 + 0x10], 0
mov byte [r15], 0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r15 + 0x10], xmm1
mov rdx, r14
mov byte [rsp + 0x30], 0
jmp 0x1400aa783
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400aa7bb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aa7b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aadb9
call fcn.1400c62ec
mov rcx, qword [rbp + 0x228]
add rcx, 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov rax, qword [r12]
cmp rax, rcx
jb 0x1400aae16
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1400aa7ff
mov rsi, qword [rsi]
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x50]
call fcn.14004bfd0
lea rbx, [rdi + 0x88]
lea rax, [rsp + 0x50]
cmp rbx, rax
je 0x1400aa87e
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400aa858
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400aa853
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400aadb9
mov rcx, r8
call fcn.1400c62ec
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r14
mov byte [rsp + 0x50], 0
jmp 0x1400aa883
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400aa8bb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aa8b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aadb9
call fcn.1400c62ec
lea rbx, [rdi + 0x88]
jmp 0x1400aa8fa
mov r8d, 4
lea rdx, str.http
mov rcx, r15
call fcn.14004bd40
cmp rbx, rsi
je 0x1400aa8fa
cmp qword [rsi + 0x18], 0xf
jbe 0x1400aa8e8
mov rsi, qword [rsi]
mov r8, qword [r12]
mov rdx, rsi
mov rcx, rbx
call fcn.14004bd40
mov rbx, r13
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400aa907
mov rsi, qword [rbx]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400aa940
mov edx, 0x23
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400aa940
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x1400aa940
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.140075270
lea rbx, [rdi + 0x88]
mov rax, rbx
mov qword [rbp + 0x228], rbx
mov r13, qword [rbx + 0x18]
cmp r13, 0xf
jbe 0x1400aa967
mov rax, qword [rbx]
mov qword [rbp + 0x228], rax
lea rsi, [rdi + 0x88]
jmp 0x1400aa96a
mov rsi, rbx
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x1400aab85
mov r8, r12
mov edx, 0x2f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x1400aab85
sub r15, qword [rbp + 0x228]
cmp r15, 0xffffffffffffffff
je 0x1400aab85
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8, r15
cmp r12, r15
cmovb r8, r12
mov rdx, rsi
mov r12, rsi
cmp r13, 0xf
jbe 0x1400aa9d4
mov rdx, qword [rsi]
lea r12, [rdi + 0x88]
lea rcx, [rsp + 0x70]
call fcn.14004bfd0
lea rbx, [rdi + 0x28]
lea rax, [rsp + 0x70]
cmp rbx, rax
je 0x1400aaa55
mov rdx, qword [rbx + 0x18]
mov rsi, r12
cmp rdx, 0xf
jbe 0x1400aaa30
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400aaa2b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400aadb9
mov rcx, r8
lea rsi, [rdi + 0x88]
call fcn.1400c62ec
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r14
mov byte [rsp + 0x70], 0
jmp 0x1400aaa59
mov rdx, qword [rbp - 0x78]
mov rbx, rsi
cmp rdx, 0xf
jbe 0x1400aaa9b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aaa96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aadb9
lea rbx, [rdi + 0x88]
call fcn.1400c62ec
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov rax, qword [rsi + 0x10]
cmp rax, r15
jb 0x1400aae16
sub rax, r15
mov r13, 0xffffffffffffffff
mov r8, r13
cmp rax, r13
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1400aaad5
mov rsi, qword [rsi]
lea rdx, [r15 + rsi]
lea rcx, [rbp - 0x70]
call fcn.14004bfd0
lea rax, [rbp - 0x70]
cmp rbx, rax
je 0x1400aab48
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400aab25
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400aab20
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400aadb9
mov rcx, r8
call fcn.1400c62ec
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r14
mov byte [rbp - 0x70], 0
jmp 0x1400aab4c
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400aabc2
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aab7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aadb9
call fcn.1400c62ec
jmp 0x1400aabc2
lea rcx, [rdi + 0x28]
cmp rcx, rbx
je 0x1400aaba2
cmp r13, 0xf
jbe 0x1400aab97
mov rbx, qword [rbx]
mov r8, r12
mov rdx, rbx
call fcn.14004bd40
lea rcx, [rdi + 0x88]
mov r8d, 1
lea rdx, [0x1400df8f0]
call fcn.14004bd40
mov r13, 0xffffffffffffffff
lea r15, [rdi + 0x28]
mov r12, qword [rdi + 0x40]
cmp r12, 0xf
jbe 0x1400aabd4
mov r15, qword [rdi + 0x28]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400aabfa
mov r8, rbx
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x1400aabfa
sub rsi, r15
jmp 0x1400aabfd
mov rsi, r13
lea rdx, [rdi + 0x28]
cmp rsi, 0xffffffffffffffff
je 0x1400aadc7
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
cmp r12, 0xf
jbe 0x1400aac2d
mov rdx, qword [rdx]
lea rcx, [rbp - 0x50]
call fcn.14004bfd0
lea rbx, [rdi + 0x48]
lea rax, [rbp - 0x50]
cmp rbx, rax
je 0x1400aaca0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400aac7d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400aac78
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400aadb9
mov rcx, r8
call fcn.1400c62ec
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r14
mov byte [rbp - 0x50], 0
jmp 0x1400aaca4
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400aacdb
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aacd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aadb9
call fcn.1400c62ec
inc rsi
lea rax, [rdi + 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
jb 0x1400aae16
sub rcx, rsi
cmp rcx, 0xffffffffffffffff
cmovb r13, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x1400aad13
mov rax, qword [rax]
lea rdx, [rax + rsi]
mov r8, r13
lea rcx, [rbp - 0x30]
call fcn.14004bfd0
lea rbx, [rdi + 0x68]
lea rax, [rbp - 0x30]
cmp rbx, rax
je 0x1400aad86
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400aad66
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400aad61
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400aadb9
mov rcx, r8
call fcn.1400c62ec
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbp - 0x30], 0
jmp 0x1400aad8a
mov r14, qword [rbp - 0x18]
cmp r14, 0xf
jbe 0x1400aadf8
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aadc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aadc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c62ec
jmp 0x1400aadf8
lea rcx, [rdi + 0x48]
cmp rcx, rdx
je 0x1400aade1
cmp r12, 0xf
jbe 0x1400aadd9
mov rdx, qword [rdx]
mov r8, rbx
call fcn.14004bd40
lea rcx, [rdi + 0x68]
mov r8d, 2
lea rdx, [0x1400e2a44]
call fcn.14004bd40
nop
mov rax, rdi
mov rbx, qword [rsp + 0x318]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14006a2b0
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rbp - 0x10]
call fcn.14004ebe0
lea rdx, [0x1400f6bb0]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400aa250
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rbp + 8]
call fcn.1400a9f60
lea rdx, [0x1400f6b90]
lea rcx, [rbp + 8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3