Function at 0x43e1b0
Capabilities:
Enumerate processes
Shutdown system
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x4a0deb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4d6720]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x264]
mov dword [esp + 0x18], esi
mov dword [esi], 0
call fcn.0043c5b0
call fcn.00468b49
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e21b
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x25c]
mov dword [esp + 0x254], 0
mov ecx, 0x4ab048
test edi, edi
jne 0x43e24b
mov ecx, 0x4ab078
mov ebp, dword [esp + 0x260]
mov eax, str.Log_off_User
test ebp, ebp
jne 0x43e260
mov eax, 0x4ac2b8
push ecx
push eax
lea ecx, [esp + 0x1c]
push str.___Perfoming_power_operation:__s__Forced:__s
push ecx
call fcn.00404580
mov edx, dword [esp + 0x24]
push 0
push edx
push 0
call fcn.0042fc90
add esp, 0x1c
cmp dword [0x4d7de4], 0
je 0x43e359
call fcn.00439070
test eax, eax
jne 0x43e2ac
push 0xaf
push str.CWakeOnStandbyDlg::MySystemShutdown.AdjustShutdownPrivileges
push 4
call fcn.0042fc90
add esp, 0xc
mov ebx, dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, ebp
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
neg edi
sbb edi, edi
and edi, 4
mov esi, edi
mov ecx, edi
push 0
or ecx, eax
push ecx
call ebx
test eax, eax
jne 0x43e45f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov edx, dword [esp + 0x18]
push eax
push str.CWakeOnStandbyDlg::MySystemShutdown.ExitWindowsEx.EWX_POWEROFF
push 3
mov dword [edx], eax
call fcn.0042fc90
add esp, 0xc
xor eax, eax
test ebp, ebp
sete al
push 0x80040000
or esi, eax
push esi
call ebx
test eax, eax
jne 0x43e45f
call edi
mov ecx, dword [esp + 0x18]
push eax
push str.CWakeOnStandbyDlg::MySystemShutdown.ExitWindowsEx.EWX_SHUTDOWN
push 3
mov dword [ecx], eax
call fcn.0042fc90
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x254], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x43e48f
test edi, edi
je 0x43e406
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43e406
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43e3ff
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43e3dd
dec eax
cmp word [esp + eax*2 + 0x40], 0x5c
jne 0x43e3a1
lea eax, [esp + eax*2 + 0x42]
push eax
push str.explorer.exe
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43e3dd
mov ecx, dword [esp + 0x24]
push ecx
push eax
push 0x1f0fff
call ebp
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x1c]
push edx
push ebx
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43e392
mov ebp, dword [esp + 0x260]
mov esi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg edi
sbb edi, edi
xor eax, eax
and edi, 4
test ebp, ebp
sete al
push 0
or edi, eax
push edi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x43e45f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CWakeOnStandbyDlg::MySystemShutdown.ExitWindowsEx__Win9x_
push 3
mov dword [esi], eax
call fcn.0042fc90
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x254], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43e346
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x254], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e48a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.00482b5f
add esp, 0x244
ret