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

Disassembly:
push 0x88
mov eax, 0x10058950
call fcn.100418da
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.100342d2
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x10022fc2
push 3
push ebx
lea eax, [ebp - 0x34]
push eax
lea esi, [ebp - 0x6c]
call fcn.1000d93c
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x10022f9e
lea eax, [ebp - 0x68]
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x10022fb4
lea eax, [ebp - 0x34]
call fcn.10024d61
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.1000233f
cmp dword [ebp - 0x20], ebx
je 0x10022fd9
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.1000204f
push ebx
jmp 0x1002317b
mov eax, dword [0x10067a14]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10067a18]
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 0x100230ae
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 0x100230ae
mov byte [ebp - 0x6d], bl
mov bl, byte [ebp - 0x78]
add bl, 0x61
lea esi, [ebp - 0x6d]
call fcn.1003c6e0
test al, al
je 0x100230ac
cmp byte [ebp - 0x6d], 0
jne 0x100230ac
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 0x100230ac
mov eax, dword [ebp - 0x80]
ja 0x10023084
cmp eax, dword [ebp - 0x90]
jbe 0x100230ac
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 0x10023093
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x50]
call fcn.100025f8
xor ebx, ebx
mov ecx, dword [ebp - 0x78]
inc ecx
cmp ecx, 0x1a
mov dword [ebp - 0x78], ecx
jl 0x10023016
mov ecx, dword [ebp - 0x90]
mov eax, ecx
or eax, edi
jne 0x100230e7
mov esi, dword [ebp - 0x74]
push 0x10061dc0
call fcn.10002030
push ebx
push 1
lea esi, [ebp - 0x50]
call fcn.1000233f
jmp 0x10022fd3
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x100230f6
mov dword [eax], ecx
mov dword [eax + 4], edi
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x10023102
lea eax, [ebp - 0x4c]
push eax
push str._lsprojonecache
lea ecx, [ebp - 0x6c]
call fcn.1003416b
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.1000228e
push ebx
push 1
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.1000233f
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x1002313c
lea esi, [ebp - 0x30]
call fcn.10031941
cmp dword [ebp - 0x1c], 8
mov esi, dword [ebp - 0x30]
jae 0x1002314d
lea esi, [ebp - 0x30]
push str.09bb0175
mov ebx, str.Softwareprojonepodlp_smpcache_
mov edi, reloc.WS2_32.dll_bind
call fcn.10034247
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
push eax
call fcn.1000204f
push 0
push 1
lea esi, [ebp - 0x50]
call fcn.1000233f
push 0
push 1
lea esi, [ebp - 0x34]
call fcn.1000233f
mov eax, dword [ebp - 0x74]
call fcn.1004195d
ret