Function at 0x555ecb
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, 0x390
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x178]
mov ebx, dword [ebp + 0x1c]
mov esi, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xb0], 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.00556763
pop ecx
test al, al
je 0x556009
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
shr esi, 1
xor eax, eax
mov dword [esp + 0xc0], esi
sub ecx, edx
cmovb ecx, eax
cmp ecx, esi
jb 0x556727
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xb0]
add esi, edx
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], esi
call fcn.00488f1e
test eax, eax
je 0x5565a5
lea ecx, [esp + 0x58]
lea edx, [esp + 0xd0]
push 0
push eax
call fcn.00555acf
pop eax
pop ecx
mov ecx, dword [esp + 0x5c]
movsd xmm0, qword [esp + 0x64]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
test ecx, ecx
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0x18], esi
je 0x55664e
mov esi, dword [esp + 0x10]
and dword [esp + 0x10], 0
test esi, esi
je 0x55666b
mov dword [ecx + 0xc], esi
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x14]
and dword [esp + 0x14], 0
add eax, dword [esp + 0x18]
and dword [esp + 0x18], 0
jmp 0x55666b
mov eax, dword [ebx]
mov dword [esp + 0x44], eax
push 8
pop eax
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
lea ebx, [esp + 0x24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
cmp edi, esi
jae 0x556524
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
bt eax, edi
jae 0x55651e
lea eax, [edi + 0x41]
mov word [esp + 0x24], ax
mov dword [esp + 0x26], 0x5c003a
and word [esp + 0x2a], 0
mov dword [esp + 0xc], eax
push ebx
call sub.KERNEL32.DLL_GetDriveTypeW
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x5560ed
mov dword [esp + 0xac], eax
push 0x20a
push 0
lea ebx, [esp + 0x188]
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xorps xmm0, xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
push 0x20
lea eax, [esp + 0xd4]
push eax
push 0
push 0
push 0
push 0x105
push ebx
lea ebx, [esp + 0x40]
push ebx
call sub.KERNEL32.DLL_GetVolumeInformationW
test eax, eax
je 0x5560ed
xor eax, eax
cmp eax, 0x105
je 0x5560fd
cmp word [esp + eax*2 + 0x180], 0
je 0x55610b
inc eax
jmp 0x5560d8
mov dword [esp + 0x120], 3
jmp 0x55651e
lea eax, [esp + 0x180]
mov esi, 0x105
jmp 0x556126
lea ecx, [esp + 0x180]
mov edx, 0x105
push 0x69ef14
push eax
call fcn.00556a5c
pop ecx
pop ecx
mov esi, edx
lea ecx, [esp + 0xb4]
mov edx, eax
push esi
call fcn.00556a74
pop eax
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
xor eax, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
cmp eax, 0x20
je 0x556165
cmp word [esp + eax*2 + 0xd0], 0
je 0x556171
inc eax
jmp 0x556152
lea esi, [esp + 0xd0]
push 0x20
pop ebx
jmp 0x55618c
lea ecx, [esp + 0xd0]
push 0x20
pop edx
push 0x69ef24
push eax
call fcn.00556a5c
pop ecx
pop ecx
mov esi, eax
mov ebx, edx
mov ecx, ebx
xor edx, edx
call fcn.00487eba
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
and dword [esp + 0x80], 0
lea ecx, [esp + 0x78]
mov edx, ebx
call fcn.00486401
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
test ebx, ebx
je 0x5561d1
mov edx, dword [esp + 0xc]
mov al, byte [esi]
add esi, 2
mov byte [ecx + edi], al
inc edi
dec ebx
jne 0x5561c3
jmp 0x5561d5
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xc0], 0x5c005c
mov dword [esp + 0xc4], 0x5c002e
mov word [esp + 0xc8], dx
mov dword [esp + 0xc], ecx
mov dword [esp + 0xca], 0x3a
push 0
push 0
push 3
pop eax
push eax
push 0
push eax
push 0
lea eax, [esp + 0xd8]
push eax
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x5564e6
and dword [esp + 0x4c], 0
and dword [esp + 0x48], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x78], 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
lea eax, [esp + 0x30]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceExW
mov esi, dword [ebp + 0x18]
test eax, eax
je 0x5564d0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, ecx
or eax, edx
je 0x5564d0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x114], 7
and dword [esp + 0x118], 0
and dword [esp + 0x4c], 0
and dword [esp + 0x48], 0
and dword [esp + 0x50], 0
and dword [esp + 0x74], 0
mov byte [esp + 0x11c], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa4], eax
push 0
lea eax, [esp + 0x78]
push eax
push 0xc
pop esi
push esi
lea eax, [esp + 0x54]
push eax
push esi
lea eax, [esp + 0x128]
push eax
push 0x2d1400
push dword [esp + 0x5c]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], edx
call sub.KERNEL32.DLL_DeviceIoControl
mov dword [esp + 0xa0], ebx
xor ebx, ebx
cmp byte [esp + 0x50], 0
sete bl
cmp dword [esp + 0x74], esi
push 2
pop ecx
mov edx, dword [esp + 0x20]
cmovne ebx, ecx
test eax, eax
cmove ebx, ecx
lea ecx, [esp + 0x78]
push dword [esp + 0x3c]
call fcn.00554f90
pop eax
mov ecx, edi
xor edx, edx
call fcn.00487eba
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], edx
push edi
push dword [esp + 0x10]
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 4
pop ecx
xor edx, edx
call fcn.00556b44
movsd xmm0, qword [esp + 0x24]
mov esi, edx
mov dword [esp + 0x94], eax
lea ecx, [esp + 0x160]
movsd qword [edx], xmm0
lea edx, [esp + 0x24]
push 3
call fcn.00556a74
pop eax
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
lea ecx, [esp + 0x160]
movsd qword [ecx - 0x30], xmm1
movsd qword [ecx - 0x38], xmm0
or dword [esp + 0x124], 0xffffffff
push 2
pop eax
cmp dword [esp + 0xac], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], eax
movzx eax, word [esp + 0x78]
mov dword [esp + 0x158], esi
mov dword [esp + 0x15c], 4
sete byte [esp + 0x16c]
mov word [ecx + 0xd], ax
mov al, byte [esp + 0x7a]
mov byte [ecx + 0xf], al
push dword [esp + 0x40]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xc]
call fcn.00563c9c
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
call fcn.00563c9c
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, edx
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], esi
jne 0x5564ab
lea ecx, [esp + 0x180]
call fcn.00555858
mov eax, dword [esp + 0x180]
mov esi, dword [esp + 0x188]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x184]
imul edi, esi, 0x50
mov dword [esp + 0x38], eax
add edi, eax
push 0x14
pop ecx
mov eax, esi
lea esi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x18]
inc eax
mov edi, dword [esp + 0x70]
mov dword [esp + 0x34], eax
jmp 0x55651a
mov dword [esp + 0x120], 3
push dword [esp + 0x40]
call sub.KERNEL32.DLL_CloseHandle
jmp 0x5564fb
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CloseHandle
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x120], 3
mov edx, dword [esp + 0xc]
mov ecx, ebx
call fcn.00563c9c
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x20]
call fcn.00563c9c
mov edi, dword [esp + 0x70]
lea ebx, [esp + 0x24]
inc edi
jmp 0x556030
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x1c]
test edx, edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
je 0x556588
push 4
pop ecx
push 0x14
pop edx
call fcn.00425bef
test eax, eax
je 0x556739
movsd xmm0, qword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
movsd qword [eax], xmm0
and dword [eax + 0x10], 0
and dword [eax + 0xc], 0
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], 1
jmp 0x556680
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x58]
and dword [eax], 0
and dword [eax + 4], 0
and dword [eax + 8], 0
call fcn.005558f4
jmp 0x556680
call fcn.00487f6e
mov esi, dword [eax]
lea edi, [esi + 0x40]
call fcn.00488f1e
test eax, eax
je 0x556688
cmp dword [eax + 0x8c], esi
mov ebx, eax
je 0x556714
mov edx, dword [ebx + 0x88]
mov eax, ebx
add eax, 0x8c
push 0xb
pop ecx
mov dword [esp + 0x44], edi
lea edi, [esp + 0x120]
lea esi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x168]
mov dword [esi], eax
and dword [esi + 4], 0
mov dword [esi + 8], edx
mov byte [esi + 0xc], 1
and dword [esi - 0x1c], 0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x120]
mov edx, 0x55679c
push eax
call fcn.00488fa8
pop eax
mov ecx, ebx
mov edx, esi
call fcn.00555dd3
push 0x16
pop ecx
lea edi, [esp + 0x180]
lea esi, [esp + 0x120]
lea edx, [esp + 0x1ac]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x58]
call fcn.00555a85
jmp 0x555fb3
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
and dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, edi
mov edx, esi
mov esi, dword [esp + 0x2c]
mov dword [esi], edx
mov dword [esi + 4], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 8], eax
call fcn.00555e79
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
mov ebx, edi
call fcn.0048916c
test eax, eax
je 0x556744
lea edx, [esp + 0x124]
push 0xb
pop ecx
lea esi, [esp + 0xd0]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [edx - 4], eax
lea esi, [esp + 0x120]
mov ecx, ebx
and dword [edx + 0x2c], 0
mov edx, 0x5568ed
push esi
call fcn.00488fa8
pop eax
mov ecx, dword [esi]
call fcn.00487f07
push 0x13
pop ecx
lea edi, [esp + 0x180]
lea edx, [esp + 0x1b0]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x7c]
mov ecx, esi
call fcn.00555a85
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [esi + 0x10]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x68], xmm1
jmp 0x555fb3
lea ecx, [esp + 0x58]
lea edx, [esp + 0xd0]
push 0
push ebx
jmp 0x555fac
push 0x2b
pop edx
mov ecx, 0x644554
push 0x6445dc
call fcn.0043a9e0
push 4
pop ecx
push 0x14
pop edx
call fcn.00434230
lea eax, [esp + 0x180]
push 0x46
pop edx
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_threadlocal.rs
push 0x69ea74
push 0x69ead8
push eax
call fcn.0043f6f0