Function at 0x47bb10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53adc0
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0x567128
lea ecx, [ebp - 0x40]
call fcn.0044f380
mov byte [ebp - 4], 2
call fcn.00409710
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x47bbbf
push str.__GetIdleDeviceIndex_Error_
call fcn.0047c040
add esp, 4
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
sub eax, 0x10
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.00451230
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
sub ecx, 0x10
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.00451230
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
sub edx, 0x10
mov dword [ebp - 0x70], edx
mov ecx, dword [ebp - 0x70]
call fcn.00451230
mov eax, dword [ebp - 0x4c]
jmp 0x47be1c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x31], 0x19
jmp 0x47bbd6
mov al, byte [ebp - 0x31]
sub al, 1
mov byte [ebp - 0x31], al
movzx ecx, byte [ebp - 0x31]
cmp ecx, 1
jle 0x47bc30
movzx ecx, byte [ebp - 0x31]
mov edx, 1
shl edx, cl
and edx, dword [ebp - 0x3c]
je 0x47bbf1
jmp 0x47bbce
movzx eax, byte [ebp - 0x31]
add eax, 0x41
push eax
call fcn.0047be40
add esp, 4
test eax, eax
jne 0x47bc07
jmp 0x47bbce
movzx ecx, byte [ebp - 0x31]
add ecx, 0x41
push ecx
push 0x54b3c8
lea edx, [ebp - 0x40]
push edx
call fcn.00451560
add esp, 0xc
movzx eax, byte [ebp - 0x31]
add eax, 0x41
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x47bc30
movzx edx, byte [ebp - 0x31]
cmp edx, 1
jne 0x47bc9a
push 0x54b3a4
call fcn.0047c040
add esp, 4
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
sub eax, 0x10
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
call fcn.00451230
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
sub ecx, 0x10
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa0]
call fcn.00451230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0044f990
mov eax, dword [ebp - 0x50]
jmp 0x47be1c
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00470200
mov byte [ebp - 4], 3
mov byte [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 0x44]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004f8140
add esp, 0xc
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xb8], edx
push 1
push 0
push 0
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00409910
add esp, 0x18
test eax, eax
je 0x47bd73
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00470c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0044f990
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0044f990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0044f990
mov eax, dword [ebp - 0x54]
jmp 0x47be1c
mov dword [ebp - 0x48], 0
jmp 0x47bd85
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x14
jge 0x47bddf
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x54b39c
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0044e7e0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
push 0
mov edx, dword [ebp - 0xd0]
push edx
push 0x2005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 0x58]
call fcn.0044f990
jmp 0x47bd7c
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00470c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0044f990
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0044f990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0044f990
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret