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

Disassembly:
push 0x88
mov eax, 0x1005931a
call fcn.100422ea
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.10034914
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x10023627
push 3
push ebx
lea eax, [ebp - 0x34]
push eax
lea esi, [ebp - 0x6c]
call fcn.1000d985
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x10023603
lea eax, [ebp - 0x68]
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x10023619
lea eax, [ebp - 0x34]
call fcn.10025391
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.10002370
cmp dword [ebp - 0x20], ebx
je 0x1002363e
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.1000204f
push ebx
jmp 0x100237e0
mov eax, dword [0x10068b78]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10068b7c]
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 0x10023713
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 0x10023713
mov byte [ebp - 0x6d], bl
mov bl, byte [ebp - 0x78]
add bl, 0x61
lea esi, [ebp - 0x6d]
call fcn.1003d3fe
test al, al
je 0x10023711
cmp byte [ebp - 0x6d], 0
jne 0x10023711
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 0x10023711
mov eax, dword [ebp - 0x80]
ja 0x100236e9
cmp eax, dword [ebp - 0x90]
jbe 0x10023711
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 0x100236f8
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x50]
call fcn.10002620
xor ebx, ebx
mov ecx, dword [ebp - 0x78]
inc ecx
cmp ecx, 0x1a
mov dword [ebp - 0x78], ecx
jl 0x1002367b
mov ecx, dword [ebp - 0x90]
mov eax, ecx
or eax, edi
jne 0x1002374c
mov esi, dword [ebp - 0x74]
push 0x10062dd0
call fcn.10002030
push ebx
push 1
lea esi, [ebp - 0x50]
call fcn.10002370
jmp 0x10023638
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x1002375b
mov dword [eax], ecx
mov dword [eax + 4], edi
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x10023767
lea eax, [ebp - 0x4c]
push eax
push str._lsprojonecache
lea ecx, [ebp - 0x6c]
call fcn.100347ad
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.100022bf
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.10002370
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x100237a1
lea esi, [ebp - 0x30]
call fcn.10031f83
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x100237b2
lea esi, [ebp - 0x30]
push str.09bb0175
mov ebx, str.Softwareprojonepodlp_smpcache_
mov edi, reloc.WS2_32.dll_bind
call fcn.10034889
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.1000204f
push 0
push 1
lea esi, [ebp - 0x50]
call fcn.10002370
push 0
push 1
lea esi, [ebp - 0x34]
call fcn.10002370
mov eax, dword [ebp - 0x74]
call fcn.1004236d
ret