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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7888
push 0x1002d234
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 edi, eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x20]
cmp ecx, 3
ja case.default.0x10014d42
jmp dword [ecx*4 + 0x10014e9c]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
mov esi, dword [ebp + 0xc]
push esi
mov eax, dword [ebp + 8]
push eax
call ebx
test eax, eax
jne case.default.0x10014d42
jmp 0x10014d71
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
push ecx
push 0x2001f
push 0
push esi
mov edx, dword [ebp + 8]
push edx
call edi
test eax, eax
je 0x10014dab
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push esi
mov edx, dword [ebp + 8]
push edx
call ebx
test eax, eax
jne case.default.0x10014d42
mov edx, dword [ebp + 0x14]
test edx, edx
jbe case.default.0x10014d42
cmp edx, 2
jbe 0x10014de4
cmp edx, 4
jne case.default.0x10014d42
push edx
lea eax, [ebp + 0x1c]
push eax
push edx
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x10014d42
jmp 0x10014e60
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 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.0x10014d42
jmp 0x10014e60
lea edx, [ebp - 0x38]
push edx
push 0x2001f
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call edi
test eax, eax
jne case.default.0x10014d42
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x10014d42
jmp 0x10014e60
lea ecx, [ebp - 0x38]
push ecx
push 0x2001f
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call edi
test eax, eax
jne case.default.0x10014d42
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne case.default.0x10014d42
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.10014e87
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