Function at 0x639824
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x63982c
push ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x639da2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x893580]
cmp dword [eax], 2
jne 0x639a80
cmp dword [ebp - 8], 0
jne 0x6399c9
lea eax, [ebp - 0x10]
push eax
push 0x639db8
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x18]
push 0x639de4
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x14]
mov cl, 1
xor edx, edx
call fcn.004bff20
mov eax, dword [ebp - 0x10]
call fcn.00639750
test al, al
jne 0x6398e8
cmp dword [ebp - 0x10], 0
je 0x6398e8
push 0x639db8
lea eax, [ebp - 0x20]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x20]
push 0x639de4
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x1c]
mov cl, 1
mov edx, 0x639dfc
call fcn.004bf5e8
jmp 0x639ccd
lea eax, [ebp - 0x10]
push eax
push 0x639db8
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x28]
push 0x639de4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x24]
mov edx, 0x639dfc
mov cl, 1
call fcn.004bff20
cmp dword [ebp - 0x10], 0
jne 0x63995c
push 0x639db8
lea eax, [ebp - 0x30]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x30]
push 0x639de4
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x2c]
mov cl, 1
xor edx, edx
call fcn.004bf448
jmp 0x639ccd
push 1
push 0x639db8
lea eax, [ebp - 0x38]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x38]
push 0x639de4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.004bfd6c
push 0x639db8
lea eax, [ebp - 0x40]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x40]
push 0x639de4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x3c]
mov edx, 0x639dfc
mov cl, 1
call fcn.004bf5e8
jmp 0x639ccd
lea eax, [ebp - 0x10]
push eax
push 0x639db8
lea eax, [ebp - 0x48]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x48]
push 0x639de4
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x44]
mov cl, 1
xor edx, edx
call fcn.004bff20
mov eax, dword [ebp - 0x10]
call fcn.00639750
test al, al
jne 0x639a47
cmp dword [ebp - 0x10], 0
je 0x639a47
push 1
push 0x639db8
lea eax, [ebp - 0x50]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x50]
push 0x639de4
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x4c]
mov edx, 0x639dfc
mov ecx, dword [ebp - 0x10]
call fcn.004bfd6c
push 1
push 0x639db8
lea eax, [ebp - 0x58]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x58]
push 0x639de4
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.004bfd6c
jmp 0x639ccd
cmp dword [ebp - 8], 0
jne 0x639bf7
lea eax, [ebp - 0x10]
push eax
push 0x639e0c
lea eax, [ebp - 0x60]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x60]
push 0x639de4
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x5c]
mov cl, 1
xor edx, edx
call fcn.004bfaf8
mov eax, dword [ebp - 0x10]
call fcn.00639750
test al, al
jne 0x639b0a
cmp dword [ebp - 0x10], 0
je 0x639b0a
push 0x639e0c
lea eax, [ebp - 0x68]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x68]
push 0x639de4
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x64]
mov edx, 0x639dfc
mov cl, 1
call fcn.004bf788
jmp 0x639ccd
lea eax, [ebp - 0x10]
push eax
push 0x639e0c
lea eax, [ebp - 0x70]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x70]
push 0x639de4
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x6c]
mov edx, 0x639dfc
mov cl, 1
call fcn.004bfaf8
cmp dword [ebp - 0x10], 0
jne 0x639b7e
push 0x639e0c
lea eax, [ebp - 0x78]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x78]
push 0x639de4
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x74]
mov cl, 1
xor edx, edx
call fcn.004bf2a8
jmp 0x639ccd
push 1
push 0x639e0c
lea eax, [ebp - 0x80]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x80]
push 0x639de4
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.004bf924
push 0x639e0c
lea eax, [ebp - 0x88]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x88]
push 0x639de4
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x84]
mov edx, 0x639dfc
mov cl, 1
call fcn.004bf788
jmp 0x639ccd
lea eax, [ebp - 0x10]
push eax
push 0x639e0c
lea eax, [ebp - 0x90]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x90]
push 0x639de4
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x8c]
mov cl, 1
xor edx, edx
call fcn.004bfaf8
mov eax, dword [ebp - 0x10]
call fcn.00639750
test al, al
jne 0x639c8d
cmp dword [ebp - 0x10], 0
je 0x639c8d
push 1
push 0x639e0c
lea eax, [ebp - 0x98]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0x98]
push 0x639de4
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x94]
mov edx, 0x639dfc
mov ecx, dword [ebp - 0x10]
call fcn.004bf924
push 1
push 0x639e0c
lea eax, [ebp - 0xa0]
mov dl, byte [ebp - 1]
call fcn.00405474
push dword [ebp - 0xa0]
push 0x639de4
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.0040560c
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.004bf924
lea eax, [ebp - 0xa4]
mov dl, byte [ebp - 1]
call fcn.00405474
lea eax, [ebp - 0xa4]
mov edx, 0x639e54
call fcn.00405554
mov eax, dword [ebp - 0xa4]
call fcn.0040574c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffe
sub eax, 3
jae 0x639d7c
cmp dword [ebp - 8], 0
je 0x639d47
push 0
lea eax, [ebp - 0xa8]
mov dl, byte [ebp - 1]
call fcn.00405474
lea eax, [ebp - 0xa8]
mov edx, 0x639e54
call fcn.00405554
mov eax, dword [ebp - 0xa8]
call fcn.0040574c
push eax
push 1
push 0x20
call sub.shell32.dll_SHChangeNotify
jmp 0x639d7c
push 0
lea eax, [ebp - 0xac]
mov dl, byte [ebp - 1]
call fcn.00405474
lea eax, [ebp - 0xac]
mov edx, 0x639e54
call fcn.00405554
mov eax, dword [ebp - 0xac]
call fcn.0040574c
push eax
push 1
push 0x20
call sub.shell32.dll_SHChangeNotify
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639da9
lea eax, [ebp - 0xac]
mov edx, 0x28
call fcn.004052b0
lea eax, [ebp - 8]
call fcn.0040528c
ret