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

Disassembly:
push 0x88
mov eax, 0x1004eae2
call fcn.10037d5a
mov eax, dword [ebp + 8]
mov edi, ecx
push str.09bb0175
xor ebx, ebx
push reloc.WS2_32.dll_bind
mov edx, str.Softwareprojonepodlp_smpcache_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x84], ebx
call fcn.1002d927
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x1001cdfd
push 3
push ebx
lea eax, [ebp - 0x34]
push eax
lea esi, [ebp - 0x6c]
call fcn.1000b8d3
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x1001cdd9
lea eax, [ebp - 0x68]
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1001cdef
lea eax, [ebp - 0x34]
call fcn.1001e236
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.100021ef
cmp dword [ebp - 0x20], ebx
je 0x1001ce14
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.10001ee6
push ebx
jmp 0x1001cfb6
mov eax, dword [0x1005bae4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1005bae8]
mov dword [ebp - 0x90], ebx
xor edi, edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x84]
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x1001cee9
lea eax, [ebp - 0x18]
add ecx, 0x61
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1001cee9
mov byte [ebp - 0x6d], bl
mov bl, byte [ebp - 0x78]
add bl, 0x61
lea esi, [ebp - 0x6d]
call fcn.100332a0
test al, al
je 0x1001cee7
cmp byte [ebp - 0x6d], 0
jne 0x1001cee7
xor eax, eax
push eax
push eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 0x7c], edi
jb 0x1001cee7
mov eax, dword [ebp - 0x80]
ja 0x1001cebf
cmp eax, dword [ebp - 0x90]
jbe 0x1001cee7
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x18]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1001cece
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x50]
call fcn.100024b2
xor ebx, ebx
mov ecx, dword [ebp - 0x78]
inc ecx
cmp ecx, 0x1a
mov dword [ebp - 0x78], ecx
jl 0x1001ce51
mov ecx, dword [ebp - 0x90]
mov eax, ecx
or eax, edi
jne 0x1001cf22
mov esi, dword [ebp - 0x74]
push 0x10056d70
call fcn.10001ec7
push ebx
push 1
lea esi, [ebp - 0x50]
call fcn.100021ef
jmp 0x1001ce0e
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x1001cf31
mov dword [eax], ecx
mov dword [eax + 4], edi
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x1001cf3d
lea eax, [ebp - 0x4c]
push eax
push str._lsprojonecache
lea ecx, [ebp - 0x6c]
call fcn.1002d7c0
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.1000213e
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100021ef
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x1001cf77
lea esi, [ebp - 0x30]
call fcn.1002b0b2
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x1001cf88
lea esi, [ebp - 0x30]
push str.09bb0175
mov ebx, str.Softwareprojonepodlp_smpcache_
mov edi, reloc.WS2_32.dll_bind
call fcn.1002d89c
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.10001ee6
push 0
push 1
lea esi, [ebp - 0x50]
call fcn.100021ef
push 0
push 1
lea esi, [ebp - 0x34]
call fcn.100021ef
mov eax, dword [ebp - 0x74]
call fcn.10037ddd
ret