Function at 0x140013010
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 + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400781a0]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rdi, rcx
mov dword [rcx + 0x2c], 0x1c
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
xor r8d, r8d
lea edx, [rbx + 0x15]
lea rcx, [rsp + 0x20]
call fcn.140005a20
lea rcx, [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x28]
lea r9d, [rbx + 0x15]
lea r8, str.GetNumberOfInterfaces
call fcn.140034f40
mov qword [rsp + 0x38], 0x15
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + 0x15], bl
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x1400130be
mov rsi, rbx
jmp 0x140013105
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013105
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400130eb
mov rsi, rbx
jmp 0x140013105
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x140013117
mov rcx, qword [rsp + 0x28]
call fcn.14001f5a4
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
test rsi, rsi
jne 0x140013133
mov dword [rdi + 0x28], ebx
jmp 0x140013139
lea rcx, [rdi + 0x28]
call rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
mov r9d, ntohs
lea r8, str.IcmpCreateFile
lea edx, [r9 + 1]
lea rcx, [rsp + 0x28]
call fcn.140034f40
mov qword [rsp + 0x38], ntohs
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + 0xe], bl
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140013191
mov rsi, rbx
jmp 0x1400131d8
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x1400131d8
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400131be
mov rsi, rbx
jmp 0x1400131d8
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x1400131ea
mov rcx, qword [rsp + 0x28]
call fcn.14001f5a4
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
test rsi, rsi
jne 0x140013207
mov qword [rdi + 0x18], rbx
jmp 0x14001320d
call rsi
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x60]
call fcn.140038800
mov dword [rsp + 0x60], 0x11c
mov dword [rsp + 0x64], 5
mov dword [rsp + 0x68], 1
mov word [rsp + 0x174], 2
mov word [rsp + 0x176], bx
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, 0x10
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 0x140013378
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, str.Icmp6CreateFile
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.140034f40
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], bl
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140013302
mov rsi, rbx
jmp 0x140013349
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013349
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x14001332f
mov rsi, rbx
jmp 0x140013349
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x14001335b
mov rcx, qword [rsp + 0x28]
call fcn.14001f5a4
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
test rsi, rsi
je 0x140013378
call rsi
mov qword [rdi + 0x20], rax
lea rdx, [rsp + 0x180]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400133ac
call fcn.14000f410
mov rcx, rax
lea rdx, str.Cant_start_WSAStartup
call fcn.14000f840
mov eax, 8
jmp 0x1400135fb
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
mov r9d, ntohs
lea r8, str.GetIpAddrTable
lea edx, [r9 + 1]
lea rcx, [rsp + 0x28]
call fcn.140034f40
mov qword [rsp + 0x38], ntohs
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + 0xe], bl
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140013404
mov rsi, rbx
jmp 0x14001344b
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x14001344b
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140013431
mov rsi, rbx
jmp 0x14001344b
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rdx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
cmp qword [rsp + 0x40], 0x10
jb 0x14001345d
mov rcx, qword [rsp + 0x28]
call fcn.14001f5a4
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x28], bl
test rsi, rsi
jne 0x140013480
mov qword [rdi + 0x80], rbx
jmp 0x14001352b
mov edx, dword [rdi + 0x2c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rdi + 0x80], rax
xor r8d, r8d
lea rdx, [rdi + 0x2c]
mov rcx, rax
call rsi
mov dword [rdi + 0x88], eax
test eax, eax
je 0x1400134e4
cmp eax, 0x7a
jne 0x1400134e4
mov rcx, qword [rdi + 0x80]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [rdi + 0x2c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rdi + 0x80], rax
xor r8d, r8d
lea rdx, [rdi + 0x2c]
mov rcx, rax
call rsi
mov dword [rdi + 0x88], eax
cmp dword [rdi + 0x88], ebx
jne 0x14001352b
mov esi, ebx
mov rax, qword [rdi + 0x80]
cmp dword [rax], ebx
jbe 0x14001352b
mov rbp, rbx
lea r12, [rdi + 0x30]
mov rax, qword [rdi + 0x80]
mov ecx, dword [rax + rbp + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [r12], rax
add esi, 1
add r12, 8
add rbp, 0x18
mov rax, qword [rdi + 0x80]
cmp esi, dword [rax]
jb 0x140013500
mov rsi, qword [0x1400803d0]
test rsi, rsi
jne 0x1400135ea
mov ecx, 0x310
call fcn.14001f560
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400135e0
call fcn.14002b6f8
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x140013573
mov ecx, 0x80004005
call fcn.140002210
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov word [rsi + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400660dc]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400660dc]
mov rcx, rsi
call fcn.140005c50
lea rcx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rsi + 0x26c]
mov word [rcx], 0
lea r8, [0x1400660e0]
mov edx, 0x50
call fcn.140036860
nop
jmp 0x1400135e3
mov rsi, rbx
mov qword [0x1400803d0], rsi
lea rdx, str.Network_started_
mov rcx, rsi
call fcn.14000f840
xor eax, eax
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.140034e40
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret