Function at 0x14002c890
Capabilities:
Get hostname
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
lea r8, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x50], ebp
lea ecx, [rbp + 6]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rsp + 0x50]
cmp eax, 1
jbe 0x14002c931
lea rcx, [rax*2 + 2]
call fcn.1400462e4
mov rdi, rax
test rax, rax
je 0x14002c931
lea r8, [rsp + 0x50]
mov rdx, rax
lea ecx, [rbp + 6]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea edx, [rbp + 6]
mov rcx, rdi
call fcn.1400097b0
mov rsi, rax
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdi + rbx*2 + 2], bp
lea rbx, [rbx + 1]
jne 0x14002c900
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
call fcn.1400462d0
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov dword [rsp + 0x50], ebp
lea r8, [rsp + 0x50]
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rsp + 0x50]
cmp eax, 1
jbe 0x14002c9a0
lea rcx, [rax*2 + 2]
call fcn.1400462e4
mov rdi, rax
test rax, rax
je 0x14002c9a0
lea r8, [rsp + 0x50]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, 5
mov rcx, rdi
call fcn.1400097b0
mov rsi, rax
mov rbx, 0xffffffffffffffff
nop dword [rax]
cmp word [rdi + rbx*2 + 2], bp
lea rbx, [rbx + 1]
jne 0x14002c990
jmp 0x14002c90b
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400303f0
test al, al
je 0x14002caa5
mov ecx, 0x1c0
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x58], 0x1c0
call fcn.1400462e4
mov r14, rax
test rax, rax
je 0x14002caa0
xor r8d, r8d
lea rax, [rsp + 0x58]
mov r9, r14
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x10]
lea ecx, [rdx - 0xe]
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x14002ca16
mov rcx, r14
call fcn.1400462d0
mov ecx, dword [rsp + 0x58]
call fcn.1400462e4
mov r14, rax
test rax, rax
je 0x14002caa0
xor r8d, r8d
lea rax, [rsp + 0x58]
mov r9, r14
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x10]
lea ecx, [rdx - 0xe]
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x14002ca98
mov rdi, r14
test r14, r14
je 0x14002ca8d
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
mov rax, qword [rdi + 0x1b8]
test rax, rax
je 0x14002ca84
mov rcx, rbx
nop
inc rcx
cmp word [rax + rcx*2 + 8], bp
jne 0x14002ca60
test rcx, rcx
je 0x14002ca84
lea rcx, [rcx*2 + 2]
call fcn.1400462e4
mov rsi, rax
test rax, rax
jne 0x14002cab5
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14002ca50
mov rcx, r14
call fcn.1400462d0
mov r14, rbp
mov rcx, r14
call fcn.1400462d0
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rax, rbp
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rdi + 0x1b8]
mov rdx, rsi
add rcx, 8
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x14002cad0
mov rcx, r14
call fcn.1400462d0
mov edx, 7
mov rcx, rsi
call fcn.1400097b0
mov rbp, rax
nop dword [rax + rax]
cmp word [rsi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14002cb00
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rsi
call fcn.1400452a0
mov rcx, rsi
jmp 0x14002ca9b