Function at 0x140011210
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 - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x1400ab008]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov r13, r8
mov rbx, rdx
mov r12, rcx
mov qword [rbp - 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
mov dword [rbp], 3
mov dword [rbp + 4], 0x10
mov qword [rcx], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
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 r14, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x78], rbx
lea rax, str.filePath
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lfence
lea ecx, [r15 + 0x10]
call fcn.140058b74
mov rsi, rax
mov qword [rsp + 0x60], rax
lea rdi, [rax + 0x10]
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax], xmm0
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
cmp rax, rdi
je 0x14001134d
lfence
lea ecx, [r15 + 0x10]
call fcn.140058b74
mov rcx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
add rax, 0x10
mov qword [rsp + 0x50], rax
mov rax, rsi
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
add rcx, 0x10
add rax, 0x10
cmp rax, rdi
jne 0x140011330
mov qword [rsp + 0x48], rcx
mov rdi, qword [rsp + 0x70]
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.140010f60
test al, al
jne 0x1400115ac
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerInqCallAttributesW]
test eax, eax
jne 0x140011484
mov r8d, dword [rbp + 0x40]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r15
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001146b
lea r8, [rsp + 0x58]
mov edx, 0xf01ff
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov r14, qword [rsp + 0x58]
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r14
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140011452
mov r9d, 0x104
lea r8, [rbp + 0x90]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserW]
test eax, eax
jne 0x140011452
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400afe10]
lea rcx, [0x1400ab5d8]
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 - 0x70], rcx
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0
mov dword [rsp + 0x28], ebx
lea rcx, str.ExpandEnvironmentStringsForUser
mov qword [rsp + 0x20], rcx
lea r9, str.GetFullExpandedPath
mov r8, rax
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_struct_Hp::Bridge::Logging::LoggingData____ptr64]
nop
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140011466
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r14, qword [rsp + 0x38]
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001147f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor r15d, r15d
jmp 0x14001149a
mov r8d, 0x104
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r9d, r9d
lea r8, [rbp + 0x2a0]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140011555
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 7
lea rax, [rbp + 0x2a0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400114e2
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x70]
call fcn.140006a60
lea rdx, [rbp + 0x70]
mov rcx, r12
call fcn.140009a20
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1400115ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001154e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001154e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
jmp 0x1400115ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x1400afe10]
lea rcx, [0x1400ab5d8]
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 - 0x50], rcx
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r15
mov dword [rsp + 0x28], ebx
lea rcx, str.GetFullPathName
mov qword [rsp + 0x20], rcx
lea r9, str.GetFullExpandedPath
mov r8, rax
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_struct_Hp::Bridge::Logging::LoggingData____ptr64]
nop
sub rdi, rsi
and rdi, 0xfffffffffffffff0
cmp rdi, 0x1000
jb 0x1400115d4
add rdi, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14001160c
mov rsi, rcx
mov rdx, rdi
mov rcx, rsi
call fcn.140058b40
mov rax, r12
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140058b20
mov rbx, qword [rsp + 0x618]
add rsp, 0x5c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3