Function at 0x4a4800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9a0a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [0x5025fc]
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push str.Shutdown_options
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0
call dword [0x503804]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.Use_Windows_authentification
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov ecx, dword [esi + 4]
mov edi, dword [0x503868]
push eax
mov dword [ebp - 4], 1
call edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.User_name:
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov ecx, dword [esi + 0xc]
mov esi, dword [0x5038c0]
push eax
mov dword [ebp - 4], 2
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.Password:
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 4], 3
mov ecx, dword [ecx + 0x10]
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.Timeout__sec_:
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 4
mov ecx, dword [eax + 0x1c]
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.Message:
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 5
mov ecx, dword [eax + 0x28]
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.Forced_shutdown
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov esi, dword [ebp - 0x10]
push eax
mov dword [ebp - 4], 6
mov ecx, dword [esi + 0x30]
call edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.Reboot
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov ecx, dword [esi + 0x34]
push eax
mov dword [ebp - 4], 7
call edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push str.Shutdown
lea eax, [ebp + 8]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov ecx, dword [esi + 0x40]
push eax
mov dword [ebp - 4], 8
call edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
push 0xffffffffffffffff
push 0
push 0x5086e4
lea eax, [ebp - 0x18]
push 0x50f8ac
push eax
call ebx
add esp, 0x14
mov dword [ebp - 4], 9
push eax
mov ecx, dword [esi + 0x44]
call edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4