Function at 0x484580
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c87bc
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.004bf380
mov eax, dword [0x4f4fa0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, eax
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x1020], eax
call sub.mfc140u.dll_CStringArray::SetSize
xor ebx, ebx
mov dword [ebp - method.WrapPSAPI.virtual_0], vtable.WrapPSAPI.0
xor eax, eax
mov dword [ebp - 0x1038], ebx
xor edi, edi
mov dword [ebp - 0x1034], ebx
push 0x4d8dc0
mov dword [ebp - 0x103c], edi
mov dword [ebp - 0x1030], ebx
mov dword [ebp - 0x102c], ebx
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1024], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1040], eax
test eax, eax
je 0x4846a3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call esi
push str.EnumProcessModules
push dword [ebp - 0x1040]
mov edi, eax
mov dword [ebp - 0x103c], edi
call esi
push str.GetModuleBaseNameA
push dword [ebp - 0x1040]
mov ebx, eax
mov dword [ebp - 0x1038], ebx
call esi
push str.GetModuleBaseNameW
push dword [ebp - 0x1040]
mov dword [ebp - 0x1034], eax
call esi
push str.GetModuleFileNameExA
push dword [ebp - 0x1040]
mov dword [ebp - 0x1030], eax
call esi
push str.GetModuleFileNameExW
push dword [ebp - 0x1040]
mov dword [ebp - 0x102c], eax
call esi
push str.GetProcessMemoryInfo
push dword [ebp - 0x1040]
mov dword [ebp - 0x1028], eax
call esi
mov dword [ebp - 0x1024], eax
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1018], 0
test edi, edi
je 0x484803
lea eax, [ebp - 0x1018]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
call edi
test eax, eax
je 0x484803
mov eax, dword [ebp - 0x1018]
xor edi, edi
shr eax, 2
mov dword [ebp - 0x104c], eax
test eax, eax
je 0x4847f0
nop dword [eax + eax]
push dword [ebp + edi*4 - 0x1010]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4847dc
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1048], 0
test ebx, ebx
je 0x4847dc
lea eax, [ebp - 0x1048]
push eax
push 4
lea eax, [ebp - 0x101c]
push eax
push esi
call ebx
test eax, eax
je 0x4847dc
lea ecx, [ebp - 0x1014]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x208
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov ecx, dword [ebp - 0x1028]
test ecx, ecx
je 0x48479b
push 0x208
push eax
push dword [ebp - 0x101c]
push esi
call ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov eax, dword [ebp - 0x1014]
cmp dword [eax - 0xc], 0
je 0x4847cc
lea eax, [ebp - 0x1014]
push eax
mov eax, dword [ebp - 0x1020]
mov ecx, eax
push dword [eax + 8]
call sub.mfc140u.dll_CStringArray::SetAtGrow
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x104c]
jb 0x484710
mov eax, dword [ebp - 0x1020]
cmp dword [eax + 8], 0
je 0x484803
mov esi, 1
jmp 0x484805
xor esi, esi
mov eax, dword [ebp - 0x1040]
test eax, eax
je 0x484816
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf1dd
mov esp, ebp
pop ebp
ret 4