Function at 0x14007e97c
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
movaps xmmword [rsp + 0x2e0], xmm6
mov rax, qword [0x140162028]
xor rax, rsp
mov qword [rsp + 0x2d8], rax
mov ecx, 0x210
call fcn.1400ef770
mov rsi, rax
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [0x140137270]
movups xmmword [rsp + 0xd8], xmm0
mov r8d, 0x20a
mov rcx, rax
xor edx, edx
call fcn.1400f27e0
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14007ef1a
mov edx, eax
lea rsi, [rsp + 0xd0]
mov rcx, rsi
xor r8d, r8d
call fcn.14005aba6
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
xorps xmm6, xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
call fcn.14007f44e
test al, al
je 0x14007ef38
movzx eax, byte [rsp + 0x47]
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
test al, al
jns 0x14007ee05
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x14007eada
lea rbx, [rsp + 0x30]
mov rcx, qword [rbx]
lea rsi, [rcx + rax*2]
add rsi, 0xffffffffffffffe8
lea rdi, str.Application
mov r8d, 0xc
mov rcx, rsi
mov rdx, rdi
call fcn.140104844
movzx ecx, byte [rsp + 0x47]
test eax, eax
je 0x14007eac0
mov rax, rbx
test cl, cl
jns 0x14007eab7
mov rax, qword [rsp + 0x30]
cmp rsi, rax
lea rsi, [rsi - 2]
jne 0x14007ea91
add rsi, 2
test cl, cl
jns 0x14007ee23
mov rax, qword [rsp + 0x30]
cmp rax, rsi
jne 0x14007efb5
lea rdx, str.Microsoft.WebView2Runtime.
lea rcx, [rsp + 0x30]
lea rsi, [rsp + 0xb0]
mov r8d, 0x1a
mov r9, rsi
call fcn.14007f1e3
test al, al
jne 0x14007eec7
lea rsi, [rsp + 0xb0]
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14007eb1d
mov rcx, qword [rsp + 0xb0]
lea rdx, str.WebView
call fcn.140104694
mov edi, eax
call fcn.14007f44e
mov r14d, eax
xor r12d, r12d
test edi, edi
je 0x14007eed2
lea r15, [0x14013e400]
mov ebx, 5
xor r14b, 1
movzx ebp, r14b
mov rdi, r15
mov rdx, qword [rdi + rbp*8 + 0x18]
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14007eb6b
mov rcx, qword [rsp + 0xb0]
call fcn.140104694
test eax, eax
je 0x14007eb83
add rdi, 0xe8
dec rbx
jne 0x14007eb55
mov rdi, r15
mov ecx, 0x98
call fcn.1400ef770
mov rbx, rax
mov rcx, rax
call fcn.14007de1c
mov qword [rsp + 0xa8], rbx
xor r8d, r8d
cmp byte [rdi + 0xcc], 0
je 0x14007ec5c
test r14b, r14b
jne 0x14007ec5c
mov dword [rsp + 0x2c], r12d
lea rbx, [rsp + 0xd0]
mov word [rbx], 0
lea rbp, str.PROGRAMFILES
lea r12, [rsp + 0x30]
lea r13, str.PROGRAMFILES
mov rcx, qword [rbp]
mov word [rsp + 0xd0], 0
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14007ec43
mov r14d, eax
test r14, r14
je 0x14007ec43
mov r15, r14
dec r14
cmp word [rsp + r15*2 + 0xce], 0x5c
je 0x14007ec09
cmp byte [rsp + 0x47], 0
mov rcx, r12
jns 0x14007ec2f
mov rcx, qword [rsp + 0x30]
lea r8, [r14 + 1]
mov rdx, rbx
call fcn.140104844
test eax, eax
je 0x14007eee3
add rbp, 8
cmp rbp, r13
jne 0x14007ebde
xor r8d, r8d
mov rbx, qword [rsp + 0xa8]
mov r12d, dword [rsp + 0x2c]
mov qword [rbx + 0x68], rdi
mov byte [rbx + 0x90], r8b
xor eax, eax
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0x70], xmm0
test r12b, r12b
jne 0x14007ef64
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
lea r9, [rsp + 0xd0]
mov rdx, rdi
call fcn.14007e490
cmp byte [rsp + 0x87], 0
js 0x14007ee8b
mov word [rsp + 0x70], 0
mov byte [rsp + 0x87], 0
lea rdi, [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rdi], xmm0
mov rbp, qword [rsp + 0xa8]
lea rbx, [rbp + 0x10]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14005aa2a
movzx eax, byte [rbp + 0x27]
test al, al
jns 0x14007ee1a
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rax
lea rbx, [rbp + 0x28]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.14005aa2a
cmp byte [rbp + 0x3f], 0
jns 0x14007ed49
mov rbx, qword [rbx]
mov qword [rbp + 0x80], rbx
lea rbx, [rbp + 0x40]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14005aa2a
cmp byte [rbp + 0x57], 0
jns 0x14007ed6d
mov rbx, qword [rbx]
mov qword [rbp + 0x88], rbx
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x50], rbp
cmp byte [rdi + 0x17], 0
js 0x14007ee37
cmp byte [rsp + 0xa7], 0
js 0x14007ee46
cmp byte [rsp + 0xe7], 0
js 0x14007ee58
lea rcx, [rsp + 0xa8]
xor edx, edx
call fcn.14007dec8
cmp byte [rsi + 0x17], 0
js 0x14007ee6a
lea rcx, [rsp + 0x50]
call fcn.14007dda0
cmp byte [rsp + 0x47], 0
js 0x14007ee7c
mov rcx, qword [rsp + 0x2d8]
xor rcx, rsp
call fcn.1400f0560
movaps xmm6, xmmword [rsp + 0x2e0]
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp al, 0x10
jb 0x14007eada
lea rbx, [rsp + 0x30]
mov rcx, rbx
jmp 0x14007ea82
mov qword [rbp + 0x70], rbx
jmp 0x14007ed28
cmp rsi, rbx
je 0x14007eada
mov rax, rbx
mov rdx, rcx
jmp 0x14007efba
mov rcx, qword [rsp + 0x70]
call fcn.1400ef7cc
jmp 0x14007ed8f
mov rcx, qword [rsp + 0x90]
call fcn.1400ef7cc
jmp 0x14007ed9d
mov rcx, qword [rsp + 0xd0]
call fcn.1400ef7cc
jmp 0x14007edab
mov rcx, qword [rsp + 0xb0]
call fcn.1400ef7cc
jmp 0x14007edc4
mov rcx, qword [rsp + 0x30]
call fcn.1400ef7cc
jmp 0x14007edd9
mov rax, qword [rsp + 0x70]
mov word [rax], 0
mov qword [rsp + 0x78], 0
cmp byte [rsp + 0x87], 0
jns 0x14007ece1
mov rcx, qword [rsp + 0x70]
call fcn.1400ef7cc
mov qword [rsp + 0x80], 0
jmp 0x14007ece1
call fcn.14007f44e
mov r12b, 1
xor r14d, r14d
lea r15, [0x1401403f0]
mov ebx, 1
jmp 0x14007eb4a
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14007effb
mov rax, qword [rsp + 0x38]
dec rax
cmp rax, r14
je 0x14007f00a
mov rcx, qword [rsp + 0x30]
mov r8b, 1
cmp word [rcx + r15*2], 0x5c
je 0x14007ec4f
jmp 0x14007ec43
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rcx, rsi
call fcn.1400ef7cc
jmp 0x14007ea2a
lea rdx, str.Microsoft.MicrosoftEdge.
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0xb0]
mov r8d, 0x18
call fcn.14007f1e3
test al, al
je 0x14007eada
jmp 0x14007eb04
mov rbx, qword [rdi + 0x20]
mov rcx, rbx
call fcn.14010e320
movzx ecx, byte [rsi + 0x17]
test cl, cl
jns 0x14007ef80
mov rcx, qword [rsp + 0xb8]
cmp rax, rcx
je 0x14007f137
lea rdi, [rsp + 0x70]
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call fcn.14005aa2a
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x14007efac
mov rax, qword [rsp + 0x70]
add word [rax], 0x20
jmp 0x14007ecf7
mov rdx, qword [rsp + 0x38]
lea rax, [rax + rdx*2]
sub rax, rsi
cmp rax, 0x16
je 0x14007efd2
cmp word [rsi + 0x16], 0x5c
jne 0x14007eada
test cl, cl
mov rax, qword [rsp + 0x30]
mov rdi, rbx
cmovs rdi, rax
lea rdx, [rsi - 2]
cmp rdx, rdi
je 0x14007f015
cmp word [rdx - 2], 0x5c
je 0x14007f012
add rdx, 0xfffffffffffffffe
cmp rdi, rdx
jne 0x14007efe9
jmp 0x14007f015
dec rax
mov rcx, r12
cmp rax, r14
jne 0x14007ef06
mov r8b, 1
jmp 0x14007ec4f
mov rdi, rdx
test cl, cl
jns 0x14007f125
cmp rdi, rax
jne 0x14007f031
mov rcx, qword [rsp + 0x38]
lea rdi, [rax + rcx*2]
add rcx, rcx
sub rdi, rcx
lea rdx, [0x14013d64e]
mov r8d, 4
mov rcx, rdi
call fcn.140104844
test eax, eax
jne 0x14007eada
movabs rbp, 0x7fffffffffffffef
sub rsi, rdi
add rsi, 0xfffffffffffffffe
sar rsi, 1
lea r15, [rsi - 4]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
cmp r15, rbp
ja 0x14007f1d5
cmp r15, 0xb
jb 0x14007f176
lea rbx, [rsi + 4]
and rbx, 0xfffffffffffffff8
lea rcx, [rbx + rbx]
call fcn.1400ef770
mov r14, rax
mov qword [rsp + 0xd0], rax
add rbp, 0x11
or rbp, rbx
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xd8], r15
add rdi, 8
add r15, r15
mov rcx, r14
mov rdx, rdi
mov r8, r15
call fcn.1400f23d0
mov word [r14 + rsi*2 - 8], 0
cmp byte [rsp + 0xc7], 0
js 0x14007f190
mov word [rsp + 0xb0], 0
mov byte [rsp + 0xc7], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xb0], xmm0
jmp 0x14007eb04
cmp rdi, rbx
jne 0x14007f031
lea rdi, [rbx + rcx*2]
jmp 0x14007f02b
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8, 0xffffffffffffffff
mov r9, rbx
call fcn.14005b79e
test eax, eax
jne 0x14007ef89
mov rdx, qword [rdi + 0xc0]
lea rdi, [rsp + 0x70]
mov rcx, rdi
call fcn.14005b33c
jmp 0x14007ecf7
lea r14, [rsp + 0xd0]
mov byte [r14 + 0x17], r15b
test r15, r15
jne 0x14007f0c3
jmp 0x14007f0d8
mov rax, qword [rsp + 0xb0]
mov word [rax], 0
mov qword [rsp + 0xb8], 0
cmp byte [rsp + 0xc7], 0
jns 0x14007f100
mov rcx, qword [rsp + 0xb0]
call fcn.1400ef7cc
mov qword [rsp + 0xc0], 0
jmp 0x14007f100
lea rcx, [rsp + 0xd0]
call fcn.14005994c
int3