Function at 0x140012990
Capabilities:
Query environment variable

Disassembly:
push r11
push r10
push r9
push r8
push rdx
push rcx
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm5
movaps xmmword [rsp + 0xa0], xmm4
movaps xmmword [rsp + 0x90], xmm3
movaps xmmword [rsp + 0x80], xmm2
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov esi, eax
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movaps xmmword [rax], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov ecx, 1
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
xor eax, eax
cpuid
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x20], edx
cmp dword [rsp + 0x2c], 0
je 0x140012f76
cmp esi, 1
jne 0x140012a5b
cmp dword [rsp + 0x28], 0x756e6547
jne 0x140012f76
cmp dword [rsp + 0x20], 0x49656e69
jne 0x140012f76
cmp dword [rsp + 0x24], 0x6c65746e
jne 0x140012f76
mov eax, 1
cpuid
mov r8d, ecx
test dl, 1
je 0x140012a84
lea rax, [rsp + 0x40]
mov ecx, 2
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test dx, dx
jns 0x140012aa3
lea rax, [rsp + 0x40]
mov ecx, 3
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edx, 0x17
jae 0x140012ac3
lea rax, [rsp + 0x40]
mov ecx, 4
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edx, 0x18
jb 0x140012fdd
bt r8d, 0x1e
jae 0x140012aee
lea rax, [rsp + 0x40]
mov ecx, 0x12
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edx, 0x18
jb 0x140012b04
mov eax, 7
xor ecx, ecx
cpuid
mov ebp, ecx
mov edi, edx
mov r9d, ebx
mov eax, r9d
not eax
test eax, 0x108
jne 0x140012b2a
lea rax, [rsp + 0x40]
mov ecx, 0x14
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r9b, 4
je 0x140012b4a
lea rax, [rsp + 0x40]
mov ecx, 0x36
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r9b, 0x10
je 0x140012b6a
lea rax, [rsp + 0x40]
mov ecx, 0x16
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0xb
jae 0x140012b8b
lea rax, [rsp + 0x40]
mov ecx, 0x17
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x13
jae 0x140012bac
lea rax, [rsp + 0x40]
mov ecx, 0x1d
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x12
jae 0x140012bcd
lea rax, [rsp + 0x40]
mov ecx, 0x1e
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x18
jae 0x140012bee
lea rax, [rsp + 0x40]
mov ecx, 0x32
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
mov eax, 0x80000001
cpuid
test cl, 0x20
je 0x140012c14
lea rax, [rsp + 0x40]
mov ecx, 0x15
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
mov eax, 0x80000008
cpuid
bt ebx, 9
jae 0x140012c3b
lea rax, [rsp + 0x40]
mov ecx, 0x37
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bpl, 0x20
je 0x140012c5b
lea rax, [rsp + 0x40]
mov ecx, 0x3e
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bpl, bpl
jns 0x140012c7a
lea rax, [rsp + 0x40]
mov ecx, 0x35
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 8
jae 0x140012c9a
lea rax, [rsp + 0x40]
mov ecx, 0x2e
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0x16
jae 0x140012cba
lea rax, [rsp + 0x40]
mov ecx, 0x33
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0x19
jae 0x140012cda
lea rax, [rsp + 0x40]
mov ecx, 0x3b
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0x1b
jae 0x140012cfa
lea rax, [rsp + 0x40]
mov ecx, 0x3c
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0x1c
jae 0x140012d1a
lea rax, [rsp + 0x40]
mov ecx, 0x3d
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0x1d
jae 0x140012d3a
lea rax, [rsp + 0x40]
mov ecx, 0x40
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edi, 0x14
jae 0x140012d5a
lea rax, [rsp + 0x40]
mov ecx, 0x34
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edi, 0x12
jae 0x140012d7a
lea rax, [rsp + 0x40]
mov ecx, 0x38
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
mov eax, 0x14
xor ecx, ecx
cpuid
test bl, 0x10
je 0x140012da2
lea rax, [rsp + 0x40]
mov ecx, 0x1b
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0x17
jb 0x14001317c
mov eax, 7
mov ecx, 1
cpuid
mov r10d, edx
mov ebx, eax
bt eax, 0x16
jae 0x140012ddd
lea rax, [rsp + 0x40]
mov ecx, 0x47
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test dil, 0x20
je 0x140012dfd
lea rax, [rsp + 0x40]
mov ecx, 0x48
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r10d, 0xe
jae 0x140012e1e
lea rax, [rsp + 0x40]
mov ecx, 0x49
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, bl
jns 0x140012e3c
lea rax, [rsp + 0x40]
mov ecx, 0x4b
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, 8
je 0x140012e5b
lea rax, [rsp + 0x40]
mov ecx, 0x4e
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 0x1b
jb 0x1400131e6
lea rcx, str.INTEL_ISA_DISABLE
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
test rax, rax
je 0x14001357c
mov rcx, rax
mov al, byte [rax]
test al, al
je 0x14001357c
xor edi, edi
lea r8, [0x140021700]
lea rdx, [rsp + 0x30]
xor r9d, r9d
lea r10, [rcx + 1]
mov r11d, 1
xor ebx, ebx
cmp al, 0x2c
jne 0x140012eb8
mov al, byte [rcx + rbx + 1]
inc rbx
dec r11
inc r10
jmp 0x140012ea5
movzx eax, al
test eax, eax
je 0x140013569
mov rax, r10
movzx ebp, byte [r10]
inc r10
cmp ebp, 0x2c
je 0x140012edb
test ebp, ebp
je 0x140012edb
mov r9, rax
jmp 0x140012ec3
mov rax, r9
sub rax, rcx
inc rax
cmp rax, rbx
je 0x140012f4a
cmp byte [0x1400216f0], 0
jne 0x140012ef7
call fcn.140013800
mov rax, rcx
neg rax
add rbx, rcx
mov r14, r9
not r14
add r14, rbx
mov ecx, 1
lea r15, [rcx + rcx*2]
mov r15, qword [r8 + r15*8 + 0x10]
test r15, r15
je 0x140012f41
xor r12d, r12d
mov bpl, byte [rbx + r12]
cmp bpl, byte [r15 + r12]
jne 0x140012f41
inc r12
mov r13, r14
add r13, r12
jne 0x140012f1f
add r15, r9
add r15, rax
cmp byte [r11 + r15], 0
je 0x140012f60
inc rcx
cmp rcx, 0x55
jne 0x140012f0e
dec r10
mov al, byte [r10]
mov rcx, r10
test al, al
jne 0x140012e99
jmp 0x140013569
cmp ecx, 2
jb 0x140012f4a
mov rax, rdx
call fcn.140014450
cmp eax, 1
adc rdi, 0
jmp 0x140012f4a
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [0x1400216d0], xmm0
xor r14d, r14d
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140016980
mov eax, r14d
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movaps xmm2, xmmword [rsp + 0x80]
movaps xmm3, xmmword [rsp + 0x90]
movaps xmm4, xmmword [rsp + 0xa0]
movaps xmm5, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rcx
pop rdx
pop r8
pop r9
pop r10
pop r11
ret
lea rax, [rsp + 0x40]
mov ecx, 5
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edx, 0x19
jae 0x140013013
lea rax, [rsp + 0x40]
mov ecx, 6
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edx, 0x1a
jae 0x140013033
lea rax, [rsp + 0x40]
mov ecx, 7
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r8b, 1
je 0x140013053
lea rax, [rsp + 0x40]
mov ecx, 8
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 9
jae 0x140013074
lea rax, [rsp + 0x40]
mov ecx, 9
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 0x16
jae 0x140013095
lea rax, [rsp + 0x40]
mov ecx, 0xc
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 0x13
jae 0x1400130b6
lea rax, [rsp + 0x40]
mov ecx, 0xa
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 0x14
jae 0x1400130d7
lea rax, [rsp + 0x40]
mov ecx, 0xb
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 0x17
jae 0x1400130f8
lea rax, [rsp + 0x40]
mov ecx, 0xd
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r8b, 2
je 0x140013118
lea rax, [rsp + 0x40]
mov ecx, 0xe
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 0x19
jae 0x140013139
lea rax, [rsp + 0x40]
mov ecx, 0xf
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
mov r10d, edx
mov eax, 7
xor ecx, ecx
cpuid
mov ebp, ecx
mov edi, edx
mov r9d, ebx
bt ebx, 0x1d
jb 0x14001315a
mov edx, r10d
jmp 0x140012acd
lea rax, [rsp + 0x40]
mov ecx, 0x24
call fcn.140014450
mov r14d, eax
test eax, eax
mov edx, r10d
jne 0x140012f85
jmp 0x140012acd
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
mov eax, 0x19
xor ecx, ecx
cpuid
test bl, 1
je 0x1400131be
lea rax, [rsp + 0x40]
mov ecx, 0x45
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, 4
je 0x140012dac
lea rax, [rsp + 0x40]
mov ecx, 0x46
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
jmp 0x140012dac
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
xor ecx, ecx
xgetbv
mov edx, eax
not edx
test edx, 0x60000
jne 0x140013235
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edi, 0x18
jb 0x1400135c4
test dl, 6
jne 0x140012e66
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r8d, 0x1c
jb 0x140013668
bt r8d, 0x1d
jae 0x140013284
lea rax, [rsp + 0x40]
mov ecx, 0x11
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r9b, 0x20
jne 0x1400136ea
bt r8d, 0xc
jae 0x1400132af
lea rax, [rsp + 0x40]
mov ecx, 0x13
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test dl, 0x18
jne 0x1400132ef
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0xe
jae 0x1400132ef
lea rax, [rsp + 0x40]
mov ecx, 0x25
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, 0x10
je 0x14001330e
lea rax, [rsp + 0x40]
mov ecx, 0x41
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test dl, 0xe0
jne 0x140012e66
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x10
jae 0x140013352
lea rax, [rsp + 0x40]
mov ecx, 0x19
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x1c
jae 0x140013373
lea rax, [rsp + 0x40]
mov ecx, 0x23
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x1b
jae 0x140013394
lea rax, [rsp + 0x40]
mov ecx, 0x21
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x1a
jae 0x1400133b5
lea rax, [rsp + 0x40]
mov ecx, 0x22
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x11
jae 0x1400133d6
lea rax, [rsp + 0x40]
mov ecx, 0x1a
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r9d, 0x1e
jae 0x1400133f7
lea rax, [rsp + 0x40]
mov ecx, 0x26
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r9d, r9d
js 0x1400137cc
bt r9d, 0x15
jae 0x140013421
lea rax, [rsp + 0x40]
mov ecx, 0x1f
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bpl, 2
je 0x140013441
lea rax, [rsp + 0x40]
mov ecx, 0x28
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0xe
jae 0x140013461
lea rax, [rsp + 0x40]
mov ecx, 0x2b
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test dil, 4
je 0x140013481
lea rax, [rsp + 0x40]
mov ecx, 0x2a
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test dil, 8
je 0x1400134a1
lea rax, [rsp + 0x40]
mov ecx, 0x29
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0xc
jae 0x1400134c1
lea rax, [rsp + 0x40]
mov ecx, 0x2c
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bpl, 0x40
je 0x1400134e1
lea rax, [rsp + 0x40]
mov ecx, 0x2d
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0xb
jae 0x140013501
lea rax, [rsp + 0x40]
mov ecx, 0x31
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, 0x20
je 0x140013520
lea rax, [rsp + 0x40]
mov ecx, 0x3f
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edi, 0x17
jae 0x140013540
lea rax, [rsp + 0x40]
mov ecx, 0x3a
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edi, 8
jae 0x140012e66
lea rax, [rsp + 0x40]
mov ecx, 0x39
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
jmp 0x140012e66
test edi, edi
jle 0x14001357c
movaps xmm0, xmmword [rsp + 0x30]
andnps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x48]
cmp esi, 1
jne 0x1400135ac
mov qword [0x1400216d8], rax
mov rcx, qword [rsp + 0x40]
mov qword [0x1400216d0], rcx
mov qword [0x1400216e8], rax
mov qword [0x1400216e0], rcx
jmp 0x140012f82
mov qword [0x1400216e8], rax
mov rax, qword [rsp + 0x40]
mov qword [0x1400216e0], rax
jmp 0x140012f82
lea rax, [rsp + 0x40]
mov ecx, 0x42
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebx, 0x15
jae 0x1400135fe
lea rax, [rsp + 0x40]
mov ecx, 0x4f
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r10d, 8
jae 0x14001361f
lea rax, [rsp + 0x40]
mov ecx, 0x50
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edi, 0x19
jae 0x14001363f
lea rax, [rsp + 0x40]
mov ecx, 0x43
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt edi, 0x16
jae 0x140013235
lea rax, [rsp + 0x40]
mov ecx, 0x44
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
jmp 0x140013235
lea rax, [rsp + 0x40]
mov ecx, 0x10
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 9
jae 0x1400136a2
lea rax, [rsp + 0x40]
mov ecx, 0x2f
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebp, 0xa
jae 0x1400136c2
lea rax, [rsp + 0x40]
mov ecx, 0x30
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, 2
je 0x140013263
lea rax, [rsp + 0x40]
mov ecx, 0x52
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
jmp 0x140013263
lea rax, [rsp + 0x40]
mov ecx, 0x18
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r10b, 0x10
je 0x140013724
lea rax, [rsp + 0x40]
mov ecx, 0x4a
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt ebx, 0x17
jae 0x140013744
lea rax, [rsp + 0x40]
mov ecx, 0x4c
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test r10b, 0x20
je 0x140013764
lea rax, [rsp + 0x40]
mov ecx, 0x4d
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, 1
je 0x140013783
lea rax, [rsp + 0x40]
mov ecx, 0x51
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
test bl, 4
je 0x1400137a2
lea rax, [rsp + 0x40]
mov ecx, 0x53
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
bt r10d, 0xa
jae 0x14001328e
lea rax, [rsp + 0x40]
mov ecx, 0x54
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
jmp 0x14001328e
lea rax, [rsp + 0x40]
mov ecx, 0x27
call fcn.140014450
mov r14d, eax
test eax, eax
jne 0x140012f85
jmp 0x140013400