Function at 0x575f30
Capabilities:
Enumerate disk volumes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x190
push 0
call fcn.00549640
add esp, 4
test eax, eax
je 0x57633d
mov dword [esp + 0x48], 0x6044b0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov edi, dword [0x6074a0]
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 + 0x58], xmm0
mov eax, dword [edi]
test eax, eax
jne 0x575fae
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x576329
mov dword [edi], eax
push 0x20a
push 8
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x576329
push 0x105
mov dword [esp + 8], eax
push eax
call sub.KERNEL32.dll_FindFirstVolumeW
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0xffffffff
je 0x57600d
mov ecx, dword [esp + 4]
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
cmp word [ecx + eax*2], 0
je 0x5761bb
inc eax
cmp eax, 0x105
jne 0x575ff0
mov eax, 0x105
jmp 0x5761c6
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x70], 0x605080
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x42bbb0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
lea esi, [esp + 0x70]
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0041acc0
add esp, 8
movq xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ebx, dword [0x6074b4]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], eax
movq qword [esp + 0x70], xmm0
movzx eax, byte [ebx]
mov eax, dword [edi]
test eax, eax
jne 0x5760ab
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x57635d
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x57635d
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x10]
movq qword [edi], xmm0
movzx eax, byte [ebx]
mov eax, dword [0x6074a0]
mov eax, dword [eax]
test eax, eax
jne 0x5760f3
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x57636e
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x57636e
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
push dword [esp + 4]
push 0
mov esi, dword [0x6074a0]
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x576894
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x57686b
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], edi
movdqa xmm0, xmmword [esi]
lea edi, [esi + 0x10]
mov dword [esp + 4], esi
pmovmskb eax, xmm0
not eax
jmp 0x576194
tzcnt ecx, eax
lea ebx, [eax - 1]
neg ecx
and ebx, eax
imul eax, ecx, 0x58
lea ecx, [esi + eax - 0x58]
call fcn.00564c20
mov ecx, dword [esp + 8]
mov eax, ebx
dec ecx
je 0x57685b
test ax, ax
mov dword [esp + 8], ecx
jne 0x576170
nop dword [eax]
movdqa xmm0, xmmword [edi]
add esi, 0xfffffa80
add edi, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x5761a0
not eax
jmp 0x576170
cmp eax, 0x106
jae 0x57637f
mov ecx, dword [esp + 4]
mov word [esp + 0x70], 0
lea eax, [ecx + eax*2]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea esi, [esp + 0xcc]
lea ebx, [esp + 0x70]
mov ecx, esi
mov edx, ebx
call fcn.00568590
mov dword [esp + 0x20], esi
lea esi, [esp + 0x20]
mov dword [esp + 0x70], 0x604fb0
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x24], 0x567700
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 1
push ebx
call fcn.0044fbf0
add esp, 4
mov eax, dword [esp + 0xd4]
movq xmm0, qword [esp + 0xcc]
mov dword [esp + 0x28], eax
movq qword [esp + 0x20], xmm0
push esi
push ebx
call fcn.005744b0
add esp, 8
cmp byte [esp + 0xc4], 2
lea esi, [esp + 0x3c]
jne 0x5762f7
movq xmm0, qword [esp + 0x70]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 0x604fe4
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], fcn.0052dbf0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 1
movq qword [esp + 0x3c], xmm0
lea eax, [esp + 0x20]
push eax
call fcn.0044fbf0
add esp, 4
cmp byte [esp + 0x3c], 3
jne 0x57631a
mov edi, dword [esp + 0x40]
mov esi, dword [edi + 4]
mov ebx, dword [edi]
mov eax, dword [esi]
push ebx
call eax
add esp, 4
cmp dword [esi + 4], 0
je 0x5762e9
cmp dword [esi + 8], 9
jb 0x5762da
mov ebx, dword [ebx - 4]
push ebx
push 0
mov eax, dword [0x6074a0]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push edi
push 0
mov edi, dword [0x6074a0]
jmp 0x576416
lea edx, [esp + 0xd8]
lea esi, [esp + 0x70]
mov ecx, 0x16
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x6074a0]
lea ecx, [esp + 0x48]
call fcn.00569110
mov eax, dword [edi]
test eax, eax
jne 0x576432
jmp 0x576423
push 0x20a
push 2
call fcn.0041a8c0
add esp, 8
jmp 0x5768df
lea eax, [esp + 0x70]
push 0x603ae0
push 0x6042b8
push eax
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 0x5768df
push 0xc
push 4
call fcn.0041a8c0
add esp, 8
jmp 0x5768df
push 0x60666c
push 0x105
push eax
call fcn.004287f0
add esp, 0xc
jmp 0x5768df
push dword [edi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [edi]
test eax, eax
jne 0x576432
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x57689f
mov dword [edi], eax
push 0x20a
push 8
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x57689f
mov ebx, eax
push 0x105
push eax
push dword [esp + 0x14]
call sub.KERNEL32.dll_FindNextVolumeW
test eax, eax
je 0x5765fb
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
cmp word [ebx + eax*2], 0
je 0x576486
inc eax
cmp eax, 0x105
jne 0x576470
mov eax, 0x105
jmp 0x576491
cmp eax, 0x106
jae 0x5768b0
lea eax, [ebx + eax*2]
mov word [esp + 0x70], 0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x70]
call fcn.00568590
mov esi, edi
lea eax, [esp + 0x10]
lea edi, [esp + 0x20]
mov dword [esp + 0x70], 0x604fb0
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 8], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x24], 0x567700
mov dword [esp + 0x7c], 1
lea ebx, [esp + 0x70]
push ebx
call fcn.0044fbf0
add esp, 4
mov eax, dword [esp + 0x18]
movq xmm0, qword [esp + 0x10]
mov dword [esp + 0x28], eax
movq qword [esp + 0x20], xmm0
push edi
push ebx
call fcn.005744b0
add esp, 8
cmp byte [esp + 0xc4], 2
mov ebx, dword [esp + 8]
jne 0x5765d0
movq xmm0, qword [esp + 0x70]
lea eax, [esp + 0x68]
mov edi, esi
mov dword [esp + 0x20], 0x604fe4
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], fcn.0052dbf0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 1
movq qword [esp + 0x68], xmm0
lea eax, [esp + 0x20]
push eax
call fcn.0044fbf0
add esp, 4
cmp byte [esp + 0x68], 3
jne 0x5765f3
mov eax, dword [esp + 0x6c]
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0x44], eax
mov eax, dword [edi]
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x5765bb
cmp dword [edi + 8], 9
jb 0x5765ac
mov esi, dword [esi - 4]
mov eax, dword [0x6074a0]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 0x44]
push 0
mov edi, dword [0x6074a0]
push dword [edi]
call sub.KERNEL32.dll_HeapFree
jmp 0x5765f3
lea edx, [esp + 0x130]
mov ecx, 0x16
lea esi, [esp + 0x70]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x6074a0]
lea ecx, [esp + 0x48]
call fcn.00569110
push ebx
push 0
jmp 0x576416
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x3c]
cmp eax, 0x12
mov dword [esp + 0x3c], eax
je 0x57665c
cmp dword [esp + 0x54], 0
je 0x5766aa
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x70], 0x60505c
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x24], 0x42bbb0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
lea eax, [esp + 0x70]
push eax
call fcn.0044fbf0
add esp, 4
push dword [esp + 0xc]
call sub.KERNEL32.dll_FindVolumeClose
mov eax, dword [ebp + 8]
movsd xmm1, qword [esp + 0x58]
movq xmm0, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x48]
movsd qword [eax + 0x10], xmm1
movq xmm1, qword [esp + 0x50]
movq qword [eax + 0x18], xmm0
movsd qword [eax], xmm2
movq qword [eax + 8], xmm1
push ebx
push 0
push dword [edi]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 4]
push 0
push dword [edi]
jmp 0x57688f
push dword [esp + 0xc]
call sub.KERNEL32.dll_FindVolumeClose
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x70], 0x60500c
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x14], 0x42bbb0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 1
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0041acc0
add esp, 8
movq xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov esi, dword [0x6074b4]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], eax
movq qword [esp + 0x70], xmm0
movzx eax, byte [esi]
mov eax, dword [edi]
test eax, eax
jne 0x57673e
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x5768c5
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x5768c5
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x10]
movq qword [edi], xmm0
movzx eax, byte [esi]
mov eax, dword [0x6074a0]
mov eax, dword [eax]
test eax, eax
jne 0x576786
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x5768d3
mov ecx, dword [0x6074a0]
mov dword [ecx], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x5768d3
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
push ebx
push 0
mov esi, dword [0x6074a0]
push dword [esi]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 4]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x576894
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x57686b
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], edi
movdqa xmm0, xmmword [esi]
lea edi, [esi + 0x10]
mov dword [esp + 4], esi
pmovmskb eax, xmm0
not eax
jmp 0x576830
tzcnt ecx, eax
lea ebx, [eax - 1]
neg ecx
and ebx, eax
imul eax, ecx, 0x58
lea ecx, [esi + eax - 0x58]
call fcn.00564c20
mov ecx, dword [esp + 8]
mov eax, ebx
dec ecx
je 0x57685b
test ax, ax
mov dword [esp + 8], ecx
jne 0x576810
nop dword [eax]
movdqa xmm0, xmmword [edi]
add esi, 0xfffffa80
add edi, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x576840
not eax
jmp 0x576810
mov esi, dword [0x6074a0]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 4]
jmp 0x57686f
mov ebx, dword [esp + 0x48]
lea eax, [edi + 1]
mov ecx, 0x58
mul ecx
add eax, 0xf
and eax, 0xfffffff0
add edi, eax
cmp edi, 0xffffffef
je 0x576894
sub ebx, eax
push dword [ebx - 4]
push 0
push dword [esi]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x20a
push 2
call fcn.0041a8c0
add esp, 8
jmp 0x5768df
push 0x60666c
push 0x105
push eax
call fcn.004287f0
add esp, 0xc
jmp 0x5768df
push 0xc
push 4
call fcn.0041a8c0
add esp, 8
jmp 0x5768df
push 0xc
push 4
call fcn.0041a8c0
add esp, 8
ud2