Function at 0x1400dec40
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 0x1400df4c3
movzx eax, word [rbp + 0x30]
cmp al, 2
jne 0x1400df49c
shr ax, 8
cmp al, 2
jne 0x1400df49c
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 0x1400ded1b
mov rcx, qword [rsi]
lea r13, [rdi + 0x88]
jmp 0x1400ded1e
mov r13, rbx
lea r12, [rsi + 0x10]
mov qword [rsp + 0x20], 3
lea r9, [0x140132da0]
xor r8d, r8d
mov rdx, qword [r12]
call fcn.1400a56a0
mov qword [rbp + 0x228], rax
cmp rax, 0xffffffffffffffff
je 0x1400def44
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 0x1400ded80
mov rdx, qword [rsi]
lea rbx, [rsi + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400a5790
lea rax, [rsp + 0x30]
cmp r15, rax
je 0x1400dedfe
mov rdx, qword [r15 + 0x18]
mov r12, rbx
cmp rdx, 0xf
jbe 0x1400dedd5
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x1400dedd0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400df439
mov rcx, r8
lea r12, [rsi + 0x10]
call fcn.14010b6e8
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 0x1400dee03
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400dee3b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dee36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400df439
call fcn.14010b6e8
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 0x1400df496
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1400dee7f
mov rsi, qword [rsi]
lea rdx, [rsi + rcx]
lea rcx, [rsp + 0x50]
call fcn.1400a5790
lea rbx, [rdi + 0x88]
lea rax, [rsp + 0x50]
cmp rbx, rax
je 0x1400deefe
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400deed8
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400deed3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400df439
mov rcx, r8
call fcn.14010b6e8
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 0x1400def03
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400def3b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400def36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400df439
call fcn.14010b6e8
lea rbx, [rdi + 0x88]
jmp 0x1400def7a
mov r8d, 4
lea rdx, str.http
mov rcx, r15
call fcn.140067390
cmp rbx, rsi
je 0x1400def7a
cmp qword [rsi + 0x18], 0xf
jbe 0x1400def68
mov rsi, qword [rsi]
mov r8, qword [r12]
mov rdx, rsi
mov rcx, rbx
call fcn.140067390
mov rbx, r13
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400def87
mov rsi, qword [rbx]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400defc0
mov edx, 0x23
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400defc0
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x1400defc0
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.1400c0890
lea rbx, [rdi + 0x88]
mov rax, rbx
mov qword [rbp + 0x228], rbx
mov r13, qword [rbx + 0x18]
cmp r13, 0xf
jbe 0x1400defe7
mov rax, qword [rbx]
mov qword [rbp + 0x228], rax
lea rsi, [rdi + 0x88]
jmp 0x1400defea
mov rsi, rbx
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x1400df205
mov r8, r12
mov edx, 0x2f
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x1400df205
sub r15, qword [rbp + 0x228]
cmp r15, 0xffffffffffffffff
je 0x1400df205
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 0x1400df054
mov rdx, qword [rsi]
lea r12, [rdi + 0x88]
lea rcx, [rsp + 0x70]
call fcn.1400a5790
lea rbx, [rdi + 0x28]
lea rax, [rsp + 0x70]
cmp rbx, rax
je 0x1400df0d5
mov rdx, qword [rbx + 0x18]
mov rsi, r12
cmp rdx, 0xf
jbe 0x1400df0b0
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400df0ab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400df439
mov rcx, r8
lea rsi, [rdi + 0x88]
call fcn.14010b6e8
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 0x1400df0d9
mov rdx, qword [rbp - 0x78]
mov rbx, rsi
cmp rdx, 0xf
jbe 0x1400df11b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df116
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400df439
lea rbx, [rdi + 0x88]
call fcn.14010b6e8
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 0x1400df496
sub rax, r15
mov r13, 0xffffffffffffffff
mov r8, r13
cmp rax, r13
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1400df155
mov rsi, qword [rsi]
lea rdx, [r15 + rsi]
lea rcx, [rbp - 0x70]
call fcn.1400a5790
lea rax, [rbp - 0x70]
cmp rbx, rax
je 0x1400df1c8
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400df1a5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400df1a0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400df439
mov rcx, r8
call fcn.14010b6e8
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 0x1400df1cc
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400df242
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df1fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400df439
call fcn.14010b6e8
jmp 0x1400df242
lea rcx, [rdi + 0x28]
cmp rcx, rbx
je 0x1400df222
cmp r13, 0xf
jbe 0x1400df217
mov rbx, qword [rbx]
mov r8, r12
mov rdx, rbx
call fcn.140067390
lea rcx, [rdi + 0x88]
mov r8d, 1
lea rdx, [0x14012c7b4]
call fcn.140067390
mov r13, 0xffffffffffffffff
lea r15, [rdi + 0x28]
mov r12, qword [rdi + 0x40]
cmp r12, 0xf
jbe 0x1400df254
mov r15, qword [rdi + 0x28]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400df27a
mov r8, rbx
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x1400df27a
sub rsi, r15
jmp 0x1400df27d
mov rsi, r13
lea rdx, [rdi + 0x28]
cmp rsi, 0xffffffffffffffff
je 0x1400df447
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 0x1400df2ad
mov rdx, qword [rdx]
lea rcx, [rbp - 0x50]
call fcn.1400a5790
lea rbx, [rdi + 0x48]
lea rax, [rbp - 0x50]
cmp rbx, rax
je 0x1400df320
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400df2fd
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400df2f8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400df439
mov rcx, r8
call fcn.14010b6e8
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 0x1400df324
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400df35b
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df356
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400df439
call fcn.14010b6e8
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 0x1400df496
sub rcx, rsi
cmp rcx, 0xffffffffffffffff
cmovb r13, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x1400df393
mov rax, qword [rax]
lea rdx, [rax + rsi]
mov r8, r13
lea rcx, [rbp - 0x30]
call fcn.1400a5790
lea rbx, [rdi + 0x68]
lea rax, [rbp - 0x30]
cmp rbx, rax
je 0x1400df406
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400df3e6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400df3e1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400df439
mov rcx, r8
call fcn.14010b6e8
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 0x1400df40a
mov r14, qword [rbp - 0x18]
cmp r14, 0xf
jbe 0x1400df478
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df440
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400df440
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010b6e8
jmp 0x1400df478
lea rcx, [rdi + 0x48]
cmp rcx, rdx
je 0x1400df461
cmp r12, 0xf
jbe 0x1400df459
mov rdx, qword [rdx]
mov r8, rbx
call fcn.140067390
lea rcx, [rdi + 0x68]
mov r8d, 2
lea rdx, [0x140132dc8]
call fcn.140067390
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.1400a1f90
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rbp - 0x10]
call fcn.14006d060
lea rdx, [0x14014ed98]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400de8d0
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rbp + 8]
call fcn.1400de5e0
lea rdx, [0x14014ed78]
lea rcx, [rbp + 8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3