Function at 0x41e330
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
xor edx, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], edx
test ebx, ebx
jne 0x41e368
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489c65
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [0x4c0508]
mov eax, dword [0x4c0538]
mov dword [ebp - 0x2c], eax
mov ax, word [0x4c053c]
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x28], ax
movups xmm0, xmmword [0x4c0518]
mov eax, dword [esi]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [0x4c0528]
movups xmmword [ebp - 0x3c], xmm0
test eax, eax
je 0x41e3ac
push eax
call fcn.00489c73
add esp, 4
xor edx, edx
mov dword [esi], 0
mov ecx, 4
mov dword [esi + 4], 0
mov byte [esi + 8], 1
mov eax, dword [0x4c0540]
mov dword [ebp - 0xc], eax
mov ax, word [0x4c0544]
mov word [ebp - 8], ax
mov eax, 3
push edi
mov dword [ebp - 0x18], eax
lea edi, [eax - 1]
add ecx, ecx
mov dword [ebp - 0x20], ecx
test ebx, ecx
jne 0x41e4f9
mov bx, word [ebp + eax*2 - 0x5c]
mov eax, dword [esi + 4]
mov word [ebp - 0xc], bx
mov byte [esi + 8], 0
test eax, eax
jne 0x41e41b
mov ecx, dword [esi]
test ecx, ecx
je 0x41e418
cmp word [ecx], ax
je 0x41e418
nop dword [eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x41e410
mov dword [esi + 4], eax
xor ecx, ecx
test bx, bx
je 0x41e42b
inc ecx
cmp word [ebp + ecx*2 - 0xc], 0
jne 0x41e422
add ecx, eax
xor eax, eax
nop
inc eax
cmp word [eax*2 + 0x4c0188], 0
jne 0x41e430
add ecx, eax
mov dword [ebp - 0x1c], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edi, dword [esi]
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
test edi, edi
je 0x41e481
movzx edx, word [edi]
test dx, dx
je 0x41e481
sub edi, eax
nop dword [eax]
mov word [ecx], dx
add ecx, 2
movzx eax, word [edi + ecx]
mov edx, eax
test ax, ax
jne 0x41e470
test bx, bx
je 0x41e4a2
lea edi, [ebp - 0xc]
movzx edx, bx
sub edi, ecx
nop
movzx eax, word [edi + ecx + 2]
mov word [ecx], dx
add ecx, 2
mov edx, eax
test ax, ax
jne 0x41e490
mov edi, 0x4c0188
mov edx, 0xa
sub edi, ecx
nop
mov word [ecx], dx
lea ecx, [ecx + 2]
movzx eax, word [edi + ecx]
mov edx, eax
test ax, ax
jne 0x41e4b0
xor eax, eax
mov word [ecx], ax
mov eax, dword [esi]
test eax, eax
je 0x41e4d5
push eax
call fcn.00489c73
add esp, 4
mov eax, dword [ebp - 0x14]
mov edi, 2
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
inc edx
mov ebx, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov byte [esi + 8], 1
mov dword [ebp - 0x10], edx
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x1a
jb 0x41e3e0
test edx, edx
je 0x41e562
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x4c0188], 0
jne 0x41e510
mov eax, dword [esi + 4]
test eax, eax
jne 0x41e53e
mov edx, dword [esi]
test edx, edx
je 0x41e538
cmp word [edx], ax
je 0x41e538
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x41e530
mov edx, dword [ebp - 0x10]
mov dword [esi + 4], eax
cmp ecx, eax
jl 0x41e546
mov ecx, eax
jmp 0x41e54d
xor edi, edi
test ecx, ecx
cmovs ecx, edi
mov byte [esi + 8], 1
test eax, eax
je 0x41e562
sub eax, ecx
mov ecx, dword [esi]
mov dword [esi + 4], eax
xor esi, esi
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489c65
mov esp, ebp
pop ebp
ret