Function at 0x140011b00
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 [0x1400c9008]
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
mov qword [rcx], r13
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.140012100
nop
lea rax, [rbp]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp]
call fcn.140012000
nop
mov rdx, r15
mov rcx, rax
call fcn.140011850
test al, al
jne 0x140011f18
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 0x140011d78
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 0x140011d27
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 0x140011cf1
mov r9d, 0x104
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
test eax, eax
jne 0x140011cf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400cde60]
lea rcx, [0x1400c95d8]
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 0x140011d04
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 0x140011e07
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140011e07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400cde60]
lea rcx, [0x1400c95d8]
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 0x140011d0b
mov r8d, 0x104
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x140011de0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400cde60]
lea rcx, [0x1400c95d8]
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 0x140011e07
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 0x140011ec8
lea rdx, [rbp + 0x230]
lea rcx, [rbp]
call fcn.140005290
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400090d0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140011e88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011e83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011ea6
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 0x140011f18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400cde60]
lea rcx, [0x1400c95d8]
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 0x140011f69
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011f56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011f56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140061bc0
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.140061ba0
mov rbx, qword [rsp + 0x5a8]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret