Function at 0x14001c0e0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140185fc0]
xor rax, rsp
mov qword [rbp + 0x120], rax
movzx r14d, r8b
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov byte [rcx], r15b
mov ecx, 0x202
lea rdx, [rbp - 0x80]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
jne 0x14001c873
movzx eax, word [rbp - 0x80]
cmp al, 2
jne 0x14001c84a
shr ax, 8
cmp al, 2
jne 0x14001c84a
mov byte [rdi], 1
mov byte [rdi + 1], r14b
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rdi + 8], bl
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x38], r15
mov qword [rdi + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x28], bl
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], r15
mov qword [rdi + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x48], bl
movups xmmword [rdi + 0x68], xmm0
mov qword [rdi + 0x78], r15
mov qword [rdi + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x68], bl
movups xmmword [rdi + 0x88], xmm0
mov qword [rdi + 0x98], r15
mov qword [rdi + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x88], bl
mov r13, qword [rsi + 0x10]
mov r15, rsi
mov rax, qword [rsi + 0x18]
cmp rax, 0xf
jbe 0x14001c1e2
mov r15, qword [rsi]
mov r12, 0xffffffffffffffff
cmp r13, 3
jb 0x14001c255
lea r14, [r15 + r13]
lea r8, [r14 - 2]
sub r8, r15
lea edx, [r12 + 0x3b]
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14001c251
nop
cmp byte [rbx], 0x3a
jne 0x14001c225
cmp byte [rbx + 1], 0x2f
jne 0x14001c225
cmp byte [rbx + 2], 0x2f
jne 0x14001c225
xor eax, eax
jmp 0x14001c22a
sbb eax, eax
or eax, 1
test eax, eax
je 0x14001c378
inc rbx
lea r8, [r14 - 2]
sub r8, rbx
mov edx, Ordinal_60
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14001c210
mov rax, qword [rsi + 0x18]
mov rbx, r12
cmp rbx, r12
je 0x14001c384
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8, rbx
cmp r13, rbx
cmovb r8, r13
mov rdx, rsi
cmp rax, 0xf
jbe 0x14001c288
mov rdx, qword [rsi]
lea rcx, [rsp + 0x20]
call fcn.140012850
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x20]
call fcn.14001fb90
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14001c2dd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c2d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c777
call fcn.14011e4d4
add rbx, 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov rax, qword [rsi + 0x10]
cmp rax, rbx
jb 0x14001c844
sub rax, rbx
mov r8, r12
cmp rax, r12
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x14001c316
mov rsi, qword [rsi]
lea rdx, [rsi + rbx]
lea rcx, [rsp + 0x20]
call fcn.140012850
lea rcx, [rdi + 0x88]
lea rdx, [rsp + 0x20]
call fcn.14001fb90
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14001c3e7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c371
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c777
call fcn.14011e4d4
jmp 0x14001c3e7
sub rbx, r15
mov rax, qword [rsi + 0x18]
jmp 0x14001c258
lea rcx, [rdi + 8]
mov rdx, qword [rcx + 0x18]
cmp rdx, 4
jb 0x14001c3b2
mov rax, rcx
cmp rdx, 0xf
jbe 0x14001c39e
mov rax, qword [rcx]
mov qword [rcx + 0x10], 4
mov dword [rax], 0x70747468
mov byte [rax + 4], 0
jmp 0x14001c3c5
lea r9, str.http
xor r8d, r8d
lea edx, [r8 + 4]
call fcn.140016280
lea rcx, [rdi + 0x88]
cmp rcx, rsi
je 0x14001c3e7
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14001c3df
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.140026130
lea rbx, [rdi + 0x88]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14001c3fc
mov rbx, qword [rbx]
test r8, r8
je 0x14001c42d
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14001c42d
sub rax, rbx
cmp rax, r12
je 0x14001c42d
lea rcx, [rdi + 0x88]
xor r8d, r8d
mov rdx, rax
call fcn.140052950
lea r14, [rdi + 0x88]
mov rbx, qword [r14 + 0x10]
mov r15, qword [r14 + 0x18]
cmp r15, 0xf
jbe 0x14001c445
mov r14, qword [r14]
test rbx, rbx
je 0x14001c597
mov r8, rbx
mov edx, Ordinal_50
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x14001c597
sub rsi, r14
cmp rsi, r12
je 0x14001c597
lea rdx, [rdi + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
cmp r15, 0xf
jbe 0x14001c4a1
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.140012850
lea rcx, [rdi + 0x28]
lea rdx, [rsp + 0x20]
call fcn.14001fb90
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14001c4f6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c4f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c777
call fcn.14011e4d4
lea rax, [rdi + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
jb 0x14001c844
sub rcx, rsi
mov r8, r12
cmp rcx, r12
cmovb r8, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14001c532
mov rax, qword [rax]
lea rdx, [rax + rsi]
lea rcx, [rsp + 0x20]
call fcn.140012850
lea rcx, [rdi + 0x88]
lea rdx, [rsp + 0x20]
call fcn.14001fb90
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14001c627
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c58d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c777
call fcn.14011e4d4
jmp 0x14001c627
lea r9, [rdi + 0x88]
lea rcx, [rdi + 0x28]
cmp rcx, r9
je 0x14001c5e8
cmp r15, 0xf
jbe 0x14001c5b0
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x14001c5dd
mov rsi, rcx
cmp rax, 0xf
jbe 0x14001c5c5
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14001c5e8
xor r8d, r8d
mov rdx, rbx
call fcn.140016280
lea rcx, [rdi + 0x88]
mov rdx, qword [rcx + 0x18]
cmp rdx, 1
jb 0x14001c614
mov rax, rcx
cmp rdx, 0xf
jbe 0x14001c605
mov rax, qword [rcx]
mov qword [rcx + 0x10], 1
mov word [rax], Ordinal_50
jmp 0x14001c627
lea r9, [0x14013e09c]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140016280
lea r14, [rdi + 0x28]
mov rbx, qword [r14 + 0x10]
mov r15, qword [r14 + 0x18]
cmp r15, 0xf
jbe 0x14001c63c
mov r14, qword [r14]
test rbx, rbx
je 0x14001c65e
mov r8, rbx
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x14001c65e
sub rsi, r14
jmp 0x14001c661
mov rsi, r12
cmp rsi, r12
je 0x14001c788
lea rdx, [rdi + 0x28]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
cmp r15, 0xf
jbe 0x14001c692
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
call fcn.140012850
lea rcx, [rdi + 0x48]
lea rdx, [rsp + 0x20]
call fcn.14001fb90
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14001c6e7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c6e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c777
call fcn.14011e4d4
lea rax, [rdi + 0x28]
inc rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
jb 0x14001c844
sub rcx, rsi
cmp rcx, r12
cmovb r12, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14001c720
mov rax, qword [rax]
lea rdx, [rax + rsi]
mov r8, r12
lea rcx, [rsp + 0x20]
call fcn.140012850
lea rcx, [rdi + 0x68]
lea rdx, [rsp + 0x20]
call fcn.14001fb90
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14001c817
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c77e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c77e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011e4d4
jmp 0x14001c817
lea r9, [rdi + 0x28]
lea rcx, [rdi + 0x48]
cmp rcx, r9
je 0x14001c7d6
cmp r15, 0xf
jbe 0x14001c79e
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x14001c7cb
mov rsi, rcx
cmp rax, 0xf
jbe 0x14001c7b3
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14001c7d6
xor r8d, r8d
mov rdx, rbx
call fcn.140016280
lea rcx, [rdi + 0x68]
mov rdx, qword [rcx + 0x18]
cmp rdx, 2
jb 0x14001c803
mov rax, rcx
cmp rdx, 0xf
jbe 0x14001c7f0
mov rax, qword [rcx]
mov qword [rcx + 0x10], 2
mov word [rax], 0x3038
mov byte [rax + 2], 0
jmp 0x14001c817
lea r9, [0x14013e0a0]
xor r8d, r8d
lea edx, [r8 + 2]
call fcn.140016280
nop
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14011e5f0
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140025fb0
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x20]
call fcn.14001de60
lea rdx, [0x14017db08]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.14005cf80
mov r8, rax
lea r9, str.WSAStartup_failed
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14001df70
lea rdx, [0x14017da10]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3