Function at 0x46cb70
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x496663
push eax
mov eax, 0x122c
mov dword fs:[0], esp
call fcn.004724a0
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x1244], ebp
call fcn.0044bde0
test eax, eax
je 0x46cc39
mov eax, dword [esp + 0x124c]
lea ecx, [esp + 0x13c]
push eax
push str.KillThisGuy_:_csAppToTerminate___s_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x38]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [0x4b538c]
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 0x46cd18
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push ebx
call esi
mov edi, eax
cmp edi, ebp
je 0x46ccf1
push str.EnumProcessModules
push ebx
call esi
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x46ccca
push str.GetModuleBaseNameA
push ebx
call esi
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x46ce31
call fcn.0044bde0
test eax, eax
je 0x46cfbf
push str.Failed_to_load_export_GetModuleBaseNameA_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x46cd52
call fcn.0044bde0
test eax, eax
je 0x46cfbf
push str.Failed_to_load_export_EnumProcessModules_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x46cd52
call fcn.0044bde0
test eax, eax
je 0x46cfbf
push str.Failed_to_load_export_EnumProcesses_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x46cd52
call fcn.0044bde0
test eax, eax
je 0x46cd32
push str.Failed_to_load_PSAPI.dll_file_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push ecx
lea eax, [esp + 0x1250]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00481ffd
call fcn.0046c8e0
add esp, 4
mov dword [esp + 0x14], eax
call fcn.0044bde0
test eax, eax
je 0x46cdec
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x13c]
push ecx
push str.KillThisGuy_:_bRetVal___d_n
push edx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1244], 0
call fcn.00482288
lea ecx, [esp + 0x124c]
mov dword [esp + 0x1244], 0xffffffff
call fcn.00482288
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 0x46cfbf
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 [0x4ac638]
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 0x46cfa2
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
push 4
push edx
push esi
call dword [esp + 0x34]
test eax, eax
je 0x46cfa2
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.004823c5
lea ecx, [esp + 0x10]
call fcn.0048273e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46cfa2
mov eax, dword [esp + 0x124c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x46cfa2
push eax
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
jne 0x46cf25
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1250]
call fcn.00481260
cmp eax, 0xffffffff
je 0x46cfa2
call fcn.0044bde0
test eax, eax
je 0x46cf3f
push str.Found_App_Running..attempting_to_stop_it_n
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea edx, [esp + 0x34]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x46cfa2
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x46cf69
mov dword [esp + 0x14], 1
jmp 0x46cfa2
call fcn.0044bde0
test eax, eax
je 0x46cfa2
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.00471c30
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
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 0x46ce63
mov ebx, dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x46cd52