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

Disassembly:
push 0x7c
mov eax, 0x10044339
call fcn.1002e47a
mov edi, ecx
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov edx, 0x1004aa90
mov ecx, str.Softwareprojonepodlpdlpcore_
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], ebx
call fcn.10015a60
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x10001e5b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10001e33
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10001e5b
lea eax, [ebp - 0x2c]
push eax
mov esi, edi
call fcn.100050b4
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10005bea
mov eax, edi
jmp 0x1000203d
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 0x10001f6d
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.10015944
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10001eb9
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10001f5b
lea esi, [ebp - 0x66]
mov byte [ebp - 0x66], 0
call fcn.1002641d
test al, al
je 0x10001edf
cmp byte [ebp - 0x66], 0
jne 0x10001f5b
movsx eax, bl
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.10015944
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x10001efe
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10001f92
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10001f19
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 0x10001f50
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x7c]
jb 0x10001f50
mov ecx, dword [ebp - 0x88]
ja 0x10001f47
cmp ecx, dword [ebp - 0x80]
jbe 0x10001f50
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.10005bea
push 0
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.10005bea
xor ebx, ebx
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x1a
jl 0x10001e79
cmp byte [ebp - 0x65], 0
jne 0x10001fd4
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
call fcn.100050b4
push ebx
jmp 0x10002030
cmp dword [ebp - 0x4c], 8
mov esi, dword [ebp - 0x60]
jae 0x10001f9e
lea esi, [ebp - 0x60]
mov ebx, 0x1004aa90
mov edi, str.Softwareprojonepodlpdlpcore_
call fcn.10015a20
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
push eax
call fcn.100050b4
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x64]
call fcn.10005bea
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.10005bea
push edi
jmp 0x10002030
movsx ax, byte [ebp - 0x65]
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.10015944
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 3
call fcn.10005a5d
push ebx
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.10005bea
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x28]
jae 0x10002013
lea esi, [ebp - 0x28]
mov ebx, 0x1004aa90
mov edi, str.Softwareprojonepodlpdlpcore_
call fcn.10015a20
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
call fcn.100050b4
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10005bea
mov eax, dword [ebp - 0x6c]
call fcn.1002e4fd
ret