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

Disassembly:
push 0xffffffffffffffff
push 0x52e7b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [0x58ada8]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x58ada8
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor eax, eax
mov byte [esp + 0x60], al
mov dword [esp + 0xa8], eax
mov dword [esp + 0x10], eax
mov ecx, 0xf
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0
cpuid
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46fbcb
push ecx
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00429610
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CPU_Family
mov byte [esp + 0xb4], 1
call fcn.0040e1f0
mov ecx, esi
mov byte [esp + 0xb0], 0
call fcn.0046e350
mov eax, SysReAllocString
cpuid
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0x80000004
jb 0x46fca8
mov eax, reloc.OLEAUT32.dll_SysReAllocString
cpuid
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov eax, SysStringLen
cpuid
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, reloc.OLEAUT32.dll_SysReAllocStringLen
cpuid
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
lea eax, [esp + 0x60]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46fc40
sub eax, edx
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x14]
call fcn.00403060
lea ecx, [esp + 0xc]
call fcn.00448d20
mov ecx, eax
call fcn.00448d70
mov eax, dword [esp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CPU_Name
mov byte [esp + 0xb4], 2
call fcn.0040e1f0
mov ecx, esi
mov byte [esp + 0xb0], 0
call fcn.0046e350
mov eax, 1
cpuid
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
test dword [esp + 0x10], 0x20000
je 0x46fd33
mov eax, 3
cpuid
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
push str._08X__08X__08X
push ecx
call fcn.0044c220
mov eax, dword [esp + 0x20]
add esp, 0x10
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.CPU_Serial
mov byte [esp + 0xb4], 3
call fcn.0040e1f0
xor bl, bl
mov ecx, esi
mov byte [esp + 0xb0], bl
call fcn.0046e350
jmp 0x46fd35
xor bl, bl
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x10]
push 0x538370
push ecx
call fcn.0044c220
mov eax, dword [esp + 0x18]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x538358
mov byte [esp + 0xb4], 4
call fcn.0040e1f0
mov ecx, esi
mov byte [esp + 0xb0], bl
call fcn.0046e350
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
mov eax, dword [esp + 0x24]
add eax, 0xa0000
shr eax, 0x14
push eax
lea ecx, [esp + 0x10]
push 0x538354
push ecx
call fcn.0044c220
mov eax, dword [esp + 0x18]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x53834c
mov byte [esp + 0xb4], 5
call fcn.0040e1f0
mov ecx, esi
mov byte [esp + 0xb0], bl
call fcn.0046e350
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0xa8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46fe26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret