Function at 0x412b20
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a50a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], esi
mov dword [esi + 0x110], 1
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412b64
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412b96
mov ecx, dword [esi + 0xf8]
mov edx, dword [ecx]
call dword [edx + 0x80]
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
mov edi, 4
jne 0x412bd2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], edi
push ecx
lea ecx, [esi + 0x68]
call fcn.004111d0
test al, al
je 0x412bd2
mov ecx, dword [esi + 0xf8]
mov edx, dword [ecx]
call dword [edx + 0x88]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
mov ebx, 9
jne 0x412c0e
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], ebx
call fcn.004111d0
test al, al
je 0x412c0e
mov ecx, dword [esi + 0xf8]
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412c32
mov ecx, dword [esi + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412c53
mov ecx, dword [esi + 0xfc]
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412c85
mov ecx, dword [esi + 0xfc]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esi + 0xfc]
mov edx, dword [ecx]
call dword [edx + 0x84]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412cbc
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], edi
call fcn.004111d0
test al, al
je 0x412cbc
mov ecx, dword [esi + 0xfc]
mov edx, dword [ecx]
call dword [edx + 0x88]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412cf3
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], ebx
call fcn.004111d0
test al, al
je 0x412cf3
mov ecx, dword [esi + 0xfc]
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412d17
mov ecx, dword [esi + 0xfc]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412d38
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412d6a
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx]
call dword [edx + 0x84]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412da1
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], edi
call fcn.004111d0
test al, al
je 0x412da1
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx]
call dword [edx + 0x88]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412dd8
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], ebx
call fcn.004111d0
test al, al
je 0x412dd8
mov ecx, dword [esi + 0x100]
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412dfc
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412e1d
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412e4f
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
call dword [edx + 0x84]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412e86
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], edi
call fcn.004111d0
test al, al
je 0x412e86
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
call dword [edx + 0x88]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412ebd
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], ebx
call fcn.004111d0
test al, al
je 0x412ebd
mov ecx, dword [esi + 0x108]
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412ee1
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412f02
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412f34
mov ecx, dword [esi + 0x104]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
call dword [edx + 0x84]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412f6b
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], edi
call fcn.004111d0
test al, al
je 0x412f6b
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
call dword [edx + 0x88]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412fa2
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], ebx
call fcn.004111d0
test al, al
je 0x412fa2
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
call dword [edx + 0x8c]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412fc6
mov ecx, dword [esi + 0x104]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x412fe7
mov ecx, dword [esi + 0x10c]
call fcn.00413d70
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x413008
mov ecx, dword [esi + 0x10c]
call fcn.00414a30
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x413040
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push ecx
lea ecx, [esi + 0x68]
call fcn.004111d0
test al, al
je 0x413040
mov ecx, dword [esi + 0x10c]
call fcn.00413f80
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x413078
lea edx, [ebp - 0x24]
lea ecx, [esi + 0x68]
push edx
mov dword [ebp - 0x24], 0xd
call fcn.004111d0
test al, al
je 0x413078
mov ecx, dword [esi + 0x10c]
call fcn.00413bd0
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x413099
mov ecx, dword [esi + 0x10c]
call fcn.004143e0
mov ecx, dword [esi + 0x110]
inc ecx
mov dword [esi + 0x110], ecx
mov eax, dword [0x4500e0]
test eax, eax
jne 0x4132d4
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x68]
push eax
mov dword [ebp - 0x24], 0xf
call fcn.004111d0
test al, al
je 0x4130d5
mov ecx, dword [esi + 0x10c]
call fcn.00414920
mov eax, dword [0x4500e0]
test eax, eax
jne 0x4132d4
mov ecx, 0x4500f0
call fcn.00403f10
test al, al
jne 0x4132ab
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0xb
push ecx
lea ecx, [esi + 0x68]
call fcn.004111d0
test al, al
je 0x4132ab
xor edi, edi
push 0x4500e4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.0042ff9f
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathscleanup.exe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042ff9f
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [ebp - 0x14]
push 0x80000002
push ecx
mov byte [ebp - 4], 2
call fcn.00402810
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0042ff31
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0042ff31
mov edx, dword [ebp - 0x14]
cmp dword [edx - 8], edi
jne 0x4131cc
mov eax, dword [0x4501b0]
cmp dword [eax - 8], edi
jne 0x4131bf
push 0x98
call fcn.0042fc72
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
cmp esi, edi
mov byte [ebp - 4], 6
je 0x4131a8
mov ecx, esi
call fcn.00430e12
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi], vtable.CResourceException.0
jmp 0x4131aa
xor esi, esi
lea ecx, [ebp - 0x28]
push 0x4457a0
push ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], esi
call fcn.0041ad1e
push 0x4501b0
lea ecx, [ebp - 0x14]
call fcn.0043001e
push str.CleanUp_
lea ecx, [ebp - 0x24]
call fcn.0042ff9f
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0042ff9f
lea edx, [ebp - 0x14]
push str.__WindowsRestart
lea eax, [ebp - 0x2c]
mov bl, 8
push edx
push eax
mov byte [ebp - 4], bl
call fcn.0043017a
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x80000001
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004029d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0042ff31
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0042ff31
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0042ff31
push 1
push str.WorkToBeDone
push 0x4500e4
mov ecx, 0x4500f0
call fcn.004340d1
mov eax, dword [esi + 0xc0]
mov ecx, 0x4500f0
push eax
push str.FileCount
push str.DeleteOnWindowsRestart
call fcn.004340d1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0042ff31
mov dword [ebp - 4], 0xffffffff
jmp 0x4132cb
mov ecx, 0x4500f0
call fcn.00403f10
test al, al
je 0x4132cb
mov ecx, 0x4500f0
call fcn.00403f20
push eax
mov ecx, esi
call fcn.00402580
mov eax, dword [0x4500e0]
test eax, eax
je 0x41334e
push str.CleanUp__cancelled
lea ecx, [ebp - 0x24]
call fcn.0042ff9f
mov eax, dword [esi + 0x110]
mov dword [ebp - 4], 0xb
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x84210843
shl ecx, 2
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
push edx
lea edx, [ebp - 0x24]
push edx
call fcn.00402c60
or edi, 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0042ff31
push str.CleanUp__cancelled_by_user.
lea ecx, [ebp - 0x20]
call fcn.0042ff9f
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
mov dword [ebp - 4], 0xc
call fcn.00402d40
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.0042ff31
mov ecx, esi
call fcn.00413430
mov ecx, esi
mov dword [esi + 0xc4], eax
call fcn.00413490
fst qword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0xc4]
push ecx
fstp qword [esi + 0xc8]
push edx
push eax
mov ecx, esi
call fcn.00402ca0
mov eax, dword [0x4500e0]
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