Function at 0x10003160
Capabilities:
Delete registry key
Delete registry value
Get common file path
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22f0
call fcn.1000b940
mov dword [ebp - 0x22f0], ecx
mov byte [ebp - 0x115], 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x114], 0x104
mov eax, dword [ebp - 0x22f0]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x100034cd
mov edx, dword [ebp - 0x22f0]
movzx eax, byte [edx + 9]
test eax, eax
je 0x10003220
push 0x1000e248
lea ecx, [ebp - 0x418]
call fcn.10002a50
mov dword [ebp - 0x1150], eax
mov dword [ebp - 0x428], 0x80000001
cmp dword [ebp - 0x1150], 0
je 0x100031f2
mov ecx, dword [ebp - 0x1150]
push ecx
lea edx, [ebp - 0x528]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x1154], 0
push str.MSSMSGS
lea eax, [ebp - 0x528]
push eax
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov dword [ebp - 0x1154], eax
jmp 0x100034cd
mov edx, dword [ebp - 0x22f0]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x10003299
push 0x1000e248
lea ecx, [ebp - 0x418]
call fcn.10002a50
mov dword [ebp - 0x1a20], eax
mov dword [ebp - 0x530], 0x80000001
cmp dword [ebp - 0x1a20], 0
je 0x1000326b
mov ecx, dword [ebp - 0x1a20]
push ecx
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x1a24], 0
push str.MSSMSGS
lea eax, [ebp - 0x630]
push eax
mov ecx, dword [ebp - 0x530]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov dword [ebp - 0x1a24], eax
jmp 0x100034cd
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push 0x1000e10c
lea ecx, [ebp - 0x418]
call fcn.10002a50
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100032cb
xor al, al
jmp 0x10003651
lea eax, [ebp - 0x638]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100034c3
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 8
jne 0x10003366
movsx ecx, byte [ebp - 0x110]
cmp ecx, 0x77
jne 0x10003366
movsx edx, byte [ebp - 0x10f]
cmp edx, 0x69
jne 0x10003366
movsx eax, byte [ebp - 0x10e]
cmp eax, 0x6e
jne 0x10003366
movsx ecx, byte [ebp - 0x10a]
cmp ecx, 0x33
jne 0x10003366
movsx edx, byte [ebp - 0x109]
cmp edx, 0x32
je 0x1000336b
jmp 0x100032cb
mov dword [ebp - 0x874], 0
lea eax, [ebp - 0x874]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000339d
jmp 0x100032cb
mov dword [ebp - 0x884], 0x20
lea eax, [ebp - 0x884]
push eax
lea ecx, [ebp - 0x658]
push ecx
push 0
push 0
push 0x1000e288
lea ecx, [ebp - 0x418]
call fcn.10002a50
push eax
mov edx, dword [ebp - 0x874]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100033ed
mov eax, dword [ebp - 0x874]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100032cb
mov ecx, dword [ebp - 0x874]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea edx, [ebp - 0x868]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x10003415
jmp 0x100032cb
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x868]
push ecx
push str._s_s
lea edx, [ebp - 0x760]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x760]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x870], eax
cmp dword [ebp - 0x870], 0
jne 0x10003459
jmp 0x100032cb
mov dword [ebp - 0x880], str.inst
mov dword [ebp - 0x87c], 0x1000d1dc
mov dword [ebp - 0x878], 0x1000d1d8
mov byte [ebp - 0x869], 1
mov ecx, dword [ebp - 0x870]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx edx, byte [ebp - 0x869]
test edx, edx
je 0x100034be
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x100034b7
mov dword [ebp - 0x41c], 0
jmp 0x100034be
mov byte [ebp - 0x115], 0
jmp 0x100032cb
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x22f0]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x1000350f
lea edx, [ebp - 4]
push edx
push 0x2001f
push 0
push 0x1000e080
lea ecx, [ebp - 0x418]
call fcn.10002a50
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000350d
xor al, al
jmp 0x10003651
jmp 0x10003541
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x1000e080
lea ecx, [ebp - 0x418]
call fcn.10002a50
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10003541
xor al, al
jmp 0x10003651
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x114], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x10003641
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x114], 0x104
push 0x1000e2c0
lea ecx, [ebp - 0x418]
call fcn.10002a50
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000360f
push 0x1000e368
mov ecx, dword [ebp - 0x22f0]
add ecx, 0x128
call fcn.10002a50
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000360f
push 0x1000e370
mov ecx, dword [ebp - 0x22f0]
add ecx, 0x128
call fcn.10002a50
push eax
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10003614
jmp 0x10003555
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10003635
mov dword [ebp - 0x41c], 0
jmp 0x1000363c
mov byte [ebp - 0x115], 0
jmp 0x10003555
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x115]
mov esp, ebp
pop ebp
ret