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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e7d0
push 0x409198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov byte [ebp - 0x28], 0x52
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x4b
mov byte [ebp - 0x1e], 0x65
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 0x4115cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
push 0x4115dc
push 0x4115ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 3
ja case.default.0x4084f8
mov edx, dword [ebp - 0x40]
jmp dword [edx*4 + 0x408660]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x3c]
test eax, eax
je case.0x4084f8.1
jmp case.default.0x4084f8
lea ecx, [ebp - 0x38]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x408547
jmp case.default.0x4084f8
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
jbe 0x4085bb
cmp dword [ebp - 0x44], 2
jbe 0x408561
cmp dword [ebp - 0x44], 4
je 0x408596
jmp 0x4085bb
mov edx, dword [ebp + 0x18]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
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 0x408594
mov dword [ebp - 0x2c], 1
jmp 0x4085bb
push 4
lea ecx, [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
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 0x4085bb
mov dword [ebp - 0x2c], 1
jmp case.default.0x4084f8
lea edx, [ebp - 0x38]
push edx
push 0x2001f
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x34]
test eax, eax
je 0x4085d9
jmp case.default.0x4084f8
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 0x4085f2
mov dword [ebp - 0x2c], 1
jmp case.default.0x4084f8
lea ecx, [ebp - 0x38]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x408610
jmp case.default.0x4084f8
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.0x4084f8
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.00408637
jmp 0x40864c
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