Function at 0x100ed570
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10250fb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push esi
xor eax, eax
mov dword [ebp - 0x24], 0
push eax
push 0x10255fec
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.1001a600
push 0x20a
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x25c]
add esp, 0xc
push 0x105
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x100ed613
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp + 8]
mov edx, eax
call fcn.100ed8a0
lea ecx, [ebp - 0x34]
call fcn.1001a5a0
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x100ed7b1
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006e70d
push esi
push 0
push eax
mov dword [ebp - 0x10], eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x100ed694
push esi
call fcn.1006e708
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
add esp, 4
push eax
call fcn.1001a2b0
lea ecx, [ebp - 0x34]
call fcn.1001a5a0
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1026fea4]
mov dword [ebp - 0x1c], eax
mov ax, word [0x1026fea8]
push 0x208
mov word [ebp - 0x18], ax
call fcn.1006e70d
xor edi, edi
add esp, 4
mov esi, eax
xor dl, dl
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x38], edi
jbe 0x100ed79e
test dl, dl
je 0x100ed6df
movzx eax, dl
xor ecx, ecx
mov edx, dword [ebp - 0x10]
cmp word [edx + edi*2], cx
cmovne ecx, eax
mov dl, cl
jmp 0x100ed762
mov eax, dword [ebp - 0x10]
push 0x104
push esi
mov ax, word [eax + edi*2]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x100ed733
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100ed79e
push esi
call fcn.1006e708
push 2
call fcn.1006e70d
add esp, 8
mov esi, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100ed79e
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100ed736
sub esi, ecx
lea eax, [ebp - 0x25c]
sar esi, 1
push esi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x100ed76e
mov esi, dword [ebp - 0x14]
mov dl, 1
inc edi
cmp edi, dword [ebp - 0x38]
jb 0x100ed6c5
jmp 0x100ed79e
lea eax, [ebp - 0x25c]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push 0x10266f90
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMStringUtils::FormatResult_wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x34]
push eax
call fcn.1001a270
lea ecx, [ebp - 0x50]
call fcn.1001a5a0
push dword [ebp - 0x10]
call fcn.1006e708
push dword [ebp - 0x14]
call fcn.1006e708
add esp, 8
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
movups xmm0, xmmword [ebp - 0x34]
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 7
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret