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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x1401d6668]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15d, r9d
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x51], rcx
mov rbx, qword [rbp + 0x7f]
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
test rbx, rbx
jne 0x1400b7e3c
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
mov edx, 0xa0000006
lea rcx, [rbp - 0x39]
call fcn.140022e50
nop
lea rdx, str.Provided_ISI_PhyInfo_is_null
lea rcx, [rbp - 0x39]
call fcn.140023850
lea rdx, [rbp - 0x39]
mov rcx, r14
call fcn.140022e90
nop
lea rcx, [rbp - 0x39]
jmp 0x1400b8232
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x11]
call fcn.140022e10
nop
xor edx, edx
mov r8d, 0xd8
mov rcx, rbx
call fcn.14013a3a0
mov rax, qword [rsi]
mov ecx, dword [rax + 0x23c]
mov dword [rbx + 0x74], ecx
mov dword [rbx], r15d
mov rax, qword [rdi]
movzx ecx, byte [rax + 0x73]
mov byte [rbx + 0xb], cl
mov rax, qword [rdi]
movzx ecx, byte [rax + 0x72]
mov byte [rbx + 0xa], cl
mov rax, qword [rdi]
mov ecx, dword [rax + 0x70]
shr ecx, 8
mov byte [rbx + 9], cl
mov dword [rbx + 0x18], r12d
mov dword [rbx + 0x1c], 1
mov rcx, rdi
call fcn.140041050
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x7a], 1
mov dword [rbx + 0x24], 2
mov rcx, qword [rdi]
call fcn.14008a340
mov dword [rbx + 0x28], eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
mov rax, qword [rsi]
mov rcx, qword [rax + 0x50]
mov r8, qword [rax + 0x58]
cmp rcx, r8
je 0x1400b7ef5
mov rax, qword [rdi]
mov edx, dword [rax + 0x70]
nop dword [rax + rax]
mov rax, qword [rcx]
cmp dword [rax + 0xc], edx
je 0x1400b7f71
add rcx, 0x10
cmp rcx, r8
jne 0x1400b7ee0
mov rdi, qword [rbp - 0x51]
mov rsi, qword [rbp - 0x49]
mov dword [rbx + 0x30], 1
mov dword [rbx + 0x38], 1
mov r13d, 3
test rdi, rdi
je 0x1400b8022
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400b8022
cmp qword [rdi + 0x28], 0
je 0x1400b8022
call fcn.1400a0e60
mov ecx, dword [rax]
shr ecx, 0x15
and cl, 1
mov byte [rbx + 0x2c], cl
mov rcx, qword [rdi + 0x18]
call fcn.1400a0e60
mov ecx, dword [rax]
shr ecx, 0x12
and cl, 1
mov byte [rbx + 0x2d], cl
mov rcx, qword [rdi + 0x28]
call fcn.1400a0e60
movzx ecx, word [rax]
cmp cx, 1
jne 0x1400b7f92
mov dword [rbx + 0x3c], 1
jmp 0x1400b7faf
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400b7f7e
lock inc dword [rax + 8]
mov rdi, qword [rcx]
mov qword [rbp - 0x51], rdi
mov rsi, qword [rcx + 8]
mov qword [rbp - 0x49], rsi
jmp 0x1400b7efd
cmp cx, 2
jne 0x1400b7fa1
mov dword [rbx + 0x3c], 2
jmp 0x1400b7faf
mov eax, r12d
cmp cx, r13w
cmove eax, r13d
mov dword [rbx + 0x3c], eax
mov rcx, qword [rdi + 0x28]
call fcn.1400a0e60
movzx ecx, word [rax + 4]
cmp cx, 1
jne 0x1400b7fcb
mov dword [rbx + 0x34], 1
jmp 0x1400b7fe8
cmp cx, 2
jne 0x1400b7fda
mov dword [rbx + 0x34], 2
jmp 0x1400b7fe8
mov eax, r12d
cmp cx, r13w
cmove eax, r13d
mov dword [rbx + 0x34], eax
mov rcx, qword [rdi + 0x28]
call fcn.1400a0e60
movzx ecx, word [rax]
cmp cx, 1
jne 0x1400b8003
mov dword [rbx + 0x40], 1
jmp 0x1400b8040
cmp cx, 2
jne 0x1400b8012
mov dword [rbx + 0x40], 2
jmp 0x1400b8040
mov eax, r12d
cmp cx, r13w
cmove eax, r13d
mov dword [rbx + 0x40], eax
jmp 0x1400b8040
mov word [rbx + 0x2c], 0
mov qword [rbx + 0x3c], r12
mov dword [rbx + 0x34], r12d
lea rdx, str.Could_not_get_port_for_the_disk_in__fillPhyInfofromAhciDisks
lea rcx, [rbp - 0x11]
call fcn.140023820
mov byte [rbx + 0x44], 0
mov qword [rbx + 0x48], r12
mov qword [rbx + 0x50], r12
mov qword [rbx + 0x58], r12
mov qword [rbx + 0x60], r12
mov qword [rbx + 0x68], r12
mov dword [rbx + 0x70], r12d
test rdi, rdi
setne r15b
test rdi, rdi
je 0x1400b81c4
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400b81c4
call fcn.14009f6b0
mov edx, dword [rax + 0x20]
test edx, edx
je 0x1400b80b2
sub edx, 1
je 0x1400b80b2
sub edx, 1
je 0x1400b80a6
cmp edx, 1
je 0x1400b809d
mov dword [rbx + 0x80], r12d
jmp 0x1400b80bc
mov dword [rbx + 0x80], r13d
jmp 0x1400b80bc
mov dword [rbx + 0x80], 2
jmp 0x1400b80bc
mov dword [rbx + 0x80], 1
mov rcx, qword [rdi + 0x30]
call fcn.14009f6b0
mov ecx, dword [rax + 0x1c]
test ecx, ecx
je 0x1400b80f7
sub ecx, 1
je 0x1400b80ee
sub ecx, 1
je 0x1400b80e5
cmp ecx, 1
jne 0x1400b80f7
mov dword [rbx + 0x7c], r13d
mov byte [rbx + 0x2c], 0
jmp 0x1400b80fb
mov dword [rbx + 0x7c], 2
jmp 0x1400b80fb
mov dword [rbx + 0x7c], 1
jmp 0x1400b80fb
mov dword [rbx + 0x7c], r12d
mov rcx, qword [rdi + 0x30]
call fcn.14009f6b0
mov ecx, dword [rax + 0x24]
test ecx, ecx
je 0x1400b814c
sub ecx, 1
je 0x1400b8140
sub ecx, 1
je 0x1400b8134
sub ecx, 1
je 0x1400b812b
cmp ecx, 1
jne 0x1400b814c
mov dword [rbx + 0x84], 4
jmp 0x1400b8153
mov dword [rbx + 0x84], r13d
jmp 0x1400b8153
mov dword [rbx + 0x84], 2
jmp 0x1400b8153
mov dword [rbx + 0x84], 1
jmp 0x1400b8153
mov dword [rbx + 0x84], r12d
mov rcx, qword [rdi + 0x30]
call fcn.14009f6b0
movsxd rcx, dword [rax + 0x28]
cmp ecx, 6
ja case.0x1400b8176.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rcx*4 + 0xb8264]
add rcx, rdx
jmp rcx
mov dword [rbx + 0x88], 2
jmp 0x1400b81c4
mov dword [rbx + 0x88], r13d
jmp 0x1400b81c4
mov dword [rbx + 0x88], 4
jmp 0x1400b81c4
mov dword [rbx + 0x88], 5
jmp 0x1400b81c4
mov dword [rbx + 0x88], 6
jmp 0x1400b81c4
mov dword [rbx + 0x88], 1
jmp 0x1400b81c4
mov dword [rbx + 0x88], r12d
test r15b, r15b
je 0x1400b81dc
lea rdx, [rbx + 0xc0]
lea rcx, [rdi + 0xd4]
call fcn.1400b8900
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.140022e90
nop
test rsi, rsi
je 0x1400b822e
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400b822e
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005c876.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b822e
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005c876.0]
nop
lea rcx, [rbp - 0x11]
call fcn.140023190
mov rax, r14
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140146a70
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret