Function at 0x4e6f60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], esi
call fcn.004e6e70
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
jne 0x4e7321
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], eax
test esi, esi
je 0x4e6fc7
mov ecx, esi
call fcn.004f9de0
push eax
call fcn.005003d0
add esp, 4
cmp dword [ebp - 0x10], eax
je 0x4e7311
mov eax, dword [ebp - 0x10]
push eax
call fcn.0048ef90
add esp, 4
push eax
push 0
push 0
push dword [ebp - 0x10]
call fcn.0048edd0
add esp, 4
push eax
push dword [ebp - 0x10]
call fcn.0050b6a0
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x4e7305
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
xor eax, eax
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x34], eax
call fcn.004f9e80
mov ecx, eax
call fcn.004f9e80
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4e71ed
mov ecx, eax
call fcn.004f7fe0
test ax, ax
je 0x4e71d7
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
call fcn.004dc4c0
movzx eax, ax
add esp, 0x14
test ax, ax
je 0x4e70e9
push eax
call fcn.005d2385
add esp, 4
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
mov ecx, ebx
push esi
push dword [ebp + 0xc]
push eax
call fcn.004e64d0
test eax, eax
jne 0x4e71d7
mov ecx, dword [ebp - 0x14]
call fcn.004f8150
mov edx, dword [edi + 4]
mov esi, edx
movzx eax, ax
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 8]
inc eax
cmp esi, eax
jae 0x4e70c8
mov ecx, dword [edi + 0xc]
nop dword [eax]
add esi, ecx
cmp esi, eax
jb 0x4e70a0
cmp esi, edx
jbe 0x4e70c8
lea eax, [esi + esi*4]
shl eax, 2
push eax
push dword [edi]
call fcn.005d1eeb
add esp, 8
test eax, eax
je 0x4e71d7
mov dword [edi], eax
mov dword [edi + 4], esi
mov eax, dword [edi + 8]
movups xmm0, xmmword [ebp - 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
movups xmmword [eax + ecx*4], xmm0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
inc dword [edi + 8]
jmp 0x4e71d7
mov ecx, dword [ebp - 0x14]
call fcn.00509b90
test eax, eax
je 0x4e72b8
mov ecx, eax
call fcn.004f9e80
mov ebx, eax
test ebx, ebx
je 0x4e71d4
nop word [eax + eax]
mov ecx, ebx
call fcn.004f7fe0
test ax, ax
je 0x4e71c3
push 0
push 0
push 0
push 0
push ebx
call fcn.004dc4c0
movzx eax, ax
add esp, 0x14
test ax, ax
je 0x4e71fd
push eax
call fcn.005d2385
mov ecx, dword [ebp - 0x30]
add esp, 4
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x2c]
push esi
push dword [ebp + 0xc]
push eax
call fcn.004e64d0
test eax, eax
jne 0x4e71c3
mov ecx, ebx
call fcn.004f8150
mov edx, dword [edi + 4]
mov esi, edx
movzx eax, ax
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 8]
inc eax
cmp esi, eax
jae 0x4e71a4
mov ecx, dword [edi + 0xc]
nop dword [eax + eax]
add esi, ecx
cmp esi, eax
jb 0x4e7180
cmp esi, edx
jbe 0x4e71a4
lea eax, [esi + esi*4]
shl eax, 2
push eax
push dword [edi]
call fcn.005d1eeb
add esp, 8
test eax, eax
je 0x4e71c0
mov dword [edi + 4], esi
mov dword [edi], eax
mov eax, dword [edi + 8]
movups xmm0, xmmword [ebp - 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
movups xmmword [eax + ecx*4], xmm0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
inc dword [edi + 8]
mov esi, dword [ebp - 0x18]
mov ecx, ebx
call fcn.004f9e80
mov ebx, eax
test ebx, ebx
jne 0x4e7110
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
call fcn.004f9e80
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4e7028
push dword [ebp - 0x38]
call fcn.0050ba00
add esp, 4
jmp 0x4e7311
test esi, esi
je 0x4e7208
mov eax, 1
jmp 0x4e7213
xor eax, eax
cmp dword [0x64f648], eax
setne al
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005018a0
add esp, 0xc
test eax, eax
jne 0x4e71c3
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push esi
push dword [ebp + 0xc]
push eax
call fcn.004e64d0
test eax, eax
jne 0x4e72a7
mov ecx, ebx
call fcn.004f8150
mov edx, dword [edi + 4]
mov esi, edx
movzx eax, ax
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 8]
inc eax
cmp esi, eax
jae 0x4e71a4
mov ecx, dword [edi + 0xc]
nop word [eax + eax]
add esi, ecx
cmp esi, eax
jb 0x4e7260
cmp esi, edx
jbe 0x4e71a4
lea eax, [esi + esi*4]
shl eax, 2
push eax
push dword [edi]
call fcn.005d1eeb
add esp, 8
test eax, eax
jne 0x4e719f
push dword [ebp - 0x20]
call fcn.0058bb5f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0
push eax
call fcn.005018c0
add esp, 8
jmp 0x4e71c0
lea eax, [ebp - 0x24]
push eax
call fcn.005018c0
add esp, 4
jmp 0x4e71c3
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov ecx, ebx
push dword [ebp - 0x14]
push eax
call fcn.004e87e0
test eax, eax
jne 0x4e71d7
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004e61f0
test eax, eax
jne 0x4e71d7
push dword [ebp - 0x20]
call fcn.0058bb5f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0
push eax
call fcn.005018c0
add esp, 8
jmp 0x4e71d7
mov ecx, dword [ebp - 0x34]
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, 0xa
jae 0x4e7321
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x40
jb 0x4e6fa7
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x4e7338
push esi
call fcn.004852b0
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov ecx, dword [0x5f65dc]
xorps xmm0, xmm0
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x5f65e0]
mov dword [ebp - 8], ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
xor esi, esi
mov edx, 1
mov ecx, esi
shl edx, cl
test ebx, edx
jne 0x4e740f
test eax, edx
je 0x4e740f
lea eax, [esi + 0x41]
push eax
call fcn.005d2385
mov edx, dword [edi + 8]
add esp, 4
xor ecx, ecx
movzx ebx, ax
test edx, edx
je 0x4e73aa
mov eax, dword [edi]
cmp word [eax + 0x10], bx
je 0x4e73a6
inc ecx
add eax, 0x14
cmp ecx, edx
jb 0x4e7396
jmp 0x4e73aa
test eax, eax
jne 0x4e7409
lea eax, [esi + 0x41]
mov word [ebp - 0x1c], ax
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [0x648e20]
cmp eax, 2
jne 0x4e73e8
push dword [ebp - 0xc]
call fcn.00519200
add esp, 4
cmp eax, 0x20
je 0x4e7409
cmp eax, 0x21
je 0x4e7409
push dword [ebp - 0xc]
call fcn.00519050
add esp, 4
test eax, eax
je 0x4e7409
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push eax
call fcn.004e64d0
test eax, eax
jne 0x4e7409
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004e61f0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
inc esi
cmp esi, 0x1a
jb 0x4e7363
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
push eax
call fcn.0058bb5f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0
push eax
call fcn.005018c0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 0x10