Function at 0x18000ee50
Capabilities:
Get hostname
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x108]
sub rsp, 0x1f0
mov rax, qword [0x180093630]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov qword [r11 + 0x10], rsi
mov rsi, rcx
mov qword [r11 + 0x20], r15
xor r15d, r15d
mov ebx, r15d
mov edi, r15d
mov rcx, qword [0x180093040]
test byte [rcx + 0x1c], 4
jne 0x1800201f0
mov r9, qword [0x180096820]
test r9, r9
je 0x18000f05a
mov eax, dword [0x180094ff4]
lea ecx, [rax - 1]
cmp ecx, 0xfffffffd
ja 0x18002027b
imul eax, eax, 0xffffd8f0
lea r8, [rsp + 0x68]
cdqe
mov qword [rsp + 0x68], rax
xor edx, edx
mov rcx, r9
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x180020283
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
cmp byte [0x180096340], dil
jne 0x18000efec
mov qword [rsp + 0x220], r14
mov eax, 1
lock xadd dword [0x180096828], eax
inc eax
cmp byte [0x180096340], dil
jne 0x18000f01e
cmp eax, 1
jne 0x18000f027
call fcn.180010144
mov r14, rax
test rax, rax
je 0x1800202cb
lea rdi, [0x1800963e0]
mov dword [rsp + 0x44], 0x208
mov rcx, rdi
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x44]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, str.Updating
mov qword [rsp + 0x20], rdi
mov rcx, r14
call fcn.18000d9e0
test eax, eax
jne 0x18000f099
lock dec dword [0x180096828]
mov rcx, qword [0x180096820]
test rcx, rcx
je 0x18000efa4
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, r15d
mov rcx, qword [0x180093040]
mov r14, qword [rsp + 0x220]
mov r15, qword [rsp + 0x228]
mov rsi, qword [rsp + 0x218]
test byte [rcx + 0x1c], 4
jne 0x18002068a
mov eax, edi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180017170
add rsp, 0x1f0
pop rdi
pop rbx
pop rbp
ret
movabs rcx, 0x430e23400
add rcx, qword [0x180096338]
cmp rcx, qword [rsp + 0x60]
jbe 0x18000eefb
mov rcx, qword [0x180096820]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [0x180093040]
jmp 0x18000efb6
cmp eax, 2
je 0x18000ef28
cmp rsi, 0xffffffff80000004
je 0x18000f03f
cmp edi, 0x422
je 0x18000f03f
lock dec dword [0x180096828]
mov rcx, qword [0x180096820]
test rcx, rcx
je 0x18000efa7
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x18000efa7
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rcx, rax
test rax, rax
je 0x180020222
xor eax, eax
lock cmpxchg qword [0x180096820], rcx
jne 0x18002025e
mov r9, qword [0x180096820]
test r9, r9
jne 0x18000eeaa
jmp 0x18002026a
lea rax, [rsp + 0x44]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x44], 4
lea rdx, str.Disable_Performance_Counters
mov qword [rsp + 0x20], rax
mov rcx, r14
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x48], r15d
call fcn.18000d9e0
test eax, eax
je 0x180020319
cmp qword [0x180096350], r15
mov edi, r15d
jne 0x18000f1d1
lea rdx, [0x180096358]
mov dword [0x180096358], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov eax, dword [0x180096358]
inc eax
mov ecx, eax
add rcx, rcx
mov dword [0x180096358], eax
call fcn.18000618c
mov qword [0x180096350], rax
test rax, rax
je 0x180020340
lea rdx, [0x180096358]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x180020348
mov rax, qword [0x180096350]
mov ecx, dword [0x180096358]
mov word [rax + rcx*2], r15w
mov eax, dword [0x180096358]
lea eax, [rax*2 + 2]
mov dword [0x180096358], eax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea rdx, str.Configuration_Flags
lea rax, [0x180094fec]
mov dword [rsp + 0x40], r15d
mov rcx, r14
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], 4
call fcn.18000d9e0
test eax, eax
je 0x180020350
mov eax, 4
mov dword [0x180094fec], eax
cmp qword [0x1800968f0], rdi
jne 0x18000f1d1
test al, 0x10
jne 0x180020366
call fcn.18000b8d0
cmp byte [0x180096340], r15b
je 0x18000f1e6
lock dec dword [0x180096828]
mov rax, qword [0x180096338]
lea rcx, [rbp - 0x80]
cmp rsi, 0xffffffff80000004
mov byte [0x180096340], 1
mov r8d, 0x11c
cmove rax, qword [rsp + 0x60]
xor edx, edx
mov qword [0x180096338], rax
call sub.msvcrt.dll_memset
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x11c
call qword [sym.imp.ntdll.dll_RtlGetVersion]
mov ebx, eax
test eax, eax
js 0x18000f027
mov eax, dword [0x180094fe8]
cmp byte [rbp + 0x9a], 1
cmove eax, r15d
mov dword [0x180094fe8], eax
jmp 0x18000f027
cmp byte [rcx + 0x19], 4
jb 0x18000ee9a
mov eax, dword [0x180096828]
lea r8, [0x18007d350]
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.180047340
nop
jmp 0x18000ee9a
mov rcx, qword [0x180093040]
test byte [rcx + 0x1c], 4
je 0x18000efb6
cmp byte [rcx + 0x19], 2
jb 0x18000efb6
mov rcx, qword [rcx + 0x10]
lea r8, [0x18007d350]
mov edx, 0xb
call fcn.180047170
mov rcx, qword [0x180093040]
jmp 0x18000efb6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x18000f084
mov rcx, qword [0x180093040]
mov edi, 0x54f
jmp 0x18000efb6
mov r8, r15
jmp 0x18000eece
mov ecx, ebx
call fcn.18000dc0c
mov edi, eax
mov rcx, qword [0x180093040]
test byte [rcx + 0x1c], 4
je 0x18000efb6
cmp byte [rcx + 0x19], 2
jb 0x18000efb6
mov rcx, qword [rcx + 0x10]
lea r8, [0x18007d350]
mov edx, 0xc
mov r9d, ebx
call fcn.180047190
mov rcx, qword [0x180093040]
jmp 0x18000efb6
lock dec dword [0x180096828]
mov rcx, qword [0x180093040]
test byte [rcx + 0x1c], 4
je 0x180020301
cmp byte [rcx + 0x19], 2
jb 0x180020301
mov rcx, qword [rcx + 0x10]
lea r8, [0x18007d350]
mov edx, 0xd
call fcn.180047170
mov rcx, qword [0x180093040]
mov rax, qword [0x180096820]
test rax, rax
je 0x18000efae
mov rcx, rax
jmp 0x18000f04f
cmp dword [rsp + 0x40], 4
jne 0x18000f0e3
cmp dword [rsp + 0x48], 1
jne 0x18000f0e3
lock dec dword [0x180096828]
mov edi, 0x422
jmp 0x18000f1d1
mov eax, r15d
jmp 0x18000f168
mov eax, r15d
jmp 0x18000f168
cmp dword [rsp + 0x40], 4
jne 0x18000f1b5
mov eax, dword [0x180094fec]
jmp 0x18000f1c0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov r9d, 0x10
lea rdx, [rbp + 0xa0]
mov ecx, eax
lea r8d, [r9 + 0x10]
call qword [sym.imp.msvcrt.dll__ultow_s]
lea rbx, [0x1800969d0]
mov r8d, 0x104
lea r9, str._TEMP_Perflib_Perfdata_
mov rcx, rbx
sub r9, rbx
mov rdx, r15
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x1800203c8
movzx eax, word [r9 + rcx]
test ax, ax
je 0x1800203c8
mov word [rcx], ax
inc rdx
add rcx, 2
sub r8, 1
jne 0x1800203a2
test r8, r8
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
lea rax, [rdx - 1]
cmovne rax, rdx
mov edx, 0x104
sub rdx, rax
lea r9, [rbx + rax*2]
test r8, r8
jne 0x1800203fd
mov edx, 0x104
mov word [0x1800969d0], r15w
test r8, r8
mov qword [rsp + 0x58], rdx
mov rcx, rbx
cmovne rcx, r9
mov qword [rsp + 0x50], rcx
je 0x180020534
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xa0]
call fcn.18000dc50
test eax, eax
js 0x180020534
mov r8, qword [rsp + 0x58]
mov r9d, 0x7ffffffe
mov ecx, r15d
mov edx, 0x80070057
lea rax, [r8 - 1]
cmp rax, r9
cmova ecx, edx
test ecx, ecx
js 0x1800204c5
test r8, r8
je 0x180020534
mov r11, qword [rsp + 0x50]
lea r10, str..dat
sub r9, r8
mov rcx, r11
sub r10, r11
mov rdx, r8
lea rax, [r9 + rdx]
test rax, rax
je 0x18002049c
movzx eax, word [rcx + r10]
test ax, ax
je 0x18002049c
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x18002047c
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov ecx, 0x8007007a
cmovne ecx, r15d
mov word [rax], r15w
jne 0x1800204d7
lea rax, [r8 + r8]
shr rax, 1
je 0x1800204d3
mov word [r11], r15w
jmp 0x1800204d3
test r8, r8
je 0x1800204d3
mov rax, qword [rsp + 0x50]
mov word [rax], r15w
test ecx, ecx
js 0x180020534
mov r8d, 0x104
lea rdx, [0x180096be0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, eax
dec rax
cmp rax, 0x103
ja 0x180020534
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x14000100
lea rcx, [0x180096be0]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [0x1800968f0], rax
jmp 0x18002053b
mov rcx, qword [0x1800968f0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x180020656
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], 0x4000
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [0x1800969c8], rax
test rax, rax
je 0x18002061f
xor r9d, r9d
mov qword [rsp + 0x20], 0x4000
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x1800968e8], rax
mov rbx, rax
test rax, rax
je 0x1800205d4
cmp dword [rax + 0xc], 0x1234567
je 0x18000f1d1
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbx], r15d
mov qword [rbx + 4], 0x7f
mov dword [rbx + 0xc], 0x1234567
jmp 0x18000f1d1
mov rcx, qword [0x180093040]
test byte [rcx + 0x1c], 4
je 0x1800205fc
cmp byte [rcx + 0x19], 2
jb 0x1800205fc
mov rcx, qword [rcx + 0x10]
lea r8, [0x18007d350]
mov edx, 0xe
call fcn.180047170
mov rcx, qword [0x1800969c8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1800968f0]
mov qword [0x1800969c8], r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002067e
mov rcx, qword [0x180093040]
test byte [rcx + 0x1c], 4
je 0x180020647
cmp byte [rcx + 0x19], 2
jb 0x180020647
mov rcx, qword [rcx + 0x10]
lea r8, [0x18007d350]
mov edx, 0xf
call fcn.180047170
mov rcx, qword [0x1800968f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18002067e
mov rcx, qword [0x180093040]
test byte [rcx + 0x1c], 4
je 0x18002067e
cmp byte [rcx + 0x19], 2
jb 0x18002067e
mov rcx, qword [rcx + 0x10]
lea r8, [0x18007d350]
mov edx, 0x10
call fcn.180047170
mov qword [0x1800968f0], r15
jmp 0x18000f1d1
cmp byte [rcx + 0x19], 4
jb 0x18000efd0
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], ebx
call fcn.1800472ec
nop
jmp 0x18000efd0