Function at 0x4258c0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4e4d4c
call fcn.004afe60
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x30], ecx
inc edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x34], ebx
call fcn.00446250
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x30]
push edi
mov dword [ebp - 0x3c], eax
push ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.00453300
mov eax, dword [ebp - 0x28]
mov dword [ebp + 8], eax
mov byte [ebp - 0x1c], bl
jmp 0x4259b2
push 6
lea eax, [ebp + 8]
push eax
push str.force
call fcn.00448570
add esp, 0xc
test al, al
je 0x425934
or byte [ebp - 0x1c], 1
jmp 0x4259af
push 5
push dword [ebp + 8]
push 0x4f19e8
call fcn.00440450
add esp, 0xc
test al, al
jne 0x425a3c
push 0xa
push dword [ebp + 8]
push str.exitcode
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x425995
add dword [ebp + 8], 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
movzx eax, word [eax]
push eax
call fcn.00422795
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449a90
add esp, 0xc
cmp byte [ebp - 0xd], bl
je 0x4259af
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
jmp 0x4259af
push 9
lea eax, [ebp + 8]
push eax
push str.explorer
call fcn.00448570
add esp, 0xc
test al, al
je 0x4259bc
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x425917
mov esi, 0x5194ec
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 0x8000
call fcn.004227c3
cmp byte [ebp - 0x1c], bl
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 2
jne 0x4259f2
push esi
mov dword [ebp - 0x18], ebx
call edi
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
jne 0x425ab9
add dword [ebp + 8], 2
lea ecx, [ebp + 8]
call fcn.0041d38d
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.00422795
add esp, 4
test al, al
jne 0x425a8a
lea ecx, [ebp - 0x1c]
call fcn.004227f7
cmp dword [ebp - 0x18], ebx
je 0x425a32
push dword [ebp - 0x18]
call edi
mov ebx, 0x80070057
jmp 0x425b66
mov esi, 0x5194ec
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x519468], 8
jne 0x425a66
or byte [0x519468], 8
push 2
push str.SeShutdownPrivilege
call fcn.00420c19
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.004227c3
push ebx
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
lea ecx, [ebp - 0x38]
call fcn.004227f7
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x425b66
mov ax, word [ecx]
cmp ax, bx
je 0x425aa5
cmp ax, 0x30
jb 0x425a9e
cmp ax, 0x39
jbe 0x425aa5
inc ecx
inc ecx
mov dword [ebp + 8], ecx
jmp 0x425a8a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00449a90
pop ecx
pop ecx
mov dword [ebp + 8], ebx
jmp 0x425af5
push dword [ebp + 8]
call fcn.0041e7c0
push eax
call fcn.0042063d
pop ecx
mov dword [ebp + 8], eax
cmp word [eax], bx
pop ecx
je 0x425a20
cmp dword [ebp + 8], ebx
je 0x425aed
push ebx
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call fcn.0042532c
add esp, 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x3c], eax
je 0x425b24
cmp dword [ebp - 0x14], ebx
je 0x425b24
push dword [ebp - 0x14]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x425b24
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x425b1d
mov dword [ebp - 0x38], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x425b51
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x425b51
cmp dword [ebp - 0x34], eax
jne 0x425b3f
mov ecx, dword [ebp - 0x30]
push 1
call fcn.0041ecf1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x34], eax
jle 0x425b51
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], ebx
jg 0x425ad5
lea ecx, [ebp - 0x1c]
call fcn.004227f7
cmp dword [ebp - 0x18], ebx
je 0x425b63
push dword [ebp - 0x18]
call edi
mov ebx, dword [ebp - 0x38]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043f290
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4