Function at 0x40395c
Capabilities:
Get common file path
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403c1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004012b8
xor edx, edx
push ebp
push 0x403bdd
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x78]
xor ecx, ecx
mov edx, 0x40
call fcn.00401070
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00401328
push 0x104
mov eax, dword [ebp - 4]
call fcn.004012c8
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, eax
lea eax, [ebp - 4]
call fcn.00401328
lea eax, [ebp - 4]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00401350
cmp dword [ebp - 4], 0
jne 0x403a1c
lea eax, [ebp - 4]
mov edx, 0x403c34
call fcn.004012c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004012c8
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
jne 0x403a46
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x403c3c
push 0x403c68
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.004016e0
test eax, eax
je 0x403a6e
mov dword [ebp - 0x78], 0x40
lea edx, [ebp - 0x78]
push edx
call eax
jmp 0x403aaa
mov dword [ebp - 0x38], 0x20
lea eax, [ebp - 0x38]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push 0
push 0x100000
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
add eax, 0x80000
adc edx, 0
call fcn.004013d8
push edx
push eax
lea ecx, [ebp - 0x80]
mov dl, 0x30
mov eax, 1
call fcn.00401f4c
push dword [ebp - 0x80]
push 0x403c90
push 0
push 0x100000
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
add eax, 0x80000
adc edx, 0
call fcn.004013d8
push edx
push eax
lea ecx, [ebp - 0x84]
mov dl, 0x30
mov eax, 1
call fcn.00401f4c
push dword [ebp - 0x84]
push 0x403ca0
push 0
push 0x100000
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
add eax, 0x80000
adc edx, 0
call fcn.004013d8
push edx
push eax
lea ecx, [ebp - 0x88]
mov dl, 0x30
mov eax, 1
call fcn.00401f4c
push dword [ebp - 0x88]
push 0x403c90
push 0
push 0x100000
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
add eax, 0x80000
adc edx, 0
call fcn.004013d8
push edx
push eax
lea ecx, [ebp - 0x8c]
mov dl, 0x30
mov eax, 1
call fcn.00401f4c
push dword [ebp - 0x8c]
push 0x403cc8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x90]
call fcn.00401f5c
push dword [ebp - 0x90]
push 0x403c90
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x94]
call fcn.00401f5c
push dword [ebp - 0x94]
lea eax, [ebp - 0x7c]
mov edx, 0xb
call fcn.00401248
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
call fcn.004012f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x403bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c21
lea eax, [ebp - 0x94]
mov edx, 7
call fcn.00401210
lea eax, [ebp - 4]
call fcn.004012a8
ret