Function at 0x1000c7c74
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, [0x100027420]
mov qword [rsp + 0x30], rbp
lea r12, [0x10002a660]
mov qword [rsp + 0x38], r12
lea r13, [0x100027408]
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.1000e7c38
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 0x1000c7de8
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 0x1000c7dde
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x150]
call fcn.1000e760c
lea r9, [0x10002a6c8]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1000e9408
nop
lea rcx, [rsp + 0x30]
call fcn.1000e7688
mov ecx, dword [rsp + 0x238]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x10017643c]
mov rcx, rax
call fcn.1001305dc
mov rbx, rax
cmp rax, rdi
jne 0x1000c7e87
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, [0x10002a6f0]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e8ff8
int3
lea r8, [rsp + 0x238]
mov rdx, rax
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp eax, edi
jne 0x1000c7f30
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.10012fea8
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, [0x10002a6c8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9858
int3
mov qword [rsp + 0x20], rbx
lea r9, [0x100027368]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e826c
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e7d24
mov rax, rbx
mov rbx, qword [rsp + 0x230]
add rsp, 0x200
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret