Function at 0x4b3170
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4b3178
push ebx
push esi
push edi
mov ebx, 0x4c241c
xor eax, eax
push ebp
push 0x4b3635
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4b35fe
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
lea edx, [ebp - 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 0x31c]
call fcn.0044719c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408bf8
push dword [ebp - 0x14]
push 0x4b3650
lea eax, [ebp - 0x1c]
call fcn.004b97f8
push dword [ebp - 0x1c]
push 0x4b3650
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404be8
push dword [ebp - 0x10]
push dword [0x4c3bcc]
push 0x4b3650
push dword [0x4c3bd0]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404be8
lea ecx, [ebp - 0xc]
mov edx, 0x4b365c
mov eax, dword [ebp - 0x10]
call fcn.00468ef8
push dword [0x4c3bc8]
push 0x4b367c
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404be8
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
xor edx, edx
push ebp
push 0x4b329c
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x416808]
call fcn.0041b4e0
mov dword [ebp - 8], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4af4d4]
call fcn.004af9bc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x9c], 0x4e20
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004afae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b32df
lea eax, [ebp - 4]
call fcn.0040e398
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
mov eax, dword [0x4c3c38]
mov dword [0x4c3c40], eax
mov eax, dword [0x4c3c3c]
mov dword [0x4c3c44], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3694
call fcn.00404e6c
test eax, eax
jle 0x4b3336
lea eax, [ebp - 8]
call fcn.0040e398
mov eax, 0x4b36ac
call fcn.0042d714
call fcn.004046f4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b36c8
call fcn.00404e6c
test eax, eax
jle 0x4b3361
lea eax, [ebp - 8]
call fcn.0040e398
mov eax, 0x4b36dc
call fcn.0042d714
call fcn.004046f4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b36fc
call fcn.00404e6c
test eax, eax
jle 0x4b3398
lea eax, [ebp - 8]
call fcn.0040e398
mov eax, 0x4b370c
call fcn.0042d714
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466cd8
call fcn.004b9578
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3728
call fcn.00404e6c
test eax, eax
jle 0x4b33d3
lea eax, [ebp - 8]
call fcn.0040e398
mov dl, 1
mov eax, 0x4b3738
call fcn.004b93c0
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
call fcn.004046f4
call fcn.004b9578
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3754
call fcn.00404e6c
test eax, eax
jle 0x4b3442
lea eax, [ebp - 8]
call fcn.0040e398
mov eax, dword [ebx]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b3412
mov eax, 0x4b3768
call fcn.0042d714
call fcn.004046f4
mov eax, dword [ebx]
mov eax, dword [eax + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4b3442
mov dl, 1
mov eax, 0x4b3738
call fcn.004b93c0
push 0
push 0xd
call sub.user32.dll_ExitWindowsEx
mov eax, dword [ebx]
call fcn.0046353c
mov eax, dword [ebx]
mov eax, dword [eax + 0x33c]
xor edx, edx
call fcn.004471cc
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3650
call fcn.00404e6c
mov ecx, eax
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, 1
call fcn.00404d88
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov eax, dword [eax + 0x338]
call fcn.004471cc
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3780
call fcn.00404e6c
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3650
call fcn.00404e6c
sub esi, eax
dec esi
push esi
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3650
call fcn.00404e6c
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
pop ecx
call fcn.00404d88
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
call fcn.004471cc
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b378c
call fcn.00404e6c
mov esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3780
call fcn.00404e6c
sub esi, eax
dec esi
push esi
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3780
call fcn.00404e6c
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
pop ecx
call fcn.00404d88
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx]
mov eax, dword [eax + 0x33c]
call fcn.004471cc
push 0x4c3bd8
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3798
call fcn.00404e6c
inc eax
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00404b28
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
pop edx
call fcn.00404d88
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b3798
call fcn.00404e6c
mov esi, eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00408bf8
mov edx, dword [ebp - 0x30]
mov eax, 0x4b378c
call fcn.00404e6c
sub esi, eax
sub esi, 2
push esi
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, 0x4b378c
call fcn.00404e6c
mov edx, eax
add edx, 2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
pop ecx
call fcn.00404d88
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x358]
call fcn.004471cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3605
lea eax, [ebp - 4]
call fcn.0040e398
lea eax, [ebp - 8]
call fcn.0040e398
mov eax, dword [0x4c01c4]
mov eax, dword [eax]
call fcn.00466a40
mov bl, 1
ret