Function at 0x14000cd30
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 [0x140189090]
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 [0x140189ce0], r14
je 0x14000cd92
lea rdx, [0x140189cd0]
call fcn.140007d50
jmp 0x14000d170
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 0x14000ce24
lea rbx, [0x140189cf0]
cmp qword [0x140189d00], r14
jne 0x14000ce68
lea edx, [rax + 0x64]
lea rcx, [rbp + 0x190]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x14000ce3d
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 0x14000d170
lea rax, [rbp + 0x190]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x14000ce50
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.140009250
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 [0x140189cf0]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
lea rsi, [0x140189cd0]
test eax, eax
jne 0x14000cf1c
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 0x14000cf04
lea rdx, [rbp + 0x158]
mov rcx, rsi
call fcn.140009250
mov r13d, reloc.WS2_32.dll_ntohs
cmp qword [0x140189ce0], r14
jne 0x14000d0ca
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.1401034f4
mov r15, rax
test rax, rax
je 0x14000d091
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 0x14000cf9f
mov rcx, r15
call fcn.140102dcc
jmp 0x14000cfa3
test eax, eax
je 0x14000cfb4
inc ebx
cmp ebx, 3
jge 0x14000d091
mov eax, dword [rsp + 0x58]
jmp 0x14000cf60
mov rsi, r15
test r12, r12
jne 0x14000d082
cmp dword [rsi + 0x64], 0x18
je 0x14000d075
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x14000d075
mov ecx, 2
nop dword [rax]
mov rdx, qword [rbx + 0x10]
cmp cx, word [rdx]
jne 0x14000d03c
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 0x14000d037
lea rdx, str.127.0.0.1
lea rcx, [rbp + 0x140]
call fcn.140103538
test eax, eax
jne 0x14000d047
mov ecx, 2
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14000d075
jmp 0x14000cfe0
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000d055
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x38]
call fcn.140009250
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x14000cfb7
mov rcx, r15
call fcn.140102dcc
lea rsi, [0x140189cd0]
mov rcx, rsi
call fcn.1400091f0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x140189cd0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x140189ce0], xmm1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1400091f0
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 [0x140189ce0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x140189cd0]
cmp rbx, 0x10
jae 0x14000d100
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
jmp 0x14000d168
mov r13, rbx
or r13, 0xf
movabs rax, 0x7fffffffffffffff
cmp r13, rax
cmova r13, rax
lea rcx, [r13 + 1]
cmp rcx, 0x1000
jb 0x14000d149
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000d1a9
mov rcx, rax
call fcn.1400f89d8
test rax, rax
je 0x14000d1a3
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000d156
test rcx, rcx
je 0x14000d156
call fcn.1400f89d8
mov r14, rax
mov qword [rdi], r14
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, r14
call fcn.1400faf00
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r13
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400f89b0
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.14010347c
int3
call fcn.1400012e0
int3