Function at 0x14000b230
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 [0x1400df080]
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 0x14000b956
movzx eax, word [rbp - 0x60]
cmp al, 2
jne 0x14000b92d
shr ax, 8
cmp al, 2
jne 0x14000b92d
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 rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000b327
mov rcx, qword [rdi]
mov r15, qword [rdi + 0x10]
mov qword [rsp + 0x20], 3
lea r9, [0x1400c4654]
xor r8d, r8d
mov rdx, r15
call fcn.1400181c0
mov r14, rax
mov r12, 0xffffffffffffffff
cmp rax, r12
je 0x14000b471
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rax
cmp r15, rax
cmovb r8, r15
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000b381
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140018290
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 8]
call fcn.140016f50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000b3d6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b3d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b85e
call fcn.1400ad200
lea rcx, [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, rcx
jb 0x14000b927
sub rax, rcx
mov r8, r12
cmp rax, r12
cmovb r8, rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14000b40f
mov rdi, qword [rdi]
lea rdx, [rdi + rcx]
lea rcx, [rsp + 0x30]
call fcn.140018290
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.140016f50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000b4c1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b46a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b85e
call fcn.1400ad200
jmp 0x14000b4c1
mov rcx, qword [rbx + 0x20]
cmp rcx, 4
jb 0x14000b49d
lea rax, [rbx + 8]
cmp rcx, 0xf
jbe 0x14000b489
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], 4
mov dword [rax], 0x70747468
mov byte [rax + 4], 0
jmp 0x14000b4b2
lea r9, str.http
mov edx, 4
lea rcx, [rbx + 8]
call fcn.140018580
lea rcx, [rbx + 0x88]
mov rdx, rdi
call fcn.140016e60
lea rdi, [rbx + 0x88]
cmp qword [rbx + 0xa0], 0xf
jbe 0x14000b4d9
mov rdi, qword [rbx + 0x88]
mov r8, qword [rbx + 0x98]
test r8, r8
je 0x14000b50e
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14000b50e
sub rax, rdi
cmp rax, r12
je 0x14000b50e
lea rcx, [rbx + 0x88]
mov rdx, rax
call fcn.140016cc0
lea r14, [rbx + 0x88]
mov r15, qword [rbx + 0xa0]
cmp r15, 0xf
jbe 0x14000b529
mov r14, qword [rbx + 0x88]
mov rdi, qword [rbx + 0x98]
test rdi, rdi
je 0x14000b682
mov r8, rdi
mov edx, Ordinal_50
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x14000b682
sub rsi, r14
cmp rsi, r12
je 0x14000b682
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 r15, 0xf
jbe 0x14000b58c
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.140018290
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140016f50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000b5e1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b5dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b85e
call fcn.1400ad200
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 0x14000b927
sub rcx, rsi
mov r8, r12
cmp rcx, r12
cmovb r8, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14000b61d
mov rax, qword [rax]
lea rdx, [rax + rsi]
lea rcx, [rsp + 0x30]
call fcn.140018290
lea rcx, [rbx + 0x88]
lea rdx, [rsp + 0x30]
call fcn.140016f50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000b70d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b678
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b85e
call fcn.1400ad200
jmp 0x14000b70d
lea r9, [rbx + 0x88]
lea rcx, [rbx + 0x28]
cmp rcx, r9
je 0x14000b6d0
cmp r15, 0xf
jbe 0x14000b69b
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x14000b6c8
mov rsi, rcx
cmp rax, 0xf
jbe 0x14000b6b0
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 0x14000b6d0
mov rdx, rdi
call fcn.140018580
lea rcx, [rbx + 0x88]
mov rdx, qword [rcx + 0x18]
cmp rdx, 1
jb 0x14000b6fc
mov rax, rcx
cmp rdx, 0xf
jbe 0x14000b6ed
mov rax, qword [rcx]
mov qword [rcx + 0x10], 1
mov word [rax], Ordinal_50
jmp 0x14000b70d
lea r9, [0x1400c4660]
mov edx, 1
call fcn.140018580
lea r14, [rbx + 0x28]
mov r15, qword [rbx + 0x40]
cmp r15, 0xf
jbe 0x14000b71f
mov r14, qword [rbx + 0x28]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14000b745
mov r8, rdi
mov edx, Ordinal_60
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rsi, rax
test rax, rax
je 0x14000b745
sub rsi, r14
jmp 0x14000b748
mov rsi, r12
cmp rsi, r12
je 0x14000b86f
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 r15, 0xf
jbe 0x14000b779
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.140018290
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x30]
call fcn.140016f50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000b7ce
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b7c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b85e
call fcn.1400ad200
inc rsi
lea rax, [rbx + 0x28]
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 0x14000b927
sub rcx, rsi
cmp rcx, r12
cmovb r12, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x14000b807
mov rax, qword [rax]
lea rdx, [rax + rsi]
mov r8, r12
lea rcx, [rsp + 0x30]
call fcn.140018290
lea rcx, [rbx + 0x68]
lea rdx, [rsp + 0x30]
call fcn.140016f50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000b8f9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b865
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b865
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ad200
jmp 0x14000b8f9
lea r9, [rbx + 0x28]
lea rcx, [rbx + 0x48]
cmp rcx, r9
je 0x14000b8ba
cmp r15, 0xf
jbe 0x14000b885
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x14000b8b2
mov rsi, rcx
cmp rax, 0xf
jbe 0x14000b89a
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 0x14000b8ba
mov rdx, rdi
call fcn.140018580
lea rcx, [rbx + 0x68]
mov rdx, qword [rcx + 0x18]
cmp rdx, 2
jb 0x14000b8e7
mov rax, rcx
cmp rdx, 0xf
jbe 0x14000b8d4
mov rax, qword [rcx]
mov qword [rcx + 0x10], 2
mov word [rax], 0x3038
mov byte [rax + 2], 0
jmp 0x14000b8f9
lea r9, [0x1400c4664]
mov edx, 2
call fcn.140018580
nop
mov rax, rbx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400ad1e0
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.140017810
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x30]
call fcn.140007b50
lea rdx, [0x1400da800]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140008220
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rsp + 0x70]
call fcn.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3