Function at 0x47bf20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2048
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x532008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xd0], edi
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movlpd qword [ebp - 0xc8], xmm0
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0047b840
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x18]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x47c181
mov ebx, dword [ebp - 0xc4]
xor ecx, ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xc4], eax
lea eax, [ecx + esi]
push eax
lea ecx, [ebp - 0x34]
call fcn.004107f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x47c13d
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 7
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x34]
call fcn.0047ba00
test al, al
jne 0x47c0da
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
call fcn.0040a900
mov byte [ebp - 4], 8
jmp 0x47c123
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
jb 0x47c110
mov eax, dword [ebp - 0x60]
ja 0x47c0ee
cmp eax, dword [ebp - 0xc4]
jbe 0x47c110
mov dword [ebp - 0xc4], eax
mov ebx, ecx
lea eax, [ebp - 0x34]
cmp edi, eax
je 0x47c110
cmp dword [ebp - 0x20], 8
mov ecx, edi
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.0040a960
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.0040a900
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0040a900
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.0040a900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0040a900
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
sub ecx, esi
inc dword [ebp - 0xbc]
add dword [ebp - 0xc0], 0x18
imul ecx
mov ecx, dword [ebp - 0xc0]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xbc], eax
jb 0x47c011
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040d8f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0040a900
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b40ec
mov esp, ebp
pop ebp
ret