Function at 0x577880
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
call sub.KERNEL32.dll_GetLogicalDrives
test eax, eax
mov dword [esp + 8], eax
je 0x577b30
lea eax, [esp + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0x6055e0
mov dword [esp + 0x44], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], 0x42bbb0
mov dword [esp + 0x4c], 1
lea edi, [esp + 0x40]
push edi
call fcn.0044fbf0
add esp, 4
push 0
call fcn.00549640
add esp, 4
test eax, eax
je 0x577c28
mov dword [esp + 0x20], 0x6044b0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov ebx, 1
mov esi, 0x41
movdqu xmm0, xmmword [eax]
movd edx, xmm0
pshufd xmm1, xmm0, 0x55
add edx, 1
movd ecx, xmm1
adc ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
movdqu xmmword [esp + 0x30], xmm0
jmp 0x5779d5
movsd xmm2, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x60]
movq xmm0, qword [esp + 0x70]
movsd qword [esp + 0xb8], xmm2
movsd qword [esp + 0xb0], xmm1
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x50]
movq qword [esp + 0xc0], xmm0
movsd qword [esp + 0xa8], xmm2
movsd qword [esp + 0xa0], xmm1
movsd xmm2, qword [esp + 0x40]
movq xmm1, qword [esp + 0x48]
movq qword [esp + 0x98], xmm1
movsd qword [esp + 0x90], xmm2
lea ecx, [esp + 0x20]
lea edx, [esp + 0x90]
call fcn.005695a0
inc esi
add ebx, ebx
cmp esi, 0x5a
je 0x577afd
mov eax, dword [esp + 8]
not eax
test ebx, eax
jne 0x5779c9
lea eax, [esp + 0xc]
lea ecx, [esp + 0x78]
mov dword [esp + 0x40], 0x60560c
mov dword [esp + 0x44], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0xc], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x7c], fcn.00428400
mov dword [esp + 0x4c], 1
push edi
call fcn.0044fbf0
add esp, 4
push dword [esp + 0xc]
push edi
call fcn.00576bc0
add esp, 8
cmp dword [esp + 0x40], 0x110001
jne 0x577950
movq xmm0, qword [esp + 0x44]
lea eax, [esp + 0x10]
mov dword [esp + 0x78], 0x60564c
mov dword [esp + 0x7c], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], fcn.0052dbf0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 1
movq qword [esp + 0x10], xmm0
lea eax, [esp + 0x78]
push eax
call fcn.0044fbf0
add esp, 4
cmp byte [esp + 0x10], 3
jne 0x5779c9
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], ecx
push ecx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x577ae2
cmp dword [edi + 8], 9
jae 0x577acd
mov eax, dword [esp]
jmp 0x577ad3
mov eax, dword [esp]
mov eax, dword [eax - 4]
push eax
push 0
mov eax, dword [0x6074a0]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 4]
push 0
mov eax, dword [0x6074a0]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea edi, [esp + 0x40]
jmp 0x5779c9
mov ecx, dword [ebp + 8]
movsd xmm1, qword [esp + 0x30]
movq xmm0, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x20]
movsd qword [ecx + 0x10], xmm1
movsd xmm1, qword [esp + 0x28]
movq qword [ecx + 0x18], xmm0
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
jmp 0x577c1e
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0x6055b0
mov dword [esp + 0x44], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], 0x42bbb0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 1
lea ecx, [esp + 0x40]
lea eax, [esp + 0x20]
push ecx
push eax
call fcn.0041acc0
add esp, 8
mov eax, dword [esp + 0x28]
movq xmm0, qword [esp + 0x20]
mov esi, dword [0x6074b4]
mov ebx, dword [0x6074a0]
mov dword [esp + 0x48], eax
movq qword [esp + 0x40], xmm0
movzx eax, byte [esi]
mov eax, dword [ebx]
test eax, eax
jne 0x577bbb
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x577c44
mov dword [ebx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x577c44
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x20]
movq qword [edi], xmm0
movzx eax, byte [esi]
mov eax, dword [ebx]
test eax, eax
jne 0x577bf0
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x577c52
mov dword [ebx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x577c52
mov ecx, dword [ebp + 8]
mov dword [eax], edi
mov dword [eax + 4], 0x604510
mov byte [eax + 8], 0x27
mov dword [ecx + 8], eax
mov dword [ecx + 4], 3
mov dword [ecx], 0
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x603ae0
push 0x6042b8
push edi
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_std_src_threadlocal.rs
call fcn.004254f0
add esp, 0x14
ud2
push 0xc
push 4
call fcn.0041a8c0
add esp, 8
jmp 0x577c5e
push 0xc
push 4
call fcn.0041a8c0
add esp, 8
ud2