Function at 0x403ca0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x3f2
call fcn.00412eae
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SOFTWARE_rcdrvinfogeniusdog
push 0x80000002
call ebx
test eax, eax
jne 0x403d2d
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.build_no
push ecx
call edi
mov edx, dword [esp + 0x10]
push str.package_time
push edx
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push str.SOFTWARE_rcdrvinfo
push 0x80000002
call ebx
mov edx, dword [esp + 0x10]
push str.geniusdog
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x10]
push eax
call edi
mov eax, dword [0x41d8a8]
cmp eax, 4
jne 0x403d47
push 0
call fcn.00402350
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp eax, 5
jne 0x403d5c
push 1
call fcn.00402350
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp eax, 6
jne 0x403dcc
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call edi
mov ecx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x402
push ecx
call ebx
push 0x7d0
call edi
mov edx, dword [esi + 0x1c]
push 0
push 2
push 0x402
push edx
call ebx
push 0xbb8
call edi
mov eax, dword [esi + 0x1c]
push 0
push 3
push 0x402
push eax
call ebx
push 0xbb8
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 4
push 0x402
push ecx
call ebx
push 0
jmp 0x403ea8
cmp eax, 7
jne 0x403e39
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call edi
mov ecx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x402
push ecx
call ebx
push 0x7d0
call edi
mov edx, dword [esi + 0x1c]
push 0
push 2
push 0x402
push edx
call ebx
push 0xbb8
call edi
mov eax, dword [esi + 0x1c]
push 0
push 3
push 0x402
push eax
call ebx
push 0xbb8
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 4
push 0x402
push ecx
call ebx
push 1
jmp 0x403ea8
cmp eax, 8
jne 0x403f28
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call edi
mov ecx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x402
push ecx
call ebx
push 0x7d0
call edi
mov edx, dword [esi + 0x1c]
push 0
push 2
push 0x402
push edx
call ebx
push 0xbb8
call edi
mov eax, dword [esi + 0x1c]
push 0
push 3
push 0x402
push eax
call ebx
push 0xbb8
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 4
push 0x402
push ecx
call ebx
push 2
call fcn.00402650
mov edx, dword [esi + 0x1c]
add esp, 4
mov ebp, eax
push 0
push 5
push 0x402
push edx
call ebx
push 0x7d0
call edi
mov eax, dword [esi + 0x1c]
push 0
push 6
push 0x402
push eax
call ebx
push 0x7d0
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 7
push 0x402
push ecx
call ebx
push 0x7d0
call edi
mov edx, dword [esi + 0x1c]
push 0
push 8
push 0x402
push edx
call ebx
push 0x7d0
call edi
mov eax, dword [esi + 0x1c]
push 0
push 9
push 0x402
push eax
call ebx
push 0x7d0
call edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret