Function at 0x468895
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x24
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.0043bad0
add esp, 0xc
push 0xe00
push 0x800
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
call fcn.00407a25
push 8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
call fcn.0042161d
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp + 8], 0
je 0x468905
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x48], eax
jmp 0x468909
and dword [ebp - 0x48], 0
push 0x4865ec
push 0x486580
push dword [ebp - 0x48]
call fcn.0041e358
pop ecx
pop ecx
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468936
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x4c], eax
jmp 0x46893a
and dword [ebp - 0x4c], 0
push 0x48660c
push dword [ebp - 0x94]
push str.Page_Size:_t
push dword [ebp - 0x4c]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.00419bc6
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468974
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x50], eax
jmp 0x468978
and dword [ebp - 0x50], 0
push 0x486630
push dword [ebp - 0x90]
push str.Min_Address:_t
push dword [ebp - 0x50]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e745
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x4689b2
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x54], eax
jmp 0x4689b6
and dword [ebp - 0x54], 0
push 0x486654
push dword [ebp - 0x8c]
push str.Max_Address:_t
push dword [ebp - 0x54]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e745
push eax
call fcn.0041e358
pop ecx
pop ecx
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x468a01
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x58], eax
jmp 0x468a05
and dword [ebp - 0x58], 0
push 0x48667c
push dword [ebp - 0x40]
push str.Mem_In_Use___:_t
push dword [ebp - 0x58]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.00419bc6
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468a3c
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x5c], eax
jmp 0x468a40
and dword [ebp - 0x5c], 0
push 0x4866ac
push 0
push 0x400
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.0043b480
push 0
push 0x400
push edx
push eax
call fcn.0043b480
push edx
push eax
push str.Total_Phy_Mem_M_:_t
push dword [ebp - 0x5c]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e8bc
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468a96
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x60], eax
jmp 0x468a9a
and dword [ebp - 0x60], 0
push 0x4866d8
push 0
push 0x400
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0043b480
push 0
push 0x400
push edx
push eax
call fcn.0043b480
push edx
push eax
push str.Free_Phy_Mem_M_:_t
push dword [ebp - 0x60]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e8bc
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468af0
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x64], eax
jmp 0x468af4
and dword [ebp - 0x64], 0
push 0x486704
push 0
push 0x400
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0043b480
push 0
push 0x400
push edx
push eax
call fcn.0043b480
push edx
push eax
push str.Total_PFile_M_:_t
push dword [ebp - 0x64]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e8bc
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468b4a
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x68], eax
jmp 0x468b4e
and dword [ebp - 0x68], 0
push 0x48672c
push 0
push 0x400
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.0043b480
push 0
push 0x400
push edx
push eax
call fcn.0043b480
push edx
push eax
push str.Free_PFile_M_:_t
push dword [ebp - 0x68]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e8bc
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468ba4
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x6c], eax
jmp 0x468ba8
and dword [ebp - 0x6c], 0
push 0x486750
push 0
push 0x400
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0043b480
push 0
push 0x400
push edx
push eax
call fcn.0043b480
push edx
push eax
push str.Total_VM_M_:_t
push dword [ebp - 0x6c]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e8bc
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468bfe
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x70], eax
jmp 0x468c02
and dword [ebp - 0x70], 0
push 0x486774
push 0
push 0x400
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0043b480
push 0
push 0x400
push edx
push eax
call fcn.0043b480
push edx
push eax
push str.Free_VM_M_:_t
push dword [ebp - 0x70]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e8bc
push eax
call fcn.0041e358
pop ecx
pop ecx
cmp dword [ebp + 8], 0
je 0x468c58
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x74], eax
jmp 0x468c5c
and dword [ebp - 0x74], 0
push 0x48679c
push 0
push 0x400
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0043b480
push 0
push 0x400
push edx
push eax
call fcn.0043b480
push edx
push eax
push str.Extend_Mem_M_:_t
push dword [ebp - 0x74]
call fcn.0041e358
pop ecx
pop ecx
mov ecx, eax
call fcn.0042e8bc
push eax
call fcn.0041e358
pop ecx
pop ecx
push 0xe00
push 0x200
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
call fcn.00407a25
push 8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
call fcn.004215ff
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret