Function at 0x45cbe0
Capabilities:
Get disk information
Get disk size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa4
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2a7c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2a80], eax
lea eax, [ecx + 0x41]
push ebx
mov ebx, dword [ebp + 0x20]
mov word [ebp - 0x14], ax
mov word [ebp - 0xc], ax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 6], ax
lea eax, [ebp - 0x2a78]
push edi
push eax
push ecx
mov dword [ebp - 0x1c], 0x5c005c
mov dword [ebp - 0x18], 0x5c002e
mov dword [ebp - 0x12], 0x3a
mov dword [ebp - 0xa], 0x5c003a
call fcn.00429680
add esp, 8
test eax, eax
jne 0x45cc89
push esi
call fcn.00417c00
push esi
push str.CANT_ACCESS_OUTER_VOL
call fcn.00419a00
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00415b70
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x2222], 0
je 0x45ccab
cmp dword [ebp - 0x2226], 2
jge 0x45ccab
push esi
push str.ERR_VOL_FORMAT_BAD
call fcn.00419a00
jmp 0x45cf5c
cmp dword [ebp - 0x2256], 0
je 0x45ccc4
push esi
push str.ERR_HIDDEN_NOT_NORMAL_VOLUME
call fcn.00419a00
jmp 0x45cf5c
test byte [ebp - 0x2246], 3
jne 0x45cf51
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45cd1d
push esi
push str.CANT_ACCESS_OUTER_VOL
call fcn.00419a00
add esp, 8
push dword [ebp + 0xc]
call fcn.00415b70
add esp, 4
or eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x2aa4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2a90], xmm0
push dword [ebp - 0x2a8c]
push dword [ebp - 0x2a90]
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
jne 0x45cd53
push esi
call fcn.00417c00
add esp, 4
jmp 0x45cd87
push 0
lea eax, [ebp - 0x2a94]
push eax
push 0x1000
lea eax, [ebp - 0x221c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x45cdad
push esi
call fcn.00417c00
push esi
push str.CANT_ACCESS_OUTER_VOL
call fcn.00419a00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp + 0xc]
call fcn.00415b70
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x100
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
push 3
lea eax, [ebp - 0x21c]
push 0x51d500
push eax
call fcn.004f845a
add esp, 0xc
test eax, eax
je 0x45cef3
cmp byte [ebp - 0x21e6], 0x46
jne 0x45ce11
cmp byte [ebp - 0x21e5], 0x41
jne 0x45ce11
cmp byte [ebp - 0x21e4], 0x54
je 0x45cef3
cmp byte [ebp - 0x21ca], 0x46
jne 0x45ce30
cmp byte [ebp - 0x21c9], 0x41
jne 0x45ce30
cmp byte [ebp - 0x21c8], 0x54
je 0x45cef3
push 4
lea eax, [ebp - 0x21c]
push str.NTFS
push eax
call fcn.004f845a
add esp, 0xc
test eax, eax
jne 0x45cecf
mov dword [ebx], 2
call fcn.0041b280
cmp eax, 7
jne 0x45ce6e
push esi
push str.HIDDEN_VOL_HOST_UNSUPPORTED_FILESYS_WIN2000
call fcn.00419a00
jmp 0x45cf5c
lea eax, [ebp - 0x2a98]
push eax
lea eax, [ebp - 0x2a9c]
push eax
lea eax, [ebp - 0x2a88]
push eax
lea eax, [ebp - 0x2a84]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceW]
test eax, eax
jne 0x45cec0
push esi
call fcn.00417c00
push esi
push str.CANT_GET_OUTER_VOL_INFO
call fcn.00419a00
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2a84]
imul eax, dword [ebp - 0x2a88]
jmp 0x45cf16
push esi
mov dword [ebx], 0
call fcn.0041b280
cmp eax, 7
mov edx, str.HIDDEN_VOL_HOST_UNSUPPORTED_FILESYS
mov ecx, str.HIDDEN_VOL_HOST_UNSUPPORTED_FILESYS_WIN2000
cmovne ecx, edx
push ecx
call fcn.00419a00
jmp 0x45cf5c
movzx eax, byte [ebp - 0x2210]
movzx ecx, byte [ebp - 0x2211]
shl eax, 8
add eax, ecx
mov dword [ebx], 1
movzx ecx, byte [ebp - 0x220f]
imul eax, ecx
mov ecx, dword [ebp - 0x2a7c]
push dword [ebp - 0x2a80]
mov dword [ecx], eax
cdq
push edx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004e1fc0
push edx
push eax
push dword [ebp + 0xc]
push esi
call fcn.0045db20
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push esi
push str.ERR_HIDDEN_VOL_HOST_ENCRYPTED_INPLACE
call fcn.00419c20
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret