Function at 0x410e30
Capabilities:
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470c48
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x48d000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [esi + 0x36c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
push 1
call edx
mov ecx, dword [esi + 0x374]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
push 1
call edx
mov ecx, dword [esi + 0x370]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
push 1
call edx
mov ecx, dword [esi + 0x378]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
push 1
call edx
mov ecx, dword [esi + 0x37c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
push 1
call edx
mov ecx, dword [esi + 0x360]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
push 1
call edx
mov ecx, dword [esi + 0x38c]
mov edx, dword [0x490bf8]
mov eax, dword [ecx]
mov edx, dword [edx*4 + 0x48e50c]
mov eax, dword [eax + 0x2c]
push edx
call eax
mov eax, dword [0x490bf8]
cmp eax, 6
jne 0x410ef2
push str.Windows7_64
jmp 0x410f20
cmp eax, 8
jne 0x410efe
push str.Windows8_32
jmp 0x410f20
cmp eax, 9
jne 0x410f0a
push str.Windows8_64
jmp 0x410f20
cmp eax, 0xc
je 0x410f1b
cmp eax, 0xd
jne 0x410f1b
push str.Windows7_64
jmp 0x410f20
push str.Windows7_32
mov ecx, dword [esi + 0x390]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
push 0x40
xor edi, edi
lea ecx, [ebp - 0x50]
push edi
push ecx
call fcn.00457050
add esp, 0xc
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x5c], eax
fild qword [ebp - 0x60]
and ecx, 0x80000000
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edi
fild qword [ebp - 0x60]
sub esp, 8
lea edi, [ebp - 0x54]
fchs
faddp st(1)
fmul qword [0x481bd8]
fstp qword [esp]
push str._.2lf_GB
call fcn.004019a0
mov ecx, dword [esi + 0x394]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x54]
mov edx, dword [edx + 0x2c]
add esp, 0xc
push eax
call edx
mov ecx, dword [0x4905c8]
lea ebx, [ebp - 0x70]
call fcn.004132c0
push eax
lea eax, [ebp - 0x6c]
push eax
mov ebx, 0x47fc38
mov byte [ebp - 4], 1
call fcn.00413550
mov eax, dword [eax]
add esp, 8
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411011
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411034
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 2
movzx ecx, word [0x4905c8]
push ecx
push 0x47fc40
lea edi, [ebp - 0x54]
call fcn.004019a0
mov ecx, dword [esi + 0x398]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x54]
mov edx, dword [edx + 0x2c]
add esp, 8
push eax
call edx
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x64], eax
fild qword [ebp - 0x68]
and ecx, 0x80000000
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x68]
sub esp, 8
fchs
faddp st(1)
fmul qword [0x481bd8]
fstp qword [esp]
push 0x47fc48
call fcn.004019a0
mov ecx, dword [esi + 0x3a0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x54]
mov edx, dword [edx + 0x2c]
add esp, 0xc
push eax
call edx
mov eax, dword [0x490bf4]
push eax
push 0x47fc58
call fcn.004019a0
mov ecx, dword [esi + 0x39c]
mov edx, dword [ecx]
mov edi, dword [ebp - 0x54]
mov eax, dword [edx + 0x2c]
add esp, 8
push edi
call eax
mov ecx, dword [esi + 0x384]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1b4]
push 0
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411124
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411147
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret