Function at 0x14002b730
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14012dcd0]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, qword [0x140132948]
movzx ecx, word [rax]
xor edi, edi
cmp cx, word [0x1400dd1f0]
jne 0x14002b77e
mov eax, edi
jmp 0x14002b783
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14002ba03
mov dword [rbp - 0x11], shutdown
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14002b7a8
mov word [rbp + 0x27], di
mov edx, 0x10
lea rcx, [rbp + 0x27]
call fcn.1400b7f00
call fcn.140004650
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x14002b7d5
mov ecx, 0x80004005
call fcn.140003970
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x19], rax
mov byte [rsp + 0x20], 1
lea r9, [0x1400dd1f0]
lea r8, str.Config
lea rdx, str.InitiatorGuid
lea rcx, [rbp + 7]
call fcn.1400a1b00
nop
mov rdx, qword [rax]
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x14002b81a
mov eax, edi
jmp 0x14002b82a
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002b820
mov r8d, eax
lea rcx, [rbp - 0x19]
call fcn.140007830
nop
mov rcx, qword [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, qword [rbp - 0x19]
movzx eax, word [rbx]
cmp ax, word [0x1400dd1f0]
jne 0x14002b855
mov eax, edi
jmp 0x14002b85a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14002b90d
lea rcx, [rbp + 0x17]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
call qword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, 0x8007000e
je 0x14002b90d
mov rdx, qword [rbp - 9]
test rdx, rdx
jne 0x14002b892
mov eax, edi
jmp 0x14002b89f
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002b895
mov r8d, eax
lea rcx, [rbp - 0x19]
call fcn.140007830
mov rcx, qword [rbp - 9]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, 0x7b
lea rcx, [rbp - 0x19]
call fcn.14002bd30
mov edx, 0x7d
lea rcx, [rbp - 0x19]
call fcn.14002bd30
lea rcx, [rbp - 0x19]
call fcn.14001e1b0
mov rbx, qword [rbp - 0x19]
cmp dword [rbx - 8], 1
jle 0x14002b8f4
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x19]
call fcn.1400043b0
mov rbx, qword [rbp - 0x19]
mov r9b, 1
mov r8, rbx
lea rdx, str.Config
lea rcx, str.InitiatorGuid
call fcn.1400a28a0
call fcn.140004650
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x14002b92b
mov ecx, 0x80004005
call fcn.140003970
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 1], rax
cmp dword [rbx - 8], 1
jle 0x14002b94f
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x19]
call fcn.1400043b0
mov rbx, qword [rbp - 0x19]
mov r9, rbx
lea r8, [rbp + 0x27]
lea rdx, str.iqn.2006_01.com.disc_soft:daemon_tools:_ws__ws
lea rcx, [rbp - 1]
call fcn.140012950
mov rdx, qword [rbp - 1]
lea rbx, [rdx - 0x18]
mov rdi, qword [0x140132948]
add rdi, 0xffffffffffffffe8
cmp rbx, rdi
je 0x14002b9ce
cmp dword [rdi + 0x10], 0
jl 0x14002b9bd
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x14002b9bd
mov rcx, rbx
call fcn.14000de20
mov r14, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14002b9b0
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.imgengine.dll_Ordinal_8 + 8]
lea rax, [r14 + 0x18]
mov qword [0x140132948], rax
jmp 0x14002b9ce
mov r8d, dword [rdx - 0x10]
lea rcx, [0x140132948]
call fcn.140007830
nop
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x14002b9e7
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.imgengine.dll_Ordinal_8]
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14002ba03
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.imgengine.dll_Ordinal_8 + 8]
lea rax, [0x140132948]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400af8c0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret