Function at 0x5accf0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x6a5a20]
sub esp, 0x984
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x5acd0c
xor eax, eax
pop ebp
add esp, 0x984
ret
push 6
push ebp
push ebp
push ebp
call dword [0x6a5a04]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x5acd2a
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 [0x6a5a08]
test eax, eax
je 0x5acdcf
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 0x5acdb0
cmp esi, 0x14
jae 0x5acdb0
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 [0x6a5a08]
test eax, eax
jne 0x5acd85
mov ebx, dword [esp + 0x99c]
xor ebp, ebp
cmp dword [ebx], ebp
je 0x5acf45
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x5acf45
mov edx, dword [eax]
mov eax, dword [ebx + 8]
cmp edx, eax
jb 0x5acf45
cmp esi, ebp
jbe 0x5acf45
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 0x5ace2a
cmp eax, 2
jne 0x5acf1e
cmp esi, ebp
je 0x5acf1e
push ebp
lea ecx, [esp + 0x18]
push esi
push ecx
call dword [0x6a5a14]
mov esi, dword [esp + 0x14]
cmp eax, ebp
jne 0x5acf1e
cmp esi, ebp
je 0x5acf1e
push esi
call fcn.005abf40
add esp, 4
test eax, eax
je 0x5ace2a
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.005abb70
add esp, 0x10
test eax, eax
je 0x5acf1e
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 0x5acefc
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.0046634f
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 0x5ace05
mov ebx, dword [esp + 0x99c]
mov edx, dword [esp + 0x10]
push edx
call dword [0x6a5a0c]
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