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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d044b
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x80236c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0067fc00
lea eax, [ebp - 0x144]
push eax
call fcn.004be590
push 0x7257e0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004c15a0
push str.AdobeGCData
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004c15a0
lea ecx, [ebp - 0x114]
add esp, 0x28
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8582
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.0049a4d0
cmp dword [ebp - 0x130], 0x10
lea edx, [ebp - 0x144]
mov ebx, dword [ebp - 0x134]
lea edi, [ebp - 0x144]
cmovae edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x12c]
add ebx, edx
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x130], 0x10
mov dword [ebp - 0x118], 7
cmovae edi, dword [ebp - 0x144]
xor eax, eax
mov word [ebp - 0x12c], ax
mov eax, ebx
sub eax, edi
push eax
call fcn.00490930
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x12c]
push ebx
push edi
call fcn.0049ce80
mov edi, dword [ebp - 0x150]
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 8
mov ebx, dword [ebp - 0x154]
cmovae eax, dword [ebp - 0x12c]
push 0x1000
push dword [edi]
mov dword [ebp - 0x14c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
jne 0x4b867e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0x4b86ef
push str.Environment_variable_does_not_exist.
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push esi
call fcn.004c1270
mov eax, dword [ebp - 0x148]
add esp, 0x14
mov dword [eax], esi
jmp 0x4b86ef
cmp esi, 0x1000
jbe 0x4b86e3
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [edi]
call fcn.00695a70
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x4b86c8
push str.Out_of_memory_in_BUFSIZE___dwRet
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.004c1270
add esp, 0x14
xor esi, esi
jmp 0x4b872c
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4b86e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetEnvironmentVariable_failed___d_
jmp 0x4b870c
mov eax, dword [ebp - 0x148]
mov dword [eax], 1
push dword [ebp - 0x14c]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4b8727
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed___d_
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
xor esi, esi
jmp 0x4b872c
mov esi, 1
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x4b8768
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b875e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b87d9
push edx
push ecx
call fcn.00669b1d
add esp, 8
mov edx, dword [ebp - 0x130]
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 7
mov word [ebp - 0x12c], ax
cmp edx, 0x10
jb 0x4b87bb
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b87b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b87d9
push edx
push ecx
call fcn.00669b1d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669adc
mov esp, ebp
pop ebp
ret
call fcn.006892c4
int3