Function at 0x490ae0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x6d], al
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x80], eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x7c], edi
test eax, eax
je 0x490b1f
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x490b30
mov dword [edi], 0
mov dword [edi + 4], 0
xor eax, eax
mov dword [ebp - 0x84], esi
mov word [ebx], ax
cmp esi, 0xa
jb 0x490d5e
mov word [ebx + esi*2 - 2], ax
sub esi, 6
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [ebp + 8]
mov edx, 1
shl edx, cl
test edx, eax
je 0x490d5c
mov eax, dword [0x5f65dc]
mov dword [ebp - 0xc], eax
mov eax, dword [0x5f65e0]
mov dword [ebp - 8], eax
lea eax, [ecx + 0x41]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [0x648e20]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x74], eax
mov edx, ebx
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x490b91
xor eax, eax
mov word [ebx + 4], ax
mov eax, dword [ebp - 0x74]
cmp eax, 4
jne 0x490bca
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], esi
push eax
lea esi, [ebx + 8]
push esi
push ebx
call fcn.004f6be6
test eax, eax
jne 0x490d46
jmp 0x490c12
cmp eax, 2
jne 0x490bec
push dword [ebp - 0xc]
call fcn.00519200
add esp, 4
cmp eax, 0x20
je 0x490d46
cmp eax, 0x21
je 0x490d46
push 0
push 0
push 0
push 0
push esi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.00519570
add esp, 0x20
test eax, eax
je 0x490d46
lea esi, [ebx + 8]
push ebx
mov dword [ebx + 4], 0x280020
call fcn.00502030
add esp, 4
cmp word [esi], 0
jne 0x490c30
xor eax, eax
mov word [ebx + 4], ax
jmp 0x490c49
lea edi, [ebx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x490c33
mov eax, dword [0x5f6b58]
mov dword [edi], eax
mov edi, dword [ebp - 0x7c]
push 0
lea eax, [ebp - 0x8c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x78]
movlpd qword [ebp - 0x78], xmm0
push eax
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x8c], xmm0
push eax
call dword [0x648e1c]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
test eax, eax
je 0x490c82
mov dword [eax], edx
mov dword [eax + 4], ecx
test edi, edi
je 0x490c97
mov eax, dword [ebp - 0x8c]
mov dword [edi], eax
mov eax, dword [ebp - 0x88]
mov dword [edi + 4], eax
push 2
push 5
push 0
push 0x400
lea eax, [ebp - 0x6c]
push eax
push ecx
push edx
call fcn.0050ea80
mov esi, ebx
add esp, 0x1c
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x490cb5
sub esi, ecx
mov dword [ebp - 0x9c], 0
push 0x233c
lea ecx, [ebp - 0x9c]
sar esi, 1
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], 5
call fcn.0050e8f0
cmp byte [ebp - 0x6d], 0
mov ecx, str.____s__s
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, str._t_t_s__s
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x84]
sub eax, esi
push eax
lea eax, [ebx + esi*2]
push eax
call fcn.00502130
add esp, 0x14
lea ecx, [ebp - 0x9c]
call fcn.0050e8a0
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x490d46
push eax
call fcn.005d1ed0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret