Function at 0x18077dd3
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x1826b00c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0xb8], eax
mov bl, cl
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xb0], eax
call fcn.180175e4
push 0x5c
mov dword [ebp - 0xac], eax
call fcn.180b1a93
pop ecx
mov esi, eax
mov ecx, esi
call fcn.18077c35
push 0x18245f50
mov byte [esi], bl
call fcn.180d0fcb
pop ecx
push eax
push 0x18245f50
lea ecx, [esi + 8]
call fcn.180070d0
mov dl, bl
lea ecx, [ebp - 0xc0]
call fcn.1801b951
mov ebx, esi
push eax
lea ecx, [ebx + 4]
call fcn.18009d7d
mov ecx, dword [ebp - 0xc0]
lea ecx, [ecx - 0x10]
call fcn.18006a60
push dword [0x1827e104]
lea ecx, [ebx + 0xc]
call fcn.18006fe7
push dword [0x1827e100]
lea ecx, [ebx + 0x10]
call fcn.18006fe7
push edi
lea ecx, [ebx + 0x14]
call fcn.18009d7d
push dword [ebp - 0xb8]
lea ecx, [ebx + 0x18]
call fcn.18009d7d
lea eax, [ebp - 0xb8]
push eax
call fcn.1801815b
push eax
lea ecx, [ebx + 0x1c]
call fcn.18009d7d
mov ecx, dword [ebp - 0xb8]
lea ecx, [ecx - 0x10]
call fcn.18006a60
push dword [ebp - 0xc4]
lea ecx, [ebx + 0x24]
call fcn.18009d7d
push dword [ebp - 0xb0]
lea ecx, [ebx + 0x20]
call fcn.18009d7d
mov esi, dword [ebp - 0xac]
lea eax, [ebp - 0xa5]
push eax
mov ecx, esi
mov byte [ebp - 0xa5], 0
call fcn.18017ab9
cmp byte [ebp - 0xa5], 0
je 0x18077efc
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.18018a9d
push eax
lea ecx, [ebx + 0x2c]
call fcn.18009d7d
mov ecx, dword [ebp - 0xac]
lea ecx, [ecx - 0x10]
call fcn.18006a60
call fcn.1800ca8e
mov byte [ebx + 0x30], al
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x18077fb2
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xb4], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0xb0], ecx
fild qword [ebp - 0xb4]
and dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], eax
push ecx
fild qword [ebp - 0xb4]
push ecx
fchs
faddp st(1)
fstp qword [ebp - 0xb4]
fld qword [ebp - 0xb4]
fmul qword [0x1824d5e8]
fadd qword [0x1824d5f0]
fstp qword [esp]
call fcn.180f4fd0
pop ecx
pop ecx
call fcn.180f1680
mov dword [ebx + 0x34], eax
xor eax, eax
lea ecx, [ebp - 0x3c]
push 0xf
pop esi
push 7
push 0x18239660
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 0x3e], al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x3c], al
call fcn.1801953f
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x10], esi
mov byte [ebp - 0x24], 0
call fcn.180a2e79
mov al, byte [ebp - 0x47]
mov edi, 0x1823b1a0
mov byte [ebx + 0x38], al
mov al, byte [ebp - 0x46]
mov byte [ebx + 0x39], al
mov al, byte [ebp - 0x45]
mov byte [ebx + 0x3a], al
mov al, byte [ebp - 0x44]
mov byte [ebx + 0x3b], al
mov al, byte [ebp - 0x43]
mov byte [ebx + 0x3c], al
mov al, byte [ebp - 0x42]
mov byte [ebx + 0x3d], al
mov al, byte [ebp - 0x41]
push edi
mov byte [ebx + 0x3e], al
call fcn.180d0fcb
pop ecx
push eax
push edi
lea ecx, [ebx + 0x40]
call fcn.180070d0
lea edx, [ebx + 0x48]
lea ecx, [ebx + 0x44]
call fcn.1801a72d
call fcn.1801239c
mov edx, eax
lea ecx, [ebp - 0xac]
call fcn.1807a289
push eax
lea ecx, [ebx + 0x4c]
call fcn.18009d7d
mov ecx, dword [ebp - 0xac]
lea ecx, [ecx - 0x10]
call fcn.18006a60
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0x24]
call fcn.18011379
lea ecx, [ebp - 0x3c]
call fcn.18011379
lea ecx, [ebp - 0xac]
call fcn.1802908b
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180b1200
leave
ret