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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480c3e
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xac], 0
jg 0x4195ae
jl 0x4192d4
cmp dword [edi + 0xa8], 0
ja 0x4195ae
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
shrd eax, ecx, 0x14
push 0x2e
shr ecx, 0x14
mov dword [edi + 0xac], ecx
lea ecx, [ebp + 0x30]
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov dword [edi + 0xa8], eax
mov dword [ebp + 0x44], 0xf
mov dword [ebp + 0x40], 0
mov byte [ebp + 0x30], 0
call fcn.00403ef0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x28], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x419352
mov eax, dword [ecx]
jmp 0x419354
mov eax, ecx
push 0xa
push str.Identifier
mov byte [eax], 0
call fcn.00403ef0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x419384
mov eax, dword [ecx]
jmp 0x419386
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x30]
push 0
push eax
call fcn.00403de0
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00422ff0
add esp, 0x38
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00423f80
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004240c0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x44]
call fcn.00424060
push 0x487558
push eax
lea eax, [ebp]
mov byte [ebp - 4], 4
push eax
call fcn.00402570
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00404bc0
push 0x48659c
push eax
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 6
push eax
call fcn.00402570
add esp, 0x24
mov eax, dword [ebp + 0x2c]
cmp eax, 0x10
jb 0x41941f
inc eax
lea ecx, [ebp + 0x18]
push eax
push dword [ebp + 0x18]
call fcn.00404120
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
mov eax, dword [ebp + 0x14]
cmp eax, 0x10
jb 0x419446
inc eax
lea ecx, [ebp]
push eax
push dword [ebp]
call fcn.00404120
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xa
cmp eax, 0x10
jb 0x419471
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00404120
cmp dword [ebp + 0x58], 0
mov dword [ebp - 0x10], 0xf
sete al
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
test al, al
je 0x41949d
push 7
push str.Unknown
lea ecx, [ebp + 0x60]
call fcn.00403ef0
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00409690
add esp, 8
mov ebx, eax
lea esi, [edi + 0xc8]
cmp esi, ebx
je 0x4194f1
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x4194cc
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404120
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x4194e4
mov eax, dword [esi]
jmp 0x4194e6
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.00403700
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xa
cmp eax, 0x10
jb 0x41950a
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404120
lea ecx, [ebp - 0x44]
call fcn.00424050
lea esi, [edi + 0xe0]
mov dword [edi + 0xe8], eax
add edi, 0xe4
push esi
push edi
call fcn.0041c4a0
add esp, 8
test eax, eax
jns 0x419543
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x54]
mov dword [esi], eax
mov dword [edi], eax
mov eax, dword [ebp + 0x74]
cmp eax, 0x10
jb 0x419558
inc eax
lea ecx, [ebp + 0x60]
push eax
push dword [ebp + 0x60]
call fcn.00404120
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x74], 0xf
mov dword [ebp + 0x70], 0
mov byte [ebp + 0x60], 0
call fcn.00423fa0
mov eax, dword [ebp + 0x5c]
cmp eax, 0x10
jb 0x419587
inc eax
lea ecx, [ebp + 0x48]
push eax
push dword [ebp + 0x48]
call fcn.00404120
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x5c], 0xf
mov dword [ebp + 0x58], 0
mov byte [ebp + 0x48], 0
cmp eax, 0x10
jb 0x4195ae
inc eax
lea ecx, [ebp + 0x30]
push eax
push dword [ebp + 0x30]
call fcn.00404120
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x78]
pop ebp
ret