Function at 0x10020cc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c8d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10020d0c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
push 0x7aa7
push dword [ebp - 0x3c]
push 0x2122
push 1
call fcn.10020fb2
add esp, 0x10
jmp 0x10020fa1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10020f32
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0x25e3
mov dword [ebp - 0x58], 0x100081e8
cmp dword [ebp - 0x34], 0x2809
jle 0x10020dc1
and dword [ebp - 0x20], 0
jmp 0x10020d56
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3154
jge 0x10020db3
and dword [ebp - 0x24], 0
jmp 0x10020d6c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1b09
jge 0x10020db1
and dword [ebp - 0x28], 0
jmp 0x10020d82
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x581f
jge 0x10020daf
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
shl eax, cl
and eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
mov ecx, 0x10615658
call fcn.1002377f
jmp 0x10020d7b
jmp 0x10020d65
jmp 0x10020d4f
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x2334
jge 0x10020efa
mov dword [ebp - 0x4c], 0x1a82
cmp dword [ebp - 0x4c], 0xa93
jge 0x10020eed
lea eax, [ebp - 0x1c]
push eax
push 0x10007a10
call fcn.10054f9b
pop ecx
pop ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100506d1
pop ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x2c], 0
jmp 0x10020e30
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
jge 0x10020e50
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
push eax
push 0x1000770c
call fcn.10054f9b
pop ecx
pop ecx
jmp 0x10020e29
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx + eax]
sub eax, dword [esi + edx*4 - 4]
push eax
call fcn.100555c1
pop ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x30], eax
and dword [ebp - 0x14], 0
jmp 0x10020e84
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
dec eax
cmp dword [ebp - 0x14], eax
jge 0x10020ed1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx + eax*4]
sub eax, dword [esi + edx*4 + 4]
push eax
call fcn.100555c1
pop ecx
cmp eax, dword [ebp - 0x38]
jge 0x10020ecf
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx + eax*4]
sub eax, dword [esi + edx*4 + 4]
push eax
call fcn.100555c1
pop ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
jmp 0x10020e7d
mov eax, dword [ebp - 0x30]
inc eax
cdq
idiv dword [ebp - 0x1c]
inc edx
push edx
mov eax, dword [ebp - 0x30]
inc eax
push eax
push 0x1000822c
call fcn.100551b6
add esp, 0xc
mov edx, dword [ebp - 0x58]
mov ecx, 0x10615658
call fcn.10025485
jmp 0x10020f16
or dword [ebp - 4], 0xffffffff
jmp 0x10020f20
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10020f30
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x10020fa1
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10020fa1
push 0x5886
push 0x1aa
push 0x4e67
push 0x6679
push 0x5140
push 0xac2
push 1
push 0x5c33
push 0x7278
push 0x4a6a
push 0x2fa
push 0x6fe6
push 0x5fff
push 0x5e21
push 0
push 0x6877
push 0x1fa
push 1
call fcn.10014ff3
add esp, 0x48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret