Function at 0x408ef0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44f699
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xbc
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jl 0x409a2c
mov eax, dword [0x45c050]
mov dword [esp + 0x30], eax
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x20], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x74]
mov byte [esp + 0xd4], 2
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], ebx
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x30]
push esi
mov dword [esp + 0x90], esi
call fcn.00426320
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x88], eax
je 0x408fc0
mov edi, dword [esp + 0xdc]
mov ecx, dword [ebp + 0xad0]
lea eax, [esp + 0x74]
push eax
push edi
push 0x102d
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x408fc0
add esi, esi
lea ecx, [esp + 0x30]
push esi
mov dword [esp + 0x90], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x88], eax
jne 0x408f87
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.004036e0
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], 2
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x18]
push esi
mov dword [esp + 0x90], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x88], eax
je 0x40904a
mov edi, dword [esp + 0xdc]
mov ecx, dword [ebp + 0xad0]
lea eax, [esp + 0x74]
push eax
push edi
push 0x102d
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x40904a
add esi, esi
lea ecx, [esp + 0x18]
push esi
mov dword [esp + 0x90], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x88], eax
jne 0x409011
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.004036e0
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], 3
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x90], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x88], eax
je 0x4090d4
mov edi, dword [esp + 0xdc]
mov ecx, dword [ebp + 0xad0]
lea eax, [esp + 0x74]
push eax
push edi
push 0x102d
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x4090d4
add esi, esi
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x90], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x88], eax
jne 0x40909b
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.004036e0
mov eax, dword [0x45c050]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0xe8], 4
call fcn.00425750
lea ecx, [ebp + 0xaec]
push ecx
mov ecx, ebp
call fcn.00408b90
test eax, eax
je 0x4099d4
mov eax, dword [esp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov edx, dword [eax - 0xc]
mov dword [esp + 0x50], esp
test edx, edx
mov ecx, esp
jl 0x409150
mov dword [ecx], eax
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call edi
jmp 0x409161
mov eax, dword [0x45c050]
mov dword [ecx], eax
mov edx, dword [esp + 0x3c]
push edx
call fcn.00425f80
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0xe0], 5
call fcn.00425750
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0xe4], 4
call fcn.0042c2b0
add esp, 0x10
lea eax, [esp + 0x10]
push 0x45c6d8
lea ecx, [esp + 0x2c]
mov bl, 6
push eax
push ecx
mov byte [esp + 0xe0], bl
call fcn.004261b0
lea edx, [esp + 0x18]
mov byte [esp + 0xd4], 7
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00426050
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0xd4], 8
je 0x40921d
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4091f1
mov edx, dword [0x45c054]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4091f8
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x409208
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00403580
jmp 0x40921d
lea ecx, [esp + 0x10]
call fcn.00425890
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [0x45c054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40924c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40924c
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x45c054]
mov byte [esp + 0xd4], bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409282
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x409282
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
mov eax, 0x45c6d0
test eax, eax
je 0x4092f1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4092f1
lea ecx, [esp + 0x10]
call fcn.00425a40
mov esi, dword [esp + 0x10]
cmp byte [esi], 0
je 0x4092f1
movsx ecx, byte [esi]
push ecx
push 0x45c6d0
call fcn.00445748
add esp, 8
test eax, eax
je 0x4092cd
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x4092ae
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x4092f1
mov edi, dword [eax - 8]
sub edi, esi
add edi, eax
lea edx, [edi + 1]
push edx
push esi
push eax
call fcn.004457e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [eax - 8], edi
lea ecx, [esp + 0x10]
call fcn.00425a40
mov esi, dword [esp + 0x10]
xor ebp, ebp
xor edi, edi
cmp byte [esi], 0
je 0x409340
movsx ecx, byte [esi]
push ecx
push 0x45c6d0
call fcn.00445748
add esp, 8
test eax, eax
je 0x409324
cmp edi, ebp
jne 0x409326
mov edi, esi
jmp 0x409326
xor edi, edi
push esi
call ebx
mov esi, eax
cmp byte [esi], 0
jne 0x409307
cmp edi, ebp
je 0x409340
mov byte [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [eax - 8], edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4093e3
mov eax, dword [esp + 0x10]
mov ebp, dword [eax - 8]
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
lea ecx, [ebp + 1]
jg 0x409377
cmp ecx, dword [eax - 4]
jle 0x4093b4
cmp ecx, ebp
jge 0x40937d
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00425830
test eax, eax
je 0x4093b4
mov edi, dword [esp + 0x10]
lea ecx, [ebp + 1]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebp
call fcn.004258d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
inc ebp
push ebp
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
lea edx, [esp + 0x64]
push ebp
push edx
call fcn.00429980
add esp, 8
push str.xmlToolStartupCleaner.xml
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0xdc], 9
push eax
call fcn.004261b0
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.00408b10
mov edi, eax
add esp, 8
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x68]
mov edx, dword [0x45c054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40944b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40944b
mov edx, dword [esp + 0x68]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x64]
mov edx, dword [0x45c054]
mov byte [esp + 0xd4], 0xb
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409482
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x409482
mov edx, dword [esp + 0x64]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
push ecx
mov dword [esp + 0x50], esp
mov esi, esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea ecx, [esp + 0x70]
mov dword [esi], eax
call fcn.00435f70
mov dword [esp + 0x40], ebp
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str._config_toolstartupcleaner
call esi
mov ebx, eax
mov dword [esp + 0x4c], ebx
push str._config_toolstartupcleaner_disabledwininiitem
call esi
mov esi, eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xd4], 0x10
cmp eax, ebp
je 0x409501
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push ebx
push eax
call dword [ecx + 0x94]
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x409501
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push esi
push eax
call dword [ecx + 0x90]
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x409981
mov dword [esp + 0x1c], ebp
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0xdc], 0x11
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x409968
xor eax, eax
mov dword [esp + 0x3c], eax
cmp ecx, ebp
mov byte [esp + 0xd4], 0x12
je 0x409551
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push edx
push ecx
call dword [eax + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x48], ebp
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push str.path
push eax
mov byte [esp + 0xe0], 0x15
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x28]
push edx
push str.valuename
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x48]
push edx
push str.valuedata
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov word [esp + 0xac], bp
mov word [esp + 0x9c], bp
mov word [esp + 0xbc], bp
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xac]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0xdc], 0x18
call dword [ecx + 0x20]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xbc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
push 8
lea eax, [esp + 0xb0]
push ebp
lea ecx, [esp + 0xb4]
push eax
push ecx
call esi
push 8
lea edx, [esp + 0xa0]
push ebp
lea eax, [esp + 0xa4]
push edx
push eax
call esi
push 8
lea ecx, [esp + 0xc0]
push ebp
lea edx, [esp + 0xc4]
push ecx
push edx
call esi
mov eax, dword [esp + 0xb4]
mov ecx, dword [0x45c050]
cmp eax, ebp
mov esi, eax
mov dword [esp + 0x14], ecx
je 0x409688
push eax
call fcn.00445b8b
add esp, 4
cmp eax, ebp
je 0x409688
lea edi, [eax + eax]
lea ecx, [esp + 0x14]
push edi
call fcn.00425830
test eax, eax
je 0x409688
mov edx, dword [esp + 0x14]
inc edi
push edi
push esi
push edx
call fcn.00425700
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.004036e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push eax
push ecx
mov byte [esp + 0xdc], 0x19
call ebx
test eax, eax
jne 0x4097de
mov eax, dword [esp + 0xa4]
mov edx, dword [0x45c050]
cmp eax, ebp
mov edi, eax
mov dword [esp + 0x34], edx
je 0x4096fa
push eax
call fcn.00445b8b
add esp, 4
cmp eax, ebp
je 0x4096fa
lea esi, [eax + eax]
lea ecx, [esp + 0x34]
push esi
call fcn.00425830
test eax, eax
je 0x4096fa
mov eax, dword [esp + 0x34]
inc esi
push esi
push edi
push eax
call fcn.00425700
add esp, 0xc
lea ecx, [esp + 0x34]
push 0xffffffffffffffff
call fcn.004036e0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push ecx
push edx
call ebx
mov edx, dword [0x45c054]
test eax, eax
mov eax, dword [esp + 0x34]
sete bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40973a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40973a
mov edx, dword [esp + 0x34]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
test bl, bl
je 0x4097de
mov eax, dword [esp + 0xc4]
mov ecx, dword [0x45c050]
cmp eax, ebp
mov edi, eax
mov dword [esp + 0x2c], ecx
je 0x409792
push eax
call fcn.00445b8b
add esp, 4
cmp eax, ebp
je 0x409792
lea esi, [eax + eax]
lea ecx, [esp + 0x2c]
push esi
call fcn.00425830
test eax, eax
je 0x409792
mov edx, dword [esp + 0x2c]
inc esi
push esi
push edi
push edx
call fcn.00425700
add esp, 0xc
lea ecx, [esp + 0x2c]
push 0xffffffffffffffff
call fcn.004036e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ecx, dword [0x45c054]
test eax, eax
mov eax, dword [esp + 0x2c]
sete bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4097d6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4097d6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004447ea
add esp, 4
test bl, bl
je 0x4097de
mov bl, 1
jmp 0x4097e0
xor bl, bl
mov eax, dword [esp + 0x14]
mov edx, dword [0x45c054]
mov byte [esp + 0xd4], 0x18
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409817
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x409817
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
test bl, bl
jne 0x4098b0
lea ecx, [esp + 0x1c]
call fcn.00425900
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0xbc]
push eax
call esi
lea ecx, [esp + 0x9c]
push ecx
call esi
lea edx, [esp + 0xac]
push edx
call esi
lea ecx, [esp + 0x48]
mov byte [esp + 0xd4], 0x14
call fcn.00428290
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 0x13
call fcn.00428290
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0x12
call fcn.00428290
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0x11
call fcn.00428290
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jne 0x409530
jmp 0x409964
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x54]
mov byte [esp + 0xd4], 0x1a
cmp eax, ebp
je 0x4098d8
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x4098d8
mov edx, dword [eax]
lea esi, [esp + 0x14]
push esi
push ecx
push eax
call dword [edx + 0x50]
lea ecx, [esp + 0x6c]
call fcn.00436420
mov eax, dword [esp + 0x14]
mov byte [esp + 0xd4], 0x18
cmp eax, ebp
je 0x4098f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xbc]
push edx
call esi
lea eax, [esp + 0x9c]
push eax
call esi
lea ecx, [esp + 0xac]
push ecx
call esi
mov eax, dword [esp + 0x48]
mov byte [esp + 0xd4], 0x14
cmp eax, ebp
je 0x409931
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 0x13
call fcn.00428290
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0x12
call fcn.00428290
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0x11
call fcn.00428290
mov edi, dword [esp + 0x58]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 0x10
call fcn.00428290
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 0xf
call fcn.00428290
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push ebx
call esi
lea ecx, [esp + 0x40]
mov byte [esp + 0xd4], 0xc
call fcn.00428290
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd4], 0xb
call fcn.00435ff0
push edi
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0xd4], 4
call fcn.00429590
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], 3
call fcn.00429590
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 2
call fcn.00429590
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 1
call fcn.00429590
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0
call fcn.00429590
lea ecx, [esp + 0x30]
mov dword [esp + 0xd4], 0xffffffff
call fcn.00429590
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc8
ret 4