Function at 0x14010ac84
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x140477ad0]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x51]
call fcn.14010afe0
nop
mov rbx, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x49]
jmp 0x14010ad1d
lea rcx, [rbx + 8]
call fcn.1402441a4
cmp word [rbx], 0x17
jne 0x14010ad19
lea r8, [rbx + 8]
lea rdx, [0x140398220]
lea rcx, [rbp + 0x17]
call fcn.14006d408
nop
lea r8, [0x14039821c]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.14006d288
nop
lea rcx, [rbp + 0x17]
call fcn.14007a7c0
lea rcx, [rbp - 9]
call fcn.1402441a4
nop
lea rcx, [rbp - 9]
call fcn.14007a7c0
add rbx, 0x28
cmp rbx, rdi
jne 0x14010acc5
mov edx, 0x80
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r15d, r15d
mov eax, dword [rdx + rcx]
cmp dword [0x14049c8e0], eax
jle 0x14010ad8e
lea rcx, [0x14049c8e0]
call fcn.1401297d0
cmp dword [0x14049c8e0], 0xffffffff
jne 0x14010ad8e
mov dword [rbp - 0x39], r15d
mov dword [rbp - 0x35], 1
mov dword [rbp - 0x31], 3
lea r8, [rbp - 0x2d]
lea rdx, [rbp - 0x39]
call fcn.140243618
lea rcx, [0x14033b880]
call fcn.140123b20
nop
lea rcx, [0x14049c8e0]
call fcn.140129768
mov qword [rbp - 0x19], r15
mov edx, 7
mov qword [rbp - 0x11], rdx
mov word [rbp - 0x29], r15w
mov rsi, r15
mov rdi, qword [0x14049c840]
mov rbx, qword [0x14049c848]
sub rbx, rdi
add rbx, 3
shr rbx, 2
cmp rdi, qword [0x14049c848]
cmova rbx, r15
test rbx, rbx
je 0x14010ae8f
mov r14d, dword [rdi]
mov dword [rbp - 0x59], r15d
lea r8, [rbp - 0x59]
xor edx, edx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
mov eax, dword [rbp - 0x59]
test eax, eax
je 0x14010ae7b
lea edx, [rax + 2]
lea rcx, [rbp - 0x29]
call fcn.14006d888
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea r8, [rbp - 0x59]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x14010ae33
lea rcx, [rbp - 0x29]
call fcn.1402441a4
jmp 0x14010ae7b
call fcn.1400a4e1c
mov r14, rax
cmp dword [rax], 2
jbe 0x14010ae7b
lea rax, str.Failed_to_retrieve_PC_name
mov qword [rbp - 0x39], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x55], eax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x55]
mov qword [rsp + 0x20], rax
lea rdx, [0x1403f2dca]
mov rcx, r14
call fcn.14000a750
add rdi, 4
inc rsi
cmp rsi, rbx
jne 0x14010add0
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14010aea6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
call fcn.14007ebd0
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r15w
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x14010aefe
mov rdx, qword [rbp - 0x49]
mov rcx, rbx
call fcn.14010afa4
mov rdx, qword [rbp - 0x41]
sub rdx, rbx
movabs rax, 0x6666666666666667
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rcx, rbx
call fcn.14007ebd0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140123570
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret