Function at 0x14004fa14
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp - 8], rax
xor eax, eax
mov esi, edx
mov rbx, r8
mov qword [rbp - 0x38], rax
mov rdi, rcx
mov qword [rbp - 0x30], rax
xor edx, edx
mov qword [rbp - 0x28], rax
lea r15d, [rax + 0xf]
mov dword [rbp - 0x20], eax
mov r8d, r15d
mov word [rbp - 0x1c], ax
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], eax
mov word [rbp - 0x3c], ax
mov byte [rbp - 0x3a], al
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x50], 0x10
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rbx + 0xa0]
lea r8, str._02x
mov edx, r15d
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r12d, [r15 + 0xf]
mov edx, r12d
lea r8, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8d, r15d
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rbx + 0xc8]
lea r8, str._04x
mov edx, r15d
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r8, [rbp - 0x48]
mov edx, r12d
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8d, r15d
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rbx + 0x98]
lea r8, str._02x
mov edx, r15d
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r8, [rbp - 0x48]
mov edx, r12d
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x14004fb86
mov eax, dword [rbp - 0x50]
lea ecx, [r15 - 1]
cmp eax, ecx
mov r8d, r15d
cmova eax, ecx
xor edx, edx
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x50], eax
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rbp - 0x50]
lea r8, [rbp - 0x18]
mov edx, r15d
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea r8, [rbp - 0x48]
mov edx, r12d
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, r15
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rbx + 0x90]
lea r8, str._02x
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r8, [rbp - 0x48]
mov rdx, r12
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, r15
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rbx + 0x9c]
lea r8, str._04x
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140008cb0
or rbx, 0xffffffffffffffff
lea r8, [rbp - 0x48]
mov r9, rbx
lea rcx, [rbp - 0x38]
mov rdx, r12
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
mov rdx, rsi
lea r8, [rbp - 0x38]
mov r9, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov r8, r12
lea rcx, [rbp - 0x38]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140059ef0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret