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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x46b880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x418273
test edi, edi
je 0x418273
push 0x5c
pop ecx
cmp word [esi], cx
jne 0x418275
push ecx
lea eax, [esi + 2]
push eax
call fcn.004285e3
pop ecx
pop ecx
test eax, eax
je 0x41826f
add eax, 2
push 0x5c
push eax
call fcn.004285e3
mov dword [ebp - 0x424], eax
pop ecx
pop ecx
test eax, eax
je 0x41826f
xor ecx, ecx
push str.DeviceLanmanRedirector
push esi
mov word [eax], cx
call fcn.0042d3c8
pop ecx
pop ecx
test eax, eax
jne 0x4180b5
push ebx
push 0x44fff8
push edi
call fcn.0042d385
xor eax, eax
lea esi, [edi + ebx*2]
push edi
mov word [esi - 2], ax
call fcn.0042d325
sub ebx, eax
mov eax, dword [ebp - 0x424]
push ebx
add eax, 2
push eax
push edi
call fcn.0042d340
add esp, 0x1c
xor eax, eax
mov word [esi - 2], ax
jmp 0x418105
push esi
call fcn.00417900
pop ecx
movzx ecx, ax
test cx, cx
je 0x41810c
mov eax, dword [0x450f88]
mov dword [ebp - 0xc], eax
mov eax, dword [0x450f8c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push ebx
push eax
push edi
mov word [ebp - 0xc], cx
call fcn.0042d385
xor eax, eax
mov word [edi + ebx*2 - 2], ax
mov eax, dword [ebp - 0x424]
push ebx
add eax, 2
push eax
push edi
call fcn.0042d340
add esp, 0x18
xor eax, eax
mov word [edi + ebx*2 - 2], ax
mov al, 1
jmp 0x418275
push 0x104
lea eax, [ebp - 0x214]
mov byte [ebp - 0x41d], 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x428], eax
cmp eax, 0xffffffff
je 0x41826f
push 4
pop eax
push eax
lea eax, [ebp - 0x214]
push 0x4501a8
push eax
call fcn.0042ded1
xor ecx, ecx
test eax, eax
push 4
pop eax
cmove ecx, eax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 8], ecx
call fcn.0042d325
add esp, 0x10
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x216], cx
jne 0x418189
lea eax, [ebp - 0x214]
push eax
call fcn.0042d325
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x216], cx
push 0x104
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x214]
lea eax, [ecx + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4181bf
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.0042d3c8
pop ecx
pop ecx
test eax, eax
je 0x4181e0
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x4181e7
jmp 0x418134
mov byte [ebp - 0x41d], 1
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp byte [ebp - 0x41d], 0
je 0x41826f
lea eax, [ebp - 0x214]
push eax
call fcn.0042d325
pop ecx
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x216], cx
je 0x418229
lea eax, [ebp - 0x214]
push 0x4658d0
push eax
call fcn.00430f47
pop ecx
pop ecx
push 0x104
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00417a6e
add esp, 0xc
test eax, eax
je 0x41826f
push ebx
lea eax, [ebp - 0x41c]
push eax
push edi
call fcn.0042d385
mov eax, dword [ebp - 0x424]
push ebx
add eax, 2
push eax
push edi
call fcn.0042d340
add esp, 0x18
jmp 0x418105
xor eax, eax
jmp 0x418275
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423dc5
mov esp, ebp
pop ebp
ret