Function at 0x14003e4d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x1402e7d18]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe0], rdx
lea r13, [0x1402eb3e0]
mov rcx, qword [0x1402eb3e0]
cmp rcx, r13
je 0x14003e550
test byte [rcx + 0x6c], 1
je 0x14003e550
cmp byte [rcx + 0x69], 5
jb 0x14003e550
mov r9, rdx
cmp qword [rdx + 0x18], 8
jb 0x14003e53b
mov r9, qword [rdx]
mov edx, 0xa
lea r8, str.rYPf
mov rcx, qword [rcx + 0x60]
call fcn.140033550
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003e55d
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x14003e772
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe8], xmm0
xor r12d, r12d
mov qword [rsp + 0xf8], r12
lea r14, [rbp*2]
cmp r14, 0x1000
jb 0x14003e5c6
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14003e7c4
lfence
call fcn.1401544fc
test rax, rax
je 0x14003e76c
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003e5de
test r14, r14
je 0x14003e5db
lfence
mov rcx, r14
call fcn.1401544fc
mov rbx, rax
jmp 0x14003e5de
mov rbx, r12
mov qword [rsp + 0xe8], rbx
lea r15, [r14 + rbx]
mov qword [rsp + 0xf8], r15
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.140145ad0
mov qword [rsp + 0xf0], r15
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003e614
mov rcx, qword [rdi]
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14003e716
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x14003e640
mov rdx, rbx
mov rcx, rsi
call fcn.140007240
mov rcx, qword [0x1402eb3e0]
cmp rcx, r13
je 0x14003e6a3
test byte [rcx + 0x6c], 1
je 0x14003e6a3
cmp byte [rcx + 0x69], 5
jb 0x14003e6a3
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x14003e67b
mov rax, qword [rsi]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003e688
mov r9, qword [rdi]
mov edx, VariantTimeToDosDateTime
mov qword [rsp + 0x20], rax
lea r8, str.rYPf
mov rcx, qword [rcx + 0x60]
call fcn.14003e410
nop
test rbx, rbx
je 0x14003e6e0
sub r15, rbx
sar r15, 1
lea rdx, [r15 + r15]
cmp rdx, 0x1000
jb 0x14003e6d7
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14003e76c
mov rbx, rcx
mov rcx, rbx
call fcn.1401544b8
nop
mov rcx, rdi
call fcn.1400061e0
mov rax, rsi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140154650
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.14003d8d0
nop
mov r8, rax
lea rdx, str.Exception_occurred_during_resolving_environment_variables_for_path._Error_code:
lea rcx, [rsp + 0xc0]
call fcn.140041d60
nop
mov rcx, rax
call fcn.1400062f0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002480
lea rdx, [0x1402e36b8]
lea rcx, [rsp + 0x48]
call fcn.140145d8c
nop
call fcn.1400e3a60
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14003d8d0
nop
mov r8, rax
lea rdx, str.Exception_occurred_during_resolving_environment_variables_for_path._Error_code:
lea rcx, [rsp + 0x80]
call fcn.140041d60
nop
mov rcx, rax
call fcn.1400062f0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002480
lea rdx, [0x1402e36b8]
lea rcx, [rsp + 0x30]
call fcn.140145d8c
nop
call fcn.140002700
int3