Function at 0x4cdaf0
Capabilities:
Enumerate disk volumes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe342
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x258], 0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4cdf55
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
mov dword [ebp - 4], 2
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4cdf5f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.00588800
add esp, 0xc
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4cdf69
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x244], edi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x254], eax
cmp eax, 0xffffffff
jne 0x4cdc69
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esi, 0xfffffff0
mov ecx, esi
call fcn.0040c950
mov ecx, dword [ebp - 0x248]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 4
or ecx, 0xffffffff
add edi, 0xfffffff0
mov eax, ecx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4cdc23
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 2
mov eax, ecx
mov edi, dword [ebp - 0x23c]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4cdc47
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov dword [ebp - 4], 0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4cdf28
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4cdf28
mov edi, dword [ebp - 0x23c]
nop
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cdc80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.0040c9d0
mov eax, dword [ebp - 0x244]
cmp dword [eax - 0xc], 0x30
jle 0x4cde7a
push 0x26
push 0xa
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x244]
call fcn.004c6ec0
mov byte [ebp - 4], 0xb
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4cdd2c
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4cdd17
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cdd17
call fcn.0040c950
mov dword [ebp - 0x24c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4cdd0c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
jmp 0x4cdd2c
push dword [edx - 0xc]
lea ecx, [ebp - 0x240]
push edx
call fcn.0040c9d0
mov esi, dword [ebp - 0x240]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdd4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea eax, [ebp - 0x23c]
push str._Volume_s
push eax
call fcn.0040d300
mov edi, dword [ebp - 0x23c]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
movups xmmword [ebp - 0x238], xmm0
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push edi
movups xmmword [ebp - 0x228], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24c], eax
cmp eax, 0xffffffff
je 0x4cde1e
push 0
lea ecx, [ebp - 0x260]
push ecx
push 0x20
lea ecx, [ebp - 0x238]
push ecx
push 0
push 0
push 0x560000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x250], 0
je 0x4cde1e
push dword [ebp - 0x24c]
call dword [sym.imp.SCSIEngine.dll_public:_static_unsigned_int___cdecl_SCSIEngine::ComputeSectorSize_void__]
add esp, 4
push 0
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x228]
call fcn.005dda10
cmp dword [ebp + 0x10], eax
jne 0x4cde1e
cmp dword [ebp + 0x14], edx
jne 0x4cde1e
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x230]
je 0x4cdea0
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x250], eax
je 0x4cde7a
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4cde50
cmp dword [esi - 8], 0
jl 0x4cdf4b
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4cde7a
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4cde64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x4cdc70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
add esi, 0xfffffff0
mov ecx, esi
call fcn.0040c950
mov ecx, dword [ebp - 0x248]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdef1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdf0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4cdf28
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
int3