Function at 0x47db14
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7f85
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x44], 0
push 0x4ba1c4
lea ecx, [ebp - 0x30]
call fcn.0040700c
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00406ddd
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040700c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00406f5b
lea ecx, [ebp - 0x2c]
call fcn.00405ece
cmp eax, 2
jle 0x47db9f
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407150
movzx eax, ax
cmp eax, 0x3a
jne 0x47db9f
push 2
lea ecx, [ebp - 0x2c]
call fcn.00407150
movzx eax, ax
cmp eax, 0x5c
je 0x47dbd0
push 0x4ba1c8
mov ecx, dword [ebp + 0xc]
call fcn.00406eb9
and dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405d4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405d4a
mov eax, dword [ebp - 0x54]
jmp 0x47df68
lea ecx, [ebp - 0x2c]
call fcn.004026c4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0047e21c
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.004070ef
movzx eax, al
test eax, eax
jne 0x47dc56
push dword [ebp - 0x34]
push 0x4ba1f4
lea eax, [ebp - 0x30]
push eax
call fcn.004080bb
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00407117
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406eb9
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.004070b0
and dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405d4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405d4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405d4a
mov eax, dword [ebp - 0x58]
jmp 0x47df68
lea ecx, [ebp - 0x2c]
call fcn.00405ece
cmp eax, 0x96
jle 0x47dca2
push 0x4ba220
mov ecx, dword [ebp + 0xc]
call fcn.00406eb9
and dword [ebp - 0x5c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405d4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405d4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405d4a
mov eax, dword [ebp - 0x5c]
jmp 0x47df68
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00407079
call fcn.0047dfdd
pop ecx
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x47dd00
push 0x4ba24c
mov ecx, dword [ebp + 0xc]
call fcn.00406eb9
and dword [ebp - 0x64], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405d4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405d4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405d4a
mov eax, dword [ebp - 0x64]
jmp 0x47df68
push 3
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406ee9
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.00406ff1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00405d4a
lea ecx, [ebp - 0x2c]
call fcn.00407117
push eax
lea ecx, [ebp - 0x28]
call fcn.0040224c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
call fcn.0047df81
pop ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004020b1
push 0
push 0x100000
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.0047c750
mov dword [ebp - 0x40], eax
cvtsi2sd xmm0, dword [ebp - 0x40]
divsd xmm0, qword [0x4d13b8]
movsd qword [ebp - 0x50], xmm0
lea ecx, [ebp - 0x38]
call fcn.00407094
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00407094
mov byte [ebp - 4], 6
cmp dword [ebp - 0x40], 0x1f4
jge 0x47de19
movsd xmm0, qword [ebp - 0x50]
comisd xmm0, xmmword [0x4d1378]
jbe 0x47ddee
push 0x4ba27c
lea eax, [ebp - 0x3c]
push eax
call fcn.004080bb
pop ecx
pop ecx
push ecx
push ecx
movsd xmm0, qword [ebp - 0x50]
movsd qword [esp], xmm0
push 0x1f4
push 0x4ba298
lea eax, [ebp - 0x38]
push eax
call fcn.004080bb
add esp, 0x14
jmp 0x47de17
push 0x4ba2d4
lea eax, [ebp - 0x3c]
push eax
call fcn.004080bb
pop ecx
pop ecx
push dword [ebp - 0x40]
push 0x1f4
push 0x4ba2f0
lea eax, [ebp - 0x38]
push eax
call fcn.004080bb
add esp, 0x10
jmp 0x47de6c
movsd xmm0, qword [ebp - 0x50]
comisd xmm0, xmmword [0x4d1378]
jbe 0x47de4c
push ecx
push ecx
movsd xmm0, qword [ebp - 0x50]
movsd qword [esp], xmm0
push 0x1f4
push 0x4ba324
lea eax, [ebp - 0x38]
push eax
call fcn.004080bb
add esp, 0x14
jmp 0x47de65
push dword [ebp - 0x40]
push 0x1f4
push 0x4ba360
lea eax, [ebp - 0x38]
push eax
call fcn.004080bb
add esp, 0x10
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 0x2c]
call fcn.004026c4
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x44], 0
je 0x47de9f
cmp dword [ebp - 0x48], 2
je 0x47de90
cmp dword [ebp - 0x48], 5
jne 0x47de9f
push 0x4ba3b0
lea ecx, [ebp - 0x30]
call fcn.00406fd6
jmp 0x47deb3
cmp dword [ebp - 0x44], 0
je 0x47dea7
jmp 0x47deb3
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406ff1
lea ecx, [ebp - 0x30]
call fcn.004070ef
movzx eax, al
test eax, eax
je 0x47df0a
mov dword [ebp - 0x74], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00405d4a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00405d4a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405d4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405d4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405d4a
mov eax, dword [ebp - 0x74]
jmp 0x47df68
lea ecx, [ebp - 0x30]
call fcn.00407117
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406eb9
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.004070b0
and dword [ebp - 0x78], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00405d4a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00405d4a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405d4a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405d4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405d4a
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret