Function at 0x10089296
Capabilities:
Enumerate pe sections

Disassembly:
push 0x88
mov eax, 0x100c95b4
call fcn.10098e77
mov edi, ecx
mov dword [ebp - 0x28], edi
push str.ArcPhysicalDeviceAttach::doScsiPassThru__
xor ebx, ebx
push ebx
push 0x20
push 9
lea ecx, [ebp - 0x7c]
call fcn.100447f7
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
cmp dword [edi + 0xc], ebx
mov dword [ebp - 4], ebx
jne 0x100892f6
push ebx
push str.pDeviceNULL
push str._Bad_Parameter:__s__paramValue_d_
push 0x338
push str.......RaidModelImplementationArcArcPhysicalDeviceAttach.cpp
mov dword [eax + 0x14], ebx
mov dword [eax], 0xfffffffe
call fcn.10043bdc
add esp, 0x14
jmp 0x100899ff
cmp dword [edi + 8], ebx
jne 0x1008930d
push ebx
push str.pChannelNULL
push str._Bad_Parameter:__s__paramValue_d_
push 0x33c
jmp 0x100892db
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call sym.storarc.dll_public:_bool___thiscall_SCSICommand::IsRead_void_
test al, al
je 0x10089336
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], 1
jmp 0x10089351
mov ecx, esi
call sym.storarc.dll_public:_bool___thiscall_SCSICommand::IsWrite_void_
test al, al
je 0x10089354
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x20]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [ebp - 0x40], ebx
cmp ecx, ebx
mov dword [ebp + 8], ecx
je 0x10089376
mov ecx, dword [esi + 0x1c]
push eax
push ebx
push ecx
call fcn.10098fe0
add esp, 0xc
mov ecx, dword [edi + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call sym.storarc.dll_public:_class_Adapter____thiscall_Channel::getAdapter_void_const
mov edi, eax
mov eax, dword [edi + 0x430]
cmp dword [ebp - 0x18], eax
jbe 0x100893e0
mov esi, dword [ebp + 0xc]
mov eax, 0x2da
push eax
push str.dataLength_is_greater_than_getMaxPassthroughBufferSize__
push 0x100e2a50
push 0x35f
push str.......RaidModelImplementationArcArcPhysicalDeviceAttach.cpp
mov dword [esi], 0xfffffffb
mov dword [esi + 4], eax
call fcn.10043bdc
push dword [edi + 0x430]
push dword [ebp - 0x18]
push str.dataLength:__d_tgetMaxPassthroughBufferSize__:__d
call fcn.10043c1d
mov edi, dword [edi + 0x430]
add esp, 0x20
mov dword [esi + 0x10], edi
jmp 0x100899ff
push str.ArcPhysicalDeviceAttach::doScsiPassThru___calling_FsaSendScsiCommand__
push ebx
push 0x20
push 9
lea ecx, [ebp - 0x94]
call fcn.100447f7
mov edi, dword [edi + 0x4c0]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov dword [ebp - 0x30], edi
lea edi, [ebp - 0x20]
push edi
lea edi, [ebp - 0x1c]
push edi
push eax
mov edi, dword [ebp - 0x28]
push ecx
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push edx
push ebx
lea eax, [edi + 0x18]
push eax
push dword [ebp - 0x30]
call sub.afaapi.dll_FsaSendScsiCommand
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x20]
add esp, 0x38
cmp dword [ebp + 8], ebx
mov dword [esi + 0x28], eax
mov dword [ebp - 0x10], ebx
je 0x1008946f
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx eax, byte [eax + 2]
and eax, 0xf
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x14], 1
je 0x100894a9
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
push eax
push str.FsaSendScsiCommand__
push 0x100e2a50
push 0x37f
push str.......RaidModelImplementationArcArcPhysicalDeviceAttach.cpp
mov dword [ebx], 0xfffffffb
mov dword [ebx + 4], eax
call fcn.10043bdc
add esp, 0x14
mov dword [ebx], 6
jmp 0x100894f6
cmp eax, 1
je 0x100899f0
cmp eax, 0x12
je 0x100899f0
cmp eax, 0x23
je 0x100899f0
cmp eax, 4
je 0x100894dc
cmp dword [ebp - 0x1c], ebx
je 0x100899f0
cmp dword [ebp - 0x1c], 2
je 0x100899f0
push dword [ebp - 0x1c]
push eax
push str.FsaSendScsiCommand___srbStatus___x_scsiStatus___x
call fcn.10043c1d
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [eax], 0xfffffff6
push dword [ebp - 0x10]
mov ecx, esi
call sym.storarc.dll_public:_unsigned_int___thiscall_SCSICommand::getSrbStatus_void_
push eax
mov ecx, esi
call sym.storarc.dll_public:_unsigned_int___thiscall_SCSICommand::getScsiStatus_void_
push eax
push str.Scsi_Status_:__d__srb_status_:__d__senseKey_:__d
call fcn.10043c1d
add esp, 0x10
cmp dword [edi + 0xc], 0
je 0x10089538
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x20]
push ecx
push edx
push eax
push str.Adapter:__d___Bus:__d___ID:__d
call fcn.10043c1d
add esp, 0x10
mov eax, dword [esi + 8]
cmp eax, 0x10
jb 0x100895a4
mov eax, dword [esi + 4]
movzx ecx, byte [eax + 0xf]
push ecx
movzx ecx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push ecx
movzx ecx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, byte [eax + 7]
push ecx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 4]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str.CDB:__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
call fcn.10043c1d
add esp, 0x44
jmp 0x10089670
cmp eax, 0xc
jb 0x100895f6
mov eax, dword [esi + 4]
movzx ecx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, byte [eax + 7]
push ecx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 4]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str.CDB:__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
call fcn.10043c1d
add esp, 0x34
jmp 0x10089670
cmp eax, 0xa
jb 0x1008963e
mov eax, dword [esi + 4]
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, byte [eax + 7]
push ecx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 4]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str.CDB:__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
call fcn.10043c1d
add esp, 0x2c
jmp 0x10089670
cmp eax, 6
jb 0x10089670
mov eax, dword [esi + 4]
movzx ecx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 4]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str.CDB:__02x__02x__02x__02x__02x__02x
call fcn.10043c1d
add esp, 0x1c
cmp dword [esi + 0x10], 0x10
jb 0x100896d5
mov eax, dword [esi + 0xc]
movzx ecx, byte [eax + 0xf]
push ecx
movzx ecx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push ecx
movzx ecx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, byte [eax + 7]
push ecx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 4]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str.Read_Data:__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
call fcn.10043c1d
add esp, 0x44
cmp dword [esi + 0x18], 0x10
jb 0x1008973a
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + 0xf]
push ecx
movzx ecx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push ecx
movzx ecx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, byte [eax + 7]
push ecx
movzx ecx, byte [eax + 6]
push ecx
movzx ecx, byte [eax + 5]
push ecx
movzx ecx, byte [eax + 4]
push ecx
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
push str.Write_Data:__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
call fcn.10043c1d
add esp, 0x44
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
cmp dword [eax + 4], 0x12
jb 0x100899f0
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
push dword [eax + 4]
push str.Sense_Data_Size___02d
call fcn.10043c1d
pop ecx
pop ecx
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov edi, dword [eax]
mov ecx, esi
add edi, 0x16
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov ebx, dword [eax]
mov ecx, esi
add ebx, 0x15
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0x14
mov ecx, esi
mov dword [ebp + 0xc], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0x13
mov ecx, esi
mov dword [ebp + 8], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0x12
mov ecx, esi
mov dword [ebp - 0x30], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0x11
mov ecx, esi
mov dword [ebp - 0x28], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0x10
mov ecx, esi
mov dword [ebp - 0x14], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0xf
mov ecx, esi
mov dword [ebp - 0x10], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0xe
mov ecx, esi
mov dword [ebp - 0x4c], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0xd
mov ecx, esi
mov dword [ebp - 0x54], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0xc
mov ecx, esi
mov dword [ebp - 0x5c], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0xb
mov ecx, esi
mov dword [ebp - 0x38], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 0xa
mov ecx, esi
mov dword [ebp - 0x58], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 9
mov ecx, esi
mov dword [ebp - 0x48], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x64], eax
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 7
mov ecx, esi
mov dword [ebp - 0x50], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 6
mov ecx, esi
mov dword [ebp - 0x60], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 5
mov ecx, esi
mov dword [ebp - 0x3c], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 4
mov ecx, esi
mov dword [ebp - 0x44], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
add eax, 3
mov ecx, esi
mov dword [ebp - 0x2c], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
inc eax
inc eax
mov ecx, esi
mov dword [ebp - 0x34], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
inc eax
mov ecx, esi
mov dword [ebp - 0x24], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
movzx ecx, byte [edi]
push ecx
movzx ecx, byte [ebx]
push ecx
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x4c]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x54]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x5c]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x58]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x48]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x64]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x50]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x60]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x3c]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x44]
movzx ecx, byte [ecx]
mov eax, dword [eax]
movzx eax, byte [eax]
push ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx]
push ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx]
push ecx
push eax
push str.Sense_Data:__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
call fcn.10043c1d
add esp, 0x60
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx eax, byte [eax]
and eax, 0x7f
mov ecx, esi
mov dword [ebp - 0x2c], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx eax, byte [eax + 2]
and eax, 0xf
mov ecx, esi
mov dword [ebp - 0x34], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx ebx, byte [eax + 0xc]
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx eax, byte [eax + 0xd]
mov ecx, esi
mov dword [ebp - 0x24], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx eax, byte [eax + 0xe]
mov ecx, esi
mov dword [ebp + 8], eax
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
xor ecx, ecx
mov ch, byte [eax + 0xf]
mov dword [ebp + 0xc], ecx
mov ecx, esi
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx edi, byte [eax + 0x10]
or edi, dword [ebp + 0xc]
mov ecx, esi
shl edi, 8
call sym.storarc.dll_public:_class_Buffer____thiscall_SCSICommand::getSenseData_void_
mov eax, dword [eax]
movzx eax, byte [eax + 0x11]
or edi, eax
push edi
push dword [ebp + 8]
push dword [ebp - 0x24]
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push str.Request_Sense:_ErrorCode0x_02x__SenseKey0x_02x__ASC0x_02x__ASCQ0x_02x__fruCode0x_02x__SenseKeySpecific0x_06x
call fcn.10043c1d
add esp, 0x1c
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0
call fcn.10043fc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.10043fc2
call fcn.10098f4f
ret 8