Function at 0x446d70
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
sub esp, 0x3e8
push ebx
push ebp
push esi
lea eax, [esp + 0x360]
push edi
mov dword [esp + 0x20], ecx
push eax
mov dword [esp + 0x368], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4472bf
mov eax, dword [esp + 0x374]
cmp eax, 2
jne 0x4470d0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.PSAPI.DLL
call esi
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x4472bf
push str.VDMDBG.DLL
call esi
test eax, eax
mov dword [esp + 0x18], eax
je 0x4472bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push ebx
call esi
push str.EnumProcessModules
push ebx
mov edi, eax
call esi
mov ebp, eax
push str.GetModuleFileNameExA
push ebx
mov dword [esp + 0x38], ebp
call esi
mov ecx, dword [esp + 0x18]
mov ebx, eax
push str.VDMEnumTaskWOWEx
push ecx
mov dword [esp + 0x2c], ebx
call esi
test edi, edi
je 0x446ec7
test ebp, ebp
je 0x446ec7
test ebx, ebx
je 0x446ec7
test eax, eax
je 0x446ec7
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x400
mov dword [esp + 0x14], eax
xor ebp, ebp
test ebp, ebp
je 0x446e65
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x14]
lea eax, [edx + edx]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 0
call ebx
push eax
call esi
mov ebp, eax
test ebp, ebp
je 0x446e98
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
push ebp
call edi
test eax, eax
je 0x446ebb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x446eea
jmp 0x446e46
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret 4
push ebp
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
shr eax, 2
mov dword [esp + 0x1c], eax
je 0x4470b0
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, ebp
mov dword [esp + 0x2c], edi
mov byte [esp + 0x260], 0
mov eax, dword [edi]
push eax
push 0
push 0x410
call ebx
mov esi, eax
test esi, esi
je 0x446f67
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push 4
push edx
push esi
call dword [esp + 0x40]
test eax, eax
je 0x446f60
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x260]
push 0x104
push eax
push ecx
push esi
call dword [esp + 0x34]
test eax, eax
jne 0x446f60
mov byte [esp + 0x260], al
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x3fc]
mov esi, dword [edi]
test eax, eax
je 0x446fd0
lea edx, [esp + 0x260]
test edx, edx
je 0x446fd0
lea edi, [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x44700c
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x260]
push eax
push ecx
call fcn.005c40f0
add esp, 8
test eax, eax
jne 0x44700c
push esi
push eax
push 1
call ebx
mov esi, eax
test esi, esi
je 0x44700c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x44700c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44700c
lea edx, [esp + 0x260]
push 0x5c
push edx
call fcn.005c3bf0
add esp, 8
test eax, eax
je 0x446fe9
inc eax
jmp 0x446ff0
lea eax, [esp + 0x260]
push str.IDMan.exe
push eax
call fcn.005c40f0
add esp, 8
test eax, eax
jne 0x44700c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x447031
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
jae 0x4470b0
jmp 0x446f0f
push esi
push 0
push 1
call ebx
mov esi, eax
test esi, esi
je 0x44707b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x447072
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1e4]
push str.TerminateProcess___failed__CDAisPF__errCode___ld_n
push eax
call fcn.005c3648
add esp, 0xc
lea ecx, [esp + 0x1e0]
push 1
jmp 0x4470a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4470b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x164]
push str.OpenProcess___failed__CDAisPF__errCode___ld_n
push eax
call fcn.005c3648
add esp, 0xc
lea ecx, [esp + 0x160]
push 1
mov edx, dword [esp + 0x24]
push ecx
lea ecx, [edx + 0x1b8]
call fcn.0049c760
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x44729b
cmp eax, 1
jne 0x4472bf
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x4472bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push ebx
call esi
push str.Process32First
push ebx
mov edi, eax
call esi
push str.Process32Next
push ebx
mov ebp, eax
call esi
test eax, eax
mov dword [esp + 0x24], eax
je 0x4472b8
test ebp, ebp
je 0x4472b8
test edi, edi
je 0x4472b8
push 0
push 2
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x447147
mov eax, dword [esp + 0x10]
push eax
jmp 0x4472b9
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push ecx
push ebx
call ebp
test eax, eax
je 0x44729b
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + 0x3fc]
mov esi, dword [esp + 0x40]
test eax, eax
je 0x4471c7
lea edx, [esp + 0x5c]
test edx, edx
je 0x4471c7
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4471fd
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.005c40f0
add esp, 8
test eax, eax
jne 0x4471fd
push esi
push eax
push 1
call ebp
mov esi, eax
test esi, esi
je 0x4471fd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4471fd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4471fd
lea edx, [esp + 0x5c]
push 0x5c
push edx
call fcn.005c3bf0
add esp, 8
test eax, eax
je 0x4471dd
inc eax
jmp 0x4471e1
lea eax, [esp + 0x5c]
push str.IDMan.exe
push eax
call fcn.005c40f0
add esp, 8
test eax, eax
jne 0x4471fd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x44721c
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push eax
push ebx
call dword [esp + 0x2c]
test eax, eax
je 0x44729b
jmp 0x447165
push esi
push 0
push 1
call ebp
mov esi, eax
test esi, esi
je 0x447266
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x44725d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x164]
push str.TerminateProcess___failed__CDAisPF__errCode___ld_n
push ecx
call fcn.005c3648
add esp, 0xc
lea edx, [esp + 0x160]
push 1
jmp 0x44728b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44729b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x1e4]
push str.OpenProcess___failed__CDAisPF__errCode___ld_n
push ecx
call fcn.005c3648
add esp, 0xc
lea edx, [esp + 0x1e0]
push 1
mov eax, dword [esp + 0x24]
push edx
lea ecx, [eax + 0x1b8]
call fcn.0049c760
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3e8
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3e8
ret 4