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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121f6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x260
push esi
push edi
xor eax, eax
mov dword [ebp - 0x30], 0
mov edi, ecx
mov dword [ebp - 0x2c], 7
push eax
push 0x10136fb4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov esi, edx
mov word [ebp - 0x40], ax
call fcn.1001a860
push 0x20a
lea eax, [ebp - 0x270]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10077450
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x105
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x100ed804
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, edi
call fcn.100ed3c0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100ed9df
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ed7f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ed9f4
push edx
push ecx
call fcn.1007306e
add esp, 8
jmp 0x100ed9df
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100ed9c0
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100730b1
add esp, 4
mov dword [ebp - 0x18], eax
push esi
push 0
push eax
call fcn.10077450
mov esi, dword [ebp - 0x18]
add esp, 0xc
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x100ed860
push esi
jmp 0x100ed9b8
mov eax, dword [0x1013e158]
mov dword [ebp - 0x24], eax
mov ax, word [0x1013e15c]
push 0x208
mov word [ebp - 0x20], ax
call fcn.100730b1
xor esi, esi
add esp, 4
mov ecx, eax
mov dword [ebp - 0x28], esi
xor dl, dl
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x1c], esi
jbe 0x100ed9aa
jmp 0x100ed899
mov ecx, dword [ebp - 0x14]
test dl, dl
je 0x100ed8b3
movzx eax, dl
xor ecx, ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + esi*2], cx
cmovne ecx, eax
mov dl, cl
jmp 0x100ed93d
mov eax, dword [ebp - 0x18]
push 0x104
push ecx
mov ax, word [eax + esi*2]
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
jne 0x100ed90c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100ed9aa
push dword [ebp - 0x14]
call fcn.1007307c
add esp, 4
push 2
call fcn.100730b1
add esp, 4
mov dword [ebp - 0x14], eax
push 1
push eax
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x100ed9aa
mov ecx, dword [ebp - 0x14]
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100ed914
sub esi, edx
lea eax, [ebp - 0x270]
sar esi, 1
push esi
push ecx
push eax
call fcn.100a3f27
add esp, 0xc
test eax, eax
je 0x100ed94c
mov esi, dword [ebp - 0x28]
mov dl, 1
inc esi
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp - 0x1c]
jb 0x100ed896
jmp 0x100ed9aa
lea eax, [ebp - 0x270]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x5c]
push str._s_s
push eax
call fcn.100d7250
add esp, 0x10
lea ecx, [ebp - 0x40]
push eax
call fcn.1001df20
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x100ed9aa
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ed9a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ed9f9
push edx
push ecx
call fcn.1007306e
add esp, 8
push dword [ebp - 0x18]
call fcn.1007307c
add esp, 4
push dword [ebp - 0x14]
call fcn.1007307c
add esp, 4
movups xmm0, xmmword [ebp - 0x40]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10080da8
call fcn.10080da8
int3