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

Disassembly:
push 0x88
mov eax, 0x1004e1c4
call fcn.1003755a
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.1002d280
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x1001c7e4
push 3
push ebx
lea eax, [ebp - 0x34]
push eax
lea esi, [ebp - 0x6c]
call fcn.1000b581
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x1001c7c0
lea eax, [ebp - 0x68]
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1001c7d6
lea eax, [ebp - 0x34]
call fcn.1001dba2
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.100021e2
cmp dword [ebp - 0x20], ebx
je 0x1001c7fb
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.10001ed8
push ebx
jmp 0x1001c99d
mov eax, dword [0x1005a7a4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1005a7a8]
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 0x1001c8d0
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 0x1001c8d0
mov byte [ebp - 0x6d], bl
mov bl, byte [ebp - 0x78]
add bl, 0x61
lea esi, [ebp - 0x6d]
call fcn.10032e33
test al, al
je 0x1001c8ce
cmp byte [ebp - 0x6d], 0
jne 0x1001c8ce
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 0x1001c8ce
mov eax, dword [ebp - 0x80]
ja 0x1001c8a6
cmp eax, dword [ebp - 0x90]
jbe 0x1001c8ce
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 0x1001c8b5
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x50]
call fcn.100024c5
xor ebx, ebx
mov ecx, dword [ebp - 0x78]
inc ecx
cmp ecx, 0x1a
mov dword [ebp - 0x78], ecx
jl 0x1001c838
mov ecx, dword [ebp - 0x90]
mov eax, ecx
or eax, edi
jne 0x1001c909
mov esi, dword [ebp - 0x74]
push 0x10055d50
call fcn.10001eb9
push ebx
push 1
lea esi, [ebp - 0x50]
call fcn.100021e2
jmp 0x1001c7f5
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x1001c918
mov dword [eax], ecx
mov dword [eax + 4], edi
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x1001c924
lea eax, [ebp - 0x4c]
push eax
push str._lsprojonecache
lea ecx, [ebp - 0x6c]
call fcn.1002d119
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10002131
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100021e2
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x1001c95e
lea esi, [ebp - 0x30]
call fcn.1002ab30
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x1001c96f
lea esi, [ebp - 0x30]
push str.09bb0175
mov ebx, str.Softwareprojonepodlp_smpcache_
mov edi, reloc.WS2_32.dll_bind
call fcn.1002d1f5
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.10001ed8
push 0
push 1
lea esi, [ebp - 0x50]
call fcn.100021e2
push 0
push 1
lea esi, [ebp - 0x34]
call fcn.100021e2
mov eax, dword [ebp - 0x74]
call fcn.100375dd
ret