Function at 0x40a8ff
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d4
push edi
push 0x70941101
push dword [ebp + 8]
lea ecx, [ebp - 0x6d4]
call fcn.0040fbc4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00401068
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00401c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00401c30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401068
mov byte [ebp - 4], 4
mov eax, dword [0x4278f4]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4278f8]
mov dword [ebp - 0x24], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosw word es:[edi], ax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x6dc], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.0040fca2
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415a51
lea ecx, [ebp - 0x38]
call fcn.004106f0
mov eax, dword [ebp + 0xc]
add eax, 0x41
mov word [ebp - 0x28], ax
mov dword [ebp - 0x4c], 0x104
push 0x104
lea eax, [ebp - 0x254]
push eax
push 0
push 0
push 0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40aa53
push str.trandescend
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40aa53
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.004010a3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00401c6b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00401c6b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004010a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6d4]
call fcn.0040f7b3
jmp 0x40ac0f
push 0
lea edx, [ebp - 0x28]
mov ecx, dword [ebp + 8]
call fcn.00413434
mov edx, eax
mov ecx, dword [ebp - 0x470]
call fcn.00401cb4
mov eax, dword [ebp + 0xc]
imul eax, eax, 0xa0
cmp dword [eax + 0x432120], 0
jne 0x40abcd
and dword [0x43210c], 0
and dword [0x432110], 0
push dword [ebp + 0xc]
push dword [ebp - 0x6dc]
push dword [ebp - 0x470]
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
call fcn.0040a5a6
add esp, 0x14
movzx eax, al
test eax, eax
jne 0x40abc6
mov eax, dword [ebp - 0x6dc]
mov dword [ebp - 0x6d8], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x6dc], eax
mov eax, dword [ebp - 0x6d8]
mov dword [ebp - 0x470], eax
and dword [ebp - 0x6e0], 0
jmp 0x40aaf4
mov eax, dword [ebp - 0x6e0]
inc eax
mov dword [ebp - 0x6e0], eax
mov ecx, dword [ebp - 0x6dc]
call fcn.004011f7
cmp dword [ebp - 0x6e0], eax
jge 0x40ab5c
mov eax, dword [ebp + 0xc]
imul eax, eax, 0xa0
cmp dword [eax + 0x432120], 0
je 0x40ab1b
jmp 0x40ab5c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
imul eax, eax, 0xa0
cmp dword [eax + 0x432120], 0
je 0x40ab3f
jmp 0x40ab5c
push dword [ebp - 0x6e0]
mov ecx, dword [ebp - 0x6dc]
call fcn.00401ccc
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call fcn.00417232
jmp 0x40aae7
mov ecx, dword [ebp - 0x6dc]
call fcn.00401ca3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.0040fca2
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.00415a51
lea ecx, [ebp - 0x38]
call fcn.004106f0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.0040fdaa
mov eax, dword [ebp + 0xc]
imul eax, eax, 0xa0
cmp dword [eax + 0x432120], 0
je 0x40abc1
jmp 0x40abc6
jmp 0x40aa91
jmp 0x40abcd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.004010a3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00401c6b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00401c6b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004010a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6d4]
call fcn.0040f7b3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
leave
ret