Function at 0x4a9630
Capabilities:
Get process heap force flags
Get volume information via ioctl

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ceaa8
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x50f880]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x144]
push eax
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x58], 1
xor ebx, ebx
mov dword [esp + 0xd0], ebx
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 0x294]
push eax
mov dword [esp + 0x50], esi
call fcn.004bcde0
mov dword [esp + 0x50], eax
mov byte [esp + 0xd0], 1
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
push ebx
add eax, 7
push 8
adc ecx, ebx
push ecx
push eax
call fcn.0045a1e0
lea edi, [eax + 0x18]
lea eax, [edi + 0x10]
push eax
call fcn.0044d57b
add esp, 4
mov byte [esp + 0x28], bl
mov edx, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], eax
call fcn.0042b2b0
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0x40]
push edi
add eax, 0x10
push ebx
push eax
mov dword [esp + 0x54], eax
call fcn.00457de0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x48]
push edi
push edx
call fcn.0049ee90
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 0x10
push 0
lea edx, [esp + 0x2c]
push edx
push 0x60
mov dword [esi + 0x168], eax
lea eax, [esp + 0x68]
push eax
push 0
push 0
mov dword [esi + 0x16c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], 0
push 0x90064
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a98d0
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
push ecx
mov dword [esp + 0x1c], ecx
mov ecx, edx
push ecx
push ebx
push eax
mov dword [esp + 0x2c], eax
push str.MftZone:___I64d___I64d_.
lea eax, [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], str.CVolume::ReloadMap
mov dword [esp + 0x44], 0x1ef
mov dword [esp + 0x48], 1
call fcn.00409c10
mov eax, dword [esp + 0x30]
xor ecx, ecx
add esp, 0x14
cmp ebx, ecx
jg 0x4a97f6
jl 0x4a97f0
cmp eax, ecx
jae 0x4a97f6
mov dword [esp + 0x2c], ecx
jmp 0x4a97fc
mov dword [esp + 0x2c], eax
mov ecx, ebx
cmp ecx, dword [esi + 0x164]
jg 0x4a9828
jl 0x4a9812
mov ecx, dword [esi + 0x160]
cmp dword [esp + 0x2c], ecx
jae 0x4a9828
test ebx, ebx
jg 0x4a983c
jl 0x4a981c
test eax, eax
jae 0x4a983c
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x4a9838
mov eax, dword [esi + 0x160]
mov ebx, dword [esi + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ebx, ecx
jl 0x4a9854
jg 0x4a984c
cmp eax, dword [esp + 0x14]
jbe 0x4a9854
mov dword [esp + 0x2c], eax
mov ecx, ebx
jmp 0x4a985c
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
cmp ecx, dword [esi + 0x164]
jg 0x4a988a
jl 0x4a9872
mov ecx, dword [esi + 0x160]
cmp dword [esp + 0x2c], ecx
jae 0x4a988a
cmp ebx, dword [esp + 0x18]
jl 0x4a989e
jg 0x4a9880
cmp eax, dword [esp + 0x14]
jbe 0x4a989e
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jmp 0x4a989e
mov ecx, dword [esi + 0x160]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x164]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push edx
push ecx
push ebx
push eax
mov dword [esi + 0x188], eax
mov eax, dword [esp + 0x5c]
push eax
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x190], ecx
mov dword [esi + 0x194], edx
call fcn.004293a0
add esp, 0x18
mov byte [esp + 0xd0], 1
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4a990a
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4a990a
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4a990a
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
cmp byte [ebp + 8], 0
je 0x4a992c
mov eax, dword [esi + 0x17c]
test eax, eax
je 0x4a992c
mov ecx, dword [esi + 0x178]
push ecx
push 0
push eax
call fcn.00457de0
add esp, 0xc
mov eax, dword [esi + 0x160]
mov edx, dword [esi + 0x164]
mov ecx, dword [esi + 0x10]
sub eax, 1
sbb edx, 0
push edx
push eax
call fcn.00425660
mov esi, dword [esi + 0x294]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [esi + 0x24]
cmp dword [esi + 0x24], 0
jg 0x4a9973
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4a9973
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
mov edx, dword [esp + 0x54]
push edx
call esi
xor eax, eax
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00453be1
mov esp, ebp
pop ebp
ret 4