Function at 0x403b80
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x2140
call fcn.00405230
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 4]
push edi
test al, al
je 0x403d1f
mov eax, dword [ebx + 8]
test eax, eax
je 0x403df8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x403df8
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 str.GetModuleBaseNameA
push edx
mov dword [esp + 0x24], eax
call esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
push str.EnumProcessModules
push eax
call esi
test edi, edi
mov dword [esp + 0x24], eax
je 0x403df8
test ebp, ebp
je 0x403df8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x403df8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x403df8
test eax, eax
je 0x403df8
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1150]
push ecx
push 0x1000
push edx
mov dword [esp + 0x24], 0
call ebp
mov edx, dword [esp + 0x14]
shr edx, 2
test eax, eax
mov dword [esp + 0x14], edx
je 0x403df8
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edi, [esp + 0x1150]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jae 0x403de8
mov ecx, dword [edi]
push ecx
push 0
push 0x410
call ebp
lea edx, [esp + 0x20]
mov esi, eax
push edx
lea eax, [esp + 0x154]
push 0x1000
push eax
push esi
call dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x150]
shr ecx, 2
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
push 0x104
push ecx
push edx
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x403d07
mov ecx, dword [edi]
mov eax, dword [ebx]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x403de8
mov ecx, dword [esp + 0x150]
lea eax, [esp + 0x28]
push 0x104
push eax
push ecx
push esi
call dword [esp + 0x20]
push 0x104
lea edx, [esp + 0x2c]
push str.NTVDM.EXE
push edx
call fcn.004050b5
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
inc ecx
add edi, 4
mov dword [esp + 0x18], ecx
jmp 0x403c67
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 0x403df8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403df8
test edi, edi
je 0x403df8
push 0
push 2
mov dword [esp + 0x30], 0x128
call ebp
mov esi, eax
lea eax, [esp + 0x28]
push eax
push esi
call dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov edx, dword [ebx]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
test eax, eax
jne 0x403db4
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 edx, [esp + 0x28]
push edx
push esi
call edi
test eax, eax
je 0x403de1
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x403de1
lea eax, [esp + 0x28]
push eax
push esi
call edi
test eax, eax
jne 0x403dc0
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