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

Disassembly:
push 0xffffffffffffffff
push 0x4c6eb7
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4f55dc]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push edi
mov eax, dword [0x4f55dc]
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.004a1910
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 0x45e775
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 0x4dc0fc
push eax
call fcn.004073e0
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.00437320
add esp, 4
mov byte [esp + 0x164], 0
cmp dword [esp + 0x150], 8
jb 0x45e755
push dword [esp + 0x13c]
call fcn.0049c766
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 0x45e807
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.00425d90
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 2
mov ecx, esi
push 0x4dc329
push str.A0201
call fcn.00427e90
mov byte [esp + 0x164], 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00426d90
mov byte [esp + 0x164], 0
lea ecx, [esp + 0x24]
call fcn.00426bf0
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.004024a0
mov byte [esp + 0x164], 4
mov eax, dword [0x4f8910]
test al, 1
jne 0x45e883
or eax, 1
mov dword [0x4f8910], eax
mov byte [esp + 0x164], 5
mov dword [0x4f890c], 0
call fcn.00407db0
push 0x4cdb80
call fcn.0049c72f
add esp, 4
mov byte [esp + 0x164], 4
lea eax, [esp + 0x24]
mov ecx, 0x4f890c
push eax
call fcn.00407f70
mov edi, eax
mov byte [esp + 0x164], 0
cmp dword [esp + 0x38], 8
jb 0x45e8af
push dword [esp + 0x24]
call fcn.0049c766
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 0x45e8da
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 0x45e9ed
push 0
call esi
test eax, eax
jle 0x45e9ed
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 0x4d6e0c
push eax
call fcn.004073e0
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.00437320
add esp, 4
mov byte [esp + 0x164], 6
cmp dword [esp + 0x150], 8
jb 0x45e9cd
push dword [esp + 0x13c]
call fcn.0049c766
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 0x45ea99
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.00425d90
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 8
mov ecx, dword [esp + 0x20]
push 0x4dc341
push str.A0202
call fcn.00427e90
mov byte [esp + 0x164], 9
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00426d90
mov byte [esp + 0x164], 6
lea ecx, [esp + 0x13c]
call fcn.00426bf0
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 0x45ebac
push 1
call esi
test eax, eax
jle 0x45ebac
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 0x4d6e0c
push eax
call fcn.004073e0
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.00437320
add esp, 4
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0x150], 8
jb 0x45eb8c
push dword [esp + 0x13c]
call fcn.0049c766
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 0x45ec58
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.00425d90
mov dword [esp + 0x13c], eax
mov byte [esp + 0x164], 0xc
mov ecx, dword [esp + 0x20]
push 0x4dc339
push str.A0203
call fcn.00427e90
mov byte [esp + 0x164], 0xd
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00426d90
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.00426bf0
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 0x4dc351
push str.A0204
call fcn.00427e90
mov byte [esp + 0x164], 0xf
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00426d90
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.00426bf0
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 0x45ed56
push str.GetDeviceCaps
push eax
call esi
mov edi, eax
xor esi, esi
test edi, edi
je 0x45ed92
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45ed92
cmp dword [esp + 0x18], esi
je 0x45ed92
push esi
call eax
mov esi, eax
test esi, esi
je 0x45ed90
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 0x45ed94
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45eda3
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 0x4dc379
push str.A0205
call fcn.00427e90
mov byte [esp + 0x164], 0x11
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00426d90
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x24]
call fcn.00426bf0
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 0x4dc399
push str.A0206
call fcn.00427e90
mov byte [esp + 0x164], 0x13
lea ecx, [esp + 0x13c]
push ecx
mov ecx, eax
call fcn.00426d90
mov byte [esp + 0x164], 0xa
lea ecx, [esp + 0x13c]
call fcn.00426bf0
xorps xmm0, xmm0
lea ecx, [esp + 0xa4]
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmmword [esp + 0xb4], xmm0
call fcn.00477560
mov byte [esp + 0x164], 0x14
lea eax, [esp + 0xac]
mov edi, dword [esp + 0x14]
cmp eax, edi
je 0x45eee4
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00401fd0
mov eax, dword [esp + 0xa4]
mov cl, byte [edi + 0x30]
mov byte [eax + 0x3d], cl
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa8]
call fcn.004776c0
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xd4], 0
jne 0x45ef2a
push 0xc
push str.000000000000
lea ecx, [esp + 0xcc]
call fcn.004024a0
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.00437320
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.00425d90
mov dword [esp + 0x24], eax
mov byte [esp + 0x164], 0x17
mov ecx, esi
push 0x4dc391
push str.A0207
call fcn.00427e90
mov byte [esp + 0x164], 0x18
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00426d90
mov byte [esp + 0x164], 0x16
lea ecx, [esp + 0x24]
call fcn.00426bf0
mov byte [esp + 0x164], 0x15
cmp dword [esp + 0xf0], 0x10
jb 0x45f03f
push dword [esp + 0xdc]
call fcn.0049c766
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 0x45f07e
push dword [esp + 0xc4]
call fcn.0049c766
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 0x45f0cc
mov ecx, esi
call fcn.0048c320
push esi
call fcn.0049c766
add esp, 4
mov dword [esp + 0xa4], 0
mov byte [esp + 0x164], 0xa
cmp dword [esp + 0xc0], 8
jb 0x45f0ed
push dword [esp + 0xac]
call fcn.0049c766
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 0x45f12e
push dword [esp + 0x124]
call fcn.0049c766
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 0x45f16d
push dword [esp + 0x10c]
call fcn.0049c766
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 0x45f1af
push dword [esp + 0xf4]
call fcn.0049c766
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.0049bfa3
add esp, 0x15c
ret 4