Function at 0x100af0e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ea2f7
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x26c], eax
call fcn.10009890
test eax, eax
jne 0x100af128
xor al, al
jmp 0x100af46b
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov eax, ecx
mov edx, dword [ecx + 0x14]
cmp edx, 8
jb 0x100af168
mov eax, dword [ecx]
cmp word [eax], 0x40
jne 0x100af1d7
call fcn.10009890
dec eax
mov edx, ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.100c4490
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x100af1c6
mov ecx, eax
call fcn.10004570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.10004570
jmp 0x100af1f9
lea eax, [ebp - 0x230]
cmp eax, ecx
je 0x100af1f9
mov eax, ecx
cmp edx, 8
jb 0x100af1ea
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.100045d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x268], eax
cmp eax, 0x104
jb 0x100af2ac
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101d3252
add esp, 4
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x230]
push dword [ebp - 0x268]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100af285
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.100045d0
push esi
call fcn.101d3052
add esp, 4
jmp 0x100af2d7
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100af2b5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.100045d0
push 2
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x248]
push 0x10210094
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.100045d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.100313a0
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0x100af410
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x260]
call fcn.100c4410
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
cmp edi, esi
je 0x100af389
mov ecx, edi
call fcn.10004570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.10004570
mov esi, dword [ebp - 0x26c]
test esi, esi
je 0x100af407
lea ecx, [ebp - 0x230]
call fcn.10009890
mov edx, eax
lea ecx, [ebp - 0x248]
sub edx, dword [ebp - 0x268]
call fcn.10009890
sub edx, eax
lea ecx, [ebp - 0x260]
push edx
lea edx, [ebp - 0x230]
call fcn.100c4490
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
cmovae ecx, dword [ebp - 0x260]
xor edx, edx
call fcn.100c3e20
mov dword [esi], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.10004570
mov byte [ebp - 0x261], 1
jmp 0x100af444
lea eax, [ebp - 0x230]
cmp edi, eax
je 0x100af436
cmp dword [ebp - 0x21c], 8
mov ecx, edi
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.100045d0
cmp dword [ebp - 0x26c], 0
sete byte [ebp - 0x261]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.10004570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10004570
mov al, byte [ebp - 0x261]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret