Function at 0x14000c570
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 [0x140177090]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
cmp qword [0x140177bb0], r15
je 0x14000c5d2
lea rdx, [0x140177ba0]
call fcn.1400075e0
jmp 0x14000c9a8
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 0x14000c664
lea rbx, [0x140177bc0]
cmp qword [0x140177bd0], r15
jne 0x14000c6a8
lea edx, [rax + 0x64]
lea rcx, [rbp + 0x190]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x14000c67a
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rdi + 0x10], r15
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], r13
mov byte [rdi], r15b
jmp 0x14000c9a8
lea rax, [rbp + 0x190]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x14000c690
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.140008ab0
mov qword [rsp + 0x60], r15
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 [0x140177bc0]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
lea rsi, [0x140177ba0]
test eax, eax
jne 0x14000c75c
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], r15b
jne 0x14000c744
lea rdx, [rbp + 0x158]
mov rcx, rsi
call fcn.140008ab0
mov r13d, reloc.WS2_32.dll_ntohs
cmp qword [0x140177bb0], r15
jne 0x14000c905
mov r12, r15
mov qword [rsp + 0x48], r15
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, r15d
mov ecx, eax
call fcn.1400f3628
mov r14, rax
test rax, rax
je 0x14000c8cc
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [r8 + 0x2e]
lea ecx, [rdx - 0x2c]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x14000c7d4
mov rcx, r14
call fcn.1400f2fd4
jmp 0x14000c7d8
test eax, eax
je 0x14000c7e9
inc ebx
cmp ebx, 3
jge 0x14000c8cc
mov eax, dword [rsp + 0x58]
jmp 0x14000c795
mov rsi, r14
nop dword [rax]
test r12, r12
jne 0x14000c8bd
cmp dword [rsi + 0x64], 0x18
je 0x14000c8b0
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x14000c8b0
mov ecx, 2
mov rdx, qword [rbx + 0x10]
cmp cx, word [rdx]
jne 0x14000c871
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 0x14000c86c
lea rdx, str.127.0.0.1
lea rcx, [rbp + 0x140]
call fcn.1400f366c
test eax, eax
jne 0x14000c87c
mov ecx, 2
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14000c8b0
jmp 0x14000c815
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000c890
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x38]
call fcn.140008ab0
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x14000c7f0
mov rcx, r14
call fcn.1400f2fd4
lea rsi, [0x140177ba0]
mov rcx, rsi
call fcn.140008a50
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x140177ba0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x140177bb0], xmm1
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.140008a50
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov rbx, qword [0x140177bb0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x140177ba0]
cmp rbx, 0x10
jae 0x14000c938
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
jmp 0x14000c9a0
mov r13, rbx
or r13, 0xf
movabs rax, 0x7fffffffffffffff
cmp r13, rax
cmova r13, rax
lea rcx, [r13 + 1]
cmp rcx, 0x1000
jb 0x14000c981
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c9e1
mov rcx, rax
call fcn.1400e9d8c
test rax, rax
je 0x14000c9db
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x14000c98e
test rcx, rcx
je 0x14000c98e
call fcn.1400e9d8c
mov r15, rax
mov qword [rdi], r15
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, r15
call fcn.1400ec270
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r13
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400e9d60
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.1400f35b0
int3
call fcn.1400012d0
int3