Function at 0x10036ab0
Capabilities:
Get disk information
Get disk size
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x380
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
cmp esi, ecx
mov dword [esp + 0x110], ecx
je 0x1003756e
sub ecx, esi
lea edx, [esi + 0x10]
add ecx, 0xfffffff4
jmp 0x10036b76
mov edi, dword [esp + 0x174]
mov eax, dword [esp + 0x170]
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], 0
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x178], esi
mov ebx, eax
mov esi, ecx
lea eax, [esp + 0x170]
push eax
call sym.__ZN98__LT_alloc..collections..linked_list..LinkedList_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_4drop17h67b56fd557eeb5
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xbc]
mov dword [eax], 1
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ecx
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
mov esi, dword [ebp + 0x14]
mov ebx, dword [esp + 0xc0]
cmp ebx, esi
lea edx, [edi + 0xc]
lea ecx, [eax - 0xc]
mov esi, ebx
je 0x10037531
lea ebx, [esi + 0xc]
mov eax, ecx
mov edi, edx
mov dword [esp + 0x10c], ebx
mov ecx, dword [esi]
cmp ecx, 0x80000000
mov dword [esp + 8], ecx
je 0x10037531
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc8], edi
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [esp + 0xf0], xmm1
movsd qword [esp + 0xe8], xmm0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xf8], eax
push edi
call sub.kernel32.dll_GetDriveTypeW
mov ecx, eax
mov dword [esp + 0x2c], edi
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x10036e60
mov dword [esp + 0xb8], eax
push 0x20a
push 0
lea esi, [esp + 0x178]
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
push 0x20
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0x105
push esi
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x10036e25
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
push ebx
push edi
lea eax, [esp + 0x4c]
push eax
call sym.sysinfo::windows::disk::get_volume_path_names_for_volume_name::h9d65679a05231f93
add esp, 0xc
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x10036e7e
mov eax, ebx
sub eax, 2
jb 0x10037594
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + eax*2]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 1
mov word [esp + 0xdc], 0
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0x104]
push eax
call sym.__ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h587716a5f
add esp, 8
mov eax, dword [esp + 0x104]
mov dword [esp + 0x28], eax
mov al, 1
mov dword [esp + 4], eax
mov ebx, dword [esp + 8]
call sym.__ZN100__LT_windows..Win32..System..SystemServices..RemotableHandle_0_u20_as_u20_core..default..Default_GT_7default17hace6dcb2
push eax
push 0
push 3
push 0
push 3
push 0
push dword [esp + 0x40]
call sub.kernel32.dll_CreateFileW
mov edi, eax
dec eax
cmp eax, 0xfffffffe
jae 0x10036fca
mov eax, dword [esp + 0x48]
mov dword [esp + 0xcc], edi
mov dword [esp + 0xb0], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x1003700a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, ecx
or eax, edx
je 0x10037030
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0x114], 7
mov dword [esp + 0x118], 0
mov dword [esp + 0xac], edx
mov dword [esp + 4], ecx
mov byte [esp + 0x11c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
push 0
lea eax, [esp + 0x44]
push eax
push 0xc
lea eax, [esp + 0x3c]
push eax
push 0xc
lea eax, [esp + 0x128]
push eax
push 0x2d1400
push edi
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x100370c2
cmp dword [esp + 0x40], 0xc
mov eax, 2
jne 0x100370ed
xor eax, eax
cmp byte [esp + 0x38], 0
sete al
jmp 0x100370ed
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edx
mov dword [esp + 0xd0], 1
je 0x10036e60
lea eax, [esp + 0xd8]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
nop word [eax + eax]
mov ebx, dword [esp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0
jmp 0x10036ec0
mov edi, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 8]
test eax, eax
je 0x10036ec0
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push edi
call sym.___rust_dealloc
add esp, 0xc
nop dword [eax + eax]
mov eax, dword [esp + 0x2c]
test ebx, ebx
je 0x10036ed6
add ebx, ebx
push 2
push ebx
push eax
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x174], ecx
mov dword [esp + 0x170], eax
mov dword [esp + 0x178], edx
push edx
lea eax, [esp + 0x174]
push eax
lea eax, [esp + 0x128]
push eax
call sym.__LT_rayon..vec..IntoIter_LT_T_GT__u20_as_u20_rayon..iter..IndexedParallelIterator_GT_::with_producer::hfa1fd589fa8dbbc6
add esp, 0xc
cmp dword [esp + 0xe8], 0
je 0x10036fb0
mov edi, dword [esp + 0xf0]
mov eax, dword [esp + 0x128]
movsd xmm0, qword [esp + 0x120]
mov ebx, dword [esp + 0xec]
mov esi, dword [esp + 0xf4]
test edi, edi
mov dword [esp + 0x178], eax
movsd qword [esp + 0x170], xmm0
je 0x10036af0
mov eax, dword [esp + 0x170]
mov dword [esp + 0x170], 0
test eax, eax
je 0x10036b22
mov dword [edi + 0xc], eax
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0x174]
mov dword [esp + 0x174], 0
add esi, dword [esp + 0x178]
mov dword [esp + 0x178], 0
jmp 0x10036b22
mov ebx, dword [esp + 0x120]
mov edi, dword [esp + 0x124]
mov esi, dword [esp + 0x128]
jmp 0x10036b32
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
je 0x10036ff0
lea eax, [esp + 0x20]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0
jmp 0x10037078
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 1
je 0x10037030
lea eax, [esp + 0x20]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0
push edi
call sub.kernel32.dll_CloseHandle
test eax, eax
jne 0x10037078
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 1
je 0x10037078
lea eax, [esp + 0x20]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov eax, dword [esp + 0x100]
test eax, eax
je 0x10037094
add eax, eax
push 2
push eax
push dword [esp + 0x30]
call sym.___rust_dealloc
add esp, 0xc
mov edi, dword [esp + 0x48]
lea ebx, [edi + 4]
jmp 0x100370aa
add ebx, 0xc
dec esi
je 0x10036e9a
mov eax, dword [ebx - 4]
test eax, eax
je 0x100370a0
add eax, eax
push 2
push eax
push dword [ebx]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x100370a0
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 1
je 0x100370e8
lea eax, [esp + 0x20]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov eax, 2
mov dword [esp + 0xa0], eax
xor eax, eax
mov ecx, 0x20a
nop dword [eax + eax]
cmp word [esp + eax*2 + 0x170], 0
je 0x10037116
inc eax
add ecx, 0xfffffffe
jne 0x10037100
mov eax, 0x105
push eax
lea eax, [esp + 0x174]
push eax
lea eax, [esp + 0x58]
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::hdc9efc66b333cddc
add esp, 0xc
cmp word [esp + 0x60], 0
je 0x100372e3
cmp word [esp + 0x62], 0
je 0x100372ea
cmp word [esp + 0x64], 0
je 0x100372f4
cmp word [esp + 0x66], 0
je 0x100372fe
cmp word [esp + 0x68], 0
je 0x10037308
cmp word [esp + 0x6a], 0
je 0x10037312
cmp word [esp + 0x6c], 0
je 0x1003731c
cmp word [esp + 0x6e], 0
je 0x10037326
cmp word [esp + 0x70], 0
je 0x10037330
cmp word [esp + 0x72], 0
je 0x1003733a
cmp word [esp + 0x74], 0
je 0x10037344
cmp word [esp + 0x76], 0
je 0x1003734e
cmp word [esp + 0x78], 0
je 0x10037358
cmp word [esp + 0x7a], 0
je 0x1003735f
cmp word [esp + 0x7c], 0
je 0x10037366
cmp word [esp + 0x7e], 0
je 0x1003736d
cmp word [esp + 0x80], 0
je 0x10037374
cmp word [esp + 0x82], 0
je 0x1003737b
cmp word [esp + 0x84], 0
je 0x10037382
cmp word [esp + 0x86], 0
je 0x10037389
cmp word [esp + 0x88], 0
je 0x10037390
cmp word [esp + 0x8a], 0
je 0x10037397
cmp word [esp + 0x8c], 0
je 0x1003739e
cmp word [esp + 0x8e], 0
je 0x100373a5
cmp word [esp + 0x90], 0
je 0x100373ac
cmp word [esp + 0x92], 0
je 0x100373b3
cmp word [esp + 0x94], 0
je 0x100373ba
cmp word [esp + 0x96], 0
je 0x100373c1
cmp word [esp + 0x98], 0
je 0x100373c8
cmp word [esp + 0x9a], 0
je 0x100373cf
cmp word [esp + 0x9c], 0
je 0x100373d6
cmp word [esp + 0x9e], 1
mov eax, 0x20
sbb eax, 0
jmp 0x100373db
xor eax, eax
jmp 0x100373db
mov eax, 1
jmp 0x100373db
mov eax, 2
jmp 0x100373db
mov eax, 3
jmp 0x100373db
mov eax, 4
jmp 0x100373db
mov eax, 5
jmp 0x100373db
mov eax, 6
jmp 0x100373db
mov eax, 7
jmp 0x100373db
mov eax, 8
jmp 0x100373db
mov eax, 9
jmp 0x100373db
mov eax, 0xa
jmp 0x100373db
mov eax, 0xb
jmp 0x100373db
mov eax, 0xc
jmp 0x100373db
mov eax, 0xd
jmp 0x100373db
mov eax, 0xe
jmp 0x100373db
mov eax, 0xf
jmp 0x100373db
mov eax, 0x10
jmp 0x100373db
mov eax, 0x11
jmp 0x100373db
mov eax, 0x12
jmp 0x100373db
mov eax, 0x13
jmp 0x100373db
mov eax, 0x14
jmp 0x100373db
mov eax, 0x15
jmp 0x100373db
mov eax, 0x16
jmp 0x100373db
mov eax, 0x17
jmp 0x100373db
mov eax, 0x18
jmp 0x100373db
mov eax, 0x19
jmp 0x100373db
mov eax, 0x1a
jmp 0x100373db
mov eax, 0x1b
jmp 0x100373db
mov eax, 0x1c
jmp 0x100373db
mov eax, 0x1d
jmp 0x100373db
mov eax, 0x1e
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::hdc9efc66b333cddc
add esp, 0xc
movsd xmm0, qword [esp + 0x50]
lea ecx, [esp + 0x128]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0xb0]
movsd xmm1, qword [esp + 0x58]
movsd xmm2, qword [esp + 0x20]
mov edx, dword [esp + 0xb4]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x18]
movsd qword [ecx + 8], xmm1
lea eax, [esi + eax*4]
movsd qword [ecx + 0x18], xmm2
shr edx, 0x13
and dl, 1
cmp dword [esp + 0xb8], 2
movsd qword [ecx + 0x10], xmm0
mov dword [esp + 0x160], esi
mov dword [esp + 0x164], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x168], esi
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x124], 0xffffffff
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x150], eax
sete byte [esp + 0x158]
mov byte [esp + 0x159], dl
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.1003f330
add esp, 8
push edi
call sub.kernel32.dll_CloseHandle
test eax, eax
jne 0x10037514
mov dword [esp + 4], 0
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 1
je 0x10037514
mov dword [esp + 4], 0
lea eax, [esp + 0x20]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov eax, dword [esp + 0x100]
test eax, eax
je 0x10036ec0
add eax, eax
push 2
push eax
push dword [esp + 0x30]
jmp 0x10036eb0
cmp ebx, dword [ebp + 0x14]
je 0x1003756e
mov ecx, 0xaaaaaaab
mul ecx
mov esi, edx
shr esi, 3
jmp 0x10037556
add edi, 0xc
dec esi
je 0x1003756e
mov eax, dword [edi - 4]
test eax, eax
je 0x10037550
add eax, eax
push 2
push eax
push dword [edi]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x10037550
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [eax + 0x10], ecx
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 8]
push 0x1016f324
push ebx
push eax
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
add esp, 0xc
ud2