Function at 0x401000
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x428
push ebp
push esi
push edi
or ecx, 0xffffffff
mov edi, 0x40f1cc
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x128]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
mov byte [esp + 0x128], 0
mov ebp, 0x40f4cc
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x128]
and ecx, 3
mov byte [esp + 0x24], al
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x40c1f4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 0xc
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x128]
and ecx, 3
mov dword [esp + 0x18], 0
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40f1cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40c1f4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40f50c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x20019
lea ecx, [esp + 0x2c]
push 0
push ecx
push 0x80000002
call dword [0x40f118]
test eax, eax
jne 0x40116d
mov edx, dword [esp + 0xc]
push edx
call dword [0x40f13c]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x128]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [0x40f118]
test eax, eax
jne 0x4011a0
mov edx, dword [esp + 0xc]
mov ebp, 0x40f50c
push edx
call dword [0x40f13c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x128]
push eax
push 0x80000002
call esi
lea ecx, [esp + 0x24]
push ecx
push 0x80000002
call esi
lea edx, [esp + 0x128]
push edx
push 0x80000001
call esi
lea eax, [esp + 0x24]
push eax
push 0x80000001
call esi
mov al, byte [esp + 0x43c]
test al, al
je 0x40139c
lea ecx, [esp + 0x330]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40139c
lea edx, [esp + 0x330]
lea eax, [esp + 0x22c]
push edx
push str.__s_
push eax
call fcn.004028a2
mov edi, dword [esp + 0x444]
add esp, 0xc
test edi, edi
je 0x40125c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x22c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.__s__n__i:U_shell32.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x22c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc]
mov ecx, edx
push eax
push 0xf003f
and ecx, 3
push 0
push 0x40f1cc
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call dword [0x40f118]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0xf003f
push 0
push 0
push 0
push ebp
push ecx
call dword [0x40f120]
lea edi, [esp + 0x22c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x22c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push str.StubPath
push eax
call dword [0x40f124]
mov edi, str.MediaPlayer
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push str.DirectShow
push 1
push eax
push str.ComponentID
push ecx
call dword [0x40f124]
mov edi, str.1_125_2406_1
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.1_125_2406_1
push 1
push eax
push str.Version
push edx
call dword [0x40f124]
mov edi, 0x40c188
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x40c188
push 1
push eax
mov eax, dword [esp + 0x20]
push str.Locale
push eax
call dword [0x40f124]
mov ecx, dword [esp + 0x10]
mov esi, eax
push ecx
call dword [0x40f13c]
mov edx, dword [esp + 0xc]
push edx
call dword [0x40f13c]
test esi, esi
jne 0x40139c
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x428
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x428
ret