Function at 0x464960
Capabilities:
Get memory capacity
Link many functions at runtime

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x558
lea eax, [esp + 0x44c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44c], 0x94
push eax
call sub.KERNEL32.dll_GetVersionExA
push str.ADVAPI32.DLL
call sub.KERNEL32.dll_LoadLibraryA
push str.KERNEL32.DLL
mov ebp, eax
call sub.KERNEL32.dll_LoadLibraryA
push str.USER32.DLL
mov esi, eax
call sub.KERNEL32.dll_LoadLibraryA
mov dword [esp + 0x48], eax
push str.NETAPI32.DLL
call sub.KERNEL32.dll_LoadLibraryA
add esp, 0xc
test eax, eax
mov ebx, eax
je 0x464a44
sub esp, 8
push str.NetStatisticsGet
push eax
call sub.KERNEL32.dll_GetProcAddress
push str.NetApiBufferFree
push ebx
mov edi, eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x3c], eax
test edi, edi
pop edx
pop ecx
je 0x464a34
test eax, eax
je 0x464a34
sub esp, 0xc
lea edx, [esp + 0x68]
push edx
push 0
push 0
push str.LanmanWorkstation
push 0
call edi
add esp, 0xc
test eax, eax
je 0x464fe7
sub esp, 0xc
lea edx, [esp + 0x68]
push edx
push 0
push 0
push str.LanmanServer
push 0
call edi
add esp, 0xc
test eax, eax
je 0x464fc2
test ebx, ebx
je 0x464a44
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
test ebp, ebp
je 0x464ae0
sub esp, 8
push str.CryptAcquireContextW
push ebp
call sub.KERNEL32.dll_GetProcAddress
push str.CryptGenRandom
push ebp
mov ebx, eax
call sub.KERNEL32.dll_GetProcAddress
push str.CryptReleaseContext
push ebp
mov edi, eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x40], eax
test ebx, ebx
pop edx
pop ecx
je 0x464ad0
test edi, edi
je 0x464ad0
test eax, eax
je 0x464ad0
sub esp, 0xc
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x74]
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x464f4f
sub esp, 0xc
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea ecx, [esp + 0x74]
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x46502c
lea esi, [esi]
lea edi, [edi]
test ebp, ebp
je 0x464ae0
sub esp, 0xc
push ebp
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x464bbb
sub esp, 8
push str.GetForegroundWindow
mov edi, dword [esp + 0x48]
push edi
call sub.KERNEL32.dll_GetProcAddress
push str.GetCursorInfo
mov ecx, dword [esp + 0x48]
push ecx
mov edi, eax
call sub.KERNEL32.dll_GetProcAddress
push str.GetQueueStatus
mov edx, dword [esp + 0x48]
push edx
mov ebx, eax
call sub.KERNEL32.dll_GetProcAddress
mov ebp, eax
test edi, edi
pop eax
pop edx
je 0x464b41
call edi
mov dword [esp + 0x54], eax
push 0
push 0
push 4
lea eax, [esp + 0x60]
push eax
call fcn.004655d0
add esp, 0x10
test ebx, ebx
je 0x464b80
cmp dword [esp + 0x450], 2
je 0x464f80
test ebx, ebx
je 0x464b80
mov dword [esp + 0x420], 0x14
sub esp, 0xc
lea edi, [esp + 0x42c]
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x46500f
lea esi, [esi]
test ebp, ebp
je 0x464bab
sub esp, 0xc
push 0xbf
call ebp
mov dword [esp + 0x5c], eax
add esp, 0xc
push 0x3ff00000
push 0
push 4
lea ebp, [esp + 0x5c]
push ebp
call fcn.004655d0
add esp, 0x10
sub esp, 0xc
mov edx, dword [esp + 0x48]
push edx
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
test esi, esi
je 0x464ebc
mov dword [esp + 8], 0
sub esp, 8
push str.CreateToolhelp32Snapshot
push esi
call sub.KERNEL32.dll_GetProcAddress
push str.CloseToolhelp32Snapshot
push esi
mov ebx, eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x38], eax
push str.Heap32First
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x30], eax
push str.Heap32Next
push esi
call sub.KERNEL32.dll_GetProcAddress
push str.Heap32ListFirst
push esi
mov ebp, eax
call sub.KERNEL32.dll_GetProcAddress
push str.Heap32ListNext
push esi
mov edi, eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x2c], eax
push str.Process32First
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x28], eax
push str.Process32Next
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x24], eax
push str.Thread32First
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x20], eax
push str.Thread32Next
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x1c], eax
push str.Module32First
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x18], eax
push str.Module32Next
push esi
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 0x14], eax
test ebx, ebx
pop ecx
pop edx
je 0x464eb0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x464eb0
test ebp, ebp
je 0x464eb0
test edi, edi
je 0x464eb0
mov edx, dword [esp + 0x24]
test edx, edx
je 0x464eb0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x464eb0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x464eb0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x464eb0
mov edx, dword [esp + 0x14]
test edx, edx
je 0x464eb0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x464eb0
test eax, eax
je 0x464eb0
sub esp, 8
push 0
push 0xf
call ebx
mov dword [esp + 0x34], eax
pop edx
inc eax
pop ecx
je 0x464eb0
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x410], 0x10
jne 0x465185
sub esp, 8
lea edx, [esp + 0x418]
push edx
mov ebx, dword [esp + 0x38]
push ebx
call edi
pop edx
test eax, eax
pop ecx
je 0x464def
lea edi, [esp + 0x3e0]
lea esi, [esi]
lea edi, [edi]
push 0x40080000
push 0
mov edx, dword [esp + 0x418]
push edx
lea ebx, [esp + 0x41c]
push ebx
call fcn.004655d0
mov dword [esp + 0x3f0], 0x24
add esp, 0xc
mov eax, dword [esp + 0x41c]
push eax
mov ecx, dword [esp + 0x41c]
push ecx
push edi
call dword [esp + 0x38]
test eax, eax
pop edx
je 0x464dc6
mov ebx, 0x50
jmp 0x464da5
dec ebx
test ebx, ebx
jle 0x464dc6
push 0x40140000
push 0
mov ecx, dword [esp + 0x3e8]
push ecx
push edi
call fcn.004655d0
mov dword [esp], edi
call ebp
add esp, 0xc
test eax, eax
jne 0x464da0
sub esp, 8
lea ebx, [esp + 0x418]
push ebx
mov eax, dword [esp + 0x38]
push eax
call dword [esp + 0x34]
pop edx
test eax, eax
pop ecx
je 0x464def
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x464d50
mov edi, dword [esp + 0x40]
test edi, edi
mov dword [esp + 0x2b0], 0x128
jne 0x465172
sub esp, 8
lea ebx, [esp + 0x2b8]
push ebx
mov ebp, dword [esp + 0x38]
push ebp
call dword [esp + 0x30]
pop edx
test eax, eax
pop ecx
jne 0x46505c
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x290], 0x1c
jne 0x46515f
sub esp, 8
lea ebx, [esp + 0x298]
push ebx
mov edi, dword [esp + 0x38]
push edi
call dword [esp + 0x28]
pop edx
test eax, eax
pop ecx
jne 0x4650cf
mov ebx, dword [esp + 0x40]
test ebx, ebx
mov dword [esp + 0x60], 0x224
jne 0x46514c
sub esp, 8
lea ebx, [esp + 0x68]
push ebx
mov ecx, dword [esp + 0x38]
push ecx
call dword [esp + 0x20]
pop edx
test eax, eax
pop ecx
jne 0x465097
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x465198
sub esp, 0xc
mov edx, dword [esp + 0x38]
push edx
call dword [esp + 0x40]
add esp, 0xc
lea esi, [esi]
lea edi, [edi]
sub esp, 0xc
push esi
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
mov esi, dword [0x4f7390]
test esi, esi
je 0x464ee8
sub esp, 0xc
lea ebx, [esp + 0x54]
push ebx
call sub.KERNEL32.dll_QueryPerformanceCounter
add esp, 0xc
test eax, eax
jne 0x464fa0
mov dword [0x4f7390], 0
call sub.KERNEL32.dll_GetTickCount
mov dword [esp + 0x44], eax
push 0
push 0
push 4
lea eax, [esp + 0x50]
push eax
call fcn.004655d0
add esp, 0x10
sub esp, 0xc
lea esi, [esp + 0x52c]
push esi
call sub.KERNEL32.dll_GlobalMemoryStatus
add esp, 0xc
mov ebx, 0x3ff00000
push ebx
xor ebp, ebp
push ebp
push 0x20
push esi
call fcn.004655d0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp + 0x60], eax
push ebx
push ebp
push 4
lea edi, [esp + 0x6c]
push edi
call fcn.004655d0
add esp, 0x56c
pop ebx
pop esi
pop edi
mov eax, 1
pop ebp
ret
push eax
lea ecx, [esp + 0x4e4]
push ecx
push 0x40
mov edx, dword [esp + 0x64]
push edx
call edi
test eax, eax
pop edx
jne 0x465129
sub esp, 8
push 0
mov edx, dword [esp + 0x64]
push edx
call dword [esp + 0x48]
pop eax
pop edx
jmp 0x464aa6
cmp dword [esp + 0x444], 4
jbe 0x464b80
jmp 0x464b53
push 0
push 0
push 8
push ebx
call fcn.004655d0
mov ecx, dword [0x4f7390]
add esp, 0x10
test ecx, ecx
jne 0x464f04
jmp 0x464ee8
push 0x40310000
push 0
push 0x44
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004655d0
pop eax
mov edi, dword [esp + 0x68]
push edi
call dword [esp + 0x44]
add esp, 0xc
jmp 0x464a34
push 0x40468000
push 0
push 0xd8
mov eax, dword [esp + 0x68]
push eax
call fcn.004655d0
pop eax
mov ecx, dword [esp + 0x68]
push ecx
call dword [esp + 0x44]
add esp, 0xc
jmp 0x464a14
push 0x40000000
push 0
mov ebx, dword [esp + 0x428]
push ebx
push edi
call fcn.004655d0
add esp, 0x10
jmp 0x464b80
push eax
lea ebx, [esp + 0x4e4]
push ebx
push 0x40
mov eax, dword [esp + 0x64]
push eax
call edi
test eax, eax
pop edi
jne 0x46510a
sub esp, 8
push 0
mov ebx, dword [esp + 0x64]
push ebx
call dword [esp + 0x48]
pop eax
pop edx
jmp 0x464ad0
push 0x40220000
push 0
mov ecx, dword [esp + 0x2b8]
push ecx
push ebx
call fcn.004655d0
pop ebp
pop eax
push ebx
mov edx, dword [esp + 0x38]
push edx
call dword [esp + 0x2c]
pop edx
test eax, eax
pop ecx
je 0x464e24
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x46505c
jmp 0x464e24
push 0x40220000
push 0
mov edi, dword [esp + 0x68]
push edi
push ebx
call fcn.004655d0
pop ebp
pop eax
push ebx
mov eax, dword [esp + 0x38]
push eax
call dword [esp + 0x1c]
pop edx
test eax, eax
pop ecx
je 0x464e88
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x465097
jmp 0x464e88
push 0x40180000
push 0
mov edx, dword [esp + 0x298]
push edx
push ebx
call fcn.004655d0
pop ebp
pop eax
push ebx
mov ebp, dword [esp + 0x38]
push ebp
call dword [esp + 0x24]
pop edx
test eax, eax
pop ecx
je 0x464e59
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x4650cf
jmp 0x464e59
push 0x40500000
push 0
push 0x40
push ebx
call fcn.004655d0
mov dword [esp + 0x50], 1
add esp, 0x10
jmp 0x465047
push 0
push 0
push 0x40
lea eax, [esp + 0x4ec]
push eax
call fcn.004655d0
mov dword [esp + 0x50], 1
add esp, 0x10
jmp 0x464f6a
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464e6d
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464e3b
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464e06
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464d1f
sub esp, 0xc
mov ebx, dword [esp + 0x38]
push ebx
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
jmp 0x464eb0