Function at 0x460960
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4895c3
push eax
mov eax, 0x122c
mov dword fs:[0], esp
call fcn.004660e0
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x1244], ebp
call fcn.00441cf0
test eax, eax
je 0x460a29
mov eax, dword [esp + 0x124c]
lea ecx, [esp + 0x13c]
push eax
push str.KillThisGuy_:_csAppToTerminate___s_n
push ecx
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x38]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov ecx, dword [0x4a6844]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
push str.PSAPI.dll
mov byte [esp + 0x1248], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x20], ebx
je 0x460b08
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push ebx
call esi
mov edi, eax
cmp edi, ebp
je 0x460ae1
push str.EnumProcessModules
push ebx
call esi
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x460aba
push str.GetModuleBaseNameA
push ebx
call esi
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x460c21
call fcn.00441cf0
test eax, eax
je 0x460daf
push str.Failed_to_load_export_GetModuleBaseNameA_n
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x460b42
call fcn.00441cf0
test eax, eax
je 0x460daf
push str.Failed_to_load_export_EnumProcessModules_n
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x460b42
call fcn.00441cf0
test eax, eax
je 0x460daf
push str.Failed_to_load_export_EnumProcesses_n
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x460b42
call fcn.00441cf0
test eax, eax
je 0x460b22
push str.Failed_to_load_PSAPI.dll_file_n
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push ecx
lea eax, [esp + 0x1250]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00475c1d
call fcn.004606d0
add esp, 4
mov dword [esp + 0x14], eax
call fcn.00441cf0
test eax, eax
je 0x460bdc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x13c]
push ecx
push str.KillThisGuy_:_bRetVal___d_n
push edx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x38]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x10]
mov byte [esp + 0x1244], 0
call fcn.00475ea8
lea ecx, [esp + 0x124c]
mov dword [esp + 0x1244], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x123c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1238
ret
lea edx, [esp + 0x2c]
lea eax, [esp + 0x23c]
push edx
push 0x1000
push eax
call edi
mov eax, dword [esp + 0x2c]
shr eax, 2
je 0x460daf
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ebp, [esp + 0x23c]
mov dword [esp + 0x18], eax
mov ecx, dword [str.unknown]
mov edx, dword [0x49e2d4]
mov dword [esp + 0x38], ecx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
push eax
push 0
push 0x1f0fff
call ebx
mov esi, eax
test esi, esi
je 0x460d92
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
push 4
push edx
push esi
call dword [esp + 0x34]
test eax, eax
je 0x460d92
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x38]
push 0x104
push eax
push ecx
push esi
call dword [esp + 0x2c]
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.00475fe5
lea ecx, [esp + 0x10]
call fcn.0047635e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x460d92
mov eax, dword [esp + 0x124c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x460d92
push eax
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x460d15
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1250]
call fcn.00474e80
cmp eax, 0xffffffff
je 0x460d92
call fcn.00441cf0
test eax, eax
je 0x460d2f
push str.Found_App_Running..attempting_to_stop_it_n
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea edx, [esp + 0x34]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x460d92
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x460d59
mov dword [esp + 0x14], 1
jmp 0x460d92
call fcn.00441cf0
test eax, eax
je 0x460d92
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x140]
push str.FAILED_:_Failed_to_stop_app_:_GetLastError_____d_n
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add ebp, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x460c53
mov ebx, dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x460b42