Function at 0x41f835
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], ecx
inc edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], ebx
call fcn.0042e1c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x18]
push edi
mov dword [ebp - 0x2c], eax
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00437546
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], eax
mov cx, word [eax]
cmp cx, 0x2d
mov byte [ebp - 0x10], bl
mov dl, 0x2a
mov byte [ebp - 1], bl
jne 0x41f88d
mov dl, cl
movsx esi, dl
movzx eax, cx
cmp esi, eax
jne 0x41f9e2
add dword [ebp + 8], 2
je 0x41f9bc
push 5
lea eax, [ebp + 8]
push eax
push 0x48803c
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41f8c2
or byte [ebp - 0x10], 1
jmp 0x41f921
push 4
push dword [ebp + 8]
push str.svr2
call fcn.0042996a
add esp, 0xc
test al, al
jne 0x41f96d
push 9
push dword [ebp + 8]
push str.exitcode
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x41f934
add dword [ebp + 8], 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
movzx eax, word [eax]
push eax
call fcn.0040fd8a
mov bl, al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00430ad7
add esp, 0xc
test bl, bl
je 0x41f91f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
movzx eax, word [eax]
cmp esi, eax
je 0x41f89b
jmp 0x41f9bc
push 8
lea eax, [ebp + 8]
push eax
push str.explorer
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41f950
mov dword [ebp - 0x14], edi
jmp 0x41f921
push 3
lea eax, [ebp + 8]
push eax
push 0x488010
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41f9b8
mov byte [ebp - 1], 1
jmp 0x41f921
mov esi, 0x49b604
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x49b1c8], 8
jne 0x41f997
or byte [0x49b1c8], 8
push 2
push str.SeShutdownPrivilege
call fcn.0040e27e
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00402b36
push ebx
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
lea ecx, [ebp - 0x28]
call fcn.0040fdb8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41f9db
sub dword [ebp + 8], 2
cmp byte [ebp - 1], 0
je 0x41f9e2
push 6
pop ecx
mov esi, str.26:INDATA
lea edi, [ebp - 0x44]
lea eax, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0041e615
xor esi, esi
jmp 0x41fb33
mov esi, 0x49b604
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], 0x8000
call fcn.00402b36
cmp byte [ebp - 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x41fa15
push esi
mov dword [ebp - 0xc], ebx
call edi
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
jne 0x41fa8a
add dword [ebp + 8], 2
lea ecx, [ebp + 8]
call fcn.0040ac34
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.0040fd8a
add esp, 4
test al, al
jne 0x41fa5b
lea ecx, [ebp - 0x10]
call fcn.0040fdb8
cmp dword [ebp - 0xc], ebx
je 0x41fa51
push dword [ebp - 0xc]
call edi
mov esi, 0x80070057
jmp 0x41fb33
mov ax, word [ecx]
cmp ax, bx
je 0x41fa76
cmp ax, 0x30
jb 0x41fa6f
cmp ax, 0x39
jbe 0x41fa76
inc ecx
inc ecx
mov dword [ebp + 8], ecx
jmp 0x41fa5b
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00430ad7
pop ecx
pop ecx
mov dword [ebp + 8], ebx
jmp 0x41fac2
push dword [ebp + 8]
call fcn.0040bf57
push eax
call fcn.0040dca1
pop ecx
mov dword [ebp + 8], eax
cmp word [eax], bx
pop ecx
je 0x41fa3f
cmp dword [ebp + 8], ebx
je 0x41faba
push ebx
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call fcn.00412e7d
add esp, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x2c], eax
je 0x41faf1
cmp dword [ebp - 8], ebx
je 0x41faf1
push dword [ebp - 8]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x41faf1
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x41faea
mov dword [ebp - 0x28], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x41fb1e
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x41fb1e
cmp dword [ebp - 0x24], eax
jne 0x41fb0c
mov ecx, dword [ebp - 0x18]
push 1
call fcn.0040c4a3
mov eax, dword [ebp - 8]
cmp eax, ebx
mov dword [ebp - 0x24], eax
jle 0x41fb1e
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jg 0x41faa2
lea ecx, [ebp - 0x10]
call fcn.0040fdb8
cmp dword [ebp - 0xc], ebx
je 0x41fb30
push dword [ebp - 0xc]
call edi
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
call fcn.00428a48
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4