Function at 0x10008f90
Capabilities:
Get common file path
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x1001928c]
xor eax, ebp
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x26c]
add eax, 4
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x4c], 0x400
mov ecx, dword [0x100192e8]
and ecx, 0xffff
push ecx
mov edx, dword [0x100192e8]
shr edx, 0x10
push edx
push 0x10019e08
push str.Product:__s__d._d_r_n
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call sub.MSVCR90.dll_swprintf_s
add esp, 0x18
push 0
mov edx, dword [ebp - 0x25c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.10007c80
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfff
je 0x10009025
jmp 0x10009287
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x26c]
call fcn.100083e0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xfff
je 0x10009046
jmp 0x10009287
mov dword [ebp - 0x48], 0x40
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x10009088
push 0
push str.Failed_to_query_memory_status._r_n
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x26c]
call fcn.10007c80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xfff
je 0x10009083
jmp 0x10009287
jmp 0x100091a3
mov dword [ebp - 0x268], 0x100000
mov dword [ebp - 0x264], 0
push 0
push str.Memory_status:_r_n
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10007c80
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xfff
je 0x100090c5
jmp 0x10009287
push 0
push 0x100000
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.10012380
push edx
push eax
push 0
push 0x100000
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.10012380
push edx
push eax
push str.Total_physical_memory:_4I64d_MB_tAvailable_physical_memory:_4I64d_MB_r_n
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call sub.MSVCR90.dll_swprintf_s
add esp, 0x1c
push 0
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10007c80
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xfff
je 0x10009134
jmp 0x10009287
push 0
push 0x100000
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.10012380
push edx
push eax
push 0
push 0x100000
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.10012380
push edx
push eax
push 0x100150a0
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call sub.MSVCR90.dll_swprintf_s
add esp, 0x1c
push 0
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10007c80
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xfff
je 0x100091a3
jmp 0x10009287
xor eax, eax
mov word [ebp - 0x258], ax
push 0x206
push 0
lea ecx, [ebp - 0x256]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x258]
push eax
push str.OS_Directory:__s_r_n
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call sub.MSVCR90.dll_swprintf_s
add esp, 0x10
push 0
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.10007c80
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
and edx, 0xfff
je 0x1000921b
jmp 0x10009287
xor eax, eax
mov word [ebp - 0x258], ax
push 0x104
lea ecx, [ebp - 0x258]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x258]
push edx
push str.Current_Executable_Path:__s_r_n_r_n
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call sub.MSVCR90.dll_swprintf_s
add esp, 0x10
push 0
mov edx, dword [ebp - 0x25c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x26c]
call fcn.10007c80
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfff
je 0x1000927f
jmp 0x10009287
xor edx, edx
jne 0x10008fb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.100117a3
mov esp, ebp
pop ebp
ret 4