Function at 0x100c1a3
Capabilities:
Enumerate disk volumes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 0x10], 0xffffffff
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, 0x104
push edi
mov ebx, ecx
push 8
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov dword [ebx + 0x238], eax
test eax, eax
jne 0x100c1e8
mov dword [ebp - 4], 0xe
jmp 0x100c467
mov ecx, ebx
call fcn.0100b438
mov dword [ebp - 4], eax
test eax, eax
je 0x100c22a
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100c467
test byte [eax + 0x1c], 1
je 0x100c467
push dword [ebp - 4]
push 0x1001e60
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x100c467
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100c254
test byte [eax + 0x1c], 4
je 0x100c254
push dword [ebx + 0x240]
push 0x1001e60
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
mov ebx, 0x208
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov dword [ebp - 8], eax
test eax, eax
jne 0x100c278
mov dword [ebp - 4], 8
jmp 0x100c436
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100c26c
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x100c2da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100c436
test byte [eax + 0x1c], 1
je 0x100c436
push dword [ebp - 4]
push 0x1001e60
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
jmp 0x100c436
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 8]
call fcn.010049e3
test eax, eax
jl 0x100c3c5
mov esi, dword [ebp - 4]
lea eax, [esi + esi - 2]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xc]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi*2], cx
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x100c361
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x100f004]
cmp ecx, 0x100f004
je 0x100c385
test byte [ecx + 0x1c], 1
je 0x100c385
push eax
push dword [ebp - 0xc]
push 0x1001e60
push 0x1f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010090ed
jmp 0x100c385
push dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.0100bf99
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x100c41e
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push dword [ebp - 8]
call sub.msvcrt.dll_memset
push ebx
push esi
push dword [ebp - 0xc]
call sub.msvcrt.dll_memset
add esp, 0x18
push edi
push dword [ebp - 8]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x100c3e9
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 4], esi
call fcn.010049e3
cmp eax, esi
jge 0x100c2f3
movzx eax, ax
mov dword [ebp - 4], eax
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100c41e
test byte [eax + 0x1c], 1
je 0x100c41e
push dword [ebp - 4]
push 0x1001e60
push 0x1e
jmp 0x100c413
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0x12
je 0x100c41e
mov eax, dword [0x100f004]
cmp eax, 0x100f004
je 0x100c41e
test byte [eax + 0x1c], 1
je 0x100c41e
push dword [ebp - 4]
push 0x1001e60
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003f79
cmp dword [ebp - 0x10], 0xffffffff
je 0x100c42d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [ebp - 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x100c450
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
cmp dword [ebp - 0xc], 0
je 0x100c464
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x23c], 0
pop edi
pop esi
pop ebx
jbe 0x100c477
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
leave
ret