Function at 0x14000f340
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x140298ad8]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x68], rdx
xor r15d, r15d
mov dword [rsp + 0x2c], r15d
mov eax, dword [0x1402a7108]
test al, 1
jne 0x14000f42d
or eax, 1
mov dword [0x1402a7108], eax
call fcn.14002d140
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000f3c3
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1402a7110], rax
lea rdx, str._UserCanBeContacted_
test rdx, 0xffffffffffff0000
jne 0x14000f407
movzx ebx, dx
mov ecx, ebx
call fcn.14003e9c8
test rax, rax
je 0x14000f41a
mov r8d, ebx
mov rdx, rax
lea rcx, [0x1402a7110]
call fcn.140005050
jmp 0x14000f41a
mov r8d, 0x15
lea rcx, [0x1402a7110]
call fcn.1400016b0
nop
lea rcx, [0x1401e0970]
call fcn.1401b035c
nop
mov eax, dword [0x1402a7108]
test al, 2
jne 0x14000f4c8
or eax, 2
mov dword [0x1402a7108], eax
call fcn.14002d140
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000f45e
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1402a7118], rax
lea rdx, str._ComputerName_
test rdx, 0xffffffffffff0000
jne 0x14000f4a2
movzx ebx, dx
mov ecx, ebx
call fcn.14003e9c8
test rax, rax
je 0x14000f4b5
mov r8d, ebx
mov rdx, rax
lea rcx, [0x1402a7118]
call fcn.140005050
jmp 0x14000f4b5
mov r8d, SafeArrayGetDim
lea rcx, [0x1402a7118]
call fcn.1400016b0
nop
lea rcx, [0x1401e0950]
call fcn.1401b035c
nop
mov eax, dword [0x1402a7108]
test al, 4
jne 0x14000f55d
or eax, 4
mov dword [0x1402a7108], eax
call fcn.14002d140
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000f4f9
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x1402a7120], rax
lea rdx, str._SerialNum_
test rdx, 0xffffffffffff0000
jne 0x14000f53d
movzx ebx, dx
mov ecx, ebx
call fcn.14003e9c8
test rax, rax
je 0x14000f550
mov r8d, ebx
mov rdx, rax
lea rcx, [0x1402a7120]
call fcn.140005050
jmp 0x14000f550
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [0x1402a7120]
call fcn.1400016b0
nop
lea rcx, [0x1401e0930]
call fcn.1401b035c
nop
call fcn.14002d140
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000f57d
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x2c], 1
lea rax, [0x140247ad0]
lea rdi, [0x140247ad8]
cmp dword [r14 + 0x380], 1
cmove rdi, rax
call fcn.14002d140
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14000f5cc
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
or rbx, 0xffffffffffffffff
test rdi, rdi
je 0x14000f61d
test rdi, 0xffffffffffff0000
jne 0x14000f60e
movzx edi, di
mov ecx, edi
call fcn.14003e9c8
test rax, rax
je 0x14000f631
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140005050
jmp 0x14000f631
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000f611
jmp 0x14000f620
mov eax, r15d
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400016b0
nop
lea r8, [rsp + 0x20]
lea rdx, [0x1402a7110]
lea rcx, [rsp + 0x50]
call fcn.140004a80
nop
lea r8, [0x140247300]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140004dc0
nop
mov rdx, rax
mov rcx, rsi
call fcn.1400017a0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000f683
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000f69c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [r14 + 0x387], 0
je 0x14000f737
mov word [rsp + 0x70], r15w
mov dword [rsp + 0x28], 0x200
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea r8, [rsp + 0x70]
lea rdx, [0x1402a7118]
lea rcx, [rsp + 0x58]
call fcn.140004dc0
nop
lea r8, [0x140247300]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140004dc0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.140004e90
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000f71e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000f737
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [r14 + 0x2d0]
lea rdx, [0x1402a7120]
lea rcx, [rsp + 0x40]
call fcn.140004a80
nop
lea r8, [0x140247ae0]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140004dc0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.140004e90
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000f78f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000f7a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000f7c3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rsi
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1401aef10
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret