Function at 0x724490
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x9dfd80]
sub esp, 0x984
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x7244ac
xor eax, eax
pop ebp
add esp, 0x984
ret
push 6
push ebp
push ebp
push ebp
call dword [0x9dfd64]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x7244ca
xor eax, eax
pop ebp
add esp, 0x984
ret
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, dword [esp + 0x99c]
mov ecx, 0x13
lea edi, [esp + 0x44]
mov dword [esp + 0x40], ebp
mov dword [ebx + 0xc], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0x1c
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push ebp
push ecx
xor edi, edi
call dword [0x9dfd68]
test eax, eax
je 0x72456f
mov ebx, dword [esp + 0x998]
lea ebp, [esp + 0x40]
mov edx, dword [esp + 0x99c]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call ebx
add esp, 0xc
test eax, eax
je 0x724550
cmp esi, 0x14
jae 0x724550
mov edx, dword [esp + 0x38]
inc esi
mov dword [ebp], edx
add ebp, 4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
inc edi
push eax
push edi
push ecx
call dword [0x9dfd68]
test eax, eax
jne 0x724525
mov ebx, dword [esp + 0x99c]
xor ebp, ebp
cmp dword [ebx], ebp
je 0x7246e5
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x7246e5
mov edx, dword [eax]
mov eax, dword [ebx + 8]
cmp edx, eax
jb 0x7246e5
cmp esi, ebp
jbe 0x7246e5
lea eax, [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x99c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
mov eax, dword [edx]
mov esi, dword [ecx]
mov eax, dword [ebx + eax + 4]
cmp eax, 1
je 0x7245ca
cmp eax, 2
jne 0x7246be
cmp esi, ebp
je 0x7246be
push ebp
lea ecx, [esp + 0x18]
push esi
push ecx
call dword [0x9dfd74]
mov esi, dword [esp + 0x14]
cmp eax, ebp
jne 0x7246be
cmp esi, ebp
je 0x7246be
push esi
call fcn.007236e0
add esp, 4
test eax, eax
je 0x7245ca
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x90]
push edx
push eax
push 2
push ecx
mov dword [esp + 0x30], 0x104
call fcn.00723310
add esp, 0x10
test eax, eax
je 0x7246be
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x196]
mov word [esp + 0x194], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + 0x90]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x194]
repne scasb al, byte es:[edi]
push 0x400
push edx
lea eax, [esp + 0x98]
push 0xffffffffffffffff
not ecx
push eax
dec ecx
push ebp
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, 0xef
jbe 0x72469c
mov esi, 0xef
mov edx, dword [esp + 0x99c]
lea ecx, [esp + 0x194]
push esi
push ecx
mov eax, dword [edx]
lea ecx, [ebx + eax + 0x37c]
push ecx
call fcn.005fc3ce
add esp, 0xc
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, 4
add ebx, 0x55c
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jne 0x7245a5
mov ebx, dword [esp + 0x99c]
mov edx, dword [esp + 0x10]
push edx
call dword [0x9dfd6c]
mov ecx, dword [ebx + 8]
xor eax, eax
pop edi
cmp ecx, ebp
pop esi
pop ebx
setne al
pop ebp
add esp, 0x984
ret