Function at 0x10017030
Capabilities:
Contain obfuscated stackstrings
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc930
push 0x10030e04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov byte [ebp - 0x28], 0x52
mov al, 0x65
mov byte [ebp - 0x27], al
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0x4b
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0x79
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1b], 0x78
mov byte [ebp - 0x1a], 0x41
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x28]
push eax
push str.ADVAPI32.dll
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov ebx, eax
push str.RegOpenKeyExA
push str.ADVAPI32.dll
call esi
push eax
call edi
mov esi, eax
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x100170d2
jmp dword [eax*4 + 0x10017208]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
push edi
push 0xf003f
push edi
push edi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call ebx
test eax, eax
jne case.default.0x100170d2
lea edx, [ebp - 0x38]
push edx
push 0x2001f
push edi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call esi
test eax, eax
jne case.default.0x100170d2
mov edx, dword [ebp + 0x14]
cmp edx, edi
jbe case.default.0x100170d2
cmp edx, 2
jbe 0x10017151
cmp edx, 4
jne case.default.0x100170d2
push edx
lea edx, [ebp + 0x1c]
push edx
push 4
push edi
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x100170d2
jmp 0x100171cd
mov esi, dword [ebp + 0x18]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x100170d2
jmp 0x100171cd
lea ecx, [ebp - 0x38]
push ecx
push 0x2001f
push edi
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call esi
test eax, eax
jne case.default.0x100170d2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x100170d2
jmp 0x100171cd
lea eax, [ebp - 0x38]
push eax
push 0x2001f
push edi
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call esi
test eax, eax
jne case.default.0x100170d2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne case.default.0x100170d2
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.100171f4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret