Function at 0x140005110
Capabilities:
Get hostname

Disassembly:
sub rsp, 0xf8
mov qword [rsp + 0xc0], 0xfffffffffffffffe
lea rcx, [rsp + 0x60]
call fcn.1400073d0
nop
lea rcx, [rsp + 0x20]
call fcn.1400073d0
nop
lea rcx, [rsp + 0x30]
call fcn.140002770
nop
lea rcx, [rsp + 0x28]
call fcn.1400073d0
nop
mov ecx, 0x10
call fcn.1400072d0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x140005183
mov rcx, qword [rsp + 0x80]
call fcn.140014810
mov qword [rsp + 0xc8], rax
jmp 0x14000518f
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
lea rdx, [0x140068488]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov ecx, 0x200
call fcn.140015f00
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x100
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140002790
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.140007540
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.140007540
lea rdx, str._prt.xml
lea rcx, [rsp + 0x60]
call fcn.140006300
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140015f08
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x98]
call fcn.140006790
nop
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
lea r8, [rsp + 0x98]
lea rdx, [0x140068530]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x68]
nop
lea rcx, [rsp + 0x98]
call fcn.1400074f0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
lea rdx, [0x140068490]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0xa0]
call fcn.140001680
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140007570
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002790
nop
lea rcx, [rsp + 0xa0]
call fcn.1400074f0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.140006790
nop
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r8, [rsp + 0xa8]
lea rdx, [0x140068538]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x68]
nop
lea rcx, [rsp + 0xa8]
call fcn.1400074f0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x30]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.1400049b0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x20]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1400053d5
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0xb0]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0xe0], rax
jmp 0x1400053e1
mov qword [rsp + 0xe0], 0
lea rcx, [rsp + 0x28]
call fcn.1400074f0
nop
lea rcx, [rsp + 0x30]
call fcn.140002850
nop
lea rcx, [rsp + 0x20]
call fcn.1400074f0
nop
lea rcx, [rsp + 0x60]
call fcn.1400074f0
add rsp, 0xf8
ret