Function at 0x539de0
Capabilities:
Get volume information via ioctl

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x551763
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push edi
mov eax, dword [0x5b1700]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea eax, [esi + 0x15c]
push eax
mov dword [esp + 0x38], eax
call dword [0x5672d8]
mov byte [esp + 0x38], 1
mov dword [esp + 0xa8], 0
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 0x178]
mov ecx, dword [esi + 0x17c]
push 0
add eax, 7
push 8
adc ecx, 0
push ecx
push eax
call fcn.004fd610
mov ebx, eax
add ebx, 0x18
push ebx
call fcn.004f0c7b
mov edi, eax
add esp, 4
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], edi
call fcn.004da170
push edi
lea edx, [esp + 0x28]
push edi
push edx
call fcn.00474a20
add esp, 0xc
mov byte [esp + 0xa8], 1
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x158]
push ebx
mov ebx, dword [esp + 0x30]
push eax
call fcn.0052df00
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0x10
push 0
lea edx, [esp + 0x30]
push edx
push 0x60
mov dword [esi + 0x184], ecx
lea ecx, [esp + 0x48]
push ecx
push 0
push 0
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x158]
push 0x90064
push eax
mov dword [esp + 0x4c], 0
call dword [0x567388]
test eax, eax
je 0x53a02a
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
push ecx
push eax
push edi
mov dword [esp + 0x18], eax
push ebx
push str.MftZone:___I64d___I64d_.
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], str.CVolume::ReloadMap
mov dword [esp + 0x2c], 0x117
mov dword [esp + 0x30], 1
call fcn.0040e5c0
xor eax, eax
add esp, 0x14
cmp edi, eax
jg 0x539f6a
jl 0x539f64
cmp ebx, eax
jae 0x539f6a
mov dword [esp + 0x14], eax
jmp 0x539f70
mov dword [esp + 0x14], ebx
mov eax, edi
mov edx, dword [esi + 0x17c]
cmp eax, edx
mov ecx, dword [esi + 0x178]
jg 0x539f98
jl 0x539f88
cmp dword [esp + 0x14], ecx
jae 0x539f98
test edi, edi
jg 0x539f9c
jl 0x539f92
test ebx, ebx
jae 0x539f9c
xor ebx, ebx
xor edi, edi
jmp 0x539f9c
mov ebx, ecx
mov edi, edx
mov eax, dword [esp + 0x10]
cmp edi, eax
jl 0x539fb4
jg 0x539fac
cmp ebx, dword [esp + 0xc]
jbe 0x539fb4
mov dword [esp + 0x14], ebx
mov ecx, edi
jmp 0x539fbe
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, eax
cmp ecx, edx
jg 0x539fe6
jl 0x539fd0
mov ecx, dword [esi + 0x178]
cmp dword [esp + 0x14], ecx
jae 0x539fe6
cmp edi, eax
jl 0x539ffa
jg 0x539fdc
cmp ebx, dword [esp + 0xc]
jbe 0x539ffa
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
jmp 0x539ff6
mov eax, dword [esi + 0x178]
mov dword [esp + 0xc], eax
mov eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edi
add edx, 0x10
push ebx
push edx
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], edi
mov dword [esi + 0x1a0], ecx
mov dword [esi + 0x1a4], eax
call fcn.0045e8a0
add esp, 0x14
mov byte [esp + 0xa8], 0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x53a064
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x53a064
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x53a064
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
cmp byte [ebp + 8], 0
je 0x53a086
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x53a086
mov ecx, dword [esi + 0x188]
push ecx
push 0
push eax
call fcn.004f9690
add esp, 0xc
mov edx, dword [esi + 0x178]
mov eax, dword [esi + 0x17c]
sub edx, 1
sbb eax, 0
push eax
push edx
lea ecx, [esi + 8]
call fcn.004d8eb0
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x5672f0]
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4