Function at 0x4226f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov al, byte [esi]
mov byte [edi], al
lea ecx, [edi + 4]
mov al, byte [esi + 1]
mov byte [edi + 1], al
lea eax, [esi + 4]
cmp ecx, eax
je 0x422729
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x422722
mov eax, dword [eax]
push edx
push eax
call fcn.00416f70
lea eax, [esi + 0x1c]
lea ecx, [edi + 0x1c]
cmp ecx, eax
je 0x422746
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x42273d
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00416f70
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 8
mov byte [edi + 0x44], 0
mov dword [edi + 0x3c], 0
call fcn.004386f9
add esp, 4
lea ecx, [esp + 0x44]
mov dword [eax], edi
push ecx
push 0
push eax
push 0x424290
push 0
push 0
mov dword [eax + 4], 0x423c70
call fcn.00445921
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x4232a6
cmp dword [edi + 0x50], 0
jne 0x4232b5
mov eax, dword [esp + 0x44]
lea esi, [edi + 0x54]
push esi
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
call fcn.0043b24a
add esp, 4
test eax, eax
jne 0x4232ba
cmp dword [edi + 0x3c], 0
lea eax, [edi + 0x84]
jne 0x4227dd
cmp byte [edi + 0x44], 0
jne 0x4227dd
push esi
push eax
call fcn.0043b3d7
add esp, 8
jmp 0x4227bf
push esi
call fcn.0043b26f
add esp, 4
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
push 0x20
call fcn.00416ed0
movups xmm0, xmmword [str.core_updater_status_init]
mov ecx, eax
mov dword [esp + 0x20], 0x18
mov dword [esp + 0x24], 0x1f
movups xmmword [ecx], xmm0
movq xmm0, qword [0x477864]
movq qword [ecx + 0x10], xmm0
mov byte [ecx + 0x18], 0
cmp dword [edi + 0x3c], 0
mov dword [esp + 0x10], ecx
jne 0x4229c2
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x422876
inc edx
cmp edx, 0x1000
jb 0x42286c
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4232c0
mov ecx, esi
push edx
push ecx
call fcn.004386eb
add esp, 8
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esp + 0x44]
lea ecx, [esp + 0x10]
mov byte [esp + 0x18], al
mov al, byte [esp + 0x45]
mov byte [esp + 0x19], al
mov al, byte [esp + 0x46]
mov byte [esp + 0x1a], al
lea eax, [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0xf
mov dword [esp + 0x14], 0x4779c4
mov dword [esp + 0x18], fcn.00423490
mov dword [esp + 0x20], edi
mov dword [esp + 0x68], 0
call fcn.00424610
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [esp + 0x64], edx
test ecx, ecx
je 0x422957
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov edx, dword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x422a9f
lea eax, [esp + 0xb0]
cmp esi, eax
jne 0x422a99
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xd4]
mov ecx, eax
mov dword [esp + 0x34], ecx
test esi, esi
je 0x4229b9
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x10]
lea eax, [esp + 0xb0]
cmp esi, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xd4], 0
mov edx, dword [esp + 0x64]
jmp 0x422a9f
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, ecx
mov ecx, 0x47f038
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00435c20
push 2
push 0x477904
lea ecx, [esp + 0x48]
call fcn.004165e0
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push eax
push 0
push 0x402
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x54]
cmp edx, 8
jb 0x422a49
mov ecx, dword [esp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422a3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4232c0
push edx
push ecx
call fcn.004386eb
add esp, 8
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
cmp edx, 0x10
jb 0x422876
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42286c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4232c0
jmp 0x42286c
mov ecx, esi
mov dword [esp + 0x34], ecx
test edx, edx
je 0x422ae9
lea eax, [esp + 0x40]
cmp edx, eax
jne 0x422ae2
mov eax, dword [edx]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, edx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xd4], eax
test ecx, ecx
je 0x422adc
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x40]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
jmp 0x422ae9
mov dword [esp + 0xd4], edx
test ecx, ecx
je 0x422afe
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov al, byte [esp + 0x44]
lea ecx, [esp + 0x10]
mov byte [esp + 0x18], al
lea eax, [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x14], 0x4779ac
mov dword [esp + 0x18], 0x4239e0
mov dword [esp + 0x20], edi
mov dword [esp + 0x68], 0
call fcn.00424560
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [esp + 0x64], edx
test ecx, ecx
je 0x422b61
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov edx, dword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xfc]
test esi, esi
je 0x422bcd
lea eax, [esp + 0xd8]
cmp esi, eax
jne 0x422bbc
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xfc]
mov ecx, eax
mov dword [esp + 0x34], ecx
test esi, esi
je 0x422bb6
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x10]
lea eax, [esp + 0xd8]
cmp esi, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
jmp 0x422bc2
mov edx, dword [esp + 0x64]
jmp 0x422bcd
mov ecx, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0xfc], 0
test edx, edx
je 0x422c17
lea eax, [esp + 0x40]
cmp edx, eax
jne 0x422c10
mov eax, dword [edx]
lea ecx, [esp + 0xd8]
push ecx
mov ecx, edx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xfc], eax
test ecx, ecx
je 0x422c0a
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x40]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
jmp 0x422c17
mov dword [esp + 0xfc], edx
test ecx, ecx
je 0x422c2c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov al, byte [esp + 0x44]
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], al
mov al, byte [esp + 0x45]
mov byte [esp + 0x19], al
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x477994
mov dword [esp + 0x18], 0x423a20
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 0
call fcn.00424240
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x14]
call fcn.00424240
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x104]
call fcn.00424240
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x422ca5
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x40]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x422cbe
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov al, byte [esp + 0x44]
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], al
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x47797c
mov dword [esp + 0x18], fcn.00423450
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 0
call fcn.00424240
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x14]
call fcn.00424240
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x12c]
call fcn.00424240
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x422d2f
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x40]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x422d48
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov al, byte [esp + 0x44]
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], al
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x477964
mov dword [esp + 0x18], 0x423be0
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 0
call fcn.00424240
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x14]
call fcn.00424240
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x154]
call fcn.00424240
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x422db9
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x40]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x422dd2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov al, byte [esp + 0x44]
lea ecx, [esp + 0x40]
mov byte [esp + 0x18], al
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x47794c
mov dword [esp + 0x18], 0x423c00
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], 0
call fcn.00424240
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x14]
call fcn.00424240
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x17c]
call fcn.00424240
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x422e43
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x40]
cmp ecx, eax
setne al
push eax
call edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x422e5c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x10]
cmp ecx, eax
setne al
push eax
call edx
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x1a0]
lea eax, [esi + 0x1c]
cmp ecx, eax
je 0x422e86
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x422e78
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x1a8]
call fcn.00416f70
mov eax, dword [esi + 0x34]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1b8], eax
call fcn.00405c80
sub esp, 0x18
mov byte [esp + 0x27], al
lea eax, [esp + 0x1b8]
mov ecx, esp
push eax
call fcn.004168a0
mov edx, dword [esp + 0x1d0]
mov cl, byte [esp + 0x27]
call fcn.00408850
add esp, 0x18
cmp byte [esp + 0xf], 0
je 0x42310a
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor al, al
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x44], 4
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x70], 0
push eax
push 0x10
push str.needsReinstallService
push str.SoftwareWallpaperEngine_
push 0x80000001
mov dword [esp + 0x8c], 4
mov byte [esp + 0x88], 0
call esi
mov ecx, 1
test eax, eax
jne 0x422f3c
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x68], ecx
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x48]
push eax
push 0x10
push str.needsReinstallScreensaver
push str.SoftwareWallpaperEngine_
push 0x80000001
call esi
test eax, eax
mov eax, dword [esp + 0x3c]
jne 0x422f7a
cmp dword [esp + 0x68], 1
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x3c], eax
cmp byte [esp + 0x6c], 0
jne 0x422f89
test al, al
je 0x4230e2
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push 0x16
push str._op_componentReinstall
mov dword [esp + 0x18], 0
mov al, byte [eax + 1]
mov byte [esp + 0x43], al
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 7
call fcn.004164d0
cmp byte [esp + 0x6c], 0
je 0x422fd2
push 9
push str.__service
lea ecx, [esp + 0x18]
call fcn.004165e0
cmp byte [esp + 0x3c], 0
je 0x422fe9
push 0xd
push str.__screensaver
lea ecx, [esp + 0x18]
call fcn.004165e0
cmp byte [esp + 0x3b], 0
je 0x423000
push 5
push str.__x64
lea ecx, [esp + 0x18]
call fcn.004165e0
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x74], 0x3c
cmovae eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x74]
push eax
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
mov dword [esp + 0x7c], 0x40
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], str.runas
mov dword [esp + 0x88], str.ui32.exe
mov dword [esp + 0x90], 0x477768
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4230ca
push 0xffffffffffffffff
push dword [esp + 0xb0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push dword [esp + 0xb0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0xac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
cmp eax, 8
jb 0x4230e2
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.004169f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
push str.needsReinstallService
push str.SoftwareWallpaperEngine_
push 0x80000001
call esi
push str.needsReinstallScreensaver
push str.SoftwareWallpaperEngine_
push 0x80000001
call esi
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x42315a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x401
push eax
call esi
cmp byte [edi + 0x38], 0
mov ecx, str.core_updater_status_complete
push 0
push 0
push 0
mov eax, str.core_updater_status_complete_errors
cmove eax, ecx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00416dc0
mov ecx, edi
call fcn.00423490
push 0
push 0x64
push 0x403
push dword [edi + 0x3c]
call esi
push 1
mov ecx, edi
call fcn.00423450
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
test al, al
jne 0x4231ad
push 0x3e8
call esi
push 0
push 0
push 0
sub esp, 0x18
mov ecx, esp
push 0x25
push str.core_updater_status_complete_starting
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00416f70
mov ecx, edi
call fcn.00423490
push 0x7d0
call esi
push 1
mov ecx, edi
call fcn.00423450
test al, al
je 0x423217
push 0
push 0
push 0x401
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0
push 0
sub esp, 0x18
mov ecx, esp
push 0x1d
push str.core_updater_status_cancelled
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00416f70
mov ecx, edi
call fcn.00423490
push 0
push 0x64
push 0x403
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xbb8
call esi
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x42322b
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [edi + 0x50], 0
je 0x423259
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi + 0x50], eax
je 0x4232c5
push 0
push dword [edi + 0x50]
push dword [edi + 0x4c]
call fcn.0043b50d
add esp, 0xc
test eax, eax
jne 0x4232cc
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
push 1
mov ecx, edi
call fcn.00423450
test al, al
je 0x423281
lea ecx, [esp + 0xb0]
mov esi, 2
call fcn.004232e0
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
lea ecx, [esp + 0xb0]
cmp byte [esp + 0xf], al
sete al
mov dword [esp + 0x40], eax
mov esi, eax
call fcn.004232e0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [esp + 0x48], 0
call fcn.0043b4d2
call fcn.00424650
push eax
call fcn.0043b4a5
call fcn.0043fc0f
push 5
call fcn.0043b4d2
push 2
call fcn.0043b4d2
int3