Function at 0x100ea600
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 0x1011e56d
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 0x10132fa4
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.100747a0
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x105
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x100ea851
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100ea851
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.100703f6
add esp, 4
mov dword [ebp - 0x18], eax
push esi
push 0
push eax
call fcn.100747a0
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 0x100ea6f1
push esi
jmp 0x100ea849
mov eax, dword [0x1013a13c]
mov dword [ebp - 0x24], eax
mov ax, word [0x1013a140]
push 0x208
mov word [ebp - 0x20], ax
call fcn.100703f6
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 0x100ea83b
jmp 0x100ea72a
mov ecx, dword [ebp - 0x14]
test dl, dl
je 0x100ea744
movzx eax, dl
xor ecx, ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + esi*2], cx
cmovne ecx, eax
mov dl, cl
jmp 0x100ea7ce
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 0x100ea79d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100ea83b
push dword [ebp - 0x14]
call fcn.100703c1
add esp, 4
push 2
call fcn.100703f6
add esp, 4
mov dword [ebp - 0x14], eax
push 1
push eax
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x100ea83b
mov ecx, dword [ebp - 0x14]
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100ea7a5
sub esi, edx
lea eax, [ebp - 0x270]
sar esi, 1
push esi
push ecx
push eax
call fcn.100a1278
add esp, 0xc
test eax, eax
je 0x100ea7dd
mov esi, dword [ebp - 0x28]
mov dl, 1
inc esi
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp - 0x1c]
jb 0x100ea727
jmp 0x100ea83b
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.100d4590
add esp, 0x10
lea ecx, [ebp - 0x40]
push eax
call fcn.1001df20
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x100ea83b
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ea831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ea885
push edx
push ecx
call fcn.100703b3
add esp, 8
push dword [ebp - 0x18]
call fcn.100703c1
add esp, 4
push dword [ebp - 0x14]
call fcn.100703c1
add esp, 4
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [edi + 0x10], xmm0
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1007e0fa
int3