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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa0
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2a7c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x41]
mov dword [ebp - 0x1c], 0x5c005c
mov word [ebp - 0x14], ax
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x2a78]
push edi
push eax
push ebx
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 0x43763b
push esi
call fcn.00417c00
push esi
push str.CANT_ACCESS_OUTER_VOL
call fcn.00419a00
add esp, 0xc
push ebx
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 - 0x2256], 0
je 0x437654
push esi
push str.ERR_HIDDEN_NOT_NORMAL_VOLUME
call fcn.00419a00
jmp 0x437913
test byte [ebp - 0x2246], 3
jne 0x437908
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 0x4376ab
push esi
push str.CANT_ACCESS_OUTER_VOL
call fcn.00419a00
add esp, 8
push ebx
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 - 0x2aa0]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2a84], xmm0
push dword [ebp - 0x2a80]
push dword [ebp - 0x2a84]
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
jne 0x4376e1
push esi
call fcn.00417c00
add esp, 4
jmp 0x437715
push 0
lea eax, [ebp - 0x2a90]
push eax
push 0x1000
lea eax, [ebp - 0x221c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x437739
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 ebx
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]
lea eax, [ebp - 0x2a80]
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.00437c60
add esp, 8
test eax, eax
jne 0x43776a
push esi
push str.HIDDEN_VOL_HOST_UNSUPPORTED_FILESYS
call fcn.00419a00
jmp 0x437913
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 0x4378c3
cmp byte [ebp - 0x21e6], 0x46
jne 0x4377c7
cmp byte [ebp - 0x21e5], 0x41
jne 0x4377c7
cmp byte [ebp - 0x21e4], 0x54
je 0x4378c3
cmp byte [ebp - 0x21ca], 0x46
jne 0x4377e6
cmp byte [ebp - 0x21c9], 0x41
jne 0x4377e6
cmp byte [ebp - 0x21c8], 0x54
je 0x4378c3
push 4
lea eax, [ebp - 0x21c]
push str.NTFS
push eax
call fcn.004f845a
add esp, 0xc
test eax, eax
jne 0x4378a5
call fcn.0041b280
cmp eax, 7
jne 0x43781e
push esi
push str.HIDDEN_VOL_HOST_UNSUPPORTED_FILESYS_WIN2000
call fcn.00419a00
jmp 0x437913
lea eax, [ebp - 0x2a94]
push eax
lea eax, [ebp - 0x2a98]
push eax
lea eax, [ebp - 0x2a8c]
push eax
lea eax, [ebp - 0x2a88]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceW]
test eax, eax
jne 0x437870
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 - 0x2a88]
imul eax, dword [ebp - 0x2a8c]
push dword [ebp - 0x2a7c]
push eax
push dword [ebp - 0x2a80]
push ebx
push esi
call fcn.00437930
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
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 0x437913
movzx ecx, byte [ebp - 0x2210]
movzx eax, byte [ebp - 0x2211]
push dword [ebp - 0x2a7c]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x220f]
imul ecx, eax
push ecx
push dword [ebp - 0x2a80]
push ebx
push esi
call fcn.00437930
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