Function at 0x42119c
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.00432cb7
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.0043b168
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 0x4211f4
mov dl, cl
movsx esi, dl
movzx eax, cx
cmp esi, eax
jne 0x421349
add dword [ebp + 8], 2
je 0x421323
push 5
lea eax, [ebp + 8]
push eax
push str.force
call fcn.004349fd
add esp, 0xc
test al, al
je 0x421229
or byte [ebp - 0x10], 1
jmp 0x421288
push 4
push dword [ebp + 8]
push str.svr2
call fcn.0042ecb0
add esp, 0xc
test al, al
jne 0x4212d4
push 9
push dword [ebp + 8]
push str.exitcode
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x42129b
add dword [ebp + 8], 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
movzx eax, word [eax]
push eax
call fcn.0041030b
mov bl, al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004358e8
add esp, 0xc
test bl, bl
je 0x421286
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 0x421202
jmp 0x421323
push 8
lea eax, [ebp + 8]
push eax
push str.explorer
call fcn.004349fd
add esp, 0xc
test al, al
je 0x4212b7
mov dword [ebp - 0x14], edi
jmp 0x421288
push 3
lea eax, [ebp + 8]
push eax
push 0x4922a4
call fcn.004349fd
add esp, 0xc
test al, al
je 0x42131f
mov byte [ebp - 1], 1
jmp 0x421288
mov esi, 0x4a6658
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x4a6a4c], 8
jne 0x4212fe
or byte [0x4a6a4c], 8
push 2
push str.SeShutdownPrivilege
call fcn.0040ee29
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0042dd93
push ebx
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
lea ecx, [ebp - 0x28]
call fcn.00410339
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x421342
sub dword [ebp + 8], 2
cmp byte [ebp - 1], 0
je 0x421349
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.0041fd16
xor esi, esi
jmp 0x42149a
mov esi, 0x4a6658
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.0042dd93
cmp byte [ebp - 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x42137c
push esi
mov dword [ebp - 0xc], ebx
call edi
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
jne 0x4213f1
add dword [ebp + 8], 2
lea ecx, [ebp + 8]
call fcn.0040b430
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.0041030b
add esp, 4
test al, al
jne 0x4213c2
lea ecx, [ebp - 0x10]
call fcn.00410339
cmp dword [ebp - 0xc], ebx
je 0x4213b8
push dword [ebp - 0xc]
call edi
mov esi, 0x80070057
jmp 0x42149a
mov ax, word [ecx]
cmp ax, bx
je 0x4213dd
cmp ax, 0x30
jb 0x4213d6
cmp ax, 0x39
jbe 0x4213dd
inc ecx
inc ecx
mov dword [ebp + 8], ecx
jmp 0x4213c2
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004358e8
pop ecx
pop ecx
mov dword [ebp + 8], ebx
jmp 0x421429
push dword [ebp + 8]
call fcn.0040c79a
push eax
call fcn.0040e84c
pop ecx
mov dword [ebp + 8], eax
cmp word [eax], bx
pop ecx
je 0x4213a6
cmp dword [ebp + 8], ebx
je 0x421421
push ebx
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call fcn.004131ce
add esp, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x2c], eax
je 0x421458
cmp dword [ebp - 8], ebx
je 0x421458
push dword [ebp - 8]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x421458
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x421451
mov dword [ebp - 0x28], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x421485
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x421485
cmp dword [ebp - 0x24], eax
jne 0x421473
mov ecx, dword [ebp - 0x18]
push 1
call fcn.0040ce62
mov eax, dword [ebp - 8]
cmp eax, ebx
mov dword [ebp - 0x24], eax
jle 0x421485
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jg 0x421409
lea ecx, [ebp - 0x10]
call fcn.00410339
cmp dword [ebp - 0xc], ebx
je 0x421497
push dword [ebp - 0xc]
call edi
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
call fcn.0042dd2d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4