Function at 0x140001450
Capabilities:
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x10
lea rbp, [rsp + 0x10]
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000148c
jmp 0x140001796
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400014be
jmp 0x1400018cf
mov eax, 0x1a0
call fcn.1400084c0
sub rsp, rax
mov rdx, rsp
mov eax, 0x10
call fcn.1400084c0
sub rsp, rax
mov rax, rsp
mov word [rax], 0x202
mov cx, word [rax]
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAStartup]
add rsp, 0x20
cmp eax, 0
setl al
mov byte [rbp - 1], al
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000152f
jmp 0x1400018cf
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001561
jmp 0x140001796
mov al, byte [rbp - 1]
test al, 1
jne 0x140001571
jmp 0x140001665
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400015a3
jmp 0x1400017d1
sub rsp, 0x20
lea rcx, str.ws2_32.dll_is_out_of_date._n
call sym.printf
call qword [sym.imp.WS2_32.dll_WSACleanup]
add rsp, 0x20
mov ecx, 1
sub rsp, 0x20
call sym.exit
add rsp, 0x20
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001601
jmp 0x1400017d1
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001633
jmp 0x14000190a
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001665
jmp 0x14000190a
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001697
jmp 0x14000190f
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400016c9
jmp 0x14000190f
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400016fb
jmp 0x140001866
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000172d
jmp 0x140001914
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x14000175f
jmp 0x140001914
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001791
jmp 0x140001866
mov rsp, rbp
pop rbp
ret
mov eax, 0x1a0
call fcn.1400084c0
sub rsp, rax
mov rdx, rsp
mov eax, 0x10
call fcn.1400084c0
sub rsp, rax
mov rax, rsp
mov word [rax], 0x202
mov cx, word [rax]
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAStartup]
add rsp, 0x20
jmp 0x14000148c
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001803
jmp 0x140001919
sub rsp, 0x20
lea rcx, str.ws2_32.dll_is_out_of_date._n
call sym.printf
call qword [sym.imp.WS2_32.dll_WSACleanup]
add rsp, 0x20
mov ecx, 1
sub rsp, 0x20
call sym.exit
add rsp, 0x20
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001861
jmp 0x140001919
jmp 0x1400015a3
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x140001898
jmp 0x14000194a
mov eax, dword [0x140012b80]
mov ecx, dword [0x140012ba4]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1400018ca
jmp 0x14000194a
jmp 0x1400016fb
mov eax, 0x1a0
call fcn.1400084c0
sub rsp, rax
mov rdx, rsp
mov eax, 0x10
call fcn.1400084c0
sub rsp, rax
mov rax, rsp
mov word [rax], 0x202
mov cx, word [rax]
sub rsp, 0x20
call qword [sym.imp.WS2_32.dll_WSAStartup]
add rsp, 0x20
jmp 0x1400014be
jmp 0x140001633
jmp 0x140001697
jmp 0x14000172d
sub rsp, 0x20
lea rcx, str.ws2_32.dll_is_out_of_date._n
call sym.printf
call qword [sym.imp.WS2_32.dll_WSACleanup]
add rsp, 0x20
mov ecx, 1
sub rsp, 0x20
call sym.exit
add rsp, 0x20
jmp 0x140001803
jmp 0x140001898