Function at 0x455120
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x5e1408
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, str.SystemInfo_
call fcn.0040b8a0
mov dword [esp + 0x194], 0
lea esi, [esp + 0x14]
call fcn.0042bcf0
mov byte [esp + 0x194], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
mov byte [esp + 0x194], 0
mov ecx, esi
call fcn.0040b950
push 1
push 0x69b888
lea edx, [esp + 0x18]
push edx
call fcn.00412100
call fcn.0042da90
mov esi, eax
lea eax, [esp + 0x20]
push eax
call fcn.0040b7e0
mov byte [esp + 0x194], 2
push esi
push str._i_MHz
lea edi, [esp + 0x28]
call fcn.00421d60
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
add esp, 8
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
push 1
push 0x69b888
lea edx, [esp + 0x18]
push edx
call fcn.00412100
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea ecx, [esp + 0x18]
push ecx
call fcn.0040b7e0
mov byte [esp + 0x194], 3
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
shrd edx, eax, 0x14
shr eax, 0x14
push eax
push edx
push str._i_MB
lea edi, [esp + 0x24]
call fcn.00421d60
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
push 1
push 0x69b888
lea edx, [esp + 0x18]
push edx
call fcn.00412100
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
shrd eax, ecx, 0x14
shr ecx, 0x14
push ecx
push eax
push str._i_MB
call fcn.00421d60
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00412100
push 1
push 0x69b888
lea eax, [esp + 0x18]
push eax
call fcn.00412100
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x68], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [esp + 0x1c]
push edx
mov ecx, str.Workstation
call fcn.0040b8a0
mov bl, 4
mov byte [esp + 0x194], bl
cmp byte [esp + 0x17e], 2
jne 0x4552fc
push str.Domain_Controller
mov ebx, 0x11
lea eax, [esp + 0x20]
call fcn.0040f6d0
mov bl, 4
cmp byte [esp + 0x17e], 3
jne 0x45531b
push str.Server
mov ebx, 6
lea eax, [esp + 0x20]
call fcn.0040f6d0
mov bl, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00412100
push 1
push 0x69b888
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
mov eax, dword [0x6eaed8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00412100
push 1
push 0x69b888
lea eax, [esp + 0x18]
push eax
call fcn.00412100
mov eax, dword [0x6eaedc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
push 1
push 0x69b888
lea edx, [esp + 0x18]
push edx
call fcn.00412100
mov eax, dword [0x6eaee0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00412100
push 1
push 0x69b888
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
mov eax, dword [0x6eaee4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00412100
push 1
push 0x69b888
lea eax, [esp + 0x18]
push eax
call fcn.00412100
mov eax, dword [0x6eaee8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
push 1
push 0x69b888
lea edx, [esp + 0x18]
push edx
call fcn.00412100
lea eax, [esp + 0x14]
push eax
call fcn.0042c1d0
add esp, 4
mov byte [esp + 0x194], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
mov byte [esp + 0x194], bl
lea ecx, [esp + 0x14]
call fcn.0040b950
push 1
push 0x69b888
lea edx, [esp + 0x18]
push edx
call fcn.00412100
lea eax, [esp + 0x14]
push eax
call fcn.0042bdb0
add esp, 4
mov byte [esp + 0x194], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
mov byte [esp + 0x194], bl
lea ecx, [esp + 0x14]
call fcn.0040b950
push 1
push 0x69b888
lea edx, [esp + 0x18]
push edx
call fcn.00412100
mov eax, dword [0x6eaeec]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00412100
push 2
push 0x699fe8
lea ecx, [esp + 0x18]
push ecx
call fcn.00412100
push 0
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
lea eax, [esp + 0x18]
push eax
push edx
call fcn.0040b840
mov byte [esp + 0x19c], 7
mov byte [esp + 0x19c], bl
mov ecx, dword [esp + 0x1a4]
call fcn.00451620
mov byte [esp + 0x194], 3
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov byte [esp + 0x194], 2
lea ecx, [esp + 0x18]
call fcn.0040b950
mov byte [esp + 0x194], 0
lea ecx, [esp + 0x20]
call fcn.0040b950
mov dword [esp + 0x194], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0040b950
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.0059393a
add esp, 0x188
ret 4