Function at 0x1400017b0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push rbp
push r12
push r15
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r12, rdx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xor ebp, ebp
xor edx, edx
mov r8d, 0x198
mov dword [rsp + 0x20], ebp
movups xmmword [rsp + 0x1d0], xmm0
xor r15d, r15d
call fcn.140017d30
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140001841
lea edx, [rbp + 0x50]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x140001848
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str._d_when_getting_local_host_name_
call fcn.140001010
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x140001aae
lea rcx, [rsp + 0x1e0]
mov qword [rsp + 0x248], r13
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r13, rax
test rax, rax
jne 0x140001873
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x140001aa6
lea r8, str.172.27.144.1192.168.1.32192.168.56.1192.168.192.1192.168.88.1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], bpl
jne 0x140001881
mov qword [rsp + 0x290], rbx
mov qword [rsp + 0x258], rsi
mov qword [rsp + 0x250], rdi
mov qword [rsp + 0x240], r14
test rax, rax
je 0x140001a7b
nop dword [rax]
nop word [rax + rax]
mov eax, ebp
xor edx, edx
movzx ecx, byte [rax + r8]
cmp cl, 0x7e
je 0x1400018ee
nop
test cl, cl
je 0x1400018ea
inc ebp
mov byte [rsp + rdx + 0x1d0], cl
inc edx
movzx ecx, byte [rbp + r8]
cmp cl, 0x7e
jne 0x1400018d0
mov dword [rsp + 0x20], ebp
cmp edx, 0x10
jae 0x140001acb
mov eax, ebp
mov byte [rsp + rdx + 0x1d0], 0
cmp byte [rax + r8], 0x7e
jne 0x14000190e
inc ebp
mov dword [rsp + 0x20], ebp
mov rax, qword [r13 + 0x18]
xor r14d, r14d
cmp qword [rax], r14
je 0x140001a72
mov rbp, qword [rsp + 0x28]
xor ecx, ecx
nop word [rax + rax]
mov rcx, qword [rcx + rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
xor r11d, r11d
xor r10d, r10d
xor ebx, ebx
mov rdi, rax
xor esi, esi
nop dword [rax]
movzx edx, byte [r10 + rdi]
xor r9d, r9d
cmp dl, 0x2e
je 0x140001980
nop dword [rax]
test dl, dl
je 0x140001980
inc r10d
movsx eax, dl
lea r9d, [r9 + r9*4]
lea r9d, [r9 - 0x18]
movzx edx, byte [r10 + rdi]
lea r9d, [rax + r9*2]
cmp dl, 0x2e
jne 0x140001960
movzx edx, byte [rsp + rbx + 0x1d0]
xor r8d, r8d
cmp dl, 0x2e
je 0x1400019b2
test dl, dl
je 0x1400019b2
inc ebx
movsx eax, dl
lea r8d, [r8 + r8*4]
lea r8d, [r8 - 0x18]
movzx edx, byte [rsp + rbx + 0x1d0]
lea r8d, [rax + r8*2]
cmp dl, 0x2e
jne 0x140001990
mov eax, 0x80
nop word [rax + rax]
mov edx, r8d
mov ecx, r9d
and edx, eax
and ecx, eax
cmp edx, ecx
jne 0x1400019e5
inc r11d
shr eax, 1
jne 0x1400019c0
inc ebx
inc r10d
inc esi
cmp esi, 4
jne 0x140001950
cmp r11d, r15d
jbe 0x140001a4d
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp], xmm0
mov r15d, r11d
mov r8, 0xffffffffffffffff
movups xmmword [r12], xmm1
inc r8
cmp byte [rdi + r8], 0
jne 0x140001a03
inc r8
mov rdx, rdi
mov rcx, rbp
call fcn.1400180f0
lea rax, [rsp + 0x1d0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001a30
inc r8
lea rdx, [rsp + 0x1d0]
mov rcx, r12
call fcn.1400180f0
mov rax, qword [r13 + 0x18]
inc r14
lea rcx, [r14*8]
cmp qword [rcx + rax], 0
jne 0x140001930
mov ebp, dword [rsp + 0x20]
lea r8, str.172.27.144.1192.168.1.32192.168.56.1192.168.192.1192.168.88.1
cmp ebp, 0x41
jb 0x1400018c0
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rbx, qword [rsp + 0x290]
mov eax, 1
mov rdi, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x258]
mov r14, qword [rsp + 0x240]
mov r13, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140001eb0
add rsp, 0x260
pop r15
pop r12
pop rbp
ret
call fcn.140002014
int3