Function at 0x409450
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 0x20], 0x13f
mov dword [ebp - 0x18], 0xcd
mov dword [ebp - 0x88], 0x1cd
mov dword [ebp - 0xa4], 0xfe
mov dword [ebp - 0x98], 0x22c
mov dword [ebp - 0xc], 0x7f
mov dword [ebp - 0x90], 0x2ae
mov dword [ebp - 8], 0x2c1
mov dword [ebp - 0xac], 0x257
mov dword [ebp - 0x5c], 0xf5
mov dword [ebp - 0x10], 0x19e
mov dword [ebp - 0x30], 0x295
mov dword [ebp - 0x34], 0x262
mov dword [ebp - 4], 0x2c0
mov dword [ebp - 0x4c], 0x329
mov dword [ebp - 0xa8], 0x2a5
mov dword [ebp - 0x6c], 0x283
mov dword [ebp - 0x2c], 0x1f4
mov dword [ebp - 0x7c], 0x1bb
mov dword [ebp - 0x58], 0x228
mov dword [ebp - 0x60], 0x2e0
mov dword [ebp - 0x70], 0x9f
mov dword [ebp - 0x14], 0xa6
mov dword [ebp - 0x1c], 0x1d8
mov dword [ebp - 0x8c], 0x2bd
mov eax, dword [ebp - 0x1c]
add eax, 0x189
push eax
mov ecx, dword [ebp - 0x88]
sub ecx, 0x109
push ecx
mov edx, dword [ebp - 0x34]
sub edx, 0x21a
push edx
mov eax, dword [ebp - 0x10]
sub eax, 0xab
push eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0x136
push ecx
mov edx, dword [ebp - 0x8c]
sub edx, 0x80
push edx
mov eax, dword [ebp - 8]
sub eax, 0x292
push eax
call fcn.00419920
add esp, 0x1c
mov dword [ebp - 0x24], 0
jmp 0x409580
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x34]
sub edx, 0x18902
cmp dword [ebp - 0x24], edx
jge 0x4096ce
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x4c]
test eax, eax
je 0x4096c9
mov ecx, dword [ebp - 0x5c]
imul ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4096c9
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x14]
jge 0x4095c1
mov dword [ebp - 0x38], 1
jmp 0x4095c8
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x18]
and eax, dword [ebp - 4]
je 0x4096c9
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x60]
jge 0x4095e8
mov dword [ebp - 0x3c], 1
jmp 0x4095ef
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x2c]
or edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x1c]
jge 0x409603
mov dword [ebp - 0x40], 1
jmp 0x40960a
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x90]
and eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x40]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x94], 0
je 0x4096c9
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 4]
jge 0x409647
mov dword [ebp - 0x44], 1
jmp 0x40964e
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x6c]
jge 0x409668
mov dword [ebp - 0x48], 1
jmp 0x40966f
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x44]
or edx, dword [ebp - 0x48]
je 0x4096c9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jge 0x409688
mov dword [ebp - 0x50], 1
jmp 0x40968f
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x4c]
jge 0x4096a3
mov dword [ebp - 0x54], 1
jmp 0x4096aa
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x50]
and edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
and eax, dword [ebp - 0x2c]
or edx, eax
je 0x4096c9
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
jmp 0x409577
mov dword [ebp - 0x28], 0
jmp 0x4096e0
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x70]
sub eax, 0x1873f
cmp dword [ebp - 0x28], eax
jge 0x409706
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 4]
jge 0x4096fe
mov edx, dword [ebp - 0x30]
sub edx, 1
mov dword [ebp - 0x30], edx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
jmp 0x4096d7
mov eax, dword [ebp - 0x98]
sub eax, 0xaa
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x106
push ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x66
push edx
mov eax, dword [ebp - 0x10]
sub eax, 0x112
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x18c
push ecx
mov edx, dword [ebp + 8]
add edx, 0x1a2
push edx
call fcn.004195f0
add esp, 0x18
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa0]
jge 0x40977a
mov dword [ebp - 0x64], 1
jmp 0x409781
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x60]
xor ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x1c]
jge 0x409795
mov dword [ebp - 0x68], 1
jmp 0x40979c
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x64]
and edx, dword [ebp - 0x68]
je 0x409836
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jge 0x4097b9
mov dword [ebp - 0x74], 1
jmp 0x4097c0
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x70]
jge 0x4097d1
mov dword [ebp - 0x78], 1
jmp 0x4097d8
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0x74]
and edx, dword [ebp - 0x78]
or edx, dword [ebp - 0x7c]
je 0x409836
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jge 0x4097f7
mov dword [ebp - 0x80], 1
jmp 0x4097fe
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0xa8]
jge 0x409818
mov dword [ebp - 0x84], 1
jmp 0x409822
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x80]
and edx, dword [ebp - 0x84]
je 0x409836
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov esp, ebp
pop ebp
ret