Function at 0x140060c50
Capabilities:
Get hostname
Get local ipv4 addresses
Get mac address on windows
Resolve dns

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140121ef0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
mov qword [rbp - 0x80], rcx
xor r15b, r15b
cmp qword [rcx + 0x10], 0
jne 0x140060cb9
cmp qword [rcx + 0x18], 8
jb 0x140060cb0
mov rcx, qword [rcx]
call sub.mfc110u.dll_Ordinal_1482
xor esi, esi
xor al, al
jmp 0x140060fd5
xor esi, esi
mov word [rbp - 0x18], si
xor eax, eax
mov qword [rbp - 0x16], rax
mov qword [rbp - 0xe], rax
mov qword [rbp - 6], rax
mov dword [rbp + 2], eax
mov word [rbp + 6], ax
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp qword [rbx + 0x18], 8
jb 0x140060cf7
mov rcx, qword [rbx]
jmp 0x140060cfa
mov rcx, rbx
lea rdx, [rbp - 0x18]
call qword [sym.imp.MSVCR110.dll__wcsicmp]
test eax, eax
je 0x140060fc4
cmp qword [rbx + 0x18], 8
jb 0x140060d18
mov rcx, qword [rbx]
jmp 0x140060d1b
mov rcx, rbx
lea rdx, str.localhost
call qword [sym.imp.MSVCR110.dll__wcsicmp]
test eax, eax
je 0x140060fc4
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov r8d, 4
lea rdx, str.4410
lea rcx, [rbp - 0x78]
call fcn.140003310
nop
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0x4c]
call sub.MSVCR110.dll_memset
mov qword [rsp + 0x40], rsi
lea rdi, [rsp + 0x48]
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov qword [rsp + 0x48], 4
mov r14d, 1
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x54], 6
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
cmp qword [rbx + 0x18], 8
jb 0x140060db0
mov rcx, qword [rbx]
jmp 0x140060db3
mov rcx, rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x140060f8f
mov rax, qword [rsp + 0x40]
mov r13d, dword [rax + 4]
mov dword [rsp + 0x38], 0x3a98
mov ecx, 0x3a98
call qword [sym.imp.MSVCR110.dll_malloc]
mov r12, rax
test rax, rax
je 0x140060ecb
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, r12
xor r8d, r8d
xor edx, edx
mov ecx, r13d
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x140060e8e
mov r14, r12
mov rdi, qword [r14 + 0x18]
test rdi, rdi
je 0x140060e7a
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x10]
call sub.MSVCR110.dll_memset
mov dword [rsp + 0x30], 0xff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
xor r8d, r8d
mov edx, dword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WS2_32.dll_WSAAddressToStringW]
test eax, eax
jne 0x140060e71
mov rcx, rbx
call fcn.140003460
mov rcx, rax
lea rdx, [rbp + 0x10]
call qword [sym.imp.MSVCR110.dll__wcsicmp]
test eax, eax
je 0x140060e77
mov rdi, qword [rdi + 8]
jmp 0x140060e18
mov r15b, 1
mov r14, qword [r14 + 8]
test r14, r14
je 0x140060e88
test r15b, r15b
je 0x140060e14
mov r14d, 1
mov rcx, r12
call qword [sym.imp.MSVCR110.dll_free]
test r15b, r15b
je 0x140060ecb
cmp qword [rbp - 0x60], 8
jb 0x140060eac
mov rcx, qword [rbp - 0x78]
call sub.mfc110u.dll_Ordinal_1482
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov rcx, rbx
call fcn.140001ec0
mov al, 1
jmp 0x140060fe4
cmp r13d, 0x17
je 0x140060f8f
mov r9d, 3
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.140021010
cmp qword [rax + 0x18], 8
jb 0x140060ef4
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1400e7ae8]
call qword [sym.imp.MSVCR110.dll__wcsicmp]
test eax, eax
sete dil
cmp qword [rbp - 0x40], 8
jb 0x140060f1a
mov rcx, qword [rbp - 0x58]
call sub.mfc110u.dll_Ordinal_1482
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
test dil, dil
je 0x140060f8f
mov r9, r14
or r8, 0xffffffffffffffff
lea rdx, [0x1400d8968]
mov rcx, rbx
call fcn.1400659c0
inc eax
movsxd r8, eax
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140021010
cmp qword [rax + 0x18], 8
jb 0x140060f64
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.MSVCR110.dll__wtoi]
mov edi, eax
cmp qword [rbp - 0x20], 8
jb 0x140060f7f
mov rcx, qword [rbp - 0x38]
call sub.mfc110u.dll_Ordinal_1482
lea eax, [rdi - 1]
movzx r15d, r15b
cmp eax, 0xfd
cmovbe r15d, r14d
cmp qword [rbp - 0x60], 8
jb 0x140060f9f
mov rcx, qword [rbp - 0x78]
call sub.mfc110u.dll_Ordinal_1482
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
cmp qword [rbx + 0x18], 8
jb 0x140060fbe
mov rcx, qword [rbx]
call sub.mfc110u.dll_Ordinal_1482
movzx eax, r15b
jmp 0x140060fd5
cmp qword [rbx + 0x18], 8
jb 0x140060fd3
mov rcx, qword [rbx]
call sub.mfc110u.dll_Ordinal_1482
mov al, 1
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400bb310
lea r11, [rsp + 0x320]
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