Function at 0x464740
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 0x464824
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 0x464814
test eax, eax
je 0x464814
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 0x464dc7
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 0x464da2
test ebx, ebx
je 0x464824
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
test ebp, ebp
je 0x4648c0
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 0x4648b0
test edi, edi
je 0x4648b0
test eax, eax
je 0x4648b0
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 0x464d2f
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 0x464e0c
lea esi, [esi]
lea edi, [edi]
test ebp, ebp
je 0x4648c0
sub esp, 0xc
push ebp
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x46499b
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 0x464921
call edi
mov dword [esp + 0x54], eax
push 0
push 0
push 4
lea eax, [esp + 0x60]
push eax
call fcn.004653b0
add esp, 0x10
test ebx, ebx
je 0x464960
cmp dword [esp + 0x450], 2
je 0x464d60
test ebx, ebx
je 0x464960
mov dword [esp + 0x420], 0x14
sub esp, 0xc
lea edi, [esp + 0x42c]
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x464def
lea esi, [esi]
test ebp, ebp
je 0x46498b
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.004653b0
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 0x464c9c
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 0x464c90
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x464c90
test ebp, ebp
je 0x464c90
test edi, edi
je 0x464c90
mov edx, dword [esp + 0x24]
test edx, edx
je 0x464c90
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x464c90
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x464c90
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x464c90
mov edx, dword [esp + 0x14]
test edx, edx
je 0x464c90
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x464c90
test eax, eax
je 0x464c90
sub esp, 8
push 0
push 0xf
call ebx
mov dword [esp + 0x34], eax
pop edx
inc eax
pop ecx
je 0x464c90
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x410], 0x10
jne 0x464f65
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 0x464bcf
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.004653b0
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 0x464ba6
mov ebx, 0x50
jmp 0x464b85
dec ebx
test ebx, ebx
jle 0x464ba6
push 0x40140000
push 0
mov ecx, dword [esp + 0x3e8]
push ecx
push edi
call fcn.004653b0
mov dword [esp], edi
call ebp
add esp, 0xc
test eax, eax
jne 0x464b80
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 0x464bcf
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x464b30
mov edi, dword [esp + 0x40]
test edi, edi
mov dword [esp + 0x2b0], 0x128
jne 0x464f52
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 0x464e3c
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x290], 0x1c
jne 0x464f3f
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 0x464eaf
mov ebx, dword [esp + 0x40]
test ebx, ebx
mov dword [esp + 0x60], 0x224
jne 0x464f2c
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 0x464e77
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x464f78
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 0x464cc8
sub esp, 0xc
lea ebx, [esp + 0x54]
push ebx
call sub.KERNEL32.dll_QueryPerformanceCounter
add esp, 0xc
test eax, eax
jne 0x464d80
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.004653b0
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.004653b0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp + 0x60], eax
push ebx
push ebp
push 4
lea edi, [esp + 0x6c]
push edi
call fcn.004653b0
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 0x464f09
sub esp, 8
push 0
mov edx, dword [esp + 0x64]
push edx
call dword [esp + 0x48]
pop eax
pop edx
jmp 0x464886
cmp dword [esp + 0x444], 4
jbe 0x464960
jmp 0x464933
push 0
push 0
push 8
push ebx
call fcn.004653b0
mov ecx, dword [0x4f7390]
add esp, 0x10
test ecx, ecx
jne 0x464ce4
jmp 0x464cc8
push 0x40310000
push 0
push 0x44
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004653b0
pop eax
mov edi, dword [esp + 0x68]
push edi
call dword [esp + 0x44]
add esp, 0xc
jmp 0x464814
push 0x40468000
push 0
push 0xd8
mov eax, dword [esp + 0x68]
push eax
call fcn.004653b0
pop eax
mov ecx, dword [esp + 0x68]
push ecx
call dword [esp + 0x44]
add esp, 0xc
jmp 0x4647f4
push 0x40000000
push 0
mov ebx, dword [esp + 0x428]
push ebx
push edi
call fcn.004653b0
add esp, 0x10
jmp 0x464960
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 0x464eea
sub esp, 8
push 0
mov ebx, dword [esp + 0x64]
push ebx
call dword [esp + 0x48]
pop eax
pop edx
jmp 0x4648b0
push 0x40220000
push 0
mov ecx, dword [esp + 0x2b8]
push ecx
push ebx
call fcn.004653b0
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 0x464c04
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x464e3c
jmp 0x464c04
push 0x40220000
push 0
mov edi, dword [esp + 0x68]
push edi
push ebx
call fcn.004653b0
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 0x464c68
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x464e77
jmp 0x464c68
push 0x40180000
push 0
mov edx, dword [esp + 0x298]
push edx
push ebx
call fcn.004653b0
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 0x464c39
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x464eaf
jmp 0x464c39
push 0x40500000
push 0
push 0x40
push ebx
call fcn.004653b0
mov dword [esp + 0x50], 1
add esp, 0x10
jmp 0x464e27
push 0
push 0
push 0x40
lea eax, [esp + 0x4ec]
push eax
call fcn.004653b0
mov dword [esp + 0x50], 1
add esp, 0x10
jmp 0x464d4a
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464c4d
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464c1b
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464be6
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464aff
sub esp, 0xc
mov ebx, dword [esp + 0x38]
push ebx
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
jmp 0x464c90