Function at 0x41e2a0
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 0x41e2d8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489f05
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 0x41e31c
push eax
call fcn.00489f13
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 0x41e469
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 0x41e38b
mov ecx, dword [esi]
test ecx, ecx
je 0x41e388
cmp word [ecx], ax
je 0x41e388
nop dword [eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x41e380
mov dword [esi + 4], eax
xor ecx, ecx
test bx, bx
je 0x41e39b
inc ecx
cmp word [ebp + ecx*2 - 0xc], 0
jne 0x41e392
add ecx, eax
xor eax, eax
nop
inc eax
cmp word [eax*2 + 0x4c0188], 0
jne 0x41e3a0
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.0048a2cb
mov edi, dword [esi]
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
test edi, edi
je 0x41e3f1
movzx edx, word [edi]
test dx, dx
je 0x41e3f1
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 0x41e3e0
test bx, bx
je 0x41e412
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 0x41e400
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 0x41e420
xor eax, eax
mov word [ecx], ax
mov eax, dword [esi]
test eax, eax
je 0x41e445
push eax
call fcn.00489f13
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 0x41e350
test edx, edx
je 0x41e4d2
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x4c0188], 0
jne 0x41e480
mov eax, dword [esi + 4]
test eax, eax
jne 0x41e4ae
mov edx, dword [esi]
test edx, edx
je 0x41e4a8
cmp word [edx], ax
je 0x41e4a8
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x41e4a0
mov edx, dword [ebp - 0x10]
mov dword [esi + 4], eax
cmp ecx, eax
jl 0x41e4b6
mov ecx, eax
jmp 0x41e4bd
xor edi, edi
test ecx, ecx
cmovs ecx, edi
mov byte [esi + 8], 1
test eax, eax
je 0x41e4d2
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.00489f05
mov esp, ebp
pop ebp
ret