Function at 0x413f10
Capabilities:
Delete registry key
Delete registry value
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x44c]
sub esp, 0x44c
push 0xffffffffffffffff
push 0x448485
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x461054]
xor eax, ebp
mov dword [ebp + 0x448], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x414296
push 0x44becc
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413fd4
call esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x14]
push esi
push eax
push 0xc4
push 0x44be9c
lea eax, [ebp + 0x48]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x413fc9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x413fc9
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x10]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x44befc
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x414042
call esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x10]
push esi
push eax
push 0xc7
push 0x44be9c
lea eax, [ebp + 0x48]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x41403d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41403d
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x14]
call edi
push 0x44bf14
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4140b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x10]
push esi
push eax
push 0xca
push 0x44be9c
lea eax, [ebp + 0x48]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x4140af
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4140af
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x14]
call edi
push 0x44bf30
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x414126
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x10]
push esi
push eax
push 0xcd
push 0x44be9c
lea eax, [ebp + 0x48]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x414121
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414121
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x14]
call edi
mov ecx, ebx
call fcn.00414b20
lea eax, [ebx + 8]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x30]
push 0x44be88
push eax
call fcn.00413770
push 0x44be84
push eax
lea eax, [ebp]
mov dword [ebp - 4], 0
push eax
call fcn.004013d0
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.004136e0
add esp, 0x24
cmp dword [eax + 0x14], 8
jb 0x414175
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
push eax
push 0x80000002
call esi
lea ecx, [ebp + 0x18]
mov ebx, eax
call fcn.00407b10
lea ecx, [ebp]
call fcn.00407b10
lea ecx, [ebp + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00407b10
test ebx, ebx
je 0x414209
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
push 0xd3
push 0x44be9c
lea eax, [ebp + 0x48]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x4141fe
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4141fe
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x10]
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
push dword [ebp - 0x14]
lea eax, [ebp + 0x30]
push 0x44be88
push eax
call fcn.00413770
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x414225
mov eax, dword [eax]
push eax
push 0x80000002
call esi
lea ecx, [ebp + 0x30]
mov ebx, eax
call fcn.00407b10
test ebx, ebx
je 0x414296
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
push 0xd6
push 0x44be9c
lea eax, [ebp + 0x48]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x414291
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414291
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x448]
xor ecx, ebp
call fcn.0042cc35
lea esp, [ebp + 0x44c]
pop ebp
ret