Function at 0x1400050f0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x14003d020]
xor rax, rsp
mov qword [rbp + 0x330], rax
xor edi, edi
lea rcx, [rbp + 0x132]
xor edx, edx
mov word [rbp + 0x130], di
mov r8d, 0x1fe
call fcn.14000a310
movups xmm0, xmmword [str.NetBIOS]
movzx eax, word [0x140037328]
xorps xmm1, xmm1
mov word [rbp - 0x78], ax
movaps xmmword [rsp + 0x30], xmm0
xor eax, eax
movups xmm0, xmmword [str.DNS_hostname]
mov dword [rbp - 0x56], eax
movups xmmword [rsp + 0x40], xmm1
mov word [rbp - 0x52], ax
mov eax, dword [0x140037340]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x140037320]
movsd qword [rbp - 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x76], xmm0
mov dword [rbp - 0x40], eax
movzx eax, word [0x140037344]
movups xmmword [rbp - 0x66], xmm0
mov word [rbp - 0x3c], ax
xor eax, eax
movups xmm0, xmmword [str.DNS_domain]
mov qword [rbp - 0x1a], rax
movups xmmword [rsp + 0x50], xmm1
mov word [rbp - 0x12], ax
movaps xmmword [rbp - 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x3a], xmm0
mov qword [rbp + 0x28], rax
movzx eax, word [0x140037390]
movups xmmword [rbp - 0x2a], xmm0
mov word [rbp + 0x50], ax
xor eax, eax
movups xmm0, xmmword [str.DNS_fully_qualified]
mov qword [rbp + 0x62], rax
movups xmmword [rsp + 0x60], xmm1
mov dword [rbp + 0x6a], eax
movups xmm1, xmmword [0x140037358]
mov word [rbp + 0x6e], ax
mov eax, dword [0x1400373c0]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x140037368]
movsd qword [rbp + 0x10], xmm0
movups xmm0, xmmword [str.Physical_NetBIOS]
mov dword [rbp + 0x98], eax
xor eax, eax
movaps xmmword [rbp], xmm1
xorps xmm1, xmm1
movaps xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x52], xmm0
mov dword [rbp + 0xac], eax
movups xmm0, xmmword [str.Physical_DNS_hostname]
mov qword [rbp + 0xe8], rax
movups xmmword [rbp + 0x18], xmm1
movups xmm1, xmmword [0x140037380]
movaps xmmword [rbp + 0x70], xmm0
movsd xmm0, qword [0x1400373b8]
movsd qword [rbp + 0x90], xmm0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm1
movups xmm1, xmmword [0x1400373a8]
movups xmmword [rbp + 0x9c], xmm0
movups xmm0, xmmword [0x1400373d8]
movaps xmmword [rbp + 0x80], xmm1
movups xmm1, xmmword [str.Physical_DNS_domain]
movaps xmmword [rbp + 0xc0], xmm0
movsd xmm0, qword [0x1400373e8]
movaps xmmword [rbp + 0xb0], xmm1
xorps xmm1, xmm1
movsd qword [rbp + 0xd0], xmm0
movups xmm0, xmmword [str.Physical_DNS_fully_qualified]
movups xmmword [rbp + 0xd8], xmm1
movups xmm1, xmmword [0x140037400]
movaps xmmword [rbp + 0xf0], xmm0
movups xmm0, xmmword [0x140037410]
movzx eax, word [0x140037428]
mov ebx, edi
mov word [rbp + 0x128], ax
xor eax, eax
movaps xmmword [rbp + 0x110], xmm0
movsd xmm0, qword [0x140037420]
movsd qword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x100], xmm1
mov dword [rbp + 0x12a], eax
mov word [rbp + 0x12e], ax
mov dword [rsp + 0x20], 0x100
nop word [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, ebx
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14000536f
movsxd rax, ebx
lea rdx, [rsp + 0x30]
shl rax, 6
lea r8, [rbp + 0x130]
add rdx, rax
lea rcx, str._s:__s_n
call fcn.140001160
xor edx, edx
mov dword [rsp + 0x20], 0x100
mov r8d, 0x100
lea rcx, [rbp + 0x130]
call fcn.14000a310
inc ebx
cmp ebx, 8
jl 0x140005310
jmp 0x140005383
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetComputerNameEx_failed___d__n
call fcn.140001160
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetPhysicallyInstalledSystemMemory]
cmp eax, 1
jne 0x1400053af
mov rdx, qword [rsp + 0x20]
lea rcx, str.Memory_installed:__d_GB_n
shr rdx, 0x14
call fcn.140001160
jmp 0x1400053c1
cmp eax, 0x57
jne 0x1400053c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.140001f90
xor eax, eax
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.140007dc0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret