Function at 0x140013680
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x80], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
mov dword [rbp - 0x70], 3
mov dword [rbp - 0x6c], 0x10
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 7
mov word [rcx], r13w
mov dword [rsp + 0x30], 1
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::GetLogger_void_]
mov r12, rax
mov qword [rsp + 0x38], rbx
lea rax, str.filePath
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.140013cf0
nop
lea rax, [rbp]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp]
call fcn.140013bf0
nop
mov rdx, r15
mov rcx, rax
call fcn.1400133c0
test al, al
jne 0x140013b04
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerInqCallAttributesW]
lea rsi, str._S._S_failed_on_function__s_with_result__d
test eax, eax
jne 0x1400138f8
mov r8d, dword [rbp - 0x30]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400138a7
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rsi, qword [rsp + 0x60]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140013871
mov r9d, 0x104
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
test eax, eax
jne 0x140013871
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400d7ef0]
lea rcx, [0x1400d35c8]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
lea rcx, str._S._S_failed_on_function__s_with_result__d
mov qword [rbp], rcx
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r13
mov dword [rsp + 0x28], ebx
lea rcx, str.ExpandEnvironmentStringsForUser
mov qword [rsp + 0x20], rcx
lea r9, str.GetFullExpandedPath
mov r8, rax
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_struct_Hp::Bridge::Logging::LoggingData____ptr64]
nop
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140013884
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsi, str._S._S_failed_on_function__s_with_result__d
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140013987
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140013987
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400d7ef0]
lea rcx, [0x1400d35c8]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
mov qword [rbp], rsi
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r13
mov dword [rsp + 0x28], ebx
lea rcx, str.process_handle_is_NULL_or_INVALID_HANDLE_VALUE
mov qword [rsp + 0x20], rcx
lea r9, str.GetFullExpandedPath
mov r8, rax
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_struct_Hp::Bridge::Logging::LoggingData____ptr64]
jmp 0x14001388b
mov r8d, 0x104
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x140013960
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400d7ef0]
lea rcx, [0x1400d35c8]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
mov qword [rbp], rsi
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r13
mov dword [rsp + 0x28], ebx
lea rcx, str.ExpandEnvironmentStrings
mov qword [rsp + 0x20], rcx
lea r9, str.GetFullExpandedPath
mov r8, rax
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_struct_Hp::Bridge::Logging::LoggingData____ptr64]
jmp 0x140013987
lea rax, str.ExpandEnvironmentStrings:___s____s_
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r13
lea r9, [rbp + 0x20]
mov r8, rbx
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_struct_Hp::Bridge::Logging::LoggingData____ptr64]
xor r9d, r9d
lea r8, [rbp + 0x230]
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140013ab4
lea rdx, [rbp + 0x230]
lea rcx, [rbp]
call fcn.140005d40
mov rbx, rax
cmp rdi, rax
je 0x140013a29
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1400139fb
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400139f6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013a67
mov rcx, r8
call fcn.1400688dc
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140013a73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013a6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013a6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400688dc
movdqa xmm0, xmmword [0x1400b2980]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140013a92
mov r8, qword [rdi]
lea rax, str.GetFullPathName:___s_
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r13
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_struct_Hp::Bridge::Logging::LoggingData____ptr64]
jmp 0x140013b04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400d7ef0]
lea rcx, [0x1400d35c8]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
mov qword [rbp], rsi
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r13
mov dword [rsp + 0x28], ebx
lea rcx, str.GetFullPathName
mov qword [rsp + 0x20], rcx
lea r9, str.GetFullExpandedPath
mov r8, rax
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_struct_Hp::Bridge::Logging::LoggingData____ptr64]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140013b55
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013b42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013b42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400688dc
mov qword [rsp + 0x68], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rax, rdi
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140068890
mov rbx, qword [rsp + 0x5a8]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret