Function at 0x14002cc80
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
movaps xmmword [rsp + 0x2f0], xmm7
movaps xmmword [rsp + 0x2e0], xmm6
mov rax, qword [0x14010c038]
xor rax, rsp
mov qword [rsp + 0x2d8], rax
movabs r13, 0x7fffffffffffffef
mov ecx, 0x210
call fcn.140078938
mov rsi, rax
mov qword [rsp + 0xd0], rax
lea rax, [r13 + 0x119]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd8], 0x104
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.14007c0b0
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14002d3d9
mov edx, eax
lea rsi, [rsp + 0xd0]
mov rcx, rsi
xor r8d, r8d
call fcn.140059250
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x30], xmm0
mov ecx, 0xa0
call fcn.140078938
mov r15, rax
mov rcx, rax
call fcn.14002b1e0
mov qword [rsp + 0x48], r15
movzx ecx, byte [rsp + 0x47]
mov rax, rcx
test cl, cl
jns 0x14002cd69
mov rax, qword [rsp + 0x38]
mov r12, qword [0x1400f7af0]
lea rdx, [r12 + 0xc]
cmp rax, rdx
jae 0x14002cdac
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
mov rdx, qword [0x1400f8198]
cmp byte [rsp + 0xe7], 0
jns 0x14002ce0f
mov rcx, qword [rsp + 0xd0]
jmp 0x14002ce17
lea rbp, [rsp + 0x30]
mov rdx, rbp
test cl, cl
jns 0x14002cdbd
mov rdx, qword [rsp + 0x30]
lea rbx, [rdx + rax*2]
add rbx, 0xffffffffffffffe8
lea rsi, str.Application
mov r8d, 0xc
mov rcx, rbx
mov rdx, rsi
call fcn.14008df08
test eax, eax
je 0x14002d283
mov cl, byte [rsp + 0x47]
test cl, cl
mov rdx, qword [rsp + 0x30]
mov rdi, rbp
cmovs rdi, rdx
lea rax, [rbx - 2]
cmp rbx, rdi
mov rbx, rax
jne 0x14002cdcc
add rax, 2
mov rbx, rax
jmp 0x14002d290
lea rcx, [rsp + 0xd0]
call fcn.14008dd58
test eax, eax
jne 0x14002d3f7
xor ecx, ecx
imul rax, rcx, 0xb0
lea r14, [0x1400f8180]
add r14, rax
cmp byte [rsp + 0xe7], 0
js 0x14002d419
cmp byte [r14 + 0x9c], 0
je 0x14002cfb3
lea rsi, [rsp + 0xd0]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14007c0b0
mov word [rsi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002ced5
mov edi, eax
test rdi, rdi
je 0x14002ced5
mov rsi, rdi
dec rdi
cmp word [rsp + rsi*2 + 0xce], 0x5c
je 0x14002ce93
cmp byte [rsp + 0x47], 0
jns 0x14002ceb7
mov rcx, qword [rsp + 0x30]
jmp 0x14002cebc
lea rcx, [rsp + 0x30]
lea r8, [rdi + 1]
lea rdx, [rsp + 0xd0]
call fcn.14008df08
test eax, eax
je 0x14002d48e
lea rdx, [rsp + 0xd0]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002cf44
mov edi, eax
test rdi, rdi
je 0x14002cf44
mov rsi, rdi
dec rdi
cmp word [rsp + rsi*2 + 0xce], 0x5c
je 0x14002cf02
cmp byte [rsp + 0x47], 0
jns 0x14002cf26
mov rcx, qword [rsp + 0x30]
jmp 0x14002cf2b
lea rcx, [rsp + 0x30]
lea r8, [rdi + 1]
lea rdx, [rsp + 0xd0]
call fcn.14008df08
test eax, eax
je 0x14002d4c0
lea rdx, [rsp + 0xd0]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002cfb3
mov edi, eax
test rdi, rdi
je 0x14002cfb3
mov rsi, rdi
dec rdi
cmp word [rsp + rsi*2 + 0xce], 0x5c
je 0x14002cf71
cmp byte [rsp + 0x47], 0
jns 0x14002cf95
mov rcx, qword [rsp + 0x30]
jmp 0x14002cf9a
lea rcx, [rsp + 0x30]
lea r8, [rdi + 1]
lea rdx, [rsp + 0xd0]
call fcn.14008df08
test eax, eax
je 0x14002d4eb
xor r12d, r12d
mov qword [r15 + 0x68], r14
mov byte [r15 + 0x98], r12b
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0xb0]
mov qword [rsi + 0x10], rax
movaps xmm6, xmmword [0x1400ec9c0]
movaps xmmword [rsi], xmm6
mov rdx, qword [r14 + 0x28]
mov rcx, rsi
call fcn.14003a5a0
xor ebp, ebp
mov qword [rsp + 0xa0], rbp
xorps xmm7, xmm7
movaps xmmword [rsp + 0x90], xmm7
cmp byte [rsi + 0x17], 0
jns 0x14002d010
mov rsi, qword [rsp + 0xb0]
movzx eax, r12b
mov ecx, 2
sub ecx, eax
lea rbx, [rsp + 0x90]
mov qword [rsp + 0x20], rbx
lea r9, [0x1400f3560]
mov edx, 0x200
mov r8, rsi
call fcn.14003b680
cmp byte [rbx + 0x17], 0
jns 0x14002d04a
mov rbx, qword [rsp + 0x90]
lea rsi, [rsp + 0x70]
mov qword [rsi + 0x10], rbp
movaps xmmword [rsi], xmm7
test al, al
cmove rbx, rbp
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x10], rbp
movaps xmmword [rdi], xmm7
lea rbp, [rsp + 0xd0]
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
mov rcx, rbp
mov rdx, r14
mov r8d, r12d
mov r9, rbx
call fcn.14002c5f0
lea rbx, [r15 + 0x10]
cmp byte [r15 + 0x27], 0
js 0x14002d208
cmp byte [rsp + 0xe7], 0
js 0x14002d2af
mov rax, qword [rsp + 0xe0]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rbx], xmm0
movzx eax, byte [r15 + 0x27]
test al, al
js 0x14002d42b
mov qword [r15 + 0x70], rbx
mov qword [r15 + 0x78], rax
mov eax, dword [rsp + 0xe8]
mov dword [r15 + 0x80], eax
lea rbx, [r15 + 0x28]
cmp byte [r15 + 0x3f], 0
js 0x14002d236
cmp byte [rsp + 0x87], 0
js 0x14002d2cc
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
cmp byte [r15 + 0x3f], 0
js 0x14002d43c
mov qword [r15 + 0x88], rbx
mov rsi, r15
add rsi, 0x40
cmp byte [r15 + 0x57], 0
js 0x14002d25e
cmp byte [rsp + 0x67], 0
js 0x14002d2e3
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
cmp byte [r15 + 0x57], 0
js 0x14002d444
mov qword [r15 + 0x90], rsi
cmp byte [rsp + 0xe7], 0
js 0x14002d44c
cmp byte [rsp + 0x67], 0
js 0x14002d45e
cmp byte [rsp + 0x87], 0
js 0x14002d46d
cmp byte [rsp + 0xa7], 0
js 0x14002d47c
cmp byte [rsp + 0xc7], 0
jns 0x14002d1b9
mov rcx, qword [rsp + 0xb0]
call fcn.140078974
lea rcx, [rsp + 0x48]
call fcn.14002b1a0
cmp byte [rsp + 0x47], 0
jns 0x14002d1d4
mov rcx, qword [rsp + 0x30]
call fcn.140078974
mov rcx, qword [rsp + 0x2d8]
xor rcx, rsp
call fcn.1400797f0
movaps xmm6, xmmword [rsp + 0x2e0]
movaps xmm7, xmmword [rsp + 0x2f0]
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx r8d, byte [rsp + 0xe7]
test r8b, r8b
cmovs r8, qword [rsp + 0xd8]
cmovs rbp, qword [rsp + 0xd0]
mov rcx, rbx
mov rdx, rbp
call fcn.140058b90
jmp 0x14002d0c7
movzx r8d, byte [rsp + 0x87]
test r8b, r8b
cmovs r8, qword [rsp + 0x78]
cmovs rsi, qword [rsp + 0x70]
mov rcx, rbx
mov rdx, rsi
call fcn.140058b90
jmp 0x14002d11b
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
cmovs r8, qword [rsp + 0x58]
cmovs rdi, qword [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call fcn.140058b90
jmp 0x14002d15b
mov cl, byte [rsp + 0x47]
mov rdx, qword [rsp + 0x30]
add rbx, 2
test cl, cl
lea rax, [rsp + 0x30]
cmovs rax, rdx
cmp rbx, rax
je 0x14002cd7a
test cl, cl
jns 0x14002d2fa
mov rcx, qword [rsp + 0x38]
jmp 0x14002d2fd
mov rdx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xd8]
mov rcx, rbx
call fcn.140058cc0
jmp 0x14002d0c7
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140058cc0
jmp 0x14002d11b
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140058cc0
jmp 0x14002d15b
movzx ecx, cl
lea rcx, [rax + rcx*2]
sub rcx, rbx
cmp rcx, 0x16
je 0x14002d315
cmp word [rbx + 0x16], 0x5c
jne 0x14002cd7a
lea rcx, [rax + 2]
mov rdx, rbx
cmp rcx, rdx
je 0x14002d331
lea rsi, [rdx - 2]
cmp word [rdx - 4], 0x5c
mov rdx, rsi
jne 0x14002d31c
jmp 0x14002d334
mov rsi, rax
lea rdx, [0x1400f7ade]
mov rcx, rsi
mov r8, r12
call fcn.14008df08
test eax, eax
jne 0x14002cd7a
add rsi, 2
sub rbx, rsi
sar rbx, 1
sub rbx, r12
cmp rbx, r13
ja 0x14002d3cc
cmp rbx, 0xb
jae 0x14002d379
lea r14, [rsp + 0xd0]
mov byte [r14 + 0x17], bl
test rbx, rbx
jne 0x14002d3ac
jmp 0x14002d3c0
lea rdi, [rbx + 8]
and rdi, 0xfffffffffffffff8
lea rcx, [rdi + rdi]
call fcn.140078938
mov r14, rax
mov qword [rsp + 0xd0], rax
add r13, 0x11
or r13, rdi
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xd8], rbx
lea rdx, [rsi + r12*2]
add rdx, 0xfffffffffffffffe
lea r8, [rbx + rbx]
mov rcx, r14
call fcn.14007bca0
mov word [r14 + rbx*2], 0
jmp 0x14002cd91
lea rcx, [rsp + 0xd0]
call fcn.1400c5490
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rcx, rsi
call fcn.140078974
jmp 0x14002cd3e
mov rdx, qword [str._Beta]
cmp byte [rsp + 0xe7], 0
jns 0x14002d516
mov rcx, qword [rsp + 0xd0]
jmp 0x14002d51e
mov rcx, qword [rsp + 0xd0]
call fcn.140078974
jmp 0x14002ce45
mov rcx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x18]
mov qword [r15 + 0x70], rcx
jmp 0x14002d0d8
mov rbx, qword [rbx]
jmp 0x14002d126
mov rsi, qword [rsi]
jmp 0x14002d166
mov rcx, qword [rsp + 0xd0]
call fcn.140078974
jmp 0x14002d17b
mov rcx, qword [rsp + 0x50]
call fcn.140078974
jmp 0x14002d186
mov rcx, qword [rsp + 0x70]
call fcn.140078974
jmp 0x14002d194
mov rcx, qword [rsp + 0x90]
call fcn.140078974
jmp 0x14002d1a2
movzx eax, byte [rsp + 0x47]
mov rcx, rax
test al, al
jns 0x14002d49f
mov rcx, qword [rsp + 0x38]
dec rcx
mov r12b, 1
cmp rcx, rdi
je 0x14002cfb6
test al, al
jns 0x14002d54b
mov rax, qword [rsp + 0x30]
jmp 0x14002d550
movzx eax, byte [rsp + 0x47]
mov rcx, rax
test al, al
jns 0x14002d4d1
mov rcx, qword [rsp + 0x38]
dec rcx
mov r12b, 1
cmp rcx, rdi
je 0x14002cfb6
test al, al
jns 0x14002d560
mov rax, qword [rsp + 0x30]
jmp 0x14002d565
movzx eax, byte [rsp + 0x47]
mov rcx, rax
test al, al
jns 0x14002d4fc
mov rcx, qword [rsp + 0x38]
dec rcx
mov r12b, 1
cmp rcx, rdi
je 0x14002cfb6
test al, al
jns 0x14002d575
mov rax, qword [rsp + 0x30]
jmp 0x14002d57a
lea rcx, [rsp + 0xd0]
call fcn.14008dd58
mov ecx, 1
test eax, eax
je 0x14002ce26
mov rdx, qword [str._Dev]
cmp byte [rsp + 0xe7], 0
jns 0x14002d58a
mov rcx, qword [rsp + 0xd0]
jmp 0x14002d592
lea rax, [rsp + 0x30]
cmp word [rax + rsi*2], 0x5c
jne 0x14002ced5
jmp 0x14002cfb6
lea rax, [rsp + 0x30]
cmp word [rax + rsi*2], 0x5c
jne 0x14002cf44
jmp 0x14002cfb6
lea rax, [rsp + 0x30]
cmp word [rax + rsi*2], 0x5c
jne 0x14002cfb3
jmp 0x14002cfb6
lea rcx, [rsp + 0xd0]
call fcn.14008dd58
mov ecx, 2
test eax, eax
je 0x14002ce26
mov rdx, qword [str._SxS]
cmp byte [rsp + 0xe7], 0
jns 0x14002d5bf
mov rcx, qword [rsp + 0xd0]
jmp 0x14002d5c7
lea rcx, [rsp + 0xd0]
call fcn.14008dd58
mov ecx, 3
test eax, eax
je 0x14002ce26
lea r14, [0x1400f8180]
jmp 0x14002ce37