Function at 0x14004f7c4
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 ebx, edx
mov rdi, r8
mov qword [rbp - 0x38], rax
mov rsi, rcx
mov qword [rbp - 0x30], rax
xor edx, edx
mov qword [rbp - 0x28], rax
lea r12d, [rax + 0xf]
mov dword [rbp - 0x20], eax
mov r8d, r12d
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 [rdi + 0xa0]
lea r8, str._02x
mov edx, r12d
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r15d, [r12 + 0xf]
mov edx, r15d
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, r12d
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rdi + 0xc8]
lea r8, str._04x
mov edx, r12d
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r8, [rbp - 0x48]
mov edx, r15d
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8d, r12d
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rdi + 0x98]
lea r8, str._02x
mov edx, r12d
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r8, [rbp - 0x48]
mov edx, r15d
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor edx, edx
lea r8d, [r12 + 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 0x14004f93d
mov eax, dword [rbp - 0x50]
lea ecx, [r12 - 1]
cmp eax, ecx
mov r8d, r12d
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, r12d
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
or r9, 0xffffffffffffffff
lea r8, [rbp - 0x48]
mov edx, r15d
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
mov r8, r12
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rdi + 0x90]
lea r8, str._02x
mov rdx, r12
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r8, [rbp - 0x48]
mov rdx, r15
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r8, r12
lea rcx, [rbp - 0x48]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rdi + 0x9c]
lea r8, str._04x
mov rdx, r12
lea rcx, [rbp - 0x48]
call fcn.140008cb0
lea r8, [rbp - 0x48]
mov rdx, r15
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rdx, r15
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
cmp rbx, rax
jbe 0x14004f9d1
mov rdx, r15
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov edx, ebx
lea r8, [rbp - 0x38]
mov r9d, ebx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov r8, r15
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