Function at 0x5af970
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x3d0]
sub esp, 0x3d0
push 0xffffffffffffffff
push 0x708dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x76e964]
xor eax, ebp
mov dword [ebp + 0x3cc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 0x3dc]
mov eax, dword [ebp + 0x3d8]
mov esi, dword [ebp + 0x3e0]
push ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebx + 0x410]
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
call fcn.005a0e00
test eax, eax
je 0x5afc21
mov ecx, dword [ebx + 0x418]
test ecx, ecx
jne 0x5af9ec
xor eax, eax
jmp 0x5af9f2
mov eax, dword [ebx + 0x414]
push dword [esi]
push ecx
push eax
mov ecx, ebx
call fcn.006b6420
test al, al
je 0x5afc21
lea eax, [ebp + 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp + 0x2c0]
push eax
lea eax, [ebp + 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp + 0x2c0]
mov ebx, 0x8461cefd
mul ebx
mov edi, 0xabcc7711
mov dword [ebp - 0x2c], eax
mov esi, edx
mov eax, dword [ebp + 0x2c0]
mul edi
mov edi, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x2c4]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp + 0x2c4]
mov edx, 0xabcc7711
mul edx
add ecx, esi
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x28]
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], edi
adc ecx, 0
xor eax, eax
add ebx, ecx
adc eax, eax
add esi, ebx
adc edx, eax
lea eax, [ebp + 0x2c8]
shrd esi, edx, 0x1a
push eax
shr edx, 0x1a
push 0x104
mov dword [ebp + 0x2c0], esi
mov dword [ebp + 0x2c4], edx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 0x2b4]
mov byte [ebp + 0x2cb], 0
push eax
lea eax, [ebp + 0x2b0]
push eax
lea eax, [ebp + 0x2b8]
push eax
lea eax, [ebp + 0x2bc]
push eax
lea eax, [ebp + 0x2c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edx, dword [ebp + 0x2bc]
xor edx, dword [ebp + 0x2b8]
mov eax, dword [ebp + 0x2b4]
mov ecx, edx
xor edx, dword [ebp + 0x2b0]
xor ecx, eax
mov ebx, dword [ebp - 0x18]
xor edx, eax
push 0xffffffffffffffff
push edx
push ecx
push esi
mov ecx, ebx
call fcn.006b90d0
cmp byte [ebp + 0x3e4], 0
mov byte [ebp - 0xd], al
je 0x5afc23
mov esi, dword [ebx + 0x2f8]
push esi
mov dword [ebp - 0x14], esi
call fcn.006deb9b
add esp, 4
test eax, eax
jne 0x5afc48
lea eax, [esi + 0x30]
mov ecx, 0x54
mov esi, eax
mov dword [ebp - 0x18], eax
lea edi, [ebp + 0x150]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
push esi
mov dword [ebp - 4], 0
call fcn.006debac
push dword [ebp - 0x20]
lea eax, [ebp + 0x150]
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
push eax
call fcn.00603e10
push esi
call fcn.006deb9b
add esp, 0x14
test eax, eax
jne 0x5afc4e
mov edi, dword [ebp - 0x18]
lea esi, [ebp + 0x150]
mov ecx, 0x54
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.006debac
mov ebx, dword [ebx + 0x2f8]
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.006deb9b
add esp, 8
test eax, eax
jne 0x5afc54
lea esi, [ebx + 0x30]
mov ecx, 0x54
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
push ebx
mov dword [ebp - 4], 2
call fcn.006debac
lea eax, [ebp]
mov dword [ebp - 4], 0xffffffff
push 0xffffffffffffffff
push eax
call fcn.00603ed0
push ebx
mov dword [ebp - 0x1c], eax
call fcn.006deb9b
add esp, 0x10
test eax, eax
jne 0x5afc5a
mov ecx, 0x54
lea esi, [ebp]
lea edi, [ebx + 0x30]
rep movsd dword es:[edi], dword [esi]
push ebx
mov dword [ebp - 4], 3
call fcn.006debac
mov eax, dword [ebp - 0x24]
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov al, byte [ebp - 0xd]
jmp 0x5afc23
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3cc]
xor ecx, ebp
call fcn.006dd760
lea esp, [ebp + 0x3d0]
pop ebp
ret 0x10
push eax
call fcn.006dec9d
push eax
call fcn.006dec9d
push eax
call fcn.006dec9d
push eax
call fcn.006dec9d
int3