Function at 0x10068c61
Capabilities:
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.100744bd
mov esi, dword [sym.imp.mfc100.dll_Ordinal_6969]
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x103c6780
call esi
push 0x32
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x103c682c
call esi
lea eax, [ebp - 0x38]
push eax
push 0x1009ad10
mov esi, 0x103600b0
push esi
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
xor edi, edi
cmp dword [0x103ca398], 1
je 0x10068d8c
push esi
call fcn.10006437
pop ecx
test eax, eax
je 0x10068ce1
push 1
push esi
call fcn.100061e0
jmp 0x10068d9b
lea eax, [ebp - 0x6c]
push 0x1009b8e8
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10068d7a
mov edx, dword [0x3059750]
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], edi
call fcn.100061b1
test eax, eax
je 0x10068d5a
lea esi, [edx + 0x53c]
mov eax, dword [esi]
cmp eax, edi
je 0x10068d36
add eax, 0x64
push eax
push 0x10097788
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10068d4e
inc dword [ebp - 0x1a0]
add esi, 4
call fcn.100061b1
cmp dword [ebp - 0x1a0], eax
jb 0x10068d1b
jmp 0x10068d5a
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x19c], eax
push dword [ebp - 0x19c]
push edi
push edi
push 0x147
push dword [0x103c684c]
call ebx
add eax, 9
push eax
call fcn.1003ba5e
jmp 0x10068d9b
push 1
push 0x1008c1c8
call fcn.100061e0
pop ecx
pop ecx
test al, al
jne 0x10068d9d
lea eax, [ebp - 0x38]
push eax
call fcn.10006e2e
push eax
call fcn.1003d121
pop ecx
pop ecx
mov eax, dword [0x103c293c]
cmp eax, 1
jne 0x10068e43
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - 0x198], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 2
pop esi
cmp dword [ebp - 0x188], esi
jne 0x10068e35
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x19c]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x1a4]
push eax
push str.SeShutdownPrivilege
push edi
mov dword [ebp - 0x100], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x1a4]
push edi
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x1a0]
push edi
push edi
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x100]
push eax
push edi
push dword [ebp - 0x19c]
mov dword [ebp - 0xf4], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push edi
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x10068eed
cmp eax, 2
jne 0x10068eed
lea eax, [ebp - 0xf0]
push eax
movzx eax, byte [0x358e586]
push eax
mov edi, 0x1035fff4
call fcn.1003e384
lea eax, [ebp - 0xf0]
push 0x3059968
push eax
call dword [sym.imp.MSVCR100.dll_strcat]
add esp, 0x10
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x291
push dword [0x100f415c]
call ebx
lea eax, [ebp - 0xf0]
push eax
movzx eax, byte [0x358e586]
push eax
call fcn.1003e384
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x188]
push 0x1009b904
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x188]
push eax
push dword [0x100dfd8c]
push 0x2712
push dword [0x100f415c]
call ebx
push 1
push dword [0x100e08d4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret