Function at 0x440274
Capabilities:
Set environment variable

Disassembly:
push 0x128
mov eax, 0x490e61
call fcn.00458f67
mov esi, ecx
mov dword [ebp - 0x128], esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x11c]
and dword [ebp - 0x124], 0
push edi
call fcn.0040d7d2
and dword [ebp - 4], 0
lea eax, [ebp - 0x124]
push eax
push 0x4a48e8
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00416c6f
xor ebx, ebx
push edi
inc ebx
push str...Trying_to_store_command:__s
mov byte [ebp - 4], bl
call fcn.00402250
push str.RestartWindows
push dword [ebp - 0x118]
call fcn.004660fd
add esp, 0x10
test eax, eax
jne 0x4402f3
mov byte [esi + 0x18], bl
jmp 0x440830
push str.install
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x440311
mov dword [esi + 0x14], ebx
jmp 0x440830
push str.uninstall
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x440333
mov dword [esi + 0x14], 2
jmp 0x440830
push str.FactoryInstall
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x440355
mov dword [esi + 0x14], 9
jmp 0x440830
push str.PrepDir
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x44042e
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x118]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x120]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.004398c2
mov esi, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp dword [esi - 0xc], 0
je 0x44049b
mov edi, 0x104
lea eax, [ebp - 0x114]
push edi
push 0
push eax
call fcn.0045b1d0
add esp, 0xc
lea eax, [ebp - 0x114]
push edi
mov edi, dword [ebp - 0x128]
mov ecx, edi
push eax
call fcn.0043e689
test al, al
je 0x44049b
push 0
lea eax, [ebp - 0x114]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x44049b
push esi
push str.Factory_prep_Dir_Set_To:__s
call fcn.00402250
pop ecx
pop ecx
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440410
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [edi + 0xa0]
call fcn.0040a9d0
jmp 0x44049d
push str.CABOutput
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x4404aa
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x118]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x120]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.004398c2
mov esi, dword [ebp - 0x120]
mov byte [ebp - 4], 3
cmp dword [esi - 0xc], 0
je 0x44049b
push esi
push str.CAB_Extraction_Directory_set_to:__s
call fcn.00402250
pop ecx
pop ecx
mov ecx, dword [ebp - 0x128]
push esi
add ecx, 0x88
call fcn.0040a9af
jmp 0x44049d
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.0040c5fb
jmp 0x440830
push str.FactoryPrep
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x4406d8
lea ecx, [ebp - 0x12c]
call fcn.0040d837
lea ecx, [ebp - 0x120]
call fcn.0040d837
lea ecx, [ebp - 0x130]
call fcn.0040d837
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 6
push eax
push 0x4a49a0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00416c6f
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 7
call fcn.0040d89a
mov ecx, dword [ebp - 0x134]
mov byte [ebp - 4], 6
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
cmp dword [ebp - 0x124], 0xffffffff
je 0x4406ac
mov edi, dword [ebp - 0x12c]
cmp dword [edi - 0xc], 0
je 0x4406b2
lea eax, [ebp - 0x12c]
mov ecx, esi
push eax
call fcn.00440b02
test al, al
je 0x4406ac
mov edi, dword [ebp - 0x12c]
lea ecx, [esi + 0x3c]
push edi
call fcn.0040a9af
lea eax, [ebp - 0x124]
push eax
push 0x4a49a0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00416c6f
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 8
call fcn.0040d89a
mov ecx, dword [ebp - 0x134]
mov byte [ebp - 4], 6
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
cmp dword [ebp - 0x124], 0xffffffff
je 0x4406b2
mov eax, dword [ebp - 0x120]
cmp dword [eax - 0xc], 0
je 0x4406b2
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.00440b9f
test al, al
je 0x4406b2
push dword [ebp - 0x120]
lea ecx, [esi + 0x54]
call fcn.0040a9af
lea eax, [ebp - 0x124]
push eax
push 0x4a49a0
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00416c6f
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 9
call fcn.0040d89a
mov ecx, dword [ebp - 0x134]
mov byte [ebp - 4], 6
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
cmp dword [ebp - 0x124], 0xffffffff
je 0x4406b2
mov esi, dword [ebp - 0x130]
cmp dword [esi - 0xc], 0
je 0x4406b2
push 0x4a49a4
push esi
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x44065d
mov eax, dword [ebp - 0x128]
mov byte [eax + 0x6c], bl
jmp 0x44069a
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x130]
push eax
call fcn.00440b5e
test al, al
je 0x4406b2
mov ecx, dword [ebp - 0x128]
mov esi, dword [ebp - 0x130]
push esi
lea ecx, [ecx + 0x70]
call fcn.0040a9af
push esi
push str.McAfeeLocaleId
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [ebp - 0x128]
push 0
mov ecx, eax
mov dword [eax + 0x14], 0x11
call fcn.0044093d
jmp 0x4406b4
mov edi, dword [ebp - 0x12c]
xor bl, bl
mov ecx, dword [ebp - 0x130]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx - 0x10]
call fcn.0040c5fb
lea ecx, [edi - 0x10]
jmp 0x4404a0
push str.cleanup
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x4406fa
mov dword [esi + 0x14], 4
jmp 0x440830
push str.nolog
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x44071b
and dword [0x4c12e0], eax
jmp 0x440830
push str.DoNotDeleteSetupFiles
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x44073e
push eax
mov ecx, esi
call fcn.004408ce
jmp 0x440830
push str.longpath
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x440759
mov byte [esi + 0xd0], bl
jmp 0x440830
push str.NoSelfCopyInstaller
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x440776
push eax
mov ecx, esi
call fcn.0044098c
jmp 0x440830
push str.NoProductRefCountIncrement
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x440799
push eax
mov ecx, esi
call fcn.0044093d
jmp 0x440830
push str.WorkingDir
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x4407e1
push 0x3d
push edi
call fcn.004662f3
pop ecx
pop ecx
test eax, eax
je 0x440830
push eax
call fcn.004662b8
mov esi, eax
push esi
call fcn.0047077e
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x440830
push esi
push str.The_working_directory_for_this_install_is__s
call fcn.00402250
pop ecx
pop ecx
jmp 0x440830
push str.LowPriority
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x4407fc
mov dword [esi + 0x2c], ebx
jmp 0x440830
push str.NoMessageLoop
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x440817
mov dword [esi + 0x30], ebx
jmp 0x440830
push str.install_myself
push dword [ebp - 0x118]
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x440830
mov dword [esi + 0x34], ebx
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.0040c5fb
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.0040c5fb
mov al, bl
call fcn.00458f11
ret 4