Function at 0x4a2c90
Capabilities:
Enumerate pe sections
Get volume information via ioctl
Read file on windows

Disassembly:
sub esp, 0xa4
mov eax, dword [esp + 0xb4]
push ebp
push eax
call fcn.00496ba0
mov eax, dword [esp + 0xac]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x2c]
push ecx
push 0x60
lea edx, [esp + 0x54]
push edx
push ebp
push ebp
push 0x90064
push eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a34aa
mov eax, dword [esp + 0x78]
cmp eax, 0x2a
jbe 0x4a3492
push ebx
push esi
lea ebx, [eax + 0xf]
push edi
push ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x54], ebx
call fcn.004a2340
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xbc]
push ebp
lea ecx, [esp + 0x38]
push ecx
push ebx
push eax
push 8
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd0]
push 0x90068
and esi, 0xffff
push eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a3357
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp ecx, edi
jne 0x4a345a
mov edx, dword [eax + 4]
cmp edx, esi
jne 0x4a345a
cmp dword [eax + 0xc], 0x454c4946
lea ebx, [eax + 0xc]
mov eax, dword [esp + 0x84]
lea ebp, [ebx + eax]
mov dword [esp + 0x40], ebp
jne 0x4a329e
test byte [ebx + 0x16], 1
je 0x4a3297
cmp dword [esp + 0x20], 0
jne 0x4a2db5
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov edx, eax
or edx, ecx
je 0x4a2dad
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], 1
jmp 0x4a2db5
mov dword [esp + 0x1c], 1
movzx esi, word [ebx + 0x14]
add esi, ebx
cmp esi, ebx
jb 0x4a32b0
jmp 0x4a2dc9
mov ebp, dword [esp + 0x40]
lea edi, [esi + 0x10]
cmp edi, ebp
mov edx, 1
ja 0x4a32b0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4a32b0
cmp dword [esi + 4], 0x10
jb 0x4a30e9
cmp byte [esi + 9], 0
jne 0x4a30d2
sub eax, 0x10
je 0x4a3069
sub eax, 0x10
je 0x4a2e8d
sub eax, 0x60
jne 0x4a30d2
test byte [ebx + 0x16], 2
jne 0x4a30d2
test byte [esi + 8], dl
je 0x4a2e5d
lea eax, [esi + 0x48]
cmp eax, ebp
ja 0x4a30d2
mov ecx, dword [edi]
or ecx, dword [edi + 4]
jne 0x4a30d2
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0xc4]
mov dword [eax], ecx
mov ecx, dword [esi + 0x34]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x10]
or eax, 2
mov dword [esp + 0x10], eax
cmp eax, 3
jmp 0x4a30cc
lea eax, [esi + 0x16]
cmp eax, ebp
ja 0x4a30d2
mov eax, dword [esp + 0xc4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov eax, dword [esp + 0x10]
or eax, 2
mov dword [esp + 0x10], eax
cmp eax, 3
jmp 0x4a30cc
movzx edx, byte [esi + 8]
push edx
push str.attribute_list__02x_n
call fcn.0048dc10
add esp, 8
test byte [ebx + 0x16], 2
jne 0x4a30d2
test byte [esi + 8], 1
je 0x4a2ff7
lea eax, [esi + 0x48]
cmp eax, ebp
ja 0x4a30d2
mov ecx, dword [esi + 4]
push ecx
push str.len__u_n
call fcn.0048dc10
mov edx, dword [edi]
add esp, 8
or edx, dword [edi + 4]
jne 0x4a30d2
movzx ecx, word [esi + 0x20]
mov edi, dword [esi + 4]
lea eax, [ecx + esi]
sub edi, ecx
add edi, eax
lea edx, [eax + 1]
cmp edx, edi
ja 0x4a30d2
movzx ecx, byte [eax]
test ecx, ecx
je 0x4a30d2
mov eax, ecx
and eax, 0xf
sar ecx, 4
cmp eax, 8
mov ebp, ecx
jg 0x4a30d2
cmp ebp, 8
jg 0x4a30d2
lea ebx, [eax + edx]
cmp ebx, edi
ja 0x4a30d2
push eax
xor ecx, ecx
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
call fcn.00545633
xor eax, eax
add esp, 0xc
cmp ebp, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
je 0x4a30d2
lea eax, [ebx + ebp]
cmp eax, edi
ja 0x4a30d2
test byte [eax - 1], 0x80
push ebp
push ebx
je 0x4a2f75
or eax, 0xffffffff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push ecx
jmp 0x4a2f7a
lea edx, [esp + 0x2c]
push edx
call fcn.00545633
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
add esp, 0xc
push ebx
push eax
push edi
push ebp
push str.mapping_pair_cluster_offset:__I64d__cluster_count:__I64u_n
call fcn.0048dc10
mov ecx, dword [esp + 0x94]
add esp, 0x14
push 0
push edi
push ebp
push 0
push ecx
call fcn.005457a0
push edx
mov edx, dword [esp + 0xc0]
push eax
push edx
call fcn.004ac4b0
test eax, eax
mov eax, dword [esp + 0x80]
jne 0x4a3104
push edi
push ebp
push 0
push eax
call fcn.005457a0
push edx
push eax
push str.bad_file_pos__I64u_n
push 0xffff0000
call fcn.0048dc30
add esp, 0x10
jmp 0x4a30d2
lea ecx, [esi + 0x16]
cmp ecx, ebp
ja 0x4a30d2
movzx eax, word [esi + 0x14]
add eax, esi
cmp eax, esi
jb 0x4a30d2
mov ebx, dword [esp + 0xbc]
mov edi, dword [esp + 0xc0]
mov edi, edi
lea edx, [eax + 0x1a]
cmp edx, ebp
ja 0x4a30d2
movzx edx, word [eax + 4]
cmp dx, 0x1a
jb 0x4a30d2
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4a30d2
cmp ecx, 0x80
jne 0x4a305e
cmp ebx, dword [eax + 0x10]
jne 0x4a3281
cmp edi, dword [eax + 0x14]
jne 0x4a3281
movzx ecx, dx
add eax, ecx
cmp eax, esi
jae 0x4a3020
jmp 0x4a30d2
xor eax, eax
cmp byte [esi + 8], al
sete al
test al, 1
je 0x4a30d2
lea ecx, [esi + 0x16]
cmp ecx, ebp
ja 0x4a30d2
movzx eax, word [esi + 0x14]
add eax, esi
lea ecx, [eax + 0x24]
cmp ecx, ebp
ja 0x4a30d2
mov edi, dword [eax + 0x20]
mov ecx, dword [esp + 0xc4]
or dword [esp + 0x10], edx
mov dword [ecx + 0x20], edi
mov edi, dword [eax]
mov dword [ecx + 0x10], edi
mov edi, dword [eax + 4]
mov dword [ecx + 0x14], edi
mov edi, dword [eax + 8]
mov dword [ecx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [ecx + 0xc], edi
mov edi, dword [eax + 0x18]
mov dword [ecx + 0x18], edi
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x1c], eax
test byte [ebx + 0x16], 2
jne 0x4a3425
cmp dword [esp + 0x10], 3
je 0x4a3425
mov ebx, dword [esp + 0x14]
add esi, dword [esi + 4]
add ebx, 0xc
cmp esi, ebx
jae 0x4a2dc5
jmp 0x4a32b0
mov ecx, dword [esi + 4]
push ecx
push str.bad_attribute_len__u_n
push 0xffff0000
call fcn.0048dc30
add esp, 0xc
jmp 0x4a32b0
mov edx, dword [esp + 0x38]
push ebx
push edx
push 0
push eax
call fcn.005457a0
mov ecx, dword [esp + 0x84]
mov esi, eax
mov edi, edx
xor eax, eax
cmp edi, eax
jb 0x4a312d
ja 0x4a3129
cmp esi, ecx
jbe 0x4a312d
mov esi, ecx
mov edi, eax
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
push 0
lea ecx, [esp + 0x48]
push ecx
push esi
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a3414
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, esi
jne 0x4a3403
cmp ecx, edi
jne 0x4a3403
lea ebx, [esi + ebp]
mov esi, ebp
lea edi, [ecx + 0x1a]
mov edi, edi
cmp esi, ebp
jb 0x4a3370
lea eax, [esi + 0x1a]
cmp eax, ebx
ja 0x4a3370
cmp word [esi + 4], di
jb 0x4a33f4
cmp dword [esi], 0xffffffff
je 0x4a3370
mov ecx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xbc]
push ecx
push ebp
push str.this_frn__016I64x_n
call fcn.0048dc10
mov edx, dword [esi]
push edx
push str.al_type__u_n
call fcn.0048dc10
movzx eax, word [esi + 4]
push eax
push str.al_rl__u_n
call fcn.0048dc10
movzx ecx, byte [esi + 6]
push ecx
push str.al_nl__u_n
call fcn.0048dc10
movzx edx, byte [esi + 7]
push edx
push str.al_o2n__u_n
call fcn.0048dc10
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
push str.al_svcn__I64u_n
call fcn.0048dc10
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
push str.al_bfrn__016I64x_n
call fcn.0048dc10
movzx ecx, word [esi + 0x18]
add esp, 0x44
push ecx
push str.al_aid__u_n
call fcn.0048dc10
add esp, 8
cmp dword [esi], 0x80
jne 0x4a3244
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
jne 0x4a3244
cmp ebp, dword [esi + 0x10]
jne 0x4a3253
mov eax, dword [esp + 0xc0]
cmp eax, dword [esi + 0x14]
jne 0x4a3253
movzx ecx, word [esi + 4]
mov ebp, dword [esp + 0x14]
add esi, ecx
jmp 0x4a3170
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
push str._NTFS_ATTRIBUTE_TYPE_DATA_in__016I64x_n
call fcn.0048dc10
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
add esp, 0xc
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
jmp 0x4a3308
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
jmp 0x4a3308
push str.get_fd:_not_inuse_n
jmp 0x4a32a3
push str.get_fd:_not_a_file_record_n
push 0xffff0000
call fcn.0048dc30
add esp, 8
cmp dword [esp + 0x20], 0
je 0x4a342e
cmp dword [esp + 0x1c], 0
jne 0x4a342e
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
push eax
push ecx
push edi
push esi
push str.retry_with_base__016I64x_for__016I64x_n
push 0xffff0000
call fcn.0048dc30
add esp, 0x18
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], edi
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xbc]
push 0
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0xc4]
push ecx
push 8
lea edx, [esp + 0x40]
push edx
push 0x90068
and esi, 0xffff
push eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4a2d47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FSCTL_GET_NTFS_FILE_RECORD_failed__u_n
push 0xffff0000
call fcn.0048dc30
add esp, 0xc
cmp dword [0x58b334], 0
pop edi
pop esi
pop ebx
je 0x4a33ac
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb8]
push eax
push ecx
push edx
push str.got_ntfs_file_record__I64x__I64u__d_n
call fcn.0048dc10
add esp, 0x18
mov eax, dword [esp + 8]
push eax
call fcn.004a23a0
cmp dword [esp + 0xc], 0
jne 0x4a33ea
cmp byte [0x57e6a4], 0
je 0x4a33ea
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
push ecx
push edx
mov edx, dword [esp + 0xb4]
push eax
call fcn.004a2b70
pop ebp
add esp, 0xa4
ret 0x10
movzx ecx, word [esi + 4]
push ecx
push str.bad_al_len__u_n
jmp 0x4a3363
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_size_size__d_n
jmp 0x4a3363
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_size__d_n
jmp 0x4a3363
mov dword [esp + 0x18], edx
jmp 0x4a3370
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
push edx
push eax
push ecx
push str.couldnt_get_fd_from__016I64x__x_n
push 0xffff0000
call fcn.0048dc30
add esp, 0x14
jmp 0x4a3370
cmp dword [0x58b334], 0
je 0x4a3485
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
push edx
push eax
push str.FRN_not_in_use__I64x_n
push 0xffff0000
call fcn.0048dc30
add esp, 0x10
mov dword [esp + 0x18], 1
jmp 0x4a3370
push eax
push str.bad_BytesPerFileRecordSegment__u_n
push 0xffff0000
call fcn.0048dc30
add esp, 0xc
jmp 0x4a33bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FSCTL_GET_NTFS_VOLUME_DATA_failed__u_n
push 0xffff0000
call fcn.0048dc30
add esp, 0xc
jmp 0x4a33bd