Function at 0x40bf04
Capabilities:
Terminate process

Disassembly:
mov eax, 0x41213e
call fcn.00410660
sub esp, 0x28c
mov dword [ebp - 0x298], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov eax, dword [eax]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x26c], eax
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x10]
call fcn.004062fa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x278], eax
push dword [ebp - 0x278]
lea ecx, [ebp - 0x248]
call fcn.004062fa
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x280]
neg eax
sbb eax, eax
inc eax
movzx eax, al
neg eax
sbb eax, eax
inc eax
movzx eax, al
test eax, eax
je 0x40c233
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov eax, dword [eax]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040611c
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24c]
neg eax
sbb eax, eax
inc eax
movzx eax, al
neg eax
sbb eax, eax
inc eax
movzx eax, al
test eax, eax
je 0x40c213
mov eax, dword [ebp - 0x20]
add eax, 0x10
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405a5d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405ee3
neg eax
sbb eax, eax
inc eax
movzx eax, al
test eax, eax
jne 0x40c181
lea ecx, [ebp - 0x1c]
call fcn.00405dcd
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405dcd
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x40c181
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x30]
push 0
push 0x411
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40c181
push 0xff
push 0
lea eax, [ebp - 0x238]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0xff
lea eax, [ebp - 0x238]
push eax
push 0
push dword [ebp - 0x34]
call sub.PSAPI.DLL_GetModuleBaseNameW
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40c181
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040599d
mov byte [ebp - 4], 2
push str.explorer.exe
lea ecx, [ebp - 0x244]
call fcn.00405dcd
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40c172
push str.winlogon.exe
lea ecx, [ebp - 0x244]
call fcn.00405dcd
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40c172
push 0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x43a2b8
lea ecx, [ebp - 0x258]
call fcn.004059c7
mov byte [ebp - 4], 3
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.00405f54
lea ecx, [ebp - 0x264]
call fcn.00405f05
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.00405f05
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00405f05
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
cmp eax, dword [0x43a2c4]
je 0x40c1c6
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
mov eax, dword [eax]
cmp eax, dword [0x43a2c4]
je 0x40c1bb
mov eax, dword [ebp - 0x294]
mov eax, dword [eax]
mov dword [ebp - 0x294], eax
jmp 0x40c19b
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x20], eax
jmp 0x40c202
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 8]
jne 0x40c1eb
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x20], eax
jmp 0x40c1c6
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x290]
je 0x40c202
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x20], eax
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405f05
jmp 0x40bfda
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406310
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405f05
jmp 0x40bf4e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4