Function at 0x72a15499
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
push esi
push edi
and dword [ebp - 0x120], 0
and dword [ebp - 0x35c], 0
and dword [ebp - 0x11c], 0
and dword [ebp - 0x248], 0
call fcn.72a1de6c
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
and al, 0xc0
test eax, eax
je 0x72a154db
push 5
call fcn.72a166db
cmp dword [ebp + 8], 0
jne 0x72a154e8
mov dword [ebp + 8], 0x21
cmp dword [ebp + 8], 8
je 0x72a155e4
push dword [ebp + 0xc]
call fcn.72a16566
test eax, eax
jne 0x72a155e4
and byte [ebp - 0x108], 0
and dword [ebp - 0x110], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x110], 0
jbe 0x72a1562d
mov eax, dword [ebp - 0x118]
movsx ax, byte [eax]
mov word [ebp - 0x128], ax
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
push dword [ebp - 0x128]
call fcn.72a1e582
pop ecx
test eax, eax
je 0x72a155c0
cmp dword [ebp - 0x110], 0
jbe 0x72a155c0
mov ax, word [ebp - 0x128]
shl ax, 8
mov word [ebp - 0x128], ax
mov eax, dword [ebp - 0x118]
movsx ax, byte [eax]
mov cx, word [ebp - 0x128]
add cx, ax
mov word [ebp - 0x128], cx
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
push dword [ebp - 0x128]
call fcn.72a21a97
test eax, eax
jne 0x72a15528
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x124], eax
jmp 0x72a15528
push dword [ebp + 0xc]
lea eax, [ebp - 0x354]
push eax
call fcn.72a165fa
push 0
push 0
push 0x105
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [ebp - 0x108]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x110], ecx
jmp 0x72a15510
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x108]
sub eax, ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jbe 0x72a157ec
push 0x2e
lea eax, [ebp - 0x108]
push eax
call fcn.72a1e449
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x124]
jae 0x72a156b8
mov eax, dword [ebp - 0x24c]
mov al, byte [eax]
mov byte [ebp - 0x358], al
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x358]
call fcn.72a1e582
pop ecx
test eax, eax
je 0x72a15670
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
jmp 0x72a15670
mov eax, dword [ebp - 0x110]
lea eax, [ebp + eax - 0x109]
cmp dword [ebp - 0x118], eax
jne 0x72a157ec
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x35c]
inc eax
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x118]
and byte [eax], 0
push 0x2e
lea eax, [ebp - 0x108]
push eax
call fcn.72a1e449
pop ecx
pop ecx
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
movsx eax, byte [eax]
test eax, eax
je 0x72a1575d
mov eax, dword [ebp - 0x24c]
mov al, byte [eax]
mov byte [ebp - 0x358], al
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x358]
call fcn.72a1e582
pop ecx
test eax, eax
je 0x72a15716
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
jmp 0x72a15716
mov eax, dword [ebp - 0x118]
dec eax
cmp dword [ebp - 0x124], eax
jne 0x72a157e3
mov eax, dword [ebp - 0x35c]
inc eax
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jbe 0x72a157e3
lea eax, [ebp - 0x108]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x124]
jae 0x72a157e3
mov eax, dword [ebp - 0x24c]
mov al, byte [eax]
mov byte [ebp - 0x358], al
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x358]
call fcn.72a1e582
pop ecx
test eax, eax
je 0x72a1579b
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
jmp 0x72a1579b
mov eax, dword [ebp - 0x118]
mov byte [eax], 0x2e
cmp dword [ebp - 0x110], 0
je 0x72a1581d
movsx eax, byte [ebp - 0x358]
cmp eax, 0x5c
je 0x72a1581d
movsx eax, byte [ebp - 0x358]
cmp eax, 0x2f
je 0x72a1581d
movsx eax, byte [ebp - 0x358]
cmp eax, 0x3a
jne 0x72a158a9
xor eax, eax
cmp dword [ebp - 0x35c], 0
setne al
add eax, 3
mov ecx, 0x104
sub ecx, eax
cmp dword [ebp - 0x110], ecx
jbe 0x72a15842
push 5
call fcn.72a166db
cmp dword [ebp - 0x35c], 0
jbe 0x72a15878
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x35c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov byte [ebp + eax - 0x108], 0x5c
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
mov edi, 0x7296d6e8
mov eax, dword [ebp - 0x110]
lea eax, [ebp + eax - 0x108]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x114]
cmp dword [eax + 8], 0xffffffff
je 0x72a158c4
mov eax, dword [ebp - 0x114]
push dword [eax + 8]
call fcn.72a2c89d
pop ecx
mov eax, dword [ebp - 0x114]
or dword [eax + 8], 0xffffffff
mov eax, dword [ebp - 0x114]
and dword [eax + 0x10], 0
cmp dword [ebp + 8], 8
jne 0x72a159e9
movsx eax, byte [ebp - 0x353]
cmp eax, 0x3a
jne 0x72a158f5
and byte [ebp - 0x351], 0
push 0
push 0
push 0
push 0
push 0
push 0x105
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x354]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x72a159d6
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x464]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x72a15990
mov dword [ebp - 0x11c], 0xe
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x114]
mov dword [eax + 0x10], 1
push dword [ebp - 0x11c]
call fcn.72a166db
cmp dword [ebp - 0x120], 0
jne 0x72a15984
push 0xe
call fcn.72a166db
mov eax, dword [ebp - 0x120]
pop edi
pop esi
leave
ret 8
mov eax, dword [ebp - 0x244]
dec eax
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x72a15950
push dword [ebp - 0x244]
push dword [ebp - 0x120]
push 0x105
lea eax, [ebp - 0x464]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x72a15950
push 0x72968afc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x120], eax
jmp 0x72a15969
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.72a2c65e
pop ecx
pop ecx
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
je 0x72a15a86
and dword [ebp - 0x248], 0
cmp dword [ebp - 0x248], 0
jne 0x72a15a4d
mov eax, dword [ebp + 8]
not eax
mov ecx, dword [ebp - 0x240]
and ecx, eax
and ecx, 0x16
test ecx, ecx
je 0x72a15a4d
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x10c]
call fcn.72a2c781
pop ecx
pop ecx
mov dword [ebp - 0x248], eax
jmp 0x72a15a14
cmp dword [ebp - 0x248], 0
jne 0x72a15a86
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
jne 0x72a15ad1
mov dword [ebp - 0x11c], 0xe
cmp dword [ebp - 0x10c], 0xffffffff
je 0x72a15a9c
cmp dword [ebp - 0x248], 0
je 0x72a15b33
cmp dword [ebp - 0x10c], 0xffffffff
je 0x72a15ab1
push dword [ebp - 0x10c]
call fcn.72a2c89d
pop ecx
call fcn.7294c1f9
cmp dword [eax], 2
jne 0x72a15b0b
push 0x72968afc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x120], eax
jmp 0x72a15969
mov eax, dword [ebp - 0x244]
dec eax
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x120], eax
push dword [ebp - 0x244]
push dword [ebp - 0x120]
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x72a15a86
call fcn.7294c1f9
cmp dword [eax], 0x16
jne 0x72a15b24
mov dword [ebp - 0x11c], 0x34
jmp 0x72a15969
mov dword [ebp - 0x11c], 5
jmp 0x72a15969
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 8], ecx
jmp 0x72a15969