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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r15d, r9d
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x51], rcx
mov rbx, qword [rbp + 0x7f]
xorps xmm0, xmm0
xor eax, eax
test rbx, rbx
jne 0x1400b6804
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rax
mov edx, 0xa0000006
lea rcx, [rbp - 0x41]
call fcn.1400217a0
nop
lea rdx, str.Provided_ISI_PhyInfo_is_null
lea rcx, [rbp - 0x41]
call fcn.1400221a0
lea rdx, [rbp - 0x41]
mov rcx, r14
call fcn.1400217e0
nop
lea rcx, [rbp - 0x41]
jmp 0x1400b6bea
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x19]
call fcn.140021760
nop
xor edx, edx
mov r8d, 0xd8
mov rcx, rbx
call fcn.1401386b0
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
xor r15d, r15d
mov dword [rbx + 0x18], r15d
mov dword [rbx + 0x1c], 1
mov rcx, rdi
call fcn.14003f910
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x7a], 1
mov dword [rbx + 0x24], 2
mov rcx, qword [rdi]
call fcn.140089140
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 0x1400b68c5
mov rax, qword [rdi]
mov edx, dword [rax + 0x70]
nop word [rax + rax]
mov rdi, qword [rcx]
cmp dword [rdi + 0xc], edx
je 0x1400b6941
add rcx, 0x10
cmp rcx, r8
jne 0x1400b68b0
mov rdi, qword [rbp - 0x51]
mov rsi, qword [rbp - 0x49]
mov dword [rbx + 0x30], 1
mov dword [rbx + 0x38], 1
mov r12d, 3
test rdi, rdi
je 0x1400b69f2
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400b69f2
cmp qword [rdi + 0x28], 0
je 0x1400b69f2
call fcn.14009f7c0
mov ecx, dword [rax]
shr ecx, 0x15
and cl, 1
mov byte [rbx + 0x2c], cl
mov rcx, qword [rdi + 0x18]
call fcn.14009f7c0
mov ecx, dword [rax]
shr ecx, 0x12
and cl, 1
mov byte [rbx + 0x2d], cl
mov rcx, qword [rdi + 0x28]
call fcn.14009f7c0
movzx ecx, word [rax]
cmp cx, 1
jne 0x1400b6962
mov dword [rbx + 0x3c], 1
jmp 0x1400b697f
mov rsi, qword [rcx + 8]
test rsi, rsi
je 0x1400b6955
lock inc dword [rsi + 8]
mov rdi, qword [rcx]
mov rsi, qword [rcx + 8]
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], rsi
jmp 0x1400b68cd
cmp cx, 2
jne 0x1400b6971
mov dword [rbx + 0x3c], 2
jmp 0x1400b697f
mov eax, r15d
cmp cx, r12w
cmove eax, r12d
mov dword [rbx + 0x3c], eax
mov rcx, qword [rdi + 0x28]
call fcn.14009f7c0
movzx ecx, word [rax + 4]
cmp cx, 1
jne 0x1400b699b
mov dword [rbx + 0x34], 1
jmp 0x1400b69b8
cmp cx, 2
jne 0x1400b69aa
mov dword [rbx + 0x34], 2
jmp 0x1400b69b8
mov eax, r15d
cmp cx, r12w
cmove eax, r12d
mov dword [rbx + 0x34], eax
mov rcx, qword [rdi + 0x28]
call fcn.14009f7c0
movzx ecx, word [rax]
cmp cx, 1
jne 0x1400b69d3
mov dword [rbx + 0x40], 1
jmp 0x1400b6a10
cmp cx, 2
jne 0x1400b69e2
mov dword [rbx + 0x40], 2
jmp 0x1400b6a10
mov eax, r15d
cmp cx, r12w
cmove eax, r12d
mov dword [rbx + 0x40], eax
jmp 0x1400b6a10
mov word [rbx + 0x2c], 0
mov qword [rbx + 0x3c], r15
mov dword [rbx + 0x34], r15d
lea rdx, str.Could_not_get_port_for_the_disk_in__fillPhyInfofromAhciDisks
lea rcx, [rbp - 0x19]
call fcn.140022170
mov byte [rbx + 0x44], 0
mov qword [rbx + 0x48], r15
mov qword [rbx + 0x50], r15
mov qword [rbx + 0x58], r15
mov qword [rbx + 0x60], r15
mov qword [rbx + 0x68], r15
mov dword [rbx + 0x70], r15d
test rdi, rdi
je 0x1400b6b94
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400b6b81
call fcn.14009e130
mov ecx, dword [rax + 0x20]
test ecx, ecx
je 0x1400b6a7b
sub ecx, 1
je 0x1400b6a7b
sub ecx, 1
je 0x1400b6a6f
cmp ecx, 1
je 0x1400b6a66
mov dword [rbx + 0x80], r15d
jmp 0x1400b6a85
mov dword [rbx + 0x80], r12d
jmp 0x1400b6a85
mov dword [rbx + 0x80], 2
jmp 0x1400b6a85
mov dword [rbx + 0x80], 1
mov rcx, qword [rdi + 0x30]
call fcn.14009e130
mov ecx, dword [rax + 0x1c]
test ecx, ecx
je 0x1400b6ac0
sub ecx, 1
je 0x1400b6ab7
sub ecx, 1
je 0x1400b6aae
cmp ecx, 1
jne 0x1400b6ac0
mov dword [rbx + 0x7c], r12d
mov byte [rbx + 0x2c], 0
jmp 0x1400b6ac4
mov dword [rbx + 0x7c], 2
jmp 0x1400b6ac4
mov dword [rbx + 0x7c], 1
jmp 0x1400b6ac4
mov dword [rbx + 0x7c], r15d
mov rcx, qword [rdi + 0x30]
call fcn.14009e130
mov ecx, dword [rax + 0x24]
test ecx, ecx
je 0x1400b6b15
sub ecx, 1
je 0x1400b6b09
sub ecx, 1
je 0x1400b6afd
sub ecx, 1
je 0x1400b6af4
cmp ecx, 1
jne 0x1400b6b15
mov dword [rbx + 0x84], 4
jmp 0x1400b6b1c
mov dword [rbx + 0x84], r12d
jmp 0x1400b6b1c
mov dword [rbx + 0x84], 2
jmp 0x1400b6b1c
mov dword [rbx + 0x84], 1
jmp 0x1400b6b1c
mov dword [rbx + 0x84], r15d
mov rcx, qword [rdi + 0x30]
call fcn.14009e130
movsxd rcx, dword [rax + 0x28]
cmp ecx, 5
ja case.0x1400b6b3f.0
lea rdx, [0x140000000]
mov ecx, dword [rdx + rcx*4 + 0xb6c10]
add rcx, rdx
jmp rcx
mov dword [rbx + 0x88], 2
jmp 0x1400b6b81
mov dword [rbx + 0x88], r12d
jmp 0x1400b6b81
mov dword [rbx + 0x88], 4
jmp 0x1400b6b81
mov dword [rbx + 0x88], 5
jmp 0x1400b6b81
mov dword [rbx + 0x88], 1
jmp 0x1400b6b81
mov dword [rbx + 0x88], r15d
lea rdx, [rbx + 0xc0]
lea rcx, [rdi + 0xd4]
call fcn.1400b72a0
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400217e0
nop
test rsi, rsi
je 0x1400b6be6
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400b6be6
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005b496.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b6be6
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005b496.0]
nop
lea rcx, [rbp - 0x19]
call fcn.140021ae0
mov rax, r14
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret