Function at 0x10001ea6
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x7c
mov eax, 0x10045294
call fcn.1002f38a
mov edi, ecx
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov edx, 0x1004ba90
mov ecx, str.Softwareprojonepodlpdlpcore_
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], ebx
call fcn.10015df7
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x10001f0c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10001ee4
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10001f0c
lea eax, [ebp - 0x2c]
push eax
mov esi, edi
call fcn.100052b6
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10005e33
mov eax, edi
jmp 0x100020ee
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x74], eax
xor eax, eax
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x80], ebx
stosd dword es:[edi], eax
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x70], ebx
mov edi, str._c:podlp_backup
mov ecx, dword [ebp - 0x70]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebp - 0x74]
test ecx, eax
je 0x1000201e
mov bl, byte [ebp - 0x70]
add bl, 0x61
movsx ax, bl
movzx eax, ax
push eax
push str._c:_
lea ecx, [ebp - 0x48]
call fcn.10015cdb
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10001f6a
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1000200c
lea esi, [ebp - 0x66]
mov byte [ebp - 0x66], 0
call fcn.10026b4c
test al, al
je 0x10001f90
cmp byte [ebp - 0x66], 0
jne 0x1000200c
movsx eax, bl
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.10015cdb
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x10001faf
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10002043
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10001fca
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x88]
push ecx
xor esi, esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10002001
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x7c]
jb 0x10002001
mov ecx, dword [ebp - 0x88]
ja 0x10001ff8
cmp ecx, dword [ebp - 0x80]
jbe 0x10002001
mov byte [ebp - 0x65], bl
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
push esi
push 1
lea esi, [ebp - 0x64]
call fcn.10005e33
push 0
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.10005e33
xor ebx, ebx
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x1a
jl 0x10001f2a
cmp byte [ebp - 0x65], 0
jne 0x10002085
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
call fcn.100052b6
push ebx
jmp 0x100020e1
cmp dword [ebp - 0x4c], 8
mov esi, dword [ebp - 0x60]
jae 0x1000204f
lea esi, [ebp - 0x60]
mov ebx, 0x1004ba90
mov edi, str.Softwareprojonepodlpdlpcore_
call fcn.10015db7
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
push eax
call fcn.100052b6
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x64]
call fcn.10005e33
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.10005e33
push edi
jmp 0x100020e1
movsx ax, byte [ebp - 0x65]
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.10015cdb
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 3
call fcn.10005ca6
push ebx
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.10005e33
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x28]
jae 0x100020c4
lea esi, [ebp - 0x28]
mov ebx, 0x1004ba90
mov edi, str.Softwareprojonepodlpdlpcore_
call fcn.10015db7
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
call fcn.100052b6
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10005e33
mov eax, dword [ebp - 0x6c]
call fcn.1002f40d
ret