Function at 0x40d0e0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x2fc
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004318b0
test eax, eax
je 0x40d183
push 0
lea eax, [esp + 0x210]
push str.CUninstall_::_DeleteInstalledRegisteyEntries_n
push eax
call fcn.0044cb10
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x14]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [ebx + 0xae4]
lea ebp, [ebx + 0xae4]
test eax, eax
jne 0x40d197
xor eax, eax
jmp 0x40d19a
lea eax, [ebp + 4]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40d31b
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.00404920
cmp eax, 0xffffffff
je 0x40d1c0
mov ebx, dword [ebp + eax*4 + 0x1f8]
jmp 0x40d1c2
xor ebx, ebx
mov esi, dword [ebx]
mov edi, dword [ebx + 0xc]
push str.HKCR
push esi
call fcn.0044dee0
add esp, 8
test eax, eax
jne 0x40d1e0
mov eax, 0x80000000
jmp 0x40d22b
push str.HKCU
push esi
call fcn.0044dee0
add esp, 8
test eax, eax
jne 0x40d1f9
mov eax, 0x80000001
jmp 0x40d22b
push 0x47ede4
push esi
call fcn.0044dee0
add esp, 8
test eax, eax
jne 0x40d212
mov eax, 0x80000003
jmp 0x40d22b
push str.HKCC
push esi
call fcn.0044dee0
add esp, 8
neg eax
sbb eax, eax
and al, 0xfd
add eax, 0x80000005
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.0043a3a0
mov eax, dword [ebx + 0x18]
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.0043ad70
test eax, eax
jne 0x40d286
call fcn.004318b0
test eax, eax
je 0x40d286
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
lea edx, [esp + 0x214]
push str.FAILED_Registry_DeleteValue_:_RegKey___s__RegValue___s_n
push edx
call fcn.0044cb10
add esp, 0x10
lea eax, [esp + 0x20c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.0044d7e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONRUNONCE
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xc]
push eax
call fcn.0044d1c0
add esp, 0xc
test eax, eax
je 0x40d2cc
sub eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
jne 0x40d30f
mov ecx, dword [ebx + 0xc]
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONRUN
push ecx
call fcn.0044d1c0
add esp, 8
test eax, eax
je 0x40d2e9
sub eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
jne 0x40d30f
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
call fcn.0043a5b0
test eax, eax
je 0x40d30f
push 1
push 0
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.0043a790
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d1a6
call fcn.004318b0
test eax, eax
je 0x40d3b2
push 0
lea ecx, [esp + 0x210]
push str.CUninstall_::_DeleteInstalledRegisteyEntries_n
push ecx
call fcn.0044cb10
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2fc
ret