Function at 0x4231c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c4a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x13dc
call fcn.00430e70
push ebx
push esi
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.00425250
add esp, 4
and eax, 0xff
test eax, eax
jne 0x42322d
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 0x4236bb
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1384]
push edx
call fcn.00425560
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.00418bb0
and eax, 0xff
test eax, eax
je 0x4234e3
push 0x43f1cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1024], eax
cmp dword [ebp - 0x1024], 0
jne 0x4232c4
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 0x4236bb
push str.EnumProcesses
mov edx, dword [ebp - 0x1024]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1018], eax
push str.EnumProcessModules
mov eax, dword [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x101c], eax
push str.GetModuleFileNameExA
mov ecx, dword [ebp - 0x1024]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1020], eax
cmp dword [ebp - 0x1018], 0
je 0x423327
cmp dword [ebp - 0x101c], 0
je 0x423327
cmp dword [ebp - 0x1020], 0
jne 0x423358
mov edx, dword [ebp - 0x1024]
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 0x4236bb
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
call dword [ebp - 0x1018]
mov dword [ebp - 0x1028], 0
jmp 0x42338c
mov edx, dword [ebp - 0x1028]
add edx, 1
mov dword [ebp - 0x1028], edx
mov eax, dword [ebp - 0x1014]
shr eax, 2
cmp dword [ebp - 0x1028], eax
jae 0x4234d1
mov dword [ebp - 0x102c], 0
mov ecx, dword [ebp - 0x1028]
mov edx, dword [ebp + ecx*4 - 0x1010]
push edx
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1034], eax
cmp dword [ebp - 0x1034], 0
je 0x4234b5
lea eax, [ebp - 0x1030]
push eax
push 4
lea ecx, [ebp - 0x102c]
push ecx
mov edx, dword [ebp - 0x1034]
push edx
call dword [ebp - 0x101c]
test eax, eax
je 0x4234b5
mov al, byte [0x43e538]
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 - 0x102c]
push edx
mov eax, dword [ebp - 0x1034]
push eax
call dword [ebp - 0x1020]
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.0040c8c0
push eax
lea eax, [ebp - 0x1138]
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x4234b5
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0x423484
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1034]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1024]
push ecx
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 0x4236bb
mov edx, dword [ebp - 0x1034]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1034], 0
jmp 0x42337d
mov eax, dword [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x42369c
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1270], eax
cmp dword [ebp - 0x1270], 0
jne 0x423521
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 0x4236bb
push str.CreateToolhelp32Snapshot
mov ecx, dword [ebp - 0x1270]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1264], eax
push str.Process32First
mov edx, dword [ebp - 0x1270]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1268], eax
push str.Process32Next
mov eax, dword [ebp - 0x1270]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x126c], eax
cmp dword [ebp - 0x1264], 0
je 0x423584
cmp dword [ebp - 0x1268], 0
je 0x423584
cmp dword [ebp - 0x126c], 0
jne 0x4235b5
mov ecx, dword [ebp - 0x1270]
push ecx
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 0x4236bb
mov dword [ebp - 0x1260], 0x128
push 0
push 2
call dword [ebp - 0x1264]
mov dword [ebp - 0x1274], eax
lea edx, [ebp - 0x1260]
push edx
mov eax, dword [ebp - 0x1274]
push eax
call dword [ebp - 0x1268]
mov dword [ebp - 0x1278], eax
cmp dword [ebp - 0x1278], 0
je 0x42368f
lea ecx, [ebp - 0x123c]
push ecx
lea edx, [ebp - 0x137c]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x104
lea eax, [ebp - 0x137c]
push eax
lea ecx, [ebp - 0x137c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [ebp - 0x10]
call fcn.0040c8c0
push eax
lea edx, [ebp - 0x137c]
push edx
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x423670
mov eax, dword [ebp - 0x1270]
push eax
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 0x4236bb
lea ecx, [ebp - 0x1260]
push ecx
mov edx, dword [ebp - 0x1274]
push edx
call dword [ebp - 0x126c]
mov dword [ebp - 0x1278], eax
jmp 0x4235e9
mov eax, dword [ebp - 0x1270]
push eax
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
pop esi
pop ebx
mov esp, ebp
pop ebp
ret