Function at 0x1401306a8
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r15, rcx
lea rcx, [rbp - 0x31]
call fcn.140130930
nop
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x29]
jmp 0x14013074a
mov rdx, r15
lea rcx, [rbx + 8]
call fcn.1400f87d4
cmp word [rbx], 0x17
jne 0x140130746
lea r8, [rbx + 8]
lea rdx, [0x1403de5b0]
lea rcx, [rbp + 0x17]
call fcn.1400b3ac0
nop
lea r8, [0x1403de5ac]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.14007ba90
nop
lea rcx, [rbp + 0x17]
call fcn.14007bf60
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.1400f87d4
nop
lea rcx, [rbp - 9]
call fcn.14007bf60
add rbx, 0x28
cmp rbx, rdi
jne 0x1401306ec
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140527a40], eax
jle 0x1401307b8
lea rcx, [0x140527a40]
call fcn.140158080
cmp dword [0x140527a40], 0xffffffff
jne 0x1401307b8
and dword [rbp - 0x19], 0
mov dword [rbp - 0x15], 1
mov dword [rbp - 0x11], 3
lea r8, [rbp - 0xd]
lea rdx, [rbp - 0x19]
call fcn.140164284
lea rcx, [0x1403907d0]
call fcn.140156894
nop
lea rcx, [0x140527a40]
call fcn.140158018
mov rbx, qword [0x140527a28]
mov rsi, qword [0x140527a30]
jmp 0x1401308aa
mov r14d, dword [rbx]
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
and qword [rbp + 7], 0
and dword [rbp - 0x39], 0
lea r8, [rbp - 0x39]
xor edx, edx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
mov eax, dword [rbp - 0x39]
test eax, eax
je 0x14013089d
mov edx, eax
lea rcx, [rbp - 9]
call fcn.1400a04a0
lea r8, [rbp - 0x39]
mov rdi, qword [rbp - 9]
mov rdx, rdi
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x140130854
mov eax, dword [rbp - 0x39]
lea r8, [rdi + rax*2]
mov rdx, rdi
lea rcx, [rbp + 0x17]
call fcn.140162c10
nop
mov rdx, r15
lea rcx, [rbp + 0x17]
call fcn.1400f87d4
nop
lea rcx, [rbp + 0x17]
call fcn.14007bf60
jmp 0x14013089d
call fcn.1400abad4
mov rdi, rax
cmp dword [rax], 2
jbe 0x14013089d
lea rax, str.Failed_to_retrieve_PC_name
mov qword [rbp - 0x19], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x35], eax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x35]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045d05d]
mov rcx, rdi
call fcn.140006294
nop
lea rcx, [rbp - 9]
call fcn.1401349f4
add rbx, 4
cmp rbx, rsi
jne 0x1401307cb
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x1401308ff
mov rdi, qword [rbp - 0x29]
jmp 0x1401308cf
lea rcx, [rbx + 8]
call fcn.14007bf60
add rbx, 0x28
cmp rbx, rdi
jne 0x1401308c2
mov rax, qword [rbp - 0x21]
sub rax, qword [rbp - 0x31]
sar rax, 3
movabs rcx, 0xcccccccccccccccd
imul rax, rcx
lea rdx, [rax + rax*4]
shl rdx, 3
mov rcx, qword [rbp - 0x31]
call fcn.14007e0f0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140156340
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret