Function at 0x41b620
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4510d0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc4
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jl 0x41bfc0
mov eax, dword [0x45c050]
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0x1c], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x68]
mov byte [esp + 0xdc], 2
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], ebx
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x84], esi
call fcn.00426320
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x7c], eax
je 0x41b6ea
mov edi, dword [esp + 0xe4]
mov ecx, dword [ebp + 0xad0]
lea eax, [esp + 0x68]
push eax
push edi
push 0x102d
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x41b6ea
add esi, esi
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x84], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x7c], eax
jne 0x41b6b4
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.004036e0
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 2
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x84], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x7c], eax
je 0x41b76e
mov edi, dword [esp + 0xe4]
mov ecx, dword [ebp + 0xad0]
lea eax, [esp + 0x68]
push eax
push edi
push 0x102d
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x41b76e
add esi, esi
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x84], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x7c], eax
jne 0x41b738
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004036e0
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 3
call fcn.00425920
mov esi, 0x100
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x84], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x7c], eax
je 0x41b7f2
mov edi, dword [esp + 0xe4]
mov ecx, dword [ebp + 0xad0]
lea eax, [esp + 0x68]
push eax
push edi
push 0x102d
push ecx
call ebx
lea edx, [esi - 1]
cmp eax, edx
jl 0x41b7f2
add esi, esi
lea ecx, [esp + 0x1c]
push esi
mov dword [esp + 0x84], esi
call fcn.00426320
test eax, eax
mov dword [esp + 0x7c], eax
jne 0x41b7bc
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.004036e0
mov eax, dword [0x45c050]
xor edi, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x44]
lea edx, [esp + 0x5c]
push ecx
push edx
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
mov byte [esp + 0xec], 3
call fcn.00425750
lea ecx, [ebp + 0xae8]
push ecx
mov ecx, ebp
call fcn.0041a600
cmp eax, edi
je 0x41bf79
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
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 0x41b874
cmp ecx, dword [eax - 4]
jle 0x41b8b3
cmp ecx, ebp
jge 0x41b87a
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00425830
test eax, eax
je 0x41b8b3
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]
xor edi, edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
inc ebp
push ebp
push eax
push 1
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x58]
push edi
push edx
call fcn.00429980
add esp, 8
push str.xmlToolStartupCleaner.xml
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0xe4], 4
push eax
call fcn.004261b0
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.00408b10
add esp, 8
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
mov edx, dword [0x45c054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41b947
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41b947
mov edx, dword [esp + 0x60]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
mov eax, dword [esp + 0x58]
mov edx, dword [0x45c054]
mov byte [esp + 0xdc], 6
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41b97a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41b97a
mov edx, dword [esp + 0x58]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
mov ebx, dword [esp + 0x64]
push ecx
mov dword [esp + 0x58], esp
mov esi, esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea ecx, [esp + 0x50]
mov dword [esi], eax
call fcn.00435f70
mov dword [esp + 0x3c], edi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str._config_toolstartupcleaner
call esi
mov ebx, eax
mov dword [esp + 0x54], ebx
push 0x45cc60
call esi
mov esi, eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xdc], 0xb
cmp eax, edi
je 0x41ba00
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push ebx
push eax
call dword [ecx + 0x94]
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x41ba00
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push esi
push eax
call dword [ecx + 0x90]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x41bf23
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xe4], 0xc
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x41bf11
xor eax, eax
mov dword [esp + 0x2c], eax
cmp ecx, edi
mov byte [esp + 0xdc], 0xd
je 0x41ba50
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
push ecx
call dword [eax + 0x44]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push str.path
push eax
mov byte [esp + 0xe8], 0x10
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x38]
push edx
push str.valuename
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push str.valuedata
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov word [esp + 0xa4], di
mov word [esp + 0x94], di
mov word [esp + 0xb4], di
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xa4]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0xe4], 0x13
call dword [ecx + 0x20]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x94]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xb4]
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 + 0xa8]
push edi
lea ecx, [esp + 0xac]
push eax
push ecx
call esi
push 8
lea edx, [esp + 0x98]
push edi
lea eax, [esp + 0x9c]
push edx
push eax
call esi
push 8
lea ecx, [esp + 0xb8]
push edi
lea edx, [esp + 0xbc]
push ecx
push edx
call esi
mov eax, dword [esp + 0xac]
mov ecx, dword [0x45c050]
cmp eax, edi
mov esi, eax
mov dword [esp + 0x18], ecx
je 0x41bb87
push eax
call fcn.00445b8b
add esp, 4
cmp eax, edi
je 0x41bb87
lea ebp, [eax + eax]
lea ecx, [esp + 0x18]
push ebp
call fcn.00425830
test eax, eax
je 0x41bb87
mov edx, dword [esp + 0x18]
inc ebp
push ebp
push esi
push edx
call fcn.00425700
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
call fcn.004036e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov byte [esp + 0xe4], 0x14
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41bcdf
mov eax, dword [esp + 0x9c]
mov edx, dword [0x45c050]
cmp eax, edi
mov ebp, eax
mov dword [esp + 0x28], edx
je 0x41bbf7
push eax
call fcn.00445b8b
add esp, 4
cmp eax, edi
je 0x41bbf7
lea esi, [eax + eax]
lea ecx, [esp + 0x28]
push esi
call fcn.00425830
test eax, eax
je 0x41bbf7
mov eax, dword [esp + 0x28]
inc esi
push esi
push ebp
push eax
call fcn.00425700
add esp, 0xc
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
call fcn.004036e0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov edx, dword [0x45c054]
test eax, eax
mov eax, dword [esp + 0x28]
sete bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41bc3b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bc3b
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
test bl, bl
je 0x41bcdf
mov eax, dword [esp + 0xbc]
mov ecx, dword [0x45c050]
cmp eax, edi
mov ebp, eax
mov dword [esp + 0x24], ecx
je 0x41bc93
push eax
call fcn.00445b8b
add esp, 4
cmp eax, edi
je 0x41bc93
lea esi, [eax + eax]
lea ecx, [esp + 0x24]
push esi
call fcn.00425830
test eax, eax
je 0x41bc93
mov edx, dword [esp + 0x24]
inc esi
push esi
push ebp
push edx
call fcn.00425700
add esp, 0xc
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
call fcn.004036e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ecx, dword [0x45c054]
test eax, eax
mov eax, dword [esp + 0x24]
sete bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41bcd7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bcd7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004447ea
add esp, 4
test bl, bl
je 0x41bcdf
mov bl, 1
jmp 0x41bce1
xor bl, bl
mov eax, dword [esp + 0x18]
mov edx, dword [0x45c054]
mov byte [esp + 0xdc], 0x13
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41bd18
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bd18
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004447ea
add esp, 4
test bl, bl
jne 0x41bdce
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x41bd32
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xb4]
push edx
call esi
lea eax, [esp + 0x94]
push eax
call esi
lea ecx, [esp + 0xa4]
push ecx
call esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xdc], 0xf
cmp eax, edi
je 0x41bd7b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x38]
mov byte [esp + 0xdc], 0xe
cmp eax, edi
je 0x41bd91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0xdc], 0xd
cmp eax, edi
je 0x41bda7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xdc], 0xc
cmp eax, edi
je 0x41bdbd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x41ba2f
jmp 0x41bf11
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x40]
mov byte [esp + 0xdc], 0x15
cmp eax, edi
je 0x41bdf6
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x41bdf6
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ecx
push eax
call dword [edx + 0x50]
cmp dword [esp + 0x4c], edi
je 0x41be7b
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x41be7b
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x41be7b
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xc4]
push eax
mov word [esp + 0xc8], di
call fcn.0040a650
mov esi, dword [esp + 0xc4]
sub esp, 0x10
mov eax, dword [esp + 0x5c]
mov edx, esp
push eax
mov byte [esp + 0xf0], 0x16
mov ecx, dword [eax]
mov dword [edx], esi
mov esi, dword [esp + 0xdc]
mov dword [edx + 4], esi
mov esi, dword [esp + 0xe0]
mov dword [edx + 8], esi
mov esi, dword [esp + 0xe4]
mov dword [edx + 0xc], esi
call dword [ecx + 0x108]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0xc4]
push eax
call esi
jmp 0x41be81
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
mov byte [esp + 0xdc], 0x13
cmp eax, edi
je 0x41be97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0xb4]
push edx
call esi
lea eax, [esp + 0x94]
push eax
call esi
lea ecx, [esp + 0xa4]
push ecx
call esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xdc], 0xf
cmp eax, edi
je 0x41becb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x38]
mov byte [esp + 0xdc], 0xe
cmp eax, edi
je 0x41bee1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov byte [esp + 0xdc], 0xd
cmp eax, edi
je 0x41bef7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xdc], 0xc
cmp eax, edi
je 0x41bf0d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
mov byte [esp + 0xdc], 0xb
je 0x41bf23
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x40]
mov byte [esp + 0xdc], 0xa
cmp eax, edi
je 0x41bf39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x90]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xdc], 7
call fcn.00428290
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 6
call fcn.00435ff0
mov ecx, dword [esp + 0x64]
push ecx
call esi
lea ecx, [esp + 0x44]
mov byte [esp + 0xdc], 2
call fcn.00429590
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 1
call fcn.00429590
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 0
call fcn.00429590
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00429590
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd0
ret 4