Function at 0x4d1200
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, 0x3b0
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x178]
mov ebx, dword [ebp + 0x1c]
mov esi, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x7c], edx
mov ecx, edi
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], eax
mov al, byte [ebp + 8]
movzx eax, al
push eax
call fcn.004d1aee
pop ecx
test al, al
je 0x4d1339
mov edx, dword [ebp + 0x18]
shr esi, 1
xor eax, eax
mov dword [esp + 0x80], esi
mov ecx, edx
sub ecx, dword [ebp + 0x14]
cmovb ecx, eax
cmp ecx, esi
jb 0x4d1ab5
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x7c]
add esi, ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], ebx
call fcn.004416c8
test eax, eax
je 0x4d1928
lea ecx, [esp + 0x38]
lea edx, [esp + 0x90]
push 0
push eax
call fcn.004d1c06
pop eax
pop ecx
mov eax, dword [esp + 0x40]
lea esi, [esp + 0x180]
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x44]
lea edi, [esp + 0x190]
mov ecx, esi
mov edx, edi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x4c]
movsd qword [esi], xmm0
movsd qword [edi], xmm1
mov dword [edi + 8], eax
call fcn.004d1b21
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esi]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, edi
call fcn.004d1b83
jmp 0x4d1920
mov edi, dword [ebx]
push 8
pop eax
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], edi
cmp ebx, esi
jae 0x4d187c
mov eax, dword [edi]
lea edx, [ebx + 1]
bt eax, ebx
jae 0x4d13b5
add ebx, 0x41
mov dword [esp + 0xc], edx
mov word [esp + 0x18], bx
mov dword [esp + 0x1a], 0x5c003a
and word [esp + 0x1e], 0
mov dword [esp + 0x34], ebx
push ecx
mov ebx, ecx
call sub.kernel32.dll_GetDriveTypeW
lea ecx, [eax - 4]
cmp ecx, 0xfffffffe
jae 0x4d13c4
mov eax, dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x118], 3
mov ebx, eax
jmp 0x4d1360
mov dword [esp + 0x118], 3
mov ebx, edx
jmp 0x4d1360
mov dword [esp + 0x78], eax
push 0x20a
push 0
lea edi, [esp + 0x1a8]
push edi
call fcn.004fd260
add esp, 0xc
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
push 0x20
lea eax, [esp + 0x94]
push eax
push 0
push 0
push 0
push 0x105
push edi
push ebx
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4d1439
xor eax, eax
cmp eax, 0x105
je 0x4d1455
cmp word [esp + eax*2 + 0x1a0], 0
je 0x4d1463
inc eax
jmp 0x4d1424
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x118], 3
lea ecx, [esp + 0x18]
jmp 0x4d1360
lea eax, [esp + 0x1a0]
mov esi, 0x105
jmp 0x4d147e
lea ecx, [esp + 0x1a0]
mov edx, 0x105
push 0x5475b8
push eax
call fcn.004312f7
pop ecx
pop ecx
mov esi, edx
lea ecx, [esp + 0x84]
mov edx, eax
push esi
call fcn.004d2362
pop eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
cmp eax, 0x20
je 0x4d14b9
cmp word [esp + eax*2 + 0x90], 0
je 0x4d14c5
inc eax
jmp 0x4d14a6
lea edi, [esp + 0x90]
push 0x20
pop esi
jmp 0x4d14e0
lea ecx, [esp + 0x90]
push 0x20
pop edx
push 0x5475c8
push eax
call fcn.004312f7
pop ecx
pop ecx
mov edi, eax
mov esi, edx
mov ecx, esi
call fcn.00440a54
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
and dword [esp + 0x5c], 0
lea ecx, [esp + 0x54]
mov edx, esi
call fcn.0043f1b2
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
add esi, esi
test esi, esi
je 0x4d151b
mov al, byte [edi]
add edi, 2
add esi, 0xfffffffe
mov byte [ecx + ebx], al
inc ebx
jmp 0x4d1509
mov eax, dword [esp + 0x34]
mov edi, ecx
mov dword [esp + 0x15c], 0x5c005c
mov dword [esp + 0x160], 0x5c002e
mov word [esp + 0x164], ax
mov dword [esp + 0x166], 0x3a
push 0
push 0
push 3
pop eax
push eax
push 0
push eax
push 0
lea eax, [esp + 0x174]
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4d1803
and dword [esp + 0x3c], 0
and dword [esp + 0x38], 0
and dword [esp + 0xdc], 0
and dword [esp + 0xd8], 0
mov esi, eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x24]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x4d17ef
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, ecx
or eax, edx
je 0x4d17ef
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x150], 7
and dword [esp + 0x154], 0
and dword [esp + 0x3c], 0
and dword [esp + 0x38], 0
and dword [esp + 0x40], 0
and dword [esp + 0x60], 0
mov byte [esp + 0x158], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x74], eax
push 0
lea eax, [esp + 0x64]
push eax
push 0xc
pop eax
mov dword [esp + 0x78], esi
push eax
lea eax, [esp + 0x44]
push eax
push 0xc
pop eax
push eax
lea eax, [esp + 0x164]
push eax
push 0x2d1400
push esi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], edx
call dword [sym.imp.kernel32.dll_DeviceIoControl]
xor edx, edx
cmp byte [esp + 0x40], 0
sete dl
push 0xc
pop ecx
cmp dword [esp + 0x60], ecx
push 2
pop ecx
cmovne edx, ecx
test eax, eax
cmove edx, ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x14]
push dword [esp + 0x30]
call fcn.004d0c50
pop eax
mov ecx, ebx
call fcn.00440a54
mov dword [esp + 0x14], eax
push ebx
push edi
push edx
mov edi, edx
call fcn.004fea40
add esp, 0xc
push 4
pop ecx
call fcn.004bce04
movsd xmm0, qword [esp + 0x18]
mov esi, edx
lea ecx, [esp + 0x138]
mov dword [esp + 0x30], eax
movsd qword [edx], xmm0
lea edx, [esp + 0x18]
push 3
call fcn.004d2362
pop eax
or dword [esp + 0x11c], 0xffffffff
push 2
pop eax
cmp dword [esp + 0x78], eax
movsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x138]
movsd qword [esp + 0x100], xmm1
movsd qword [esp + 0xf8], xmm0
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], eax
movzx eax, word [esp + 0xd8]
mov dword [esp + 0x130], esi
mov dword [esp + 0x134], 4
sete byte [esp + 0x144]
mov word [ecx + 0xd], ax
mov al, byte [esp + 0xda]
mov byte [ecx + 0xf], al
push dword [esp + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
call fcn.0049160f
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
call fcn.0049160f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], eax
jne 0x4d1845
lea ecx, [esp + 0x1a0]
call fcn.004d0f17
mov eax, dword [esp + 0x1a0]
mov ebx, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x24], eax
jmp 0x4d1847
mov dword [esp + 0x118], 3
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x4d1816
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp + 0x118], 3
mov ecx, dword [esp + 0x54]
mov edx, edi
call fcn.0049160f
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
call fcn.0049160f
mov ebx, dword [esp + 0xc]
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
jmp 0x4d1360
mov ebx, eax
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0x10]
imul eax, ebx, 0x50
mov dword [esp + 0x2c], ecx
add eax, ecx
push 0x50
lea ecx, [esp + 0xfc]
push ecx
push eax
call fcn.004fea40
add esp, 0xc
inc ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xc]
jmp 0x4d1360
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
and dword [esp + 0xf8], 0
and dword [esp + 0xfc], 0
and dword [esp + 0x100], 0
test ecx, ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
je 0x4d18f9
mov eax, dword [esp + 0x98]
movsd xmm0, qword [esp + 0x90]
lea esi, [esp + 0xf8]
lea edx, [esp + 0x1a0]
mov ecx, esi
mov dword [edx + 8], eax
movsd qword [edx], xmm0
call fcn.004d0faf
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esi]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
jmp 0x4d1920
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0xf8]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
lea ecx, [esp + 0x90]
call fcn.004d0fe8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00440af6
mov esi, dword [eax]
lea edi, [esi + 0x40]
call fcn.004416c8
test eax, eax
je 0x4d19ed
cmp dword [eax + 0xa4], esi
mov ebx, eax
je 0x4d1aa2
mov edx, dword [ebx + 0xa0]
lea eax, [esp + 0x108]
push 0xb
pop ecx
mov dword [esp + 0xc], edi
lea esi, [esp + 0x90]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea esi, [esp + 0xf8]
add ecx, 0xa4
and dword [eax - 0x10], 0
mov dword [eax - 0xc], edx
mov edx, esi
mov dword [eax - 8], ecx
mov byte [eax - 4], 1
and dword [eax + 0x2c], 0
mov ecx, dword [esp + 0xc]
push 0x4d2000
call fcn.00441acf
pop eax
mov ecx, ebx
mov edx, esi
call fcn.0044032c
push 0x16
pop ecx
lea eax, [esp + 0x1a0]
lea edx, [esp + 0xd8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x54]
movsd xmm0, qword [eax + 0x4c]
movsd xmm2, qword [eax + 0x3c]
movsd xmm1, qword [eax + 0x44]
mov dword [edx + 0x18], ecx
lea ecx, [esp + 0x38]
movsd qword [edx + 0x10], xmm0
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm2
call fcn.004d1145
jmp 0x4d12e2
xor ecx, ecx
mov ebx, edi
call fcn.00441c8b
test eax, eax
je 0x4d1aca
lea edx, [esp + 0xfc]
push 0xb
pop ecx
lea esi, [esp + 0x90]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx - 4], eax
lea esi, [esp + 0xf8]
mov ecx, ebx
and dword [edx + 0x2c], 0
mov edx, esi
push 0x4d218a
call fcn.00441acf
pop eax
mov ecx, dword [esi]
call fcn.00440a94
push 0x13
pop ecx
lea eax, [esp + 0x1a0]
lea edx, [esp + 0xd8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x160]
mov ecx, dword [eax + 0x48]
movsd xmm0, qword [eax + 0x40]
movsd xmm2, qword [eax + 0x30]
movsd xmm1, qword [eax + 0x38]
mov dword [edx + 0x18], ecx
mov ecx, esi
movsd qword [edx + 0x10], xmm0
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm2
call fcn.004d1145
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esi + 0x10]
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x48], xmm1
jmp 0x4d12e2
lea ecx, [esp + 0x38]
lea edx, [esp + 0x90]
push 0
push ebx
jmp 0x4d12db
push 0x2b
pop edx
mov ecx, str.assertion_failed:_index___self.range.len__.cargo_registry_srcindex.crates.io_1cd66030c949c28d_rayon_1.7.0_src_range.rsC
push 0x538390
call fcn.0050af40
pop eax
ud2
lea eax, [esp + 0x1a0]
push 0x46
pop edx
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_std_src_threadlocal.rs
push 0x547984
push 0x54725c
push eax
call fcn.0050b0f0
add esp, 0xc
ud2