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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d640
mov eax, dword fs:[0]
push eax
sub esp, 0xd50
mov eax, dword [0x4c0e0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0xd30]
call dword [sym.imp.PMCORE.dll_public:_void___thiscall_PMCorePreferences::constructor_void_]
lea eax, [ebp - 0xd30]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.PMCORE.dll_PMGetPreference]
add esp, 4
lea eax, [ebp - 0xd5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x42d
mov ecx, esi
call sub.mfc140.dll_Ordinal_5401
mov edi, eax
test edi, edi
je 0x474164
call dword [sym.imp.PMCORE.dll_enum_EUnitType___cdecl_PMGetSyetemUnit_void_]
push eax
call fcn.00474cc0
mov dword [esi + 0x230], eax
add esp, 4
mov eax, 0x1f400000
mov dword [esi + 0x238], 3
cmp eax, dword [ebp - 0x28]
mov dword [esi + 0x234], 0
sbb eax, eax
mov dword [esi + 0x128], 0
push 0
and eax, 2
push 0
inc eax
push 0x14e
mov dword [esi + 0x23c], eax
push dword [edi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
push 0
push 2
push 0x14e
push dword [esi + 0x268]
mov dword [esi + 0x244], 2
call edi
cmp dword [esi + 0x350], 0
mov eax, dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
mov ebx, dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
je 0x47410c
push str.PPS_Skin
lea ecx, [ebp - 0xd38]
call eax
push str.FX_Default_Skin
lea ecx, [ebp - 0xd34]
mov byte [ebp - 4], 1
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
push 0
mov byte [ebp - 4], 2
call fcn.00477270
add esp, 4
lea ecx, [ebp - 0xd38]
mov edx, dword [eax]
push ecx
lea ecx, [ebp - 0xd34]
push ecx
mov ecx, eax
call dword [edx + 0x18]
lea ecx, [ebp - 0xd34]
mov byte [ebp - 4], 1
call ebx
lea eax, [ebp - 0xd38]
push eax
lea eax, [ebp - 0xd34]
push eax
call dword [sym.imp.FSUTIL.dll_class_ASkinManager____cdecl_FSGetSkinManager_void_]
mov ecx, eax
call dword [sym.imp.FSUTIL.dll_public:_class_AString___thiscall_ASkinManager::folderToDisplayName_class_AString_const__]
push dword [eax]
push 0xffffffffffffffff
push 0x14d
push dword [esi + 0x2f0]
call edi
lea ecx, [ebp - 0xd34]
call ebx
lea ecx, [ebp - 0xd38]
mov byte [ebp - 4], 0
call ebx
mov eax, dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
push str.CFG_AUTOLAUNCH_PRINTWIZARD
lea ecx, [ebp - 0xd34]
mov dword [esi + 0x354], 0
call eax
push 0
mov byte [ebp - 4], 3
call fcn.00477270
add esp, 4
lea ecx, [ebp - 0xd34]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x20]
lea ecx, [ebp - 0xd34]
mov dword [esi + 0x358], eax
mov byte [ebp - 4], 0
call ebx
push 0
mov ecx, esi
mov dword [esi + 0x35c], 1
call sub.mfc140.dll_Ordinal_14421
lea ecx, [ebp - 0xd30]
call dword [sym.imp.PMCORE.dll_public:_void___thiscall_PMCorePreferences::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ff18
mov esp, ebp
pop ebp
ret