Function at 0x10067fd4
Capabilities:
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x100a509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.100737d2
mov esi, dword [sym.imp.mfc100.dll_Ordinal_6969]
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x103c56f8
call esi
push 0x32
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x103c57a4
call esi
lea eax, [ebp - 0x38]
push eax
push 0x1009995c
mov esi, 0x1035f028
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 [0x103c9310], 1
je 0x100680ff
push esi
call fcn.10006457
pop ecx
test eax, eax
je 0x10068054
push 1
push esi
call fcn.10006200
jmp 0x1006810e
lea eax, [ebp - 0x6c]
push 0x1009a548
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x100680ed
mov edx, dword [0x2f99460]
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], edi
call fcn.100061d1
test eax, eax
je 0x100680cd
lea esi, [edx + 0x53c]
mov eax, dword [esi]
cmp eax, edi
je 0x100680a9
add eax, 0x64
push eax
push 0x10096478
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x100680c1
inc dword [ebp - 0x1a0]
add esi, 4
call fcn.100061d1
cmp dword [ebp - 0x1a0], eax
jb 0x1006808e
jmp 0x100680cd
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x19c], eax
push dword [ebp - 0x19c]
push edi
push edi
push 0x147
push dword [0x103c57c4]
call ebx
add eax, 9
push eax
call fcn.1003b257
jmp 0x1006810e
push 1
push 0x1008b1d8
call fcn.10006200
pop ecx
pop ecx
test al, al
jne 0x10068110
lea eax, [ebp - 0x38]
push eax
call fcn.10006e29
push eax
call fcn.1003c912
pop ecx
pop ecx
mov eax, dword [0x103c18b4]
cmp eax, 1
jne 0x100681b6
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 0x100681a8
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 0x10068260
cmp eax, 2
jne 0x10068260
lea eax, [ebp - 0xf0]
push eax
movzx eax, byte [0x34cdfc6]
push eax
mov edi, 0x1035ef6c
call fcn.1003db40
lea eax, [ebp - 0xf0]
push 0x2f99cb8
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 [0x100f315c]
call ebx
lea eax, [ebp - 0xf0]
push eax
movzx eax, byte [0x34cdfc6]
push eax
call fcn.1003db40
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x188]
push 0x1009a564
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x188]
push eax
push dword [0x100ded8c]
push 0x2712
push dword [0x100f315c]
call ebx
push 1
push dword [0x100df8d4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10082395
leave
ret