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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bdb0
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x4810f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x490], ecx
push 4
lea ecx, [ebp - 0x424]
call fcn.00401650
mov eax, dword [ebp - 0x490]
push eax
lea ecx, [ebp - 0x424]
call fcn.00403630
push 0xc
lea ecx, [ebp - 0x430]
call fcn.00401650
lea ecx, [ebp - 0x430]
call fcn.0041be40
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0043c7d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0xffffffff
je 0x41b902
lea eax, [ebp - 0x218]
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x47c]
add ecx, 2
mov dword [ebp - 0x494], ecx
mov edx, dword [ebp - 0x47c]
mov ax, word [edx]
mov word [ebp - 0x47e], ax
add dword [ebp - 0x47c], 2
cmp word [ebp - 0x47e], 0
jne 0x41b71e
mov ecx, dword [ebp - 0x47c]
sub ecx, dword [ebp - 0x494]
sar ecx, 1
mov dword [ebp - 0x498], ecx
mov edx, dword [ebp - 0x498]
sub edx, 1
mov dword [ebp - 0x484], edx
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x218]
cmp edx, 0x5c
jne 0x41b7c8
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x218]
cmp ecx, 0x5c
jne 0x41b7c8
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x218]
cmp eax, 0x3f
jne 0x41b7c8
mov ecx, 2
imul edx, ecx, 3
movzx eax, word [ebp + edx - 0x218]
cmp eax, 0x5c
jne 0x41b7c8
mov ecx, dword [ebp - 0x484]
movzx edx, word [ebp + ecx*2 - 0x218]
cmp edx, 0x5c
je 0x41b7cd
jmp 0x41b8f5
mov eax, dword [ebp - 0x484]
shl eax, 1
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0x208
jae 0x41b7e9
jmp 0x41b7ee
call fcn.0043abf9
xor ecx, ecx
mov edx, dword [ebp - 0x48c]
mov word [ebp + edx - 0x218], cx
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.0043c7d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
mov edx, 2
shl edx, 2
lea eax, [ebp + edx - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0x49c], eax
mov ecx, 0x5c
mov edx, dword [ebp - 0x484]
mov word [ebp + edx*2 - 0x218], cx
cmp dword [ebp - 0x49c], 0
jb 0x41b8d4
lea ecx, [ebp - 0x478]
call fcn.0041ba20
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x478]
call fcn.0041bf40
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x460]
call fcn.0041bf40
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x424]
call fcn.0041b940
push eax
lea ecx, [ebp - 0x448]
call fcn.00407660
lea ecx, [ebp - 0x4b4]
call fcn.00407640
lea ecx, [ebp - 0x478]
push ecx
lea ecx, [ebp - 0x430]
call fcn.0041ba00
lea ecx, [ebp - 0x478]
call fcn.0041b630
push 0x104
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x41b703
mov ecx, dword [ebp - 0x488]
push ecx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
lea edx, [ebp - 0x430]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041bd90
lea ecx, [ebp - 0x430]
call fcn.0041bd70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a762
mov esp, ebp
pop ebp
ret 4