Function at 0x1010e32
Capabilities:
Get disk information via ioctl
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
push edi
mov ebx, 0x4830
push ebx
xor esi, esi
push esi
push dword [eax + 0x18]
xor edi, edi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x1010e70
mov dword [ebp - 4], 0x5aa
jmp 0x10110ac
push esi
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x1010ed9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0x7a
je 0x1010e93
cmp eax, 0xea
jne 0x1010eed
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
add dword [ebp - 0xc], 0x2400
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x101106d
push esi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0xc]
push eax
push esi
push esi
push 0x70050
push dword [ebp + 8]
call ebx
test eax, eax
je 0x1010e7e
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
je 0x1011063
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, 0x808
push ecx
push esi
push dword [eax + 0x18]
mov dword [ebp - 0xc], ecx
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
cmp edi, esi
je 0x101106d
push esi
lea eax, [ebp - 0x10]
push eax
push 0x808
jmp 0x1010f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0x7a
je 0x1010f3d
cmp eax, 0xea
jne 0x1010f94
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
add dword [ebp - 0xc], 0x800
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
cmp edi, esi
je 0x101106d
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push edi
push esi
push esi
push 0x7400c
push dword [ebp + 8]
call ebx
test eax, eax
je 0x1010f28
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
jne 0x1011074
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword [edi]
mov eax, dword fs:[0x18]
imul ebx, ebx, 0x90
mov eax, dword [eax + 0x30]
add ebx, 0x30
push ebx
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x101106d
push ebx
push esi
push eax
call fcn.01012644
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [edi + 4]
mov dword [ecx + 8], eax
add esp, 0xc
lea ebx, [ecx + 0x30]
lea eax, [edi + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], esi
cmp dword [edi], esi
jbe 0x1011063
lea ecx, [ebx + 0x10]
mov edx, 0x90
jmp 0x1011015
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
mov ebx, dword [eax]
mov dword [ecx - 8], ebx
mov ebx, dword [eax + 4]
mov dword [ecx - 4], ebx
mov ebx, dword [eax + 8]
inc dword [ebp - 0xc]
mov dword [ecx], ebx
mov ebx, dword [eax + 0xc]
add dword [ebp + 8], edx
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 8], ebx
mov bl, byte [eax + 0x1b]
mov byte [ecx + 0xc], bl
mov bl, byte [eax + 0x18]
mov byte [ecx + 0x10], bl
mov bl, byte [eax + 0x19]
mov byte [ecx + 0x11], bl
mov bl, byte [eax + 0x1a]
mov byte [ecx + 0x12], bl
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x14], ebx
mov ebx, dword [ebp - 0xc]
add eax, 0x20
add ecx, edx
cmp ebx, dword [edi]
jb 0x1011012
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
jmp 0x1011074
mov dword [ebp - 4], 0x5aa
cmp edi, esi
je 0x101108c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 4], esi
je 0x10110ac
cmp dword [ebp - 8], esi
je 0x10110ac
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8