Function at 0x140011010
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 [0x14001a040]
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.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
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 0x1400115f6
cmp esi, 1
jne 0x1400110db
cmp dword [rsp + 0x28], 0x756e6547
jne 0x1400115f6
cmp dword [rsp + 0x20], 0x49656e69
jne 0x1400115f6
cmp dword [rsp + 0x24], 0x6c65746e
jne 0x1400115f6
mov eax, 1
cpuid
mov r8d, ecx
test dl, 1
je 0x140011104
lea rax, [rsp + 0x40]
mov ecx, 2
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test dx, dx
jns 0x140011123
lea rax, [rsp + 0x40]
mov ecx, 3
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edx, 0x17
jae 0x140011143
lea rax, [rsp + 0x40]
mov ecx, 4
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edx, 0x18
jb 0x14001165d
bt r8d, 0x1e
jae 0x14001116e
lea rax, [rsp + 0x40]
mov ecx, 0x12
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edx, 0x18
jb 0x140011184
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 0x1400111aa
lea rax, [rsp + 0x40]
mov ecx, 0x14
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r9b, 4
je 0x1400111ca
lea rax, [rsp + 0x40]
mov ecx, 0x36
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r9b, 0x10
je 0x1400111ea
lea rax, [rsp + 0x40]
mov ecx, 0x16
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0xb
jae 0x14001120b
lea rax, [rsp + 0x40]
mov ecx, 0x17
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x13
jae 0x14001122c
lea rax, [rsp + 0x40]
mov ecx, 0x1d
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x12
jae 0x14001124d
lea rax, [rsp + 0x40]
mov ecx, 0x1e
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x18
jae 0x14001126e
lea rax, [rsp + 0x40]
mov ecx, 0x32
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
mov eax, 0x80000001
cpuid
test cl, 0x20
je 0x140011294
lea rax, [rsp + 0x40]
mov ecx, 0x15
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
mov eax, 0x80000008
cpuid
bt ebx, 9
jae 0x1400112bb
lea rax, [rsp + 0x40]
mov ecx, 0x37
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bpl, 0x20
je 0x1400112db
lea rax, [rsp + 0x40]
mov ecx, 0x3e
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bpl, bpl
jns 0x1400112fa
lea rax, [rsp + 0x40]
mov ecx, 0x35
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 8
jae 0x14001131a
lea rax, [rsp + 0x40]
mov ecx, 0x2e
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0x16
jae 0x14001133a
lea rax, [rsp + 0x40]
mov ecx, 0x33
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0x19
jae 0x14001135a
lea rax, [rsp + 0x40]
mov ecx, 0x3b
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0x1b
jae 0x14001137a
lea rax, [rsp + 0x40]
mov ecx, 0x3c
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0x1c
jae 0x14001139a
lea rax, [rsp + 0x40]
mov ecx, 0x3d
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0x1d
jae 0x1400113ba
lea rax, [rsp + 0x40]
mov ecx, 0x40
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edi, 0x14
jae 0x1400113da
lea rax, [rsp + 0x40]
mov ecx, 0x34
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edi, 0x12
jae 0x1400113fa
lea rax, [rsp + 0x40]
mov ecx, 0x38
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
mov eax, 0x14
xor ecx, ecx
cpuid
test bl, 0x10
je 0x140011422
lea rax, [rsp + 0x40]
mov ecx, 0x1b
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0x17
jb 0x1400117fc
mov eax, 7
mov ecx, 1
cpuid
mov r10d, edx
mov ebx, eax
bt eax, 0x16
jae 0x14001145d
lea rax, [rsp + 0x40]
mov ecx, 0x47
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test dil, 0x20
je 0x14001147d
lea rax, [rsp + 0x40]
mov ecx, 0x48
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r10d, 0xe
jae 0x14001149e
lea rax, [rsp + 0x40]
mov ecx, 0x49
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, bl
jns 0x1400114bc
lea rax, [rsp + 0x40]
mov ecx, 0x4b
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, 8
je 0x1400114db
lea rax, [rsp + 0x40]
mov ecx, 0x4e
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 0x1b
jb 0x140011866
lea rcx, [0x140016d2a]
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
test rax, rax
je 0x140011bfc
mov rcx, rax
mov al, byte [rax]
test al, al
je 0x140011bfc
xor edi, edi
lea r8, [0x140c61740]
lea rdx, [rsp + 0x30]
xor r9d, r9d
lea r10, [rcx + 1]
mov r11d, 1
xor ebx, ebx
cmp al, 0x2c
jne 0x140011538
mov al, byte [rcx + rbx + 1]
inc rbx
dec r11
inc r10
jmp 0x140011525
movzx eax, al
test eax, eax
je 0x140011be9
mov rax, r10
movzx ebp, byte [r10]
inc r10
cmp ebp, 0x2c
je 0x14001155b
test ebp, ebp
je 0x14001155b
mov r9, rax
jmp 0x140011543
mov rax, r9
sub rax, rcx
inc rax
cmp rax, rbx
je 0x1400115ca
cmp byte [0x140c61730], 0
jne 0x140011577
call fcn.140011e80
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 0x1400115c1
xor r12d, r12d
mov bpl, byte [rbx + r12]
cmp bpl, byte [r15 + r12]
jne 0x1400115c1
inc r12
mov r13, r14
add r13, r12
jne 0x14001159f
add r15, r9
add r15, rax
cmp byte [r11 + r15], 0
je 0x1400115e0
inc rcx
cmp rcx, 0x55
jne 0x14001158e
dec r10
mov al, byte [r10]
mov rcx, r10
test al, al
jne 0x140011519
jmp 0x140011be9
cmp ecx, 2
jb 0x1400115ca
mov rax, rdx
call fcn.140012ad0
cmp eax, 1
adc rdi, 0
jmp 0x1400115ca
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [0x140c61710], xmm0
xor r14d, r14d
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015000
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.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edx, 0x19
jae 0x140011693
lea rax, [rsp + 0x40]
mov ecx, 6
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edx, 0x1a
jae 0x1400116b3
lea rax, [rsp + 0x40]
mov ecx, 7
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r8b, 1
je 0x1400116d3
lea rax, [rsp + 0x40]
mov ecx, 8
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 9
jae 0x1400116f4
lea rax, [rsp + 0x40]
mov ecx, 9
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 0x16
jae 0x140011715
lea rax, [rsp + 0x40]
mov ecx, 0xc
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 0x13
jae 0x140011736
lea rax, [rsp + 0x40]
mov ecx, 0xa
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 0x14
jae 0x140011757
lea rax, [rsp + 0x40]
mov ecx, 0xb
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 0x17
jae 0x140011778
lea rax, [rsp + 0x40]
mov ecx, 0xd
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r8b, 2
je 0x140011798
lea rax, [rsp + 0x40]
mov ecx, 0xe
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 0x19
jae 0x1400117b9
lea rax, [rsp + 0x40]
mov ecx, 0xf
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
mov r10d, edx
mov eax, 7
xor ecx, ecx
cpuid
mov ebp, ecx
mov edi, edx
mov r9d, ebx
bt ebx, 0x1d
jb 0x1400117da
mov edx, r10d
jmp 0x14001114d
lea rax, [rsp + 0x40]
mov ecx, 0x24
call fcn.140012ad0
mov r14d, eax
test eax, eax
mov edx, r10d
jne 0x140011605
jmp 0x14001114d
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
mov eax, 0x19
xor ecx, ecx
cpuid
test bl, 1
je 0x14001183e
lea rax, [rsp + 0x40]
mov ecx, 0x45
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, 4
je 0x14001142c
lea rax, [rsp + 0x40]
mov ecx, 0x46
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
jmp 0x14001142c
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
xor ecx, ecx
xgetbv
mov edx, eax
not edx
test edx, 0x60000
jne 0x1400118b5
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edi, 0x18
jb 0x140011c44
test dl, 6
jne 0x1400114e6
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r8d, 0x1c
jb 0x140011ce8
bt r8d, 0x1d
jae 0x140011904
lea rax, [rsp + 0x40]
mov ecx, 0x11
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r9b, 0x20
jne 0x140011d6a
bt r8d, 0xc
jae 0x14001192f
lea rax, [rsp + 0x40]
mov ecx, 0x13
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test dl, 0x18
jne 0x14001196f
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0xe
jae 0x14001196f
lea rax, [rsp + 0x40]
mov ecx, 0x25
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, 0x10
je 0x14001198e
lea rax, [rsp + 0x40]
mov ecx, 0x41
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test dl, 0xe0
jne 0x1400114e6
lea rax, [rsp + 0x40]
mov ecx, 1
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x10
jae 0x1400119d2
lea rax, [rsp + 0x40]
mov ecx, 0x19
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x1c
jae 0x1400119f3
lea rax, [rsp + 0x40]
mov ecx, 0x23
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x1b
jae 0x140011a14
lea rax, [rsp + 0x40]
mov ecx, 0x21
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x1a
jae 0x140011a35
lea rax, [rsp + 0x40]
mov ecx, 0x22
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x11
jae 0x140011a56
lea rax, [rsp + 0x40]
mov ecx, 0x1a
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r9d, 0x1e
jae 0x140011a77
lea rax, [rsp + 0x40]
mov ecx, 0x26
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r9d, r9d
js 0x140011e4c
bt r9d, 0x15
jae 0x140011aa1
lea rax, [rsp + 0x40]
mov ecx, 0x1f
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bpl, 2
je 0x140011ac1
lea rax, [rsp + 0x40]
mov ecx, 0x28
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0xe
jae 0x140011ae1
lea rax, [rsp + 0x40]
mov ecx, 0x2b
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test dil, 4
je 0x140011b01
lea rax, [rsp + 0x40]
mov ecx, 0x2a
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test dil, 8
je 0x140011b21
lea rax, [rsp + 0x40]
mov ecx, 0x29
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0xc
jae 0x140011b41
lea rax, [rsp + 0x40]
mov ecx, 0x2c
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bpl, 0x40
je 0x140011b61
lea rax, [rsp + 0x40]
mov ecx, 0x2d
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0xb
jae 0x140011b81
lea rax, [rsp + 0x40]
mov ecx, 0x31
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, 0x20
je 0x140011ba0
lea rax, [rsp + 0x40]
mov ecx, 0x3f
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edi, 0x17
jae 0x140011bc0
lea rax, [rsp + 0x40]
mov ecx, 0x3a
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edi, 8
jae 0x1400114e6
lea rax, [rsp + 0x40]
mov ecx, 0x39
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
jmp 0x1400114e6
test edi, edi
jle 0x140011bfc
movaps xmm0, xmmword [rsp + 0x30]
andnps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x48]
cmp esi, 1
jne 0x140011c2c
mov qword [0x140c61718], rax
mov rcx, qword [rsp + 0x40]
mov qword [0x140c61710], rcx
mov qword [0x140c61728], rax
mov qword [0x140c61720], rcx
jmp 0x140011602
mov qword [0x140c61728], rax
mov rax, qword [rsp + 0x40]
mov qword [0x140c61720], rax
jmp 0x140011602
lea rax, [rsp + 0x40]
mov ecx, 0x42
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebx, 0x15
jae 0x140011c7e
lea rax, [rsp + 0x40]
mov ecx, 0x4f
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r10d, 8
jae 0x140011c9f
lea rax, [rsp + 0x40]
mov ecx, 0x50
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edi, 0x19
jae 0x140011cbf
lea rax, [rsp + 0x40]
mov ecx, 0x43
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt edi, 0x16
jae 0x1400118b5
lea rax, [rsp + 0x40]
mov ecx, 0x44
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
jmp 0x1400118b5
lea rax, [rsp + 0x40]
mov ecx, 0x10
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 9
jae 0x140011d22
lea rax, [rsp + 0x40]
mov ecx, 0x2f
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebp, 0xa
jae 0x140011d42
lea rax, [rsp + 0x40]
mov ecx, 0x30
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, 2
je 0x1400118e3
lea rax, [rsp + 0x40]
mov ecx, 0x52
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
jmp 0x1400118e3
lea rax, [rsp + 0x40]
mov ecx, 0x18
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r10b, 0x10
je 0x140011da4
lea rax, [rsp + 0x40]
mov ecx, 0x4a
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt ebx, 0x17
jae 0x140011dc4
lea rax, [rsp + 0x40]
mov ecx, 0x4c
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test r10b, 0x20
je 0x140011de4
lea rax, [rsp + 0x40]
mov ecx, 0x4d
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, 1
je 0x140011e03
lea rax, [rsp + 0x40]
mov ecx, 0x51
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
test bl, 4
je 0x140011e22
lea rax, [rsp + 0x40]
mov ecx, 0x53
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
bt r10d, 0xa
jae 0x14001190e
lea rax, [rsp + 0x40]
mov ecx, 0x54
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
jmp 0x14001190e
lea rax, [rsp + 0x40]
mov ecx, 0x27
call fcn.140012ad0
mov r14d, eax
test eax, eax
jne 0x140011605
jmp 0x140011a80