Function at 0x427ea0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00427e20
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 4]
call fcn.00408ae0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x427f45
mov eax, 0x5df2f0
push eax
mov eax, str.APPDATA
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 8]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 8]
call fcn.00408ae0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x427f7a
mov eax, 0x5df2f0
push eax
mov eax, str.LOCALAPPDATA
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0xc]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0xc]
call fcn.00408ae0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x427faf
mov eax, 0x5df2f0
push eax
mov eax, str.ALLUSERSPROFILE
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x10]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x10]
call fcn.00408ae0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x427fe4
mov eax, 0x5df2f0
push eax
mov eax, str.PROGRAMDATA
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x14]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x14]
call fcn.00408ae0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x428019
mov eax, 0x5df2f0
push eax
mov eax, str.ProgramFiles
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x18]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x18]
call fcn.00408ae0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x42804e
mov eax, 0x5df2f0
push eax
mov eax, str.COMMONPROGRAMFILES
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x1c]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x1c]
call fcn.00408ae0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x428083
mov eax, 0x5df2f0
push eax
mov eax, str.CommonProgramFiles_x86_
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x20]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x20]
call fcn.00408ae0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4280b8
mov eax, 0x5df2f0
push eax
mov eax, str.CommonProgramW6432
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x24]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x24]
call fcn.00408ae0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4280ed
mov eax, 0x5df2f0
push eax
mov eax, str.HOMEPATH
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x28]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x28]
call fcn.00408ae0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x428122
mov eax, 0x5df2f0
push eax
mov eax, str.PATH
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x2c]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x2c]
call fcn.00408ae0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x428157
mov eax, 0x5df2f0
push eax
mov eax, str.USERPROFILE
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x30]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x30]
call fcn.00408ae0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x42818c
mov eax, 0x5df2f0
push eax
mov eax, str.PUBLIC
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x34]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x34]
call fcn.00408ae0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4281c1
mov eax, 0x5df2f0
push eax
mov eax, str.TEMP
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
lea eax, [ebp - 0x38]
call fcn.00403a50
push 0
mov edx, dword [0x5e24a0]
mov ecx, 0x584d18
lea eax, [ebp - 0x38]
call fcn.00408ae0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4281f6
mov eax, 0x5df2f0
push eax
mov eax, 0x584dd4
push eax
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00427e20
leave
ret