Function at 0x403760
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x2140
call fcn.00404c90
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x40390b
mov eax, dword [edi + 8]
test eax, eax
je 0x4039e4
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4039e4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VDMEnumTaskWOWEx
push eax
call esi
mov ebx, eax
mov eax, dword [edi + 8]
push str.EnumProcesses
push eax
call esi
mov ecx, dword [edi + 8]
push str.GetModuleFileNameExA
push ecx
mov ebp, eax
call esi
mov edx, dword [edi + 8]
push str.GetModuleBaseNameA
push edx
mov dword [esp + 0x24], eax
call esi
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
push str.EnumProcessModules
push eax
call esi
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x4039e4
test ebp, ebp
je 0x4039e4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4039e4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4039e4
test eax, eax
je 0x4039e4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1150]
push ecx
push 0x1000
push edx
call ebp
mov edx, dword [esp + 0x14]
shr edx, 2
test eax, eax
mov dword [esp + 0x14], edx
je 0x4039e4
mov eax, edx
mov dword [esp + 0x10], 0
test eax, eax
jbe 0x4039d4
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ebx, [esp + 0x1150]
mov eax, dword [ebx]
push eax
push 0
push 0x410
call ebp
lea ecx, [esp + 0x20]
lea edx, [esp + 0x150]
push ecx
mov esi, eax
push 0x1000
push edx
push esi
call dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x150]
shr eax, 2
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push 0x104
push eax
push ecx
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x4038dc
mov eax, dword [ebx]
mov edx, dword [edi]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call dword [edx + 4]
test eax, eax
je 0x4039d4
mov eax, dword [esp + 0x150]
lea edx, [esp + 0x28]
push 0x104
push edx
push eax
push esi
call dword [esp + 0x28]
lea ecx, [esp + 0x28]
push str.NTVDM.EXE
push ecx
call fcn.00404893
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x403851
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2140
ret
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.CreateToolhelp32Snapshot
push esi
call ebx
push str.Process32First
push esi
mov ebp, eax
call ebx
push str.Process32Next
push esi
mov dword [esp + 0x18], eax
call ebx
test ebp, ebp
mov ebx, eax
je 0x4039e4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4039e4
test ebx, ebx
je 0x4039e4
push 0
push 2
mov dword [esp + 0x30], 0x128
call ebp
lea edx, [esp + 0x28]
mov esi, eax
push edx
push esi
call dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x4039a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2140
ret
lea eax, [esp + 0x28]
push eax
push esi
call ebx
test eax, eax
je 0x4039cd
mov eax, dword [esp + 0x30]
mov edx, dword [edi]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, edi
call dword [edx + 4]
test eax, eax
je 0x4039cd
lea edx, [esp + 0x28]
push edx
push esi
call ebx
test eax, eax
jne 0x4039ac
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2140
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2140
ret