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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400b9133
mov rsi, rdx
mov rbx, rdx
and rbx, 0xffffffffffe00000
mov r14, qword [rbx + 0x1000]
prefetcht0 byte [rdx]
mov eax, esi
shr eax, 9
and eax, 0xfe0
lea rdi, [rbx + rax]
add rdi, 0x1000
movzx eax, byte [rbx + rax + 0x101e]
and eax, 0x3f
shl eax, 5
sub rdi, rax
prefetcht0 byte [rdi]
cmp byte [r14], 2
je 0x1400b9141
cmp byte [r14 + 4], 0
je 0x1400b902e
mov rax, rsi
shl rax, 0x34
je 0x1400b9275
xor eax, eax
cmp byte [0x1401d8120], 0
mov rcx, qword [rdi + 0x10]
mov ecx, dword [rcx + 0x18]
cmovne rax, rcx
lea rbx, [rsi + rax]
add rbx, 0xfffffffffffffffc
mov eax, dword [rbx]
and eax, 0x7fffffff
cmp eax, 1
jne 0x1400b928f
mov eax, dword [rbx]
nop word cs:[rax + rax]
mov ecx, eax
and ecx, 0xfffffffe
lock cmpxchg dword [rbx], ecx
jne 0x1400b9010
test al, 1
je 0x1400b92b7
test eax, 0x7ffffffe
jne 0x1400b92c1
cmp byte [r14 + 3], 0
je 0x1400b91b0
mov eax, dword [0x1401d52c8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
jne 0x1400b905a
call fcn.140151a78
mov eax, dword [0x1401d52c8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rbx, qword [rax + 0x188]
cmp rbx, 2
jb 0x1400b91b0
mov rax, qword [rdi + 0x10]
lea rcx, [r14 + 0x48]
cmp rcx, rax
ja 0x1400b9190
lea rdx, [r14 + 0x1448]
cmp rdx, rax
jb 0x1400b9190
sub rax, rcx
sar rax, 3
inc qword [rbx + 0x30]
movabs r15, 0xcccccccccccccccd
imul r15, rax
movzx eax, word [0x1401c8668]
cmp r15, rax
ja 0x1400b918c
shl r15, 4
mov rax, qword [rbx + r15 + 0x78]
bswap rax
mov qword [rsi], rax
mov qword [rbx + r15 + 0x78], rsi
inc byte [rbx + r15 + 0x80]
movzx eax, word [rbx + r15 + 0x82]
add dword [rbx], eax
inc qword [rbx + 0x38]
movzx eax, byte [rbx + r15 + 0x81]
cmp byte [rbx + r15 + 0x80], al
ja 0x1400b924c
lea rsi, [rbx + r15]
add rsi, 0x82
movzx eax, byte [rbx + 4]
test al, 1
jne 0x1400b9268
movzx eax, word [rsi]
mov ecx, dword [r14 + 0x14]
inc qword [rbx + 0x68]
sub rax, rcx
add qword [rbx + 0x70], rax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx eax, byte [0x1401c8601]
test al, 1
jne 0x1400b9372
movabs r15, 0xfffffffc00000000
and r15, rsi
mov rax, qword [0x1401c8588]
mov edx, 1
mov rcx, r15
cmp r15, rax
je 0x1400b9310
cmp r15, qword [0x1401c8580]
jne 0x1400b92f4
xor edx, edx
mov rcx, r15
jmp 0x1400b9310
inc qword [rbx + 0x40]
test byte [rdi + 0x1b], 8
jne 0x1400b9369
mov rax, qword [rdi + 0x10]
mov eax, dword [rax + 0x18]
mov ecx, dword [r14 + 0x14]
inc qword [rbx + 0x68]
sub rax, rcx
add qword [rbx + 0x70], rax
mov qword [rsi], 0
lea rbx, [r14 + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1400b91d0
mov rcx, rbx
call fcn.1400b4580
mov rax, qword [rdi + 0x10]
mov eax, dword [rax + 0x18]
sub qword [r14 + 0x1498], rax
mov rax, qword [rdi]
cmp rax, rsi
je 0x1400b9514
bswap rax
mov qword [rsi], rax
mov qword [rdi], rsi
mov eax, dword [rdi + 0x18]
mov ecx, eax
and ecx, 0xefffffff
mov dword [rdi + 0x18], ecx
test eax, 0x3ffe
je 0x1400b9517
lea ecx, [rax + 0x3ffe]
and ecx, 0x3ffe
mov edx, eax
and edx, 0xefffc001
or edx, ecx
mov dword [rdi + 0x18], edx
test al, 1
jne 0x1400b9357
test ecx, ecx
je 0x1400b9357
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea rdx, [rbx + r15]
add rdx, 0x78
movzx r8d, al
shr r8d, 1
mov rcx, rbx
call fcn.1400b4210
jmp 0x1400b910a
mov rcx, rbx
call fcn.1400b32c0
jmp 0x1400b9121
mov eax, esi
and eax, 0x1fffff
or rbx, 0x2000
shr eax, 0xb
lea rbx, [rbx + rax*4]
jmp 0x1400b8ff0
test byte [rdi + 0x1b], 8
jne 0x1400b9485
mov rax, qword [rdi + 0x10]
mov r8d, dword [rax + 0x18]
mov eax, dword [r14 + 0x14]
sub r8, rax
mov rcx, rsi
mov dl, 0xef
call fcn.1401543c0
jmp 0x1400b9000
mov rcx, rbx
mov edx, eax
call fcn.140026080
mov rax, qword [rdi + 0x10]
mov eax, dword [rax + 0x18]
lock add qword [r14 + 0x14b8], rax
lock inc qword [r14 + 0x14c0]
mov rax, qword [rdi + 0x10]
mov eax, dword [rax + 0x18]
lock add qword [r14 + 0x14c8], rax
lock inc qword [r14 + 0x14d0]
jmp 0x1400b9133
mov rcx, qword [0x1401c8598]
and rcx, rsi
mov edx, 2
cmp rcx, qword [0x1401c8590]
jne 0x1400b951d
mov r8, rsi
sub r8, rcx
shl edx, 0xe
lea rcx, [0x1401c866c]
add rdx, rcx
shr r8, 0x15
cmp word [rdx + r8*2], 0xfffe
jne 0x1400b937c
mov rcx, qword [rdi + 0x10]
mov r12d, dword [rcx + 0x18]
test byte [rdi + 0x1b], 8
mov r8, r12
jne 0x1400b93ae
cmp byte [0x1401c8603], 1
je 0x1400b93bb
cmp r15, rax
jne 0x1400b93d8
jmp 0x1400b93f8
mov edx, 1
mov rcx, rdi
call fcn.1400b45f0
jmp 0x1400b9235
mov rax, qword [rdi + 0x20]
jmp 0x1400b91a1
call fcn.14008ccf0
jmp 0x1400b9150
cmp byte [r14], 2
jne 0x1400b8fc0
mov edx, 1
mov r8, r15
cmp r15, rax
je 0x1400b94a6
cmp r15, qword [0x1401c8580]
jne 0x1400b948e
xor edx, edx
mov r8, r15
jmp 0x1400b94a6
mov r8, qword [rdi + 0x20]
cmp byte [0x1401c8603], 1
jne 0x1400b9349
mov eax, dword [r14 + 0x14]
sub r8, rax
mov rcx, rsi
xor edx, edx
call fcn.1401543c0
mov rax, qword [0x1401c8588]
cmp r15, rax
je 0x1400b93f8
cmp r15, qword [0x1401c8580]
je 0x1400b93f8
mov rax, qword [0x1401c8598]
and rax, rbx
cmp rax, qword [0x1401c8590]
jne 0x1400b951a
mov rax, qword [0x1401c85d8]
and eax, 1
mov ecx, esi
shr ecx, 3
mov edx, 2
sub rdx, rax
and cl, 0x3e
shl rdx, cl
or rbx, 0x4000
not rdx
shr esi, 6
and esi, 0x7ff8
lock and qword [rbx + rsi], rdx
mov rax, r12
lock xadd qword [0x1401c85c8], rax
add rax, r12
mov rcx, qword [0x1401c85d0]
cmp rax, rcx
jbe 0x1400b9133
mov rax, qword [0x1401c85f8]
movzx eax, byte [rax + 0x10]
test al, 1
je 0x1400b9133
movzx eax, byte [0x1401c8600]
test al, al
jne 0x1400b9133
mov ecx, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.14008cc80
mov r8, qword [rdi + 0x20]
jmp 0x1400b92a1
mov r8, qword [0x1401c8598]
and r8, rsi
mov edx, 2
cmp r8, qword [0x1401c8590]
jne 0x1400b9520
mov r9, rsi
sub r9, r8
shl edx, 0xe
add rcx, rdx
shr r9, 0x15
cmp word [rcx + r9*2], 0xfffe
jne 0x1400b8fc0
cmp r15, rax
je 0x1400b94e3
cmp r15, qword [0x1401c8580]
je 0x1400b94e3
mov rax, qword [0x1401c8598]
and rax, rbx
cmp rax, qword [0x1401c8590]
jne 0x1400b9523
mov rax, rbx
mov ecx, esi
shr ecx, 3
and cl, 0x3e
mov edx, 3
shl rdx, cl
or rax, 0x4000
not rdx
mov ecx, esi
shr ecx, 6
and ecx, 0x7ff8
lock and qword [rax + rcx], rdx
jmp 0x1400b8fc0
int3
int3
int3
int3
int3
int3