Function at 0x4039f0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x2140
call fcn.00412240
mov eax, dword [0x42ea58]
xor eax, esp
mov dword [esp + 0x213c], eax
push ebx
push ebp
mov ebx, ecx
cmp byte [ebx + 4], 0
push esi
push edi
je 0x403b8a
cmp dword [ebx + 8], 0
je 0x403c5e
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x403c5e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VDMEnumTaskWOWEx
push eax
call esi
mov edi, eax
mov eax, dword [ebx + 8]
push str.EnumProcesses
push eax
call esi
mov ecx, dword [ebx + 8]
push str.GetModuleFileNameExA
push ecx
mov ebp, eax
call esi
mov edx, dword [ebx + 8]
push 0x425ed0
push edx
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
push 0x425ebc
push eax
call esi
test edi, edi
mov dword [esp + 0x20], eax
je 0x403c5e
test ebp, ebp
je 0x403c5e
cmp dword [esp + 0x18], 0
je 0x403c5e
cmp dword [esp + 0x10], 0
je 0x403c5e
test eax, eax
je 0x403c5e
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x2c]
push edx
call ebp
shr dword [esp + 0x14], 2
test eax, eax
je 0x403c5e
xor edi, edi
cmp dword [esp + 0x14], edi
jbe 0x403c57
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + edi*4 + 0x24]
push eax
push 0
push 0x410
call ebp
lea ecx, [esp + 0x1c]
push ecx
push 0x1000
lea edx, [esp + 0x102c]
mov esi, eax
push edx
push esi
call dword [esp + 0x30]
mov ecx, dword [esp + 0x1024]
shr dword [esp + 0x1c], 2
push 0x104
lea eax, [esp + 0x2028]
push eax
push ecx
push esi
call dword [esp + 0x28]
test eax, eax
je 0x403b6c
mov eax, dword [esp + edi*4 + 0x24]
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push eax
lea ecx, [esp + 0x2028]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x403c57
mov ecx, dword [esp + 0x1024]
push 0x104
lea eax, [esp + 0x2028]
push eax
push ecx
push esi
call dword [esp + 0x20]
lea edx, [esp + 0x2024]
push str.NTVDM.EXE
push edx
call fcn.00411a08
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 1
cmp edi, dword [esp + 0x14]
jb 0x403ad5
mov eax, 1
jmp 0x403c60
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.CreateToolhelp32Snapshot
push esi
call edi
push str.Process32First
push esi
mov ebp, eax
call edi
push str.Process32Next
push esi
mov dword [esp + 0x18], eax
call edi
test ebp, ebp
mov edi, eax
je 0x403c5e
cmp dword [esp + 0x10], 0
je 0x403c5e
test edi, edi
je 0x403c5e
push 0
push 2
mov dword [esp + 0x202c], 0x128
call ebp
mov esi, eax
lea eax, [esp + 0x2024]
push eax
push esi
call dword [esp + 0x18]
mov eax, dword [esp + 0x202c]
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push eax
lea ecx, [esp + 0x204c]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x403c50
lea eax, [esp + 0x2024]
push eax
push esi
call edi
test eax, eax
je 0x403c50
mov eax, dword [esp + 0x202c]
mov edx, dword [ebx]
mov edx, dword [edx + 4]
push eax
lea ecx, [esp + 0x204c]
push ecx
mov ecx, ebx
call edx
test eax, eax
je 0x403c50
lea eax, [esp + 0x2024]
push eax
push esi
call edi
test eax, eax
jne 0x403c24
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x403c60
xor eax, eax
mov ecx, dword [esp + 0x214c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410afa
add esp, 0x2140
ret