Function at 0x416ab9
Capabilities:
Delete registry value
Persist via run registry key
Persist via winlogon helper dll registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov eax, 0x2044
call fcn.00424e30
sub esp, eax
mov dword [esp], 0xf003f
call fcn.00411563
lea edx, [ebp - 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call eax
sub esp, 0x14
test eax, eax
sete al
test al, al
je 0x416cdb
mov dword [ebp - 0x2020], 0
lea edx, [ebp - 0x201c]
mov eax, 0
mov ecx, 0x3ff
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x1000
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x2020]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.UserInit
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call eax
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1020]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov dword [esp + 4], 0x4494d7
lea eax, [ebp - 0x2020]
mov dword [esp], eax
call sub.msvcrt.dll_strtok
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x416c5d
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x416be3
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll_tolower]
call eax
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, ecx
mov byte [eax], dl
add dword [ebp - 0x10], 1
jmp 0x416baa
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x416c41
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x416c41
lea eax, [ebp - 0x1020]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x1020]
add eax, edx
mov word [eax], 0x2c
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1020]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
mov dword [esp + 4], 0x4494d7
mov dword [esp], 0
call sub.msvcrt.dll_strtok
mov dword [ebp - 0xc], eax
jmp 0x416b99
lea eax, [ebp - 0x1020]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1020]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Userinit
mov dword [esp], edx
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x416cbd
mov byte [0x46703c], 1
mov dword [esp], str.__ERROR:_Cannot_set_registry_entry_userinit
call fcn.00411655
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov dword [esp], str.Configured_winlogon
call fcn.00411655
jmp 0x416cee
mov byte [0x46703c], 1
mov dword [esp], str.__Cannot_configure_winlogon
call fcn.00411655
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call eax
sub esp, 0x14
test eax, eax
sete al
test al, al
je 0x416d51
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], str.PasswordBank_SingleSignOn_Client
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call eax
sub esp, 8
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
jmp 0x416d5d
mov dword [esp], str.Unable_to_register_SoffidESSO_n
call fcn.00411655
nop
mov edi, dword [ebp - 4]
leave
ret