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

Disassembly:
push 0x7c
mov eax, 0x10043c99
call fcn.1002ddda
mov edi, ecx
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov edx, 0x10049a48
mov ecx, str.Softwareprojonepodlpdlpcore_
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], ebx
call fcn.10015859
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x10001cae
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10001c86
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10001cae
lea eax, [ebp - 0x2c]
push eax
mov esi, edi
call fcn.10004f8a
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10005a92
mov eax, edi
jmp 0x10001e90
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 0x10001dc0
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.1001573d
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10001d0c
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10001dae
lea esi, [ebp - 0x66]
mov byte [ebp - 0x66], 0
call fcn.1002616b
test al, al
je 0x10001d32
cmp byte [ebp - 0x66], 0
jne 0x10001dae
movsx eax, bl
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.1001573d
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], 8
mov eax, dword [ebp - 0x60]
jae 0x10001d51
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10001de5
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10001d6c
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 0x10001da3
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x7c]
jb 0x10001da3
mov ecx, dword [ebp - 0x88]
ja 0x10001d9a
cmp ecx, dword [ebp - 0x80]
jbe 0x10001da3
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.10005a92
push 0
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.10005a92
xor ebx, ebx
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x1a
jl 0x10001ccc
cmp byte [ebp - 0x65], 0
jne 0x10001e27
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
call fcn.10004f8a
push ebx
jmp 0x10001e83
cmp dword [ebp - 0x4c], 8
mov esi, dword [ebp - 0x60]
jae 0x10001df1
lea esi, [ebp - 0x60]
mov ebx, 0x10049a48
mov edi, str.Softwareprojonepodlpdlpcore_
call fcn.10015819
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
push eax
call fcn.10004f8a
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x64]
call fcn.10005a92
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.10005a92
push edi
jmp 0x10001e83
movsx ax, byte [ebp - 0x65]
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.1001573d
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 3
call fcn.10005905
push ebx
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.10005a92
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x28]
jae 0x10001e66
lea esi, [ebp - 0x28]
mov ebx, 0x10049a48
mov edi, str.Softwareprojonepodlpdlpcore_
call fcn.10015819
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x2c]
push eax
call fcn.10004f8a
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10005a92
mov eax, dword [ebp - 0x6c]
call fcn.1002de5d
ret