Function at 0x1400ddfa0
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 0x1400de823
movzx eax, word [rbp + 0x30]
cmp al, 2
jne 0x1400de7fc
shr ax, 8
cmp al, 2
jne 0x1400de7fc
mov word [rdi], 1
lea r15, [rdi + 8]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r12
mov r14d, reloc.WS2_32.dll_ntohs
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 0x1400de07b
mov rcx, qword [rsi]
lea r13, [rdi + 0x88]
jmp 0x1400de07e
mov r13, rbx
lea r12, [rsi + 0x10]
mov qword [rsp + 0x20], 3
lea r9, [0x140131bdc]
xor r8d, r8d
mov rdx, qword [r12]
call fcn.1400a3c90
mov qword [rbp + 0x228], rax
cmp rax, 0xffffffffffffffff
je 0x1400de2a4
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 0x1400de0e0
mov rdx, qword [rsi]
lea rbx, [rsi + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400a3d80
lea rax, [rsp + 0x30]
cmp r15, rax
je 0x1400de15e
mov rdx, qword [r15 + 0x18]
mov r12, rbx
cmp rdx, 0xf
jbe 0x1400de135
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1400de130
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400de799
mov rcx, r8
lea r12, [rsi + 0x10]
call fcn.14010a808
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 0x1400de163
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400de19b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de799
call fcn.14010a808
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 0x1400de7f6
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1400de1df
mov rsi, qword [rsi]
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x50]
call fcn.1400a3d80
lea rbx, [rdi + 0x88]
lea rax, [rsp + 0x50]
cmp rbx, rax
je 0x1400de25e
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400de238
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400de233
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400de799
mov rcx, r8
call fcn.14010a808
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 0x1400de263
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400de29b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de799
call fcn.14010a808
lea rbx, [rdi + 0x88]
jmp 0x1400de2da
mov r8d, 4
lea rdx, str.http
mov rcx, r15
call fcn.140067380
cmp rbx, rsi
je 0x1400de2da
cmp qword [rsi + 0x18], 0xf
jbe 0x1400de2c8
mov rsi, qword [rsi]
mov r8, qword [r12]
mov rdx, rsi
mov rcx, rbx
call fcn.140067380
mov rbx, r13
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400de2e7
mov rsi, qword [rbx]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400de320
mov edx, 0x23
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400de320
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x1400de320
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.1400bf5f0
lea rbx, [rdi + 0x88]
mov rax, rbx
mov qword [rbp + 0x228], rbx
mov r13, qword [rbx + 0x18]
cmp r13, 0xf
jbe 0x1400de347
mov rax, qword [rbx]
mov qword [rbp + 0x228], rax
lea rsi, [rdi + 0x88]
jmp 0x1400de34a
mov rsi, rbx
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x1400de565
mov r8, r12
mov edx, 0x2f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x1400de565
sub r15, qword [rbp + 0x228]
cmp r15, 0xffffffffffffffff
je 0x1400de565
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 0x1400de3b4
mov rdx, qword [rsi]
lea r12, [rdi + 0x88]
lea rcx, [rsp + 0x70]
call fcn.1400a3d80
lea rbx, [rdi + 0x28]
lea rax, [rsp + 0x70]
cmp rbx, rax
je 0x1400de435
mov rdx, qword [rbx + 0x18]
mov rsi, r12
cmp rdx, 0xf
jbe 0x1400de410
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400de40b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400de799
mov rcx, r8
lea rsi, [rdi + 0x88]
call fcn.14010a808
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 0x1400de439
mov rdx, qword [rbp - 0x78]
mov rbx, rsi
cmp rdx, 0xf
jbe 0x1400de47b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de799
lea rbx, [rdi + 0x88]
call fcn.14010a808
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 0x1400de7f6
sub rax, r15
mov r13, 0xffffffffffffffff
mov r8, r13
cmp rax, r13
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1400de4b5
mov rsi, qword [rsi]
lea rdx, [r15 + rsi]
lea rcx, [rbp - 0x70]
call fcn.1400a3d80
lea rax, [rbp - 0x70]
cmp rbx, rax
je 0x1400de528
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400de505
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400de500
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400de799
mov rcx, r8
call fcn.14010a808
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 0x1400de52c
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400de5a2
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de55e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de799
call fcn.14010a808
jmp 0x1400de5a2
lea rcx, [rdi + 0x28]
cmp rcx, rbx
je 0x1400de582
cmp r13, 0xf
jbe 0x1400de577
mov rbx, qword [rbx]
mov r8, r12
mov rdx, rbx
call fcn.140067380
lea rcx, [rdi + 0x88]
mov r8d, 1
lea rdx, [0x14012b63c]
call fcn.140067380
mov r13, 0xffffffffffffffff
lea r15, [rdi + 0x28]
mov r12, qword [rdi + 0x40]
cmp r12, 0xf
jbe 0x1400de5b4
mov r15, qword [rdi + 0x28]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400de5da
mov r8, rbx
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x1400de5da
sub rsi, r15
jmp 0x1400de5dd
mov rsi, r13
lea rdx, [rdi + 0x28]
cmp rsi, 0xffffffffffffffff
je 0x1400de7a7
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 0x1400de60d
mov rdx, qword [rdx]
lea rcx, [rbp - 0x50]
call fcn.1400a3d80
lea rbx, [rdi + 0x48]
lea rax, [rbp - 0x50]
cmp rbx, rax
je 0x1400de680
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400de65d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400de658
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400de799
mov rcx, r8
call fcn.14010a808
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 0x1400de684
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400de6bb
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de6b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de799
call fcn.14010a808
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 0x1400de7f6
sub rcx, rsi
cmp rcx, 0xffffffffffffffff
cmovb r13, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x1400de6f3
mov rax, qword [rax]
lea rdx, [rax + rsi]
mov r8, r13
lea rcx, [rbp - 0x30]
call fcn.1400a3d80
lea rbx, [rdi + 0x68]
lea rax, [rbp - 0x30]
cmp rbx, rax
je 0x1400de766
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400de746
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400de741
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400de799
mov rcx, r8
call fcn.14010a808
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 0x1400de76a
mov r14, qword [rbp - 0x18]
cmp r14, 0xf
jbe 0x1400de7d8
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de7a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400de7a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a808
jmp 0x1400de7d8
lea rcx, [rdi + 0x48]
cmp rcx, rdx
je 0x1400de7c1
cmp r12, 0xf
jbe 0x1400de7b9
mov rdx, qword [rdx]
mov r8, rbx
call fcn.140067380
lea rcx, [rdi + 0x68]
mov r8d, 2
lea rdx, [0x140131bf4]
call fcn.140067380
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.1400a0670
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rbp - 0x10]
call fcn.14006cfc0
lea rdx, [0x14014da18]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400ddc30
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rbp + 8]
call fcn.1400dd940
lea rdx, [0x14014d9f8]
lea rcx, [rbp + 8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3