Function at 0x14000f3a0
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 - 0x120]
sub rsp, 0x220
mov rax, qword [0x140113480]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov byte [rcx], sil
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, eax
test eax, eax
jne 0x14000f9d7
movzx eax, word [rsp + 0x70]
cmp al, 2
jne 0x14000f9ae
shr ax, 8
cmp al, 2
jne 0x14000f9ae
mov word [rbx], 1
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbx + 8], dl
movups xmmword [rbx + 0x28], xmm0
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x28], dl
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x48], dl
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x68], dl
lea r14, [rbx + 0x88]
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], dl
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000f493
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 3
lea r9, [0x1400ecad4]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.1400429e0
mov rsi, rax
mov r12, 0xffffffffffffffff
cmp rax, r12
je 0x14000f5d8
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rax
cmp qword [rdi + 0x10], rax
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000f4ec
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140042d70
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 8]
call fcn.140039520
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000f541
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f53c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f93b
call fcn.1400d0f5c
lea rcx, [rsi + 3]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rdi + 0x10]
cmp rax, rcx
jb 0x14000f9a8
sub rax, rcx
mov r8, r12
cmp rax, r12
cmovb r8, rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14000f57a
mov rdi, qword [rdi]
lea rdx, [rdi + rcx]
lea rcx, [rsp + 0x30]
call fcn.140042d70
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.140039520
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000f60c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f5d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f93b
call fcn.1400d0f5c
jmp 0x14000f60c
mov r8d, 4
lea rdx, str.http
lea rcx, [rbx + 8]
call fcn.140039350
cmp r14, rdi
je 0x14000f60c
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000f601
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, r14
call fcn.140039350
lea rdi, [rbx + 0x88]
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000f621
mov rdi, qword [rdi]
test r8, r8
je 0x14000f652
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14000f652
sub rax, rdi
cmp rax, r12
je 0x14000f652
lea rcx, [rbx + 0x88]
xor r8d, r8d
mov rdx, rax
call fcn.1400391a0
lea rsi, [rbx + 0x88]
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x14000f66a
mov rsi, qword [rsi]
test r14, r14
je 0x14000f7b5
mov r8, r14
mov edx, Ordinal_50
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x14000f7b5
sub rdi, rsi
cmp rdi, r12
je 0x14000f7b5
lea rdx, [rbx + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rdi
cmp r14, rdi
cmovb r8, r14
cmp r15, 0xf
jbe 0x14000f6c6
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.140042d70
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140039520
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000f71b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f716
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f93b
call fcn.1400d0f5c
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, rdi
jb 0x14000f9a8
sub rcx, rdi
mov r8, r12
cmp rcx, r12
cmovb r8, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14000f757
mov rax, qword [rax]
lea rdx, [rax + rdi]
lea rcx, [rsp + 0x30]
call fcn.140042d70
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.140039520
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000f7ef
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f7ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f93b
call fcn.1400d0f5c
jmp 0x14000f7ef
lea rdx, [rbx + 0x88]
lea rcx, [rbx + 0x28]
cmp rcx, rdx
je 0x14000f7d6
cmp r15, 0xf
jbe 0x14000f7ce
mov rdx, qword [rdx]
mov r8, r14
call fcn.140039350
lea rcx, [rbx + 0x88]
mov r8d, 1
lea rdx, [0x1400ecae0]
call fcn.140039350
lea rsi, [rbx + 0x28]
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x14000f804
mov rsi, qword [rsi]
test r14, r14
je 0x14000f826
mov r8, r14
mov edx, Ordinal_60
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x14000f826
sub rdi, rsi
jmp 0x14000f829
mov rdi, r12
lea rdx, [rbx + 0x28]
cmp rdi, r12
je 0x14000f949
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rdi
cmp r14, rdi
cmovb r8, r14
cmp r15, 0xf
jbe 0x14000f85a
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.140042d70
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x30]
call fcn.140039520
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000f8af
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f8aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f93b
call fcn.1400d0f5c
lea rax, [rbx + 0x28]
inc rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rdi
jb 0x14000f9a8
sub rcx, rdi
cmp rcx, r12
cmovb r12, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14000f8e8
mov rax, qword [rax]
lea rdx, [rax + rdi]
mov r8, r12
lea rcx, [rsp + 0x30]
call fcn.140042d70
lea rcx, [rbx + 0x68]
lea rdx, [rsp + 0x30]
call fcn.140039520
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000f97a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f942
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d0f5c
jmp 0x14000f97a
lea rcx, [rbx + 0x48]
cmp rcx, rdx
je 0x14000f963
cmp r15, 0xf
jbe 0x14000f95b
mov rdx, qword [rdx]
mov r8, r14
call fcn.140039350
lea rcx, [rbx + 0x68]
mov r8d, 2
lea rdx, [0x1400ecae4]
call fcn.140039350
nop
mov rax, rbx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400d0f00
lea r11, [rsp + 0x220]
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.14003c710
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.14000aaf0
lea rdx, [0x14010d608]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.14000b200
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x30]
call fcn.14000aeb0
lea rdx, [0x14010d5c8]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3