Function at 0x52a54c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x52a555
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52a964
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
mov edx, 0x52a980
call fcn.004043b4
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x52a932
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ec118]
call fcn.004ec600
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x41ac70]
call fcn.004034b8
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41b000]
call fcn.00420548
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x41ac70]
call fcn.004034b8
mov dword [ebp - 0x20], eax
mov edx, 0x50
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.004eda88
lea eax, [ebp - 0xc]
mov edx, 0x52a98c
call fcn.004043b4
xor eax, eax
push ebp
push 0x52a860
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [0x534174]
mov ecx, dword [ecx]
lea eax, [ebp - 0x34]
mov edx, 0x52a9c0
call fcn.00404638
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.004ee1f4
add eax, 0x24
mov edx, 0x52a9d0
call fcn.00404370
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004ec924
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 4]
call fcn.004043b4
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
call fcn.004f0b64
test al, al
jne 0x52a68c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403d60
jmp 0x52a939
lea ecx, [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x28]
call fcn.00408c64
lea ecx, [ebp - 0x3c]
mov edx, 1
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x2c]
call fcn.00408c64
lea ecx, [ebp - 0x40]
mov edx, 2
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x30]
call fcn.00408c64
mov eax, dword [ebp - 0x28]
mov edx, 0x52a9fc
call fcn.00404738
jne 0x52a715
mov eax, dword [ebp - 0x2c]
mov edx, 0x52aa0c
call fcn.00404738
jne 0x52a6fd
mov byte [ebx], 1
jmp 0x52a700
mov byte [ebx], 0
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.00409074
mov dword [esi], eax
mov byte [ebp - 5], 1
jmp 0x52a853
mov eax, dword [ebp - 0x28]
mov edx, 0x52aa18
call fcn.00404738
jne 0x52a750
mov eax, dword [ebp - 0x2c]
mov edx, 0x52aa0c
call fcn.00404738
jne 0x52a738
mov byte [ebx], 1
jmp 0x52a73b
mov byte [ebx], 0
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.00409074
mov dword [esi], eax
mov byte [ebp - 5], 1
jmp 0x52a853
mov eax, dword [ebp - 0x28]
mov edx, 0x52aa28
call fcn.00404738
jne 0x52a7c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, dword [eax]
call dword [edx + 0x44]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x529560]
call fcn.0047aaa4
mov ebx, eax
mov ecx, dword [0x534174]
mov ecx, dword [ecx]
lea eax, [ebp - 0x44]
mov edx, 0x52aa38
call fcn.00404638
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x2fc]
call fcn.00462338
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, dword [ebp - 4]
mov byte [eax + 0x3e0], 1
mov eax, dword [ebp - 4]
call fcn.0047ec54
jmp 0x52a853
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov edx, dword [eax]
call dword [edx + 0x44]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x529560]
call fcn.0047aaa4
mov ebx, eax
mov ecx, dword [0x534174]
mov ecx, dword [ecx]
lea eax, [ebp - 0x48]
mov edx, 0x52aa38
call fcn.00404638
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x2fc]
call fcn.00462338
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, 0x52aa4c
call fcn.00404738
je 0x52a836
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, 0x52aa5c
call fcn.00404738
jne 0x52a853
mov eax, dword [ebp - 4]
mov byte [eax + 0x3e0], 1
mov eax, 0x52aa6c
call fcn.004f0ad4
push 0
push 0
call sub.user32.dll_ExitWindowsEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52a8fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a939
mov eax, dword [ebp - 0x10]
call fcn.004034e8
mov eax, dword [ebp - 0x14]
call fcn.004034e8
mov eax, dword [ebp - 0x20]
call fcn.004034e8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x58]
mov eax, dword [ebp - 0x18]
call fcn.004034e8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a96b
lea eax, [ebp - 0x4c]
mov edx, 0xb
call fcn.00404340
lea eax, [ebp - 0x1c]
call fcn.0040431c
lea eax, [ebp - 0xc]
call fcn.0040431c
ret