Function at 0x100aea54
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0x318
mov eax, 0x100f7ca6
call fcn.100cca34
mov ebx, ecx
xor edi, edi
mov dword [ebx], edi
mov dword [ebp - 0x324], edi
mov dword [ebp - 0x320], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x324]
push eax
push 0xf00f
push dword [0x101ef2d0]
call fcn.1000244b
add esp, 0xc
mov dword [ebp - 0x310], 0x3f
mov dword [ebp - 0x318], 0x3c
mov dword [ebp - 0x314], 0x4f
push 0x39
pop esi
push 0x42
pop edx
push 0x41
pop ecx
test eax, eax
js 0x100aec53
push 0x45
lea eax, [esi + 0x4e]
mov word [ebp - 0x2bc], ax
pop eax
mov word [ebp - 0x2ba], ax
push 0x43
pop ecx
mov word [ebp - 0x2b8], cx
push 0x44
pop ecx
mov word [ebp - 0x2b6], cx
push 0x3d
pop edi
mov word [ebp - 0x2b4], di
push 0x40
pop ecx
mov word [ebp - 0x2b2], cx
mov word [ebp - 0x2b0], ax
mov word [ebp - 0x2ae], ax
mov word [ebp - 0x2ac], ax
mov word [ebp - 0x2aa], si
mov word [ebp - 0x2a8], dx
push 0x4d
pop eax
mov word [ebp - 0x2a6], ax
push 0x52
pop eax
mov word [ebp - 0x2a4], ax
mov word [ebp - 0x2a2], dx
mov word [ebp - 0x2a0], si
mov word [ebp - 0x29e], cx
push 0x41
pop edi
mov word [ebp - 0x29c], di
push 0x70
pop eax
mov word [ebp - 0x29a], ax
mov word [ebp - 0x298], ax
mov word [ebp - 0x296], si
push 0x45
pop eax
mov word [ebp - 0x294], ax
mov word [ebp - 0x292], di
push 0x50
pop eax
mov word [ebp - 0x290], ax
mov eax, dword [ebp - 0x310]
mov word [ebp - 0x28e], ax
mov word [ebp - 0x28c], si
push 0x4d
pop esi
mov word [ebp - 0x28a], si
mov word [ebp - 0x288], ax
mov word [ebp - 0x286], dx
mov word [ebp - 0x284], si
mov word [ebp - 0x282], cx
mov word [ebp - 0x280], dx
push 0x3d
pop eax
mov word [ebp - 0x27e], ax
mov eax, dword [ebp - 0x318]
mov word [ebp - 0x27c], ax
mov word [ebp - 0x27a], di
mov word [ebp - 0x278], cx
lea ecx, [ebp - 0x2bc]
mov word [ebp - 0x276], ax
mov eax, dword [ebp - 0x314]
mov word [ebp - 0x274], ax
lea eax, [edx + 0x47]
mov word [ebp - 0x272], ax
xor eax, eax
mov word [ebp - 0x270], ax
mov ax, word [ebp - 0x2bc]
mov esi, dword [ebp - 0x324]
lea eax, [ebp - 0x31c]
push eax
mov edi, dword [esi]
call fcn.10039bc5
push eax
push esi
call dword [edi + 0x124]
test eax, eax
js 0x100aec4b
push dword [ebp - 0x31c]
jmp 0x100af10c
push 0x39
pop esi
push 0x41
xor edi, edi
pop ecx
mov dword [ebp - 0x26c], 0xfc28
mov eax, dword [ebp - 0x26c]
xor eax, 0x7b
mov word [ebp - 0x268], ax
mov eax, dword [ebp - 0x26c]
inc eax
xor eax, 0x43
mov word [ebp - 0x266], ax
mov eax, dword [ebp - 0x26c]
add eax, 2
xor eax, 0x45
mov word [ebp - 0x264], ax
mov eax, dword [ebp - 0x26c]
add eax, 3
xor eax, esi
mov word [ebp - 0x262], ax
mov eax, dword [ebp - 0x26c]
add eax, 4
xor eax, 0x32
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x26c]
add eax, 5
push 0x36
pop edx
xor eax, edx
mov word [ebp - 0x25e], ax
mov eax, dword [ebp - 0x26c]
add eax, 6
push 0x46
pop edx
xor eax, edx
mov word [ebp - 0x25c], ax
mov eax, dword [ebp - 0x26c]
add eax, 7
xor eax, ecx
mov word [ebp - 0x25a], ax
mov eax, dword [ebp - 0x26c]
add eax, 8
xor eax, 0x35
mov word [ebp - 0x258], ax
mov eax, dword [ebp - 0x26c]
add eax, 9
push 0x2d
pop ecx
xor eax, ecx
mov word [ebp - 0x256], ax
mov eax, dword [ebp - 0x26c]
add eax, 0xa
xor eax, 0x30
mov word [ebp - 0x254], ax
mov eax, dword [ebp - 0x26c]
add eax, 0xb
xor eax, edx
mov word [ebp - 0x252], ax
mov eax, dword [ebp - 0x26c]
add eax, 0xc
xor eax, edx
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x26c]
add eax, 0xd
xor eax, esi
mov word [ebp - 0x24e], ax
mov eax, dword [ebp - 0x26c]
add eax, 0xe
xor eax, ecx
mov word [ebp - 0x24c], ax
mov eax, dword [ebp - 0x26c]
add eax, 0xf
xor eax, 0x34
mov word [ebp - 0x24a], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x10
xor eax, 0x38
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x11
xor eax, esi
mov word [ebp - 0x246], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x12
xor eax, 0x66
mov word [ebp - 0x244], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x13
xor eax, ecx
mov word [ebp - 0x242], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x14
xor eax, 0x41
mov word [ebp - 0x240], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x15
xor eax, 0x44
mov word [ebp - 0x23e], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x16
xor eax, 0x36
mov word [ebp - 0x23c], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x17
xor eax, 0x43
mov word [ebp - 0x23a], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x18
xor eax, ecx
mov word [ebp - 0x238], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x19
xor eax, 0x33
mov word [ebp - 0x236], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x1a
xor eax, 0x33
mov word [ebp - 0x234], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x1b
xor eax, esi
mov word [ebp - 0x232], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x1c
xor eax, esi
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x1d
xor eax, 0x38
mov word [ebp - 0x22e], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x1e
push 0x36
pop ecx
xor eax, ecx
mov word [ebp - 0x22c], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x1f
xor eax, 0x45
mov word [ebp - 0x22a], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x20
push 0x41
pop ecx
xor eax, ecx
mov word [ebp - 0x228], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x21
xor eax, ecx
mov word [ebp - 0x226], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x22
xor eax, 0x42
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x23
xor eax, 0x31
mov word [ebp - 0x222], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x24
xor eax, edx
mov word [ebp - 0x220], ax
mov eax, dword [ebp - 0x26c]
add eax, 0x25
xor eax, 0x7d
mov word [ebp - 0x21e], ax
xor eax, eax
lea ecx, [ebp - 0x26c]
mov word [ebp - 0x21c], ax
mov ax, word [ebp - 0x268]
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.1000b49e
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x100af113
push 0x4c
pop ecx
push 0x4e
pop esi
push 0x42
mov edi, dword [ebp - 0x314]
mov eax, 0x84
mov word [ebp - 0x30c], ax
pop eax
mov word [ebp - 0x30a], cx
mov word [ebp - 0x308], si
mov word [ebp - 0x306], ax
push 0x3b
pop eax
mov word [ebp - 0x304], ax
push 0x4a
pop edx
mov eax, dword [ebp - 0x310]
mov word [ebp - 0x302], ax
mov word [ebp - 0x300], di
push 0x3e
pop eax
mov word [ebp - 0x2fe], dx
mov word [ebp - 0x2fc], ax
push 0x36
pop eax
mov word [ebp - 0x2fa], ax
push 0x39
pop eax
mov word [ebp - 0x2f8], ax
mov word [ebp - 0x2f6], di
push 0x42
mov word [ebp - 0x2f4], di
pop eax
mov word [ebp - 0x2f2], ax
push 0x36
pop edi
mov word [ebp - 0x2f0], di
push 0x3d
pop edi
mov word [ebp - 0x2ee], di
push 0x41
pop edi
mov word [ebp - 0x2ec], di
mov word [ebp - 0x2ea], ax
mov edi, dword [ebp - 0x310]
push 0x6f
pop eax
mov word [ebp - 0x2e8], ax
push 0x36
pop eax
mov word [ebp - 0x2e6], ax
mov word [ebp - 0x2e4], dx
push 0x4d
pop eax
mov word [ebp - 0x2e2], ax
mov word [ebp - 0x2e0], di
mov word [ebp - 0x2de], cx
push 0x36
pop eax
mov word [ebp - 0x2dc], ax
mov eax, dword [ebp - 0x318]
mov word [ebp - 0x2da], ax
mov word [ebp - 0x2d8], ax
push 0x42
pop eax
mov word [ebp - 0x2d6], ax
mov word [ebp - 0x2d4], ax
push 0x41
pop eax
mov word [ebp - 0x2d2], ax
mov word [ebp - 0x2d0], di
push 0x4b
mov word [ebp - 0x2ce], si
pop eax
mov word [ebp - 0x2cc], dx
mov word [ebp - 0x2ca], dx
mov word [ebp - 0x2c8], ax
push 0x3a
pop eax
mov word [ebp - 0x2c6], ax
mov eax, dword [ebp - 0x314]
xor edi, edi
mov word [ebp - 0x2c4], ax
lea eax, [ecx + 0x3a]
mov word [ebp - 0x2c2], ax
lea ecx, [ebp - 0x30c]
xor eax, eax
mov word [ebp - 0x2c0], ax
mov ax, word [ebp - 0x30c]
push edi
call fcn.10010f9b
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x10
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.100df69e
add esp, 0xc
xor eax, 0x20060908
mov dword [ebp - 0x31c], eax
push eax
mov ecx, ebx
call fcn.100c9382
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x320]
test ecx, ecx
je 0x100af126
call fcn.10002bb1
mov eax, ebx
call fcn.100cc9de
ret