Function at 0x140064210
Capabilities:
Initialize winsock library
Link many functions at runtime

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x330
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rbx, rcx
mov dword [rcx + 0x2c], 0x1c
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
xor r8d, r8d
lea edx, [r12 + 0x15]
lea rcx, [rsp + 0x20]
call fcn.140015290
lea rcx, [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x28]
lea r9d, [r12 + 0x15]
lea r8, str.GetNumberOfInterfaces
call fcn.1400b09f0
mov qword [rsp + 0x38], 0x15
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + 0x15], r12b
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x1400642c4
mov rdi, r12
jmp 0x14006430b
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14006430b
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x1400642f1
mov rdi, r12
jmp 0x14006430b
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x14006431d
mov rcx, qword [rsp + 0x28]
call fcn.140084dcc
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
test rdi, rdi
jne 0x14006433b
mov dword [rbx + 0x28], r12d
jmp 0x140064341
lea rcx, [rbx + 0x28]
call rdi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
mov r9d, SafeArrayGetDim
lea r8, str.IcmpCreateFile
lea edx, [r9 + 1]
lea rcx, [rsp + 0x28]
call fcn.1400b09f0
mov qword [rsp + 0x38], SafeArrayGetDim
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + 0xe], r12b
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x14006439b
mov rdi, r12
jmp 0x1400643e2
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x1400643e2
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x1400643c8
mov rdi, r12
jmp 0x1400643e2
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x1400643f4
mov rcx, qword [rsp + 0x28]
call fcn.140084dcc
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
test rdi, rdi
jne 0x140064412
mov qword [rbx + 0x18], r12
jmp 0x140064418
call rdi
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], r12
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x60]
call fcn.1400b57e0
mov dword [rsp + 0x60], 0x11c
mov dword [rsp + 0x64], 5
mov dword [rsp + 0x68], 1
mov word [rsp + 0x174], 2
mov word [rsp + 0x176], r12w
mov r8b, 3
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, reloc.WS2_32.dll_gethostbyaddr
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x140064587
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, str.Icmp6CreateFile
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1400b09f0
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + 0xf], r12b
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x140064510
mov rdi, r12
jmp 0x140064557
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140064557
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x14006453d
mov rdi, r12
jmp 0x140064557
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x140064569
mov rcx, qword [rsp + 0x28]
call fcn.140084dcc
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
test rdi, rdi
je 0x140064587
call rdi
mov qword [rbx + 0x20], rax
lea rdx, [rsp + 0x180]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400645ea
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x1400645d1
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400645c7
mov rcx, rax
call fcn.140050830
jmp 0x1400645ca
mov rax, r12
mov qword [0x1401370f0], rax
lea rdx, str.Cant_start_WSAStartup
mov rcx, rax
call fcn.140050c00
mov eax, 8
jmp 0x1400647b4
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
mov r9d, SafeArrayGetDim
lea r8, str.GetIpAddrTable
lea edx, [r9 + 1]
lea rcx, [rsp + 0x28]
call fcn.1400b09f0
mov qword [rsp + 0x38], SafeArrayGetDim
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + 0xe], r12b
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x140064644
mov rdi, r12
jmp 0x14006468b
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14006468b
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x140064671
mov rdi, r12
jmp 0x14006468b
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x14006469d
mov rcx, qword [rsp + 0x28]
call fcn.140084dcc
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
test rdi, rdi
jne 0x1400646c1
mov qword [rbx + 0x80], r12
jmp 0x14006476f
mov edx, dword [rbx + 0x2c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx + 0x80], rax
xor r8d, r8d
lea rdx, [rbx + 0x2c]
mov rcx, rax
call rdi
mov dword [rbx + 0x88], eax
test eax, eax
je 0x140064725
cmp eax, 0x7a
jne 0x140064725
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [rbx + 0x2c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx + 0x80], rax
xor r8d, r8d
lea rdx, [rbx + 0x2c]
mov rcx, rax
call rdi
mov dword [rbx + 0x88], eax
cmp dword [rbx + 0x88], r12d
jne 0x14006476f
mov edi, r12d
mov rax, qword [rbx + 0x80]
cmp dword [rax], r12d
jbe 0x14006476f
mov rsi, r12
lea rbp, [rbx + 0x30]
mov rax, qword [rbx + 0x80]
mov ecx, dword [rsi + rax + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rbp], rax
add edi, 1
add rbp, 8
add rsi, 0x18
mov rax, qword [rbx + 0x80]
cmp edi, dword [rax]
jb 0x140064744
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x1400647a3
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140064799
mov rcx, rax
call fcn.140050830
jmp 0x14006479c
mov rax, r12
mov qword [0x1401370f0], rax
lea rdx, str.Network_started_
mov rcx, rax
call fcn.140050c00
xor eax, eax
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1400b09d0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret