Function at 0x111e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.SCSIPORT.SYS_ScsiPortReadRegisterUshort]
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push edi
add eax, 8
push eax
call ebp
mov ebx, dword [sym.imp.SCSIPORT.SYS_ScsiPortWriteRegisterUshort]
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esi]
add eax, 8
push eax
call ebx
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x1c], 0x2710
jmp 0x11254
mov eax, dword [esp + 0x1c]
dec dword [esp + 0x1c]
test eax, eax
je 0x114d3
mov eax, dword [esi]
push dword [esp + 0x14]
add eax, 8
push eax
call ebx
mov eax, dword [esi]
push 0
add eax, 8
push eax
call ebx
push 0xa
call dword [sym.imp.SCSIPORT.SYS_ScsiPortStallExecution]
mov eax, dword [esi]
add eax, 0xc0
push eax
call ebp
test al, al
js 0x11226
movzx eax, byte [esp + 0x24]
dec eax
cmp eax, 7
ja case.default.0x11271
jmp dword [eax*4 + 0x1152f]
mov eax, dword [esi]
push dword [esp + 0x48]
add eax, 0x7e
push eax
call ebx
mov eax, dword [esi]
push dword [esp + 0x44]
add eax, 0x7c
push eax
call ebx
cmp word [esp + 0x2c], 0x11
je 0x112a0
cmp word [esp + 0x2c], 0x53
jne case.0x11271.5
mov eax, dword [esi]
push dword [esp + 0x40]
add eax, 0x7a
push eax
call ebx
mov eax, dword [esp + 0x2c]
cmp ax, 1
je 0x112c8
cmp ax, 3
je 0x112c8
cmp ax, 0x10
je 0x112c8
cmp ax, 0x52
jne case.0x11271.4
mov eax, dword [esi]
push dword [esp + 0x3c]
add eax, 0x78
push eax
call ebx
mov eax, dword [esi]
push dword [esp + 0x38]
add eax, 0x76
push eax
call ebx
mov eax, dword [esi]
push dword [esp + 0x34]
add eax, 0x74
push eax
call ebx
mov eax, dword [esi]
push dword [esp + 0x30]
add eax, 0x72
push eax
call ebx
mov eax, dword [esi]
push dword [esp + 0x2c]
add eax, 0x70
push eax
call ebx
mov eax, dword [esi]
push 0x5000
add eax, 0xc0
push eax
call ebx
mov dword [esp + 0x1c], 0x186a0
mov eax, dword [esi]
add eax, 0xa
push eax
call ebp
test al, 4
je 0x11342
mov eax, dword [esi]
add eax, 0xc
push eax
call ebp
test al, 1
mov eax, dword [esi]
jne 0x1135b
push 0x7000
add eax, 0xc0
push eax
call ebx
cmp dword [esp + 0x1c], 0
je 0x11509
push 0xa
call dword [sym.imp.SCSIPORT.SYS_ScsiPortStallExecution]
dec dword [esp + 0x1c]
jmp 0x1131b
add eax, 0x70
push eax
call ebp
mov word [edi], ax
mov eax, dword [esi]
add eax, 0x72
push eax
call ebp
mov word [edi + 2], ax
mov eax, dword [esi]
add eax, 0x74
push eax
call ebp
mov word [edi + 4], ax
mov eax, dword [esi]
add eax, 0x76
push eax
call ebp
mov word [edi + 6], ax
mov eax, dword [esi]
add eax, 0x78
push eax
call ebp
mov word [edi + 8], ax
mov eax, dword [esi]
add eax, 0x7a
push eax
call ebp
mov word [edi + 0xa], ax
mov eax, dword [esi]
add eax, 0x7c
push eax
call ebp
mov word [edi + 0xc], ax
mov eax, dword [esi]
add eax, 0x7e
push eax
call ebp
mov word [edi + 0xe], ax
mov eax, dword [esi]
push 0
add eax, 0xc
push eax
call ebx
mov eax, dword [esi]
push 0x7000
add eax, 0xc0
push eax
call ebx
movzx eax, word [edi]
sub eax, 4
je 0x11455
sub eax, 0x3ffc
je 0x114ff
sub eax, 0x4001
je 0x11436
dec eax
je 0x114e5
sub eax, 4
je 0x11436
sub eax, 0x1a
jne 0x114da
movzx eax, word [edi + 4]
movzx ecx, word [edi + 2]
shl eax, 0x10
or eax, ecx
push eax
push esi
call fcn.0001052e
test eax, eax
je 0x114f4
and byte [eax + 4], 0
push eax
push esi
push 0
mov byte [eax + 3], 1
call dword [sym.imp.SCSIPORT.SYS_ScsiPortNotification]
add esp, 0xc
jmp 0x11313
push 0
push 0x80010000
push 0
push esi
call fcn.00010386
movzx eax, word [edi + 0xc]
push eax
push esi
call fcn.0001045c
jmp 0x11313
mov ax, word [esp + 0x10]
add dword [esp + 0x10], 0xffff
test ax, ax
jne 0x1121c
push 0
push 0xf0060000
push 0
push esi
call fcn.00010386
and byte [esp + 0x24], 0
mov eax, dword [esi]
add eax, 0x7a
push eax
call ebp
cmp word [esi + 0x34], ax
je 0x114b9
mov eax, dword [esi]
mov edi, 0xc0
push 0x2000
add eax, edi
push eax
call ebx
mov eax, dword [esi]
push 0x4080
add eax, 0xa4
push eax
call ebx
mov eax, dword [esi]
push 0x3000
add eax, edi
push eax
call ebx
mov al, byte [esp + 0x24]
mov byte [esp + 0x24], al
mov eax, dword [esi]
push dword [esp + 0x14]
add eax, 8
push eax
call ebx
mov al, byte [esp + 0x24]
jmp 0x11526
and byte [esp + 0x24], 0
jmp 0x114c1
movzx eax, word [edi]
push eax
push 0x40050000
jmp 0x11472
push 0
push 0x8002
push 0
push esi
call fcn.00010386
push esi
call fcn.00011026
jmp 0x1147a
mov byte [esp + 0x24], 1
jmp 0x1147f
mov eax, dword [esi]
push dword [esp + 0x14]
add eax, 8
push eax
call ebx
push 0
push 0xf0060000
push 0
push esi
call fcn.00010386
xor al, al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x30