Function at 0x463bf0
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 0x463cd4
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 0x463cc4
test eax, eax
je 0x463cc4
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 0x464277
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 0x464252
test ebx, ebx
je 0x463cd4
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
test ebp, ebp
je 0x463d70
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 0x463d60
test edi, edi
je 0x463d60
test eax, eax
je 0x463d60
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 0x4641df
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 0x4642bc
lea esi, [esi]
lea edi, [edi]
test ebp, ebp
je 0x463d70
sub esp, 0xc
push ebp
call sub.KERNEL32.dll_FreeLibrary
add esp, 0xc
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x463e4b
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 0x463dd1
call edi
mov dword [esp + 0x54], eax
push 0
push 0
push 4
lea eax, [esp + 0x60]
push eax
call fcn.00464860
add esp, 0x10
test ebx, ebx
je 0x463e10
cmp dword [esp + 0x450], 2
je 0x464210
test ebx, ebx
je 0x463e10
mov dword [esp + 0x420], 0x14
sub esp, 0xc
lea edi, [esp + 0x42c]
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x46429f
lea esi, [esi]
test ebp, ebp
je 0x463e3b
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.00464860
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 0x46414c
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 0x464140
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x464140
test ebp, ebp
je 0x464140
test edi, edi
je 0x464140
mov edx, dword [esp + 0x24]
test edx, edx
je 0x464140
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x464140
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x464140
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x464140
mov edx, dword [esp + 0x14]
test edx, edx
je 0x464140
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x464140
test eax, eax
je 0x464140
sub esp, 8
push 0
push 0xf
call ebx
mov dword [esp + 0x34], eax
pop edx
inc eax
pop ecx
je 0x464140
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x410], 0x10
jne 0x464415
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 0x46407f
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.00464860
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 0x464056
mov ebx, 0x50
jmp 0x464035
dec ebx
test ebx, ebx
jle 0x464056
push 0x40140000
push 0
mov ecx, dword [esp + 0x3e8]
push ecx
push edi
call fcn.00464860
mov dword [esp], edi
call ebp
add esp, 0xc
test eax, eax
jne 0x464030
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 0x46407f
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x463fe0
mov edi, dword [esp + 0x40]
test edi, edi
mov dword [esp + 0x2b0], 0x128
jne 0x464402
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 0x4642ec
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x290], 0x1c
jne 0x4643ef
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 0x46435f
mov ebx, dword [esp + 0x40]
test ebx, ebx
mov dword [esp + 0x60], 0x224
jne 0x4643dc
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 0x464327
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x464428
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 [0x4f6390]
test esi, esi
je 0x464178
sub esp, 0xc
lea ebx, [esp + 0x54]
push ebx
call sub.KERNEL32.dll_QueryPerformanceCounter
add esp, 0xc
test eax, eax
jne 0x464230
mov dword [0x4f6390], 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.00464860
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.00464860
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp + 0x60], eax
push ebx
push ebp
push 4
lea edi, [esp + 0x6c]
push edi
call fcn.00464860
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 0x4643b9
sub esp, 8
push 0
mov edx, dword [esp + 0x64]
push edx
call dword [esp + 0x48]
pop eax
pop edx
jmp 0x463d36
cmp dword [esp + 0x444], 4
jbe 0x463e10
jmp 0x463de3
push 0
push 0
push 8
push ebx
call fcn.00464860
mov ecx, dword [0x4f6390]
add esp, 0x10
test ecx, ecx
jne 0x464194
jmp 0x464178
push 0x40310000
push 0
push 0x44
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00464860
pop eax
mov edi, dword [esp + 0x68]
push edi
call dword [esp + 0x44]
add esp, 0xc
jmp 0x463cc4
push 0x40468000
push 0
push 0xd8
mov eax, dword [esp + 0x68]
push eax
call fcn.00464860
pop eax
mov ecx, dword [esp + 0x68]
push ecx
call dword [esp + 0x44]
add esp, 0xc
jmp 0x463ca4
push 0x40000000
push 0
mov ebx, dword [esp + 0x428]
push ebx
push edi
call fcn.00464860
add esp, 0x10
jmp 0x463e10
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 0x46439a
sub esp, 8
push 0
mov ebx, dword [esp + 0x64]
push ebx
call dword [esp + 0x48]
pop eax
pop edx
jmp 0x463d60
push 0x40220000
push 0
mov ecx, dword [esp + 0x2b8]
push ecx
push ebx
call fcn.00464860
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 0x4640b4
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x4642ec
jmp 0x4640b4
push 0x40220000
push 0
mov edi, dword [esp + 0x68]
push edi
push ebx
call fcn.00464860
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 0x464118
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x464327
jmp 0x464118
push 0x40180000
push 0
mov edx, dword [esp + 0x298]
push edx
push ebx
call fcn.00464860
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 0x4640e9
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [esp + 8]
jb 0x46435f
jmp 0x4640e9
push 0x40500000
push 0
push 0x40
push ebx
call fcn.00464860
mov dword [esp + 0x50], 1
add esp, 0x10
jmp 0x4642d7
push 0
push 0
push 0x40
lea eax, [esp + 0x4ec]
push eax
call fcn.00464860
mov dword [esp + 0x50], 1
add esp, 0x10
jmp 0x4641fa
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x4640fd
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x4640cb
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x464096
call sub.KERNEL32.dll_GetTickCount
add eax, 0x3e8
mov dword [esp + 8], eax
jmp 0x463faf
sub esp, 0xc
mov ebx, dword [esp + 0x38]
push ebx
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
jmp 0x464140