Function at 0x1400145c0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
mov rbx, 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 0x140014b90
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x140014b67
shr ax, 8
cmp al, 2
jne 0x140014b67
mov word [rbx], 1
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbx + 8], dl
movups xmmword [rbx + 0x28], xmm0
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x28], dl
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x48], dl
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x68], dl
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x88], dl
mov r12, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400146bb
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 3
lea r9, [0x1401be2e4]
xor r8d, r8d
mov rdx, r12
call fcn.1400eee50
mov r14, rax
mov r15, 0xffffffffffffffff
cmp rax, r15
je 0x140014797
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rax
cmp r12, rax
cmovb r8, r12
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140014711
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.1400ef310
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 8]
call fcn.1400e3f10
lea rcx, [rsp + 0x30]
call fcn.140008300
add r14, 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rdi + 0x10]
cmp rax, r14
jb 0x140014b61
sub rax, r14
mov r8, r15
cmp rax, r15
cmovb r8, rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14001476c
mov rdi, qword [rdi]
lea rdx, [rdi + r14]
lea rcx, [rsp + 0x30]
call fcn.1400ef310
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.1400e3f10
lea rcx, [rsp + 0x30]
call fcn.140008300
jmp 0x1400147e7
mov rcx, qword [rbx + 0x20]
cmp rcx, 4
jb 0x1400147c3
lea rax, [rbx + 8]
cmp rcx, 0xf
jbe 0x1400147af
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], 4
mov dword [rax], 0x70747468
mov byte [rax + 4], 0
jmp 0x1400147d8
lea r9, str.http
mov edx, 4
lea rcx, [rbx + 8]
call fcn.1400ef1d0
lea rcx, [rbx + 0x88]
mov rdx, rdi
call fcn.1400e3e80
lea rdi, [rbx + 0x88]
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400147fc
mov rdi, qword [rdi]
test r8, r8
je 0x14001482a
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14001482a
sub rax, rdi
cmp rax, r15
je 0x14001482a
lea rcx, [rbx + 0x88]
mov rdx, rax
call fcn.1400e3b30
lea r14, [rbx + 0x88]
mov rdi, qword [r14 + 0x10]
mov r12, qword [r14 + 0x18]
cmp r12, 0xf
jbe 0x140014842
mov r14, qword [r14]
test rdi, rdi
je 0x14001492a
mov r8, rdi
mov edx, Ordinal_50
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x14001492a
sub rsi, r14
cmp rsi, r15
je 0x14001492a
lea rdx, [rbx + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
cmp r12, 0xf
jbe 0x14001489e
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.1400ef310
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1400e3f10
lea rcx, [rsp + 0x30]
call fcn.140008300
lea rax, [rbx + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
jb 0x140014b61
sub rcx, rsi
mov r8, r15
cmp rcx, r15
cmovb r8, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x1400148fc
mov rax, qword [rax]
lea rdx, [rax + rsi]
lea rcx, [rsp + 0x30]
call fcn.1400ef310
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.1400e3f10
lea rcx, [rsp + 0x30]
call fcn.140008300
jmp 0x1400149b5
lea r9, [rbx + 0x88]
lea rcx, [rbx + 0x28]
cmp rcx, r9
je 0x140014978
cmp r12, 0xf
jbe 0x140014943
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x140014970
mov rsi, rcx
cmp rax, 0xf
jbe 0x140014958
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x140014978
mov rdx, rdi
call fcn.1400ef1d0
lea rcx, [rbx + 0x88]
mov rdx, qword [rcx + 0x18]
cmp rdx, 1
jb 0x1400149a4
mov rax, rcx
cmp rdx, 0xf
jbe 0x140014995
mov rax, qword [rcx]
mov qword [rcx + 0x10], 1
mov word [rax], Ordinal_50
jmp 0x1400149b5
lea r9, [0x1401be2f0]
mov edx, 1
call fcn.1400ef1d0
lea r14, [rbx + 0x28]
mov rdi, qword [r14 + 0x10]
mov r12, qword [r14 + 0x18]
cmp r12, 0xf
jbe 0x1400149ca
mov r14, qword [r14]
test rdi, rdi
je 0x1400149ec
mov r8, rdi
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x1400149ec
sub rsi, r14
jmp 0x1400149ef
mov rsi, r15
cmp rsi, r15
je 0x140014aa9
lea rdx, [rbx + 0x28]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
cmp r12, 0xf
jbe 0x140014a20
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.1400ef310
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x30]
call fcn.1400e3f10
lea rcx, [rsp + 0x30]
call fcn.140008300
lea rax, [rbx + 0x28]
inc rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
jb 0x140014b61
sub rcx, rsi
cmp rcx, r15
cmovb r15, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x140014a7b
mov rax, qword [rax]
lea rdx, [rax + rsi]
mov r8, r15
lea rcx, [rsp + 0x30]
call fcn.1400ef310
lea rcx, [rbx + 0x68]
lea rdx, [rsp + 0x30]
call fcn.1400e3f10
lea rcx, [rsp + 0x30]
call fcn.140008300
jmp 0x140014b33
lea r9, [rbx + 0x28]
lea rcx, [rbx + 0x48]
cmp rcx, r9
je 0x140014af4
cmp r12, 0xf
jbe 0x140014abf
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x140014aec
mov rsi, rcx
cmp rax, 0xf
jbe 0x140014ad4
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x140014af4
mov rdx, rdi
call fcn.1400ef1d0
lea rcx, [rbx + 0x68]
mov rdx, qword [rcx + 0x18]
cmp rdx, 2
jb 0x140014b21
mov rax, rcx
cmp rdx, 0xf
jbe 0x140014b0e
mov rax, qword [rcx]
mov qword [rcx + 0x10], 2
mov word [rax], 0x3038
mov byte [rax + 2], 0
jmp 0x140014b33
lea r9, [0x1401be2f4]
mov edx, 2
call fcn.1400ef1d0
nop
mov rax, rbx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140183920
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400e7020
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.14000eff0
lea rdx, [0x1401fe860]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.14000f6c0
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x70]
call fcn.14000f2f0
lea rdx, [0x1401fe820]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3