Function at 0x4bd170
Capabilities:
Get common file path
Persist via winlogon helper dll registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc1a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 0x100
mov dword [ebp - 4], ebx
xor esi, esi
call fcn.004f266a
add esp, 4
mov edi, eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x18], edi
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonNotify
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4bd3c3
push 0
push 0
mov eax, 0x80
push 0
lea edx, [ebp - 0x28]
push 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push edx
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc esi
cmp eax, 0x103
mov dword [ebp - 0x24], esi
je 0x4bd3c3
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
push 0xf003f
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
push ecx
push edx
push 0
push str.DllName
push eax
mov dword [ebp - 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4bd362
lea ecx, [ebp - 0x12c]
push str.crypt32.dll
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4bd1e1
lea edx, [ebp - 0x12c]
push str.cryptnet.dll
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4bd1e1
lea eax, [ebp - 0x12c]
push str.cscdll.dll
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4bd1e1
lea ecx, [ebp - 0x12c]
push str.igfxsrvc.dll
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4bd1e1
lea edx, [ebp - 0x12c]
push str.wlnotify.dll
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4bd1e1
lea eax, [ebp - 0x12c]
push str.sclgntfy.dll
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x4bd1e1
mov edx, dword [ebp + 8]
lea ecx, [ebx + ebx*2]
shl ecx, 7
push edi
push str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonNotify_s
lea esi, [ecx + edx]
push esi
call fcn.004f175f
lea eax, [ebp - 0x12c]
push 0x5147e0
push eax
call fcn.004f2d80
add esp, 0x14
test eax, eax
je 0x4bd33e
lea edi, [ebp - 0x12c]
lea edx, [esi + 0x80]
jmp 0x4bd388
lea ecx, [ebp - 0x12c]
lea edx, [ebp - 0x1ac]
push ecx
push edx
add esi, 0x80
push str._s_s
push esi
call fcn.004f175f
add esp, 0x10
jmp 0x4bd3a8
mov ecx, dword [ebp + 8]
lea eax, [ebx + ebx*2]
shl eax, 7
push edi
push str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonNotify_s
lea esi, [eax + ecx]
push esi
call fcn.004f175f
add esp, 0xc
lea edx, [esi + 0x80]
mov edi, str.NULL
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, 0x100
je 0x4bd3c3
mov esi, dword [ebp - 0x24]
jmp 0x4bd1e1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
push edi
mov dword [eax], ebx
call fcn.004f265f
add esp, 4
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret