Function at 0x40cca0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c51a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], esi
mov dword [esi + 0xac], 1
xor ebx, ebx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cce6
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cd18
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
call dword [edx + 0x80]
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cd46
mov al, byte [esi + 0xb5]
test al, al
je 0x40cd46
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx]
call dword [edx + 0x88]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cd74
mov al, byte [esi + 0xb8]
test al, al
je 0x40cd74
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cd9f
mov ecx, dword [esi + 0xa0]
mov al, byte [esi + 0xb4]
push eax
mov edx, dword [ecx]
call dword [edx + 0x90]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cdc0
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cdf2
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx]
call dword [edx + 0x84]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40ce20
mov al, byte [esi + 0xb5]
test al, al
je 0x40ce20
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx]
call dword [eax + 0x88]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40ce4e
mov al, byte [esi + 0xb8]
test al, al
je 0x40ce4e
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40ce79
mov ecx, dword [esi + 0xa4]
mov dl, byte [esi + 0xb4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40ce9a
mov ecx, dword [esi + 0xa8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cecc
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx]
call dword [edx + 0x80]
mov ecx, dword [esi + 0xa8]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cefa
mov al, byte [esi + 0xb5]
test al, al
je 0x40cefa
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx]
call dword [edx + 0x88]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cf28
mov al, byte [esi + 0xb8]
test al, al
je 0x40cf28
mov ecx, dword [esi + 0xa8]
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cf53
mov ecx, dword [esi + 0xa8]
mov al, byte [esi + 0xb4]
push eax
mov edx, dword [ecx]
call dword [edx + 0x90]
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cf74
mov ecx, dword [esi + 0x9c]
call fcn.0040d6f0
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cf95
mov ecx, dword [esi + 0x9c]
call fcn.0040e3d0
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cfb6
mov ecx, dword [esi + 0x9c]
call fcn.0040d8f0
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40cfe1
mov al, byte [esi + 0xbb]
test al, al
je 0x40cfe1
mov ecx, dword [esi + 0x9c]
call fcn.0040d590
mov ecx, dword [esi + 0xac]
inc ecx
mov dword [esi + 0xac], ecx
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40d1ac
mov ecx, dword [esi + 0x9c]
call fcn.0040dc10
mov eax, dword [0x43c820]
cmp eax, ebx
jne 0x40d1ac
push 0x43c824
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0042432b
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathscleanup.exe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042432b
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
push ecx
push edx
lea eax, [ebp - 0x14]
push 0x80000002
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402740
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004242bd
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004242bd
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
jne 0x40d0ce
mov edx, dword [0x43c8f0]
cmp dword [edx - 8], ebx
jne 0x40d0c1
push 0x98
call fcn.00423ffe
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
cmp esi, ebx
mov byte [ebp - 4], 6
je 0x40d0aa
mov ecx, esi
call fcn.00425140
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi], vtable.CResourceException.0
jmp 0x40d0ac
xor esi, esi
lea eax, [ebp - 0x28]
push 0x434a68
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], esi
call fcn.0041144f
push 0x43c8f0
lea ecx, [ebp - 0x14]
call fcn.004243aa
push str.CleanUp_
lea ecx, [ebp - 0x24]
call fcn.0042432b
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0042432b
lea ecx, [ebp - 0x14]
push str.__WindowsRestart
lea edx, [ebp - 0x2c]
mov bl, 8
push ecx
push edx
mov byte [ebp - 4], bl
call fcn.00424506
push eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004028e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004242bd
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.004242bd
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004242bd
push 1
push str.WorkToBeDone
push 0x43c824
mov ecx, 0x43c830
call fcn.004282ee
mov edx, dword [esi + 0x68]
mov ecx, 0x43c830
push edx
push str.FileCount
push str.DeleteOnWindowsRestart
call fcn.004282ee
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004242bd
or edi, 0xffffffff
xor ebx, ebx
mov dword [ebp - 4], edi
jmp 0x40d1af
or edi, 0xffffffff
mov eax, dword [0x43c820]
cmp eax, ebx
je 0x40d22d
push str.CleanUp__cancelled
lea ecx, [ebp - 0x24]
call fcn.0042432b
mov eax, dword [esi + 0xac]
mov dword [ebp - 4], 0xb
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x66666667
shl ecx, 2
imul ecx
sar edx, 3
mov eax, edx
lea ecx, [ebp - 0x24]
shr eax, 0x1f
add edx, eax
push edx
push ecx
mov ecx, esi
call fcn.00402b50
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004242bd
push str.CleanUp__cancelled_by_user.
lea ecx, [ebp - 0x20]
call fcn.0042432b
lea edx, [ebp - 0x20]
mov ecx, esi
push edx
mov dword [ebp - 4], 0xc
call fcn.00402c20
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.004242bd
mov ecx, esi
call fcn.0040d2f0
mov ecx, esi
mov dword [esi + 0x6c], eax
call fcn.0040d330
mov dword [esi + 0x70], eax
push eax
mov eax, dword [esi + 0x6c]
mov ecx, esi
push eax
call fcn.00402b90
mov eax, dword [0x43c820]
mov ecx, dword [ebp - 0xc]
neg eax
pop edi
pop esi
sbb eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret