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

Disassembly:
push 0x80
mov eax, 0x1021542
call fcn.01013512
mov ebx, ecx
and dword [ebp - 0x4c], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x18]
call sub.MFC42u.dll_CString::CString
and dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov edi, 0x143
cmp dword [ebp - 0x38], eax
jb 0x100e129
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0x1002b7c
push eax
call sub.MFC42u.dll_CString::Format
add esp, 0xc
push 0x11b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100e11e
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 8], 0
je 0x100e11e
push ecx
push 0
push edi
push eax
call esi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x38]
jbe 0x100e0e8
push 0x11c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100e18a
push 0x1002bf4
push 0
push edi
push eax
call esi
push 0x1002be8
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x1002bdc
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x1002bd0
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x1002b58
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x1002b74
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x120
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100e1de
push 0x1002bc4
push 0
push edi
push eax
call esi
push 0x1002bb8
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x1002bac
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x1002ba0
push 0
push edi
push dword [ebp - 0x10]
call esi
push 0x1002b90
push 0
push edi
push dword [ebp - 0x10]
call esi
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x8c], 0x40
call dword [sym.imp.KERNEL32.dll_GetPhysicallyInstalledSystemMemory]
test eax, eax
je 0x100e210
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
shrd eax, ecx, 0xa
shr ecx, 0xa
mov dword [ebx + 0x1c], eax
jmp 0x100e26c
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x100e265
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
fild qword [ebp - 0x28]
fild qword [ebp - 0x14]
fchs
faddp st(1)
fmul qword [0x1002b88]
call sub.msvcrt.dll__ftol2_sse
push 0x7f
pop ecx
sub ecx, eax
and ecx, 0xffffff80
mov dword [ebx + 0x1c], ecx
jmp 0x100e26c
mov dword [ebx + 0x1c], 0x8000
movzx edi, word [ebx + 0x1c]
push 0x11a
push dword [ebx + 4]
or edi, 0x1000000
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
mov edi, 0x465
push edi
push eax
call esi
push 0x121
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1003e
push 0
push edi
push eax
call esi
mov ecx, ebx
call fcn.0100db08
mov ecx, ebx
call fcn.0100d703
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01012a9e
xor eax, eax
inc eax
call fcn.010135fe
ret 0x10