Function at 0x430370
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 0x4308bf
mov eax, dword [esp + 0x374]
cmp eax, 2
jne 0x4306d0
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 0x4308bf
push str.VDMDBG.DLL
call esi
test eax, eax
mov dword [esp + 0x18], eax
je 0x4308bf
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 0x4304c7
test ebp, ebp
je 0x4304c7
test ebx, ebx
je 0x4304c7
test eax, eax
je 0x4304c7
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x400
mov dword [esp + 0x14], eax
xor ebp, ebp
test ebp, ebp
je 0x430465
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 0x430498
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
push ebp
call edi
test eax, eax
je 0x4304bb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4304ea
jmp 0x430446
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 0x4306b0
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 0x430567
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push 4
push edx
push esi
call dword [esp + 0x40]
test eax, eax
je 0x430560
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 0x430560
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 0x4305d0
lea edx, [esp + 0x260]
test edx, edx
je 0x4305d0
lea edi, [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43060c
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x260]
push eax
push ecx
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x43060c
push esi
push eax
push 1
call ebx
mov esi, eax
test esi, esi
je 0x43060c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x43060c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43060c
lea edx, [esp + 0x260]
push 0x5c
push edx
call fcn.0054dff0
add esp, 8
test eax, eax
je 0x4305e9
inc eax
jmp 0x4305f0
lea eax, [esp + 0x260]
push str.IDMan.exe
push eax
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x43060c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x430631
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 0x4306b0
jmp 0x43050f
push esi
push 0
push 1
call ebx
mov esi, eax
test esi, esi
je 0x43067b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x430672
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.0054ea2a
add esp, 0xc
lea ecx, [esp + 0x1e0]
push 1
jmp 0x4306a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4306b0
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.0054ea2a
add esp, 0xc
lea ecx, [esp + 0x160]
push 1
mov edx, dword [esp + 0x24]
push ecx
lea ecx, [edx + 0x1cc]
call fcn.0046f830
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 0x43089b
cmp eax, 1
jne 0x4308bf
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x4308bf
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 0x4308b8
test ebp, ebp
je 0x4308b8
test edi, edi
je 0x4308b8
push 0
push 2
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430747
mov eax, dword [esp + 0x10]
push eax
jmp 0x4308b9
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push ecx
push ebx
call ebp
test eax, eax
je 0x43089b
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + 0x3fc]
mov esi, dword [esp + 0x40]
test eax, eax
je 0x4307c7
lea edx, [esp + 0x5c]
test edx, edx
je 0x4307c7
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4307fd
mov eax, dword [esp + 0x3fc]
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4307fd
push esi
push eax
push 1
call ebp
mov esi, eax
test esi, esi
je 0x4307fd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4307fd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4307fd
lea edx, [esp + 0x5c]
push 0x5c
push edx
call fcn.0054dff0
add esp, 8
test eax, eax
je 0x4307dd
inc eax
jmp 0x4307e1
lea eax, [esp + 0x5c]
push str.IDMan.exe
push eax
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x4307fd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
jne 0x43081c
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x128
push eax
push ebx
call dword [esp + 0x2c]
test eax, eax
je 0x43089b
jmp 0x430765
push esi
push 0
push 1
call ebp
mov esi, eax
test esi, esi
je 0x430866
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x43085d
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.0054ea2a
add esp, 0xc
lea edx, [esp + 0x160]
push 1
jmp 0x43088b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43089b
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.0054ea2a
add esp, 0xc
lea edx, [esp + 0x1e0]
push 1
mov eax, dword [esp + 0x24]
push edx
lea ecx, [eax + 0x1cc]
call fcn.0046f830
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