Function at 0x100c629
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push 0x264
mov eax, 0x10178aa
call fcn.01011fb1
xor edi, edi
push edi
sub esp, 0x58
mov dword [ebp - 0x21c], esp
mov esi, ecx
mov ecx, esp
push 0xff
push 7
push 0x59e
push 0x1003f2c
push 0x1003598
mov ebx, 0x1003530
push ebx
mov dword [ebp - 0x228], esi
call fcn.01012994
lea ecx, [ebp - 0x270]
call fcn.01013ba7
push 3
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0100888d
push edi
mov ecx, esi
mov dword [ebp - 0x21c], eax
call fcn.0100adf1
mov ecx, dword [esi]
mov edx, dword [ecx]
cmp eax, 1
sete al
movzx eax, al
lea esi, [ebp - 0x270]
push esi
push eax
push dword [ebp - 0x21c]
call dword [edx + 0x20]
mov dword [ebp - 0x220], edi
lea eax, [ebp - 0x220]
push eax
sub esp, 0x10
mov edi, esp
mov esi, 0x10022d8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x17
push 0x10022c0
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
mov esi, 0x10022b0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x224], esp
movsd dword es:[edi], dword [esi]
push 0xff
push 7
movsd dword es:[edi], dword [esi]
push 0x5ab
mov edi, 0x1003f2c
push edi
mov esi, 0x1003598
push esi
push ebx
mov byte [ebp - 4], 1
call fcn.01012994
lea ecx, [ebp - 0x270]
call fcn.0101542b
cmp dword [ebp - 0x268], 0
jge 0x100c75f
push dword [ebp - 0x268]
push 0x1002268
push dword [ebp - 0x268]
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x224], esp
push 0xff
push 7
push 0x5b2
push edi
push esi
push ebx
call fcn.01012994
lea eax, [ebp - 0x270]
push eax
call fcn.010143db
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x268], eax
test eax, eax
jge 0x100c797
push eax
push 0x1003de8
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x224], esp
push 0xff
push 7
push 0x5b6
jmp 0x100c74b
cmp dword [ebp - 0x21c], 0
je 0x100c7c2
push dword [ebp - 0x220]
mov esi, dword [ebp - 0x228]
push dword [ebp - 0x21c]
mov ecx, esi
call fcn.0100aff3
and dword [esi + 0x24], 0
jmp 0x100c8c8
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x230], 0x1003b04
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 2
cmp eax, 0xffffffff
jne 0x100c823
push 0x1003f0c
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x224], esp
push 0xff
push 7
push 0x5c2
push edi
push esi
push ebx
call fcn.01012994
lea eax, [ebp - 0x270]
push eax
call fcn.01014dbd
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x100c84d
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push eax
call fcn.0100aff3
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x100c823
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100c8b3
push 0x1003eec
test eax, eax
jle 0x100c887
and eax, 0xffff
or eax, 0x80070000
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x224], esp
push 0xff
push 7
push 0x5ce
push edi
push esi
push ebx
call fcn.01012994
lea eax, [ebp - 0x270]
push eax
call fcn.01014f3e
mov eax, dword [ebp - 0x228]
and dword [eax + 0x24], 0
lea ecx, [ebp - 0x230]
call fcn.0100b4d0
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0
test eax, eax
je 0x100c8dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x270]
call fcn.01013c60
call fcn.01012043
ret