Function at 0x14000cc00
Capabilities:
Get hostname
Get local ipv4 addresses
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp qword [0x14018ace0], r14
je 0x14000cc62
lea rdx, [0x14018acd0]
call fcn.140007be0
jmp 0x14000d040
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x158], xmm0
movups xmmword [rbp + 0x168], xmm0
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x180], eax
mov word [rbp + 0x184], ax
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov dword [rbp + 0x1f0], eax
lea ecx, [rax + 2]
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14000ccf4
lea rbx, [0x14018acf0]
cmp qword [0x14018ad00], r14
jne 0x14000cd38
lea edx, [rax + 0x64]
lea rcx, [rbp + 0x190]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x14000cd0d
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], r13
mov byte [rdi], r14b
jmp 0x14000d040
lea rax, [rbp + 0x190]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x14000cd20
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.1400090e0
mov qword [rsp + 0x60], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov dword [rsp + 0x6c], 2
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x70], 1
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x14018acf0]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
lea rsi, [0x14018acd0]
test eax, eax
jne 0x14000cdec
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x20]
add rdx, 4
mov r9d, 0x2e
lea r8, [rbp + 0x158]
lea ecx, [r9 - 0x2c]
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
lea rax, [rbp + 0x158]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x14000cdd4
lea rdx, [rbp + 0x158]
mov rcx, rsi
call fcn.1400090e0
mov r13d, reloc.WS2_32.dll_ntohs
cmp qword [0x14018ace0], r14
jne 0x14000cf9a
mov qword [rsp + 0x38], r14
mov r12, r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x38], r12b
mov dword [rsp + 0x30], 2
mov eax, 0x4000
mov dword [rsp + 0x58], eax
mov ebx, r14d
nop word [rax + rax]
mov ecx, eax
call fcn.1401040a4
mov r15, rax
test rax, rax
je 0x14000cf61
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, r15
xor r8d, r8d
lea edx, [r8 + 0x2e]
lea ecx, [rdx - 0x2c]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x14000ce6f
mov rcx, r15
call fcn.14010397c
jmp 0x14000ce73
test eax, eax
je 0x14000ce84
inc ebx
cmp ebx, 3
jge 0x14000cf61
mov eax, dword [rsp + 0x58]
jmp 0x14000ce30
mov rsi, r15
test r12, r12
jne 0x14000cf52
cmp dword [rsi + 0x64], 0x18
je 0x14000cf45
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x14000cf45
mov ecx, 2
nop dword [rax]
mov rdx, qword [rbx + 0x10]
cmp cx, word [rdx]
jne 0x14000cf0c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x140], xmm0
mov dword [rbp + 0x150], eax
mov word [rbp + 0x154], ax
add rdx, 4
lea r9d, [rax + 0x16]
lea r8, [rbp + 0x140]
call qword [sym.imp.WS2_32.dll_inet_ntop]
cmp byte [rbp + 0x140], 0
je 0x14000cf07
lea rdx, str.127.0.0.1
lea rcx, [rbp + 0x140]
call fcn.1401040e8
test eax, eax
jne 0x14000cf17
mov ecx, 2
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14000cf45
jmp 0x14000ceb0
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000cf25
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x38]
call fcn.1400090e0
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x14000ce87
mov rcx, r15
call fcn.14010397c
lea rsi, [0x14018acd0]
mov rcx, rsi
call fcn.140009080
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x14018acd0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x14018ace0], xmm1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.140009080
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov rbx, qword [0x14018ace0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x14018acd0]
cmp rbx, 0x10
jae 0x14000cfd0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
jmp 0x14000d038
mov r13, rbx
or r13, 0xf
movabs rax, 0x7fffffffffffffff
cmp r13, rax
cmova r13, rax
lea rcx, [r13 + 1]
cmp rcx, 0x1000
jb 0x14000d019
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000d079
mov rcx, rax
call fcn.1400f9588
test rax, rax
je 0x14000d073
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000d026
test rcx, rcx
je 0x14000d026
call fcn.1400f9588
mov r14, rax
mov qword [rdi], r14
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, r14
call fcn.1400fbab0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r13
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14010402c
int3
call fcn.1400012e0
int3