Function at 0x10009d50
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x1001ac41
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10023050]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
mov eax, dword [0x10023050]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.100044b0
xor ebx, ebx
push str.DATARRV
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebx + 9]
mov dword [esp + 0x138], ebx
call fcn.1000c3c0
mov edx, dword [esp + 0x10]
push ebx
push 1
push edx
call fcn.100172c0
add esp, 0xc
mov esi, 0x10023490
test eax, eax
jne 0x10009dd8
mov eax, dword [esp + 0x10]
push eax
push str.DeletePath__s_Failed
push ebx
push 4
jmp 0x10009de8
mov ecx, dword [esp + 0x10]
push ecx
push str.DeletePath__s_Sucess
push ebx
push 0x80
call fcn.10003ad0
add esp, 0x10
push 0x103
lea edx, [esp + 0x21]
push ebx
push edx
mov byte [esp + 0x28], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x1c]
call fcn.1000cae0
mov esi, 0x10023490
cmp eax, ebx
jne 0x10009e5b
push str.GetProgramsDir_error_the_subkey
push ebx
push 4
call fcn.10003ad0
mov dword [esp + 0x13c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009e54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x1000a03f
lea ecx, [esp + 0x1c]
push ecx
push str.GetszProgramsDir_is__s
push ebx
push 0x80
call fcn.10003ad0
add esp, 0x10
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
call fcn.100044b0
push str.RisingRRV
lea eax, [esp + 0x10]
push eax
mov edx, 0xb
mov byte [esp + 0x138], 1
call fcn.1000c3c0
mov ecx, dword [esp + 0xc]
push ebx
push 1
push ecx
call fcn.100172c0
add esp, 0xc
mov esi, 0x10023490
test eax, eax
jne 0x10009ec5
mov edx, dword [esp + 0xc]
push edx
push str.DeletePath__s_Failed
push ebx
push 4
jmp 0x10009ed5
mov eax, dword [esp + 0xc]
push eax
push str.DeletePath__s_Sucess
push ebx
push 0x80
call fcn.10003ad0
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.100044b0
push str.BackupRRV
lea edx, [esp + 0x18]
push edx
mov edx, 0xb
mov byte [esp + 0x138], 2
call fcn.1000c3c0
mov eax, dword [esp + 0x14]
push ebx
push 1
push eax
call fcn.100172c0
add esp, 0xc
mov esi, 0x10023490
test eax, eax
jne 0x10009f2d
mov ecx, dword [esp + 0x14]
push ecx
push str.DeletePath__s_Failed
push ebx
push 4
jmp 0x10009f3d
mov edx, dword [esp + 0xc]
push edx
push str.DeletePath__s_Sucess
push ebx
push 0x80
call fcn.10003ad0
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10009fc0
mov ecx, dword [esp + 0x18]
push 0x1001daf8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x10009f96
push str.RegDeleteKEy_RRV_Sucess
push ebx
push 0x80
mov esi, 0x10023490
call fcn.10003ad0
add esp, 0xc
jmp 0x10009fb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegDeleteKEy_RRV_Failed_Err_d
push ebx
push 0x80
mov esi, 0x10023490
call fcn.10003ad0
add esp, 0x10
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x130], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009fe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a00f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a03a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.100192c6
add esp, 0x128
ret