Function at 0x140130d48
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 [0x1404fa650]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r15, rcx
lea rcx, [rbp - 0x31]
call fcn.140130fd0
nop
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x29]
jmp 0x140130dea
mov rdx, r15
lea rcx, [rbx + 8]
call fcn.1400f9844
cmp word [rbx], 0x17
jne 0x140130de6
lea r8, [rbx + 8]
lea rdx, [0x1403dc490]
lea rcx, [rbp + 0x17]
call fcn.1400b3d30
nop
lea r8, [0x1403dc48c]
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.14007b7b0
nop
lea rcx, [rbp + 0x17]
call fcn.14007bc80
mov rdx, r15
lea rcx, [rbp - 9]
call fcn.1400f9844
nop
lea rcx, [rbp - 9]
call fcn.14007bc80
add rbx, 0x28
cmp rbx, rdi
jne 0x140130d8c
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1405246f0], eax
jle 0x140130e58
lea rcx, [0x1405246f0]
call fcn.140159340
cmp dword [0x1405246f0], 0xffffffff
jne 0x140130e58
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.140165544
lea rcx, [0x14038dc40]
call fcn.140157b54
nop
lea rcx, [0x1405246f0]
call fcn.1401592d8
mov rbx, qword [0x1405246d8]
mov rsi, qword [0x1405246e0]
jmp 0x140130f4a
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 0x140130f3d
mov edx, eax
lea rcx, [rbp - 9]
call fcn.1400a0710
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 0x140130ef4
mov eax, dword [rbp - 0x39]
lea r8, [rdi + rax*2]
mov rdx, rdi
lea rcx, [rbp + 0x17]
call fcn.140163ed0
nop
mov rdx, r15
lea rcx, [rbp + 0x17]
call fcn.1400f9844
nop
lea rcx, [rbp + 0x17]
call fcn.14007bc80
jmp 0x140130f3d
call fcn.1400abd44
mov rdi, rax
cmp dword [rax], 2
jbe 0x140130f3d
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, [0x14045a865]
mov rcx, rdi
call fcn.140006294
nop
lea rcx, [rbp - 9]
call fcn.140135b34
add rbx, 4
cmp rbx, rsi
jne 0x140130e6b
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x140130f9f
mov rdi, qword [rbp - 0x29]
jmp 0x140130f6f
lea rcx, [rbx + 8]
call fcn.14007bc80
add rbx, 0x28
cmp rbx, rdi
jne 0x140130f62
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.14007de10
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140157600
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