Function at 0x4219d8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c224
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x139c
call fcn.00430e00
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00424a0b
add esp, 4
and eax, 0xff
test eax, eax
jne 0x421a43
mov dword [ebp - 0x1380], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1380]
jmp 0x421e83
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1384]
push edx
call fcn.00424e77
add esp, 8
mov dword [ebp - 0x13a4], eax
mov eax, dword [ebp - 0x13a4]
mov dword [ebp - 0x13a8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x13a8]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1384]
call sub.MFC42.DLL_CString::CString
call fcn.00417c99
and eax, 0xff
test eax, eax
je 0x421cab
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x421ad4
mov dword [ebp - 0x1388], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1388]
jmp 0x421e83
push str.EnumProcesses
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push str.EnumProcessModules
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push str.GetModuleFileNameExA
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x20], 0
je 0x421b1c
cmp dword [ebp - 0x1c], 0
je 0x421b1c
cmp dword [ebp - 0x14], 0
jne 0x421b4a
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x138c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x138c]
jmp 0x421e83
lea eax, [ebp - 0x18]
push eax
push 0x1000
lea ecx, [ebp - 0x1028]
push ecx
call dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
jmp 0x421b6f
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x18]
shr eax, 2
cmp dword [ebp - 0x24], eax
jae 0x421c9c
mov dword [ebp - 0x1034], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + ecx*4 - 0x1028]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x102c], eax
cmp dword [ebp - 0x102c], 0
je 0x421c80
lea eax, [ebp - 0x1030]
push eax
push 4
lea ecx, [ebp - 0x1034]
push ecx
mov edx, dword [ebp - 0x102c]
push edx
call dword [ebp - 0x1c]
test eax, eax
je 0x421c80
mov al, byte [0x44d210]
mov byte [ebp - 0x1138], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1137]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea ecx, [ebp - 0x1138]
push ecx
mov edx, dword [ebp - 0x1034]
push edx
mov eax, dword [ebp - 0x102c]
push eax
call dword [ebp - 0x14]
push 0x104
lea ecx, [ebp - 0x1138]
push ecx
lea edx, [ebp - 0x1138]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [ebp - 0x10]
call fcn.004081e0
push eax
lea eax, [ebp - 0x1138]
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x421c80
mov ecx, dword [ebp - 0x102c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1390], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1390]
jmp 0x421e83
mov eax, dword [ebp - 0x102c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x102c], 0
jmp 0x421b66
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x421e64
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x114c], eax
cmp dword [ebp - 0x114c], 0
jne 0x421ce9
mov dword [ebp - 0x1394], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1394]
jmp 0x421e83
push str.CreateToolhelp32Snapshot
mov edx, dword [ebp - 0x114c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1148], eax
push str.Process32First
mov eax, dword [ebp - 0x114c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1140], eax
push str.Process32Next
mov ecx, dword [ebp - 0x114c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1278], eax
cmp dword [ebp - 0x1148], 0
je 0x421d4c
cmp dword [ebp - 0x1140], 0
je 0x421d4c
cmp dword [ebp - 0x1278], 0
jne 0x421d7d
mov edx, dword [ebp - 0x114c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1398], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1398]
jmp 0x421e83
mov dword [ebp - 0x1274], 0x128
push 0
push 2
call dword [ebp - 0x1148]
mov dword [ebp - 0x113c], eax
lea eax, [ebp - 0x1274]
push eax
mov ecx, dword [ebp - 0x113c]
push ecx
call dword [ebp - 0x1140]
mov dword [ebp - 0x1144], eax
cmp dword [ebp - 0x1144], 0
je 0x421e57
lea edx, [ebp - 0x1250]
push edx
lea eax, [ebp - 0x137c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x104
lea ecx, [ebp - 0x137c]
push ecx
lea edx, [ebp - 0x137c]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [ebp - 0x10]
call fcn.004081e0
push eax
lea eax, [ebp - 0x137c]
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x421e38
mov ecx, dword [ebp - 0x114c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x139c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x139c]
jmp 0x421e83
lea edx, [ebp - 0x1274]
push edx
mov eax, dword [ebp - 0x113c]
push eax
call dword [ebp - 0x1278]
mov dword [ebp - 0x1144], eax
jmp 0x421db1
mov ecx, dword [ebp - 0x114c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x13a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x13a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret