Function at 0x440070
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562655
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
sub esp, 0x18
mov ecx, esp
push 0x15
push str.PCAppStoreAutoUpdater
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x20]
call fcn.00437680
mov ecx, esp
mov dword [ebp - 4], 0
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x30]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 1
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440110
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00424490
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44014a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x2c]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0043f4c0
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0xd], al
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x440197
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
lea esi, [ebp - 0x18]
push eax
call fcn.00424b70
mov ecx, esi
call fcn.00437900
add esp, 0x14
mov byte [ebp - 4], 5
mov esi, esp
lea edi, [ebp - 0x14]
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x440256
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x1c]
test eax, eax
jne 0x440250
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440225
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44023f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
mov esi, 1
jne 0x440547
jmp 0x44028c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440270
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44028a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
sub esp, 0x18
mov ecx, esp
push 7
push str.product
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x2c]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 6
push 0x14
push str.task_creation_failed
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x28]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 7
push 0x27
push str.tsh_deletion_res_dautorun_deletion_d
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x24]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 9
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x4405a6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor eax, eax
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0xd], al
setne al
push eax
push esi
push ecx
mov esi, esp
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a6d0
mov byte [ebp - 4], 0xa
add esp, 0x10
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440395
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x4405b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x57ece0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.00425090
test al, al
jne 0x4403d3
push 0
push 0x57ece0
lea ecx, [ebp - 0x14]
call fcn.00425360
mov byte [ebp - 4], 0xd
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x4405ba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x57ece0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00425090
test al, al
jne 0x440415
push 0
push 0x57ece0
lea ecx, [ebp - 0x18]
call fcn.00425360
push ecx
mov byte [ebp - 4], 0xf
mov esi, esp
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], esi
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x34]
mov dword [esi], eax
call fcn.00437b50
mov edi, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov dword [ebp - 0x38], esi
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.00437b50
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
push ecx
lea ecx, [ebp - 0x18]
mov edx, edi
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004470d0
mov edx, dword [ebp - 0x30]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440491
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4404ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4404c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4404df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4404f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440513
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44052d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440547
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x44057d
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x440573
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405c4
push ecx
push edx
call fcn.00532241
add esp, 8
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x440595
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425520
push 0x80004005
call fcn.00425520
push 0x80004005
call fcn.00425520
call fcn.005370ef
int3