Function at 0x1000c8030
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x200
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
lea rbp, [0x100027570]
mov qword [rsp + 0x30], rbp
lea r12, [0x10002a7b0]
mov qword [rsp + 0x38], r12
lea r13, [0x100027558]
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x882
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor edi, edi
mov word [rax - 0x158], di
mov byte [rax - 0x156], dil
mov byte [rax - 0x155], 1
lea r15d, [rdi + 0x78]
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e8000
nop
mov dword [rsp + 0x238], edi
lea r8, [rsp + 0x238]
xor edx, edx
lea ecx, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1000c81a4
movzx ebx, ax
or ebx, 0x80070000
cmp eax, edi
cmovle ebx, eax
mov dword [rsp + 0xe8], ebx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x88d
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x30]
mov qword [rsp + 0x240], r11
cmp ebx, edi
jge 0x1000c819a
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x150]
call fcn.1000e79d4
lea r9, [0x10002a818]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x30]
call fcn.1000e7a50
mov ecx, dword [rsp + 0x238]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x10017743c]
mov rcx, rax
call fcn.100130a4c
mov rbx, rax
cmp rax, rdi
jne 0x1000c8243
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x893
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r9, [0x10002a840]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e93c0
int3
lea r8, [rsp + 0x238]
mov rdx, rax
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp eax, edi
jne 0x1000c82ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, edi
cmovle ecx, eax
mov dword [rsp + 0xe8], ecx
mov rcx, rbx
call fcn.10013031c
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x89a
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], di
mov byte [rsp + 0xd2], dil
mov byte [rsp + 0xd3], 1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, [0x10002a818]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9c20
int3
mov qword [rsp + 0x20], rbx
lea r9, [0x1000274b8]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
mov rax, rbx
mov rbx, qword [rsp + 0x230]
add rsp, 0x200
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret