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

Disassembly:
push 0xffffffffffffffff
push 0x4b7c47
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x16c]
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
mov dword [esp + 0x164], 0
lea eax, [esp + 0x3c]
push 0x40
push 0
push eax
call fcn.00492dc0
add esp, 0xc
mov dword [esp + 0x3c], 0x40
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x45ac35
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
shrd ecx, eax, 0x14
mov dword [esp + 0x14c], 0
shr eax, 0x14
xor eax, eax
mov dword [esp + 0x150], 0
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov byte [esp + 0x164], 1
lea eax, [esp + 0x13c]
push ecx
push 0x4c7e8c
push eax
call fcn.00407090
mov edx, dword [esp + 0x158]
lea eax, [esp + 0x100]
add esp, 0xc
lea ecx, [esp + 0x13c]
cmp dword [esp + 0x150], 8
cmovae ecx, dword [esp + 0x13c]
push eax
call fcn.004329d0
add esp, 4
mov byte [esp + 0x164], 0
cmp dword [esp + 0x150], 8
jb 0x45ac15
push dword [esp + 0x13c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov edx, dword [esp + 0x104]
test edx, edx
je 0x45acc7
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0xf4]
or dword [esp + 0x2c], 0x100
cmp dword [esp + 0x108], 0x10
mov dword [esp + 0x30], 0
cmovae ecx, dword [esp + 0xf4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.00421420
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 2
mov ecx, esi
push 0x4c80a9
push str.A0201
call fcn.00423570
mov byte [esp + 0x164], 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x164], 0
lea ecx, [esp + 0x24]
call fcn.004222f0
push 0xa
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x28]
push str.User32.dll
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.004024f0
mov byte [esp + 0x164], 4
mov eax, dword [0x4e2790]
test al, 1
jne 0x45ad43
or eax, 1
mov dword [0x4e2790], eax
mov byte [esp + 0x164], 5
mov dword [0x4e278c], 0
call fcn.00407a50
push 0x4bd890
call fcn.0048e01f
add esp, 4
mov byte [esp + 0x164], 4
lea eax, [esp + 0x24]
mov ecx, 0x4e278c
push eax
call fcn.00407c10
mov edi, eax
mov byte [esp + 0x164], 0
cmp dword [esp + 0x38], 8
jb 0x45ad6f
push dword [esp + 0x24]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
xor esi, esi
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
test edi, edi
je 0x45ad9a
push str.GetSystemMetrics
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
mov byte [esp + 0x164], 6
test esi, esi
je 0x45aead
push 0
call esi
test eax, eax
jle 0x45aead
xor ecx, ecx
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], cx
mov byte [esp + 0x164], 7
push eax
lea eax, [esp + 0x140]
push 0x4c5cdc
push eax
call fcn.00407090
mov edx, dword [esp + 0x158]
lea eax, [esp + 0x118]
add esp, 0xc
lea ecx, [esp + 0x13c]
cmp dword [esp + 0x150], 8
cmovae ecx, dword [esp + 0x13c]
push eax
call fcn.004329d0
add esp, 4
mov byte [esp + 0x164], 6
cmp dword [esp + 0x150], 8
jb 0x45ae8d
push dword [esp + 0x13c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov edx, dword [esp + 0x11c]
test edx, edx
je 0x45af59
mov byte [esp + 0x144], 4
lea ecx, [esp + 0x10c]
or dword [esp + 0x144], 0x100
cmp dword [esp + 0x120], 0x10
mov dword [esp + 0x148], 0
cmovae ecx, dword [esp + 0x10c]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
call fcn.00421420
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 8
mov ecx, dword [esp + 0x20]
push 0x4c80c1
push str.A0202
call fcn.00423570
mov byte [esp + 0x164], 9
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x164], 6
lea ecx, [esp + 0x13c]
call fcn.004222f0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
mov byte [esp + 0x164], 0xa
test esi, esi
je 0x45b06c
push 1
call esi
test eax, eax
jle 0x45b06c
xor ecx, ecx
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], cx
mov byte [esp + 0x164], 0xb
push eax
lea eax, [esp + 0x140]
push 0x4c5cdc
push eax
call fcn.00407090
mov edx, dword [esp + 0x158]
lea eax, [esp + 0x130]
add esp, 0xc
lea ecx, [esp + 0x13c]
cmp dword [esp + 0x150], 8
cmovae ecx, dword [esp + 0x13c]
push eax
call fcn.004329d0
add esp, 4
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0x150], 8
jb 0x45b04c
push dword [esp + 0x13c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], ax
mov edx, dword [esp + 0x134]
test edx, edx
je 0x45b118
mov byte [esp + 0x144], 4
lea ecx, [esp + 0x124]
or dword [esp + 0x144], 0x100
cmp dword [esp + 0x138], 0x10
mov dword [esp + 0x148], 0
cmovae ecx, dword [esp + 0x124]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
call fcn.00421420
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 0xc
mov ecx, dword [esp + 0x20]
push 0x4c80b9
push str.A0203
call fcn.00423570
mov byte [esp + 0x164], 0xd
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.004222f0
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x80]
push eax
movdqu xmmword [esp + 0x88], xmm0
movdqu xmmword [esp + 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x94]
mov byte [esp + 0x144], 2
and dword [esp + 0x144], 0xfffffeff
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], 0
mov byte [esp + 0x164], 0xe
mov ecx, dword [esp + 0x20]
push 0x4c80d1
push str.A0204
call fcn.00423570
mov byte [esp + 0x164], 0xf
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.004222f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetDC
push edi
call esi
push str.ReleaseDC
push edi
mov dword [esp + 0x24], eax
call esi
push str.Gdi32.dll
mov dword [esp + 0x1c], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x45b216
push str.GetDeviceCaps
push eax
call esi
mov edi, eax
xor esi, esi
test edi, edi
je 0x45b252
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45b252
cmp dword [esp + 0x18], esi
je 0x45b252
push esi
call eax
mov esi, eax
test esi, esi
je 0x45b250
push 0x58
push esi
call edi
push 0x5a
push esi
mov dword [esp + 0x24], eax
call edi
push esi
push 0
mov edi, eax
call dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x45b254
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45b263
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0x2c], 2
and dword [esp + 0x2c], 0xfffffeff
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
mov byte [esp + 0x164], 0x10
mov esi, dword [esp + 0x20]
mov ecx, esi
push 0x4c80f9
push str.A0205
call fcn.00423570
mov byte [esp + 0x164], 0x11
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x24]
call fcn.004222f0
mov byte [esp + 0x144], 2
and dword [esp + 0x144], 0xfffffeff
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x13c], edi
mov dword [esp + 0x140], 0
mov byte [esp + 0x164], 0x12
mov ecx, esi
push 0x4c8119
push str.A0206
call fcn.00423570
mov byte [esp + 0x164], 0x13
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.004222f0
xorps xmm0, xmm0
lea ecx, [esp + 0xa4]
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmmword [esp + 0xb4], xmm0
call fcn.00472760
mov byte [esp + 0x164], 0x14
lea ecx, [esp + 0xac]
mov eax, dword [esp + 0x14]
cmp ecx, eax
je 0x45b3a2
push 0xffffffffffffffff
push 0
push eax
call fcn.00402030
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa8]
call fcn.004728c0
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xd4], 0
jne 0x45b3db
push 0xc
push str.000000000000
lea ecx, [esp + 0xcc]
call fcn.004024f0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], 0
mov byte [esp + 0xdc], 0
mov byte [esp + 0x164], 0x16
lea eax, [esp + 0xdc]
cmp dword [esp + 0xd8], 8
lea ecx, [esp + 0xc4]
mov edx, dword [esp + 0xd4]
cmovae ecx, dword [esp + 0xc4]
push eax
call fcn.004329d0
mov edx, dword [esp + 0xf0]
lea ecx, [esp + 0xe0]
add esp, 4
mov byte [esp + 0x2c], 4
or dword [esp + 0x2c], 0x100
cmp dword [esp + 0xf0], 0x10
mov dword [esp + 0x30], 0
cmovae ecx, dword [esp + 0xdc]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.00421420
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 0x17
mov ecx, esi
push 0x4c8111
push str.A0207
call fcn.00423570
mov byte [esp + 0x164], 0x18
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00422490
mov byte [esp + 0x164], 0x16
lea ecx, [esp + 0x24]
call fcn.004222f0
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xf0], 0x10
jb 0x45b4f0
push dword [esp + 0xdc]
call fcn.0048e056
add esp, 4
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], 0
mov byte [esp + 0xdc], 0
mov byte [esp + 0x164], 0x14
cmp dword [esp + 0xd8], 8
jb 0x45b52f
push dword [esp + 0xc4]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], 0
mov word [esp + 0xc4], ax
mov byte [esp + 0x164], 0x19
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x45b57d
mov ecx, esi
call fcn.00484b00
push esi
call fcn.0048e056
add esp, 4
mov dword [esp + 0xa4], 0
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0xc0], 8
jb 0x45b59e
push dword [esp + 0xac]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
mov byte [esp + 0x164], 6
cmp dword [esp + 0x138], 0x10
jb 0x45b5df
push dword [esp + 0x124]
call fcn.0048e056
add esp, 4
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
mov byte [esp + 0x164], 0
cmp dword [esp + 0x120], 0x10
jb 0x45b61e
push dword [esp + 0x10c]
call fcn.0048e056
add esp, 4
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
mov dword [esp + 0x164], 0xffffffff
cmp dword [esp + 0x108], 0x10
jb 0x45b660
push dword [esp + 0xf4]
call fcn.0048e056
add esp, 4
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.0048d894
add esp, 0x15c
ret 4