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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rsi, qword [rdx]
mov word [rsp + 0xc4], 0x100
mov dword [rsp + 0x9c], 2
mov r14, qword [rdx + 0x18]
lock inc qword [r8]
jle 0x1400116ce
mov rbx, r8
mov rax, rdx
mov rdx, qword [r14 + 0x50]
cmp rdx, qword [r14 + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
jne 0x140010fd0
lea rcx, [r14 + 0x40]
call fcn.140019830
mov rdx, qword [r14 + 0x50]
mov rax, qword [r14 + 0x48]
lea rcx, [rdx + rdx*2]
mov qword [rax + rcx*8], rbx
mov qword [rax + rcx*8 + 8], rsi
lea r8, [rsp + 0x9c]
mov qword [rax + rcx*8 + 0x10], r8
inc rdx
mov qword [r14 + 0x50], rdx
mov r15, qword [r14 + 0x30]
mov rax, qword [r14 + 0x38]
mov qword [r14 + 0x38], 0
lea rcx, [rax + rax*2]
lea rdi, [r15 + rcx*8]
test rax, rax
je 0x140011134
add r15, 0x18
jmp 0x140011031
add r15, 0x18
add r13, 0x18
cmp r13, rdi
je 0x14001118c
mov rcx, qword [r15 - 0x18]
test rcx, rcx
je 0x140011134
lea r13, [r15 - 0x18]
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [r13 + 8]
lea rax, [rsp + 0x78]
movups xmmword [rax], xmm0
mov rdx, qword [rsp + 0x78]
xor eax, eax
lock cmpxchg qword [rcx + 0x18], rdx
mov r12, qword [rsp + 0x70]
jne 0x140011090
mov rbp, qword [r12 + 0x10]
mov al, 1
xchg byte [rbp + 0x28], al
cmp al, 0xff
jne 0x140011090
add rbp, 0x28
mov rax, qword [0x1402223b8]
test rax, rax
je 0x1400110a6
mov rcx, rbp
call rax
nop dword [rax + rax]
lock dec qword [r12]
jne 0x140011020
lea rcx, [rsp + 0x70]
call fcn.140085a60
jmp 0x140011020
mov rcx, qword [0x14016b140]
cmp rcx, 0xffffffffffffffff
jne 0x140011112
mov qword [rsp + 0x88], 0xffffffffffffffff
mov rax, qword [0x14016b150]
lea rcx, [rsp + 0x88]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rax
test eax, eax
jne 0x1400116f7
mov rcx, qword [rsp + 0x88]
mov rax, 0xffffffffffffffff
lock cmpxchg qword [0x14016b140], rcx
je 0x140011112
mov qword [rsp + 0x90], rax
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x14016b158]
mov rdx, rbp
xor r8d, r8d
xor r9d, r9d
call rax
lock dec qword [r12]
jne 0x140011020
jmp 0x140011097
mov rax, rdi
sub rax, r15
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
cmp rdi, r15
je 0x14001118c
mov r12, rdx
shr r12, 4
mov r8, qword [r14 + 0x30]
sub r15, r8
mov rax, r15
mul rcx
shr rdx, 4
lea rax, [rdx + rdx*2]
lea r15, [r8 + rax*8]
jmp 0x140011179
add r15, 0x18
dec r12
je 0x14001118c
mov rax, qword [r15]
lock dec qword [rax]
jne 0x140011170
mov rcx, r15
call fcn.140085a60
jmp 0x140011170
movabs r15, 0x7fffffffffffffff
mov r12, qword [rsp + 0x30]
cmp byte [r12 + 0x20], 0
jne 0x1400111b3
mov rax, qword [0x1402223e8]
test rax, r15
jne 0x1400115eb
mov rcx, r14
call fcn.140167fe4
mov rax, qword [r12 + 8]
mov edi, dword [rax + 8]
cmp edi, 0x3b9aca00
jne 0x1400111f6
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1400111e7
call fcn.140113690
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400111d9
cmp rax, 1
jne 0x1400112b1
jmp 0x1400113c4
mov r12, qword [rax]
lea r14, [rsp + 0x40]
xor r13d, r13d
jmp 0x14001123c
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], edi
mov rcx, r14
mov rdx, rax
call fcn.140116650
cmp edx, 0x3b9aca00
cmove edx, r13d
mov ecx, 0
cmovne rcx, rax
call fcn.1401177d0
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x1400112a2
call fcn.1401164b0
mov r8d, edx
cmp rax, r12
jb 0x140011210
jne 0x140011259
cmp r8d, edi
jb 0x140011210
mov ecx, 1
xor eax, eax
lock cmpxchg qword [rbx + 0x18], rcx
mov r12, qword [rsp + 0x30]
je 0x1400113c4
cmp rax, 1
je 0x1400113c4
cmp rax, 2
je 0x1400112bb
test rax, rax
jne 0x1400114c7
lea rcx, str.internal_error:_entered_unreachable_code_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_crossbeam_channel_0.5.12_src_channel.rs
lea r8, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_syncmpmczero.rs
mov edx, 0x28
call fcn.140036810
cmp rax, 1
mov r12, qword [rsp + 0x30]
je 0x1400113c4
cmp rax, 2
jne 0x1400114c7
mov rdi, qword [r12 + 0x10]
mov rcx, rdi
call sub.kernel32.dll_AcquireSRWLockExclusive
mov rax, qword [0x1402223e8]
test rax, r15
jne 0x14001162a
xor ebx, ebx
movzx eax, byte [rdi + 8]
test al, al
jne 0x140011640
mov rdx, qword [rdi + 0x48]
mov r14, qword [rdi + 0x50]
lea rax, [r14*8]
lea rax, [rax + rax*2]
mov rcx, 0xffffffffffffffff
mov r8, rdx
nop word cs:[rax + rax]
test rax, rax
je 0x1400116b6
lea r9, [r8 + 0x18]
inc rcx
add rax, 0xffffffffffffffe8
cmp qword [r8 + 8], rsi
mov r8, r9
jne 0x140011310
cmp r14, rcx
jbe 0x1400116d0
lea r8, [rcx + rcx*2]
lea rax, [rdx + r8*8]
mov rsi, qword [rdx + r8*8]
movups xmm0, xmmword [rdx + r8*8 + 8]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rdx + r8*8]
add rdx, 0x18
not rcx
add rcx, r14
shl rcx, 3
lea r8, [rcx + rcx*2]
mov rcx, rax
call sub.msvcrt.dll_memmove
dec r14
mov qword [rdi + 0x50], r14
test rsi, rsi
je 0x1400116b6
mov qword [rsp + 0x40], rsi
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x48], xmm0
lock dec qword [rsi]
jne 0x14001139a
lea rcx, [rsp + 0x40]
call fcn.140085a60
test bl, bl
jne 0x1400113ae
mov rax, qword [0x1402223e8]
test rax, r15
jne 0x140011688
mov rcx, rdi
call fcn.140167fe4
mov rax, qword [rsp + 0x28]
mov byte [rax + 4], 1
jmp 0x1400114bf
mov rdi, qword [r12 + 0x10]
mov rcx, rdi
call sub.kernel32.dll_AcquireSRWLockExclusive
mov rax, qword [0x1402223e8]
test rax, r15
jne 0x140011602
xor ebx, ebx
movzx eax, byte [rdi + 8]
test al, al
jne 0x140011618
mov rdx, qword [rdi + 0x48]
mov r14, qword [rdi + 0x50]
lea rax, [r14*8]
lea rax, [rax + rax*2]
mov rcx, 0xffffffffffffffff
mov r8, rdx
nop dword [rax]
test rax, rax
je 0x14001169e
lea r9, [r8 + 0x18]
inc rcx
add rax, 0xffffffffffffffe8
cmp qword [r8 + 8], rsi
mov r8, r9
jne 0x140011410
cmp r14, rcx
jbe 0x1400116d0
lea r8, [rcx + rcx*2]
lea rax, [rdx + r8*8]
mov rsi, qword [rdx + r8*8]
movups xmm0, xmmword [rdx + r8*8 + 8]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rdx + r8*8]
add rdx, 0x18
not rcx
add rcx, r14
shl rcx, 3
lea r8, [rcx + rcx*2]
mov rcx, rax
call sub.msvcrt.dll_memmove
dec r14
mov qword [rdi + 0x50], r14
test rsi, rsi
je 0x14001169e
mov qword [rsp + 0x40], rsi
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x48], xmm0
lock dec qword [rsi]
jne 0x14001149a
lea rcx, [rsp + 0x40]
call fcn.140085a60
test bl, bl
jne 0x1400114ae
mov rax, qword [0x1402223e8]
test rax, r15
jne 0x140011672
mov rcx, rdi
call fcn.140167fe4
mov rax, qword [rsp + 0x28]
mov byte [rax + 4], 0
mov dword [rax], 2
jmp 0x140011517
movzx eax, byte [rsp + 0xc4]
test al, al
je 0x14001152b
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x9c], 2
cmp eax, 2
je 0x1400116df
mov rcx, qword [rsp + 0x28]
mov dword [rcx], eax
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [rcx + 4], xmm0
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [rcx + 0x14], xmm0
mov eax, dword [rsp + 0xc0]
mov dword [rcx + 0x24], eax
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
mov edi, 1
mov ebx, 0xfffffff8
xor r14d, r14d
jmp 0x140011567
call sub.kernel32.dll_SwitchToThread
lea eax, [r14*2 + 1]
inc r14d
movzx ecx, byte [rsp + 0xc4]
add esi, eax
add ebx, edi
add edi, 2
test cl, cl
jne 0x1400114d3
cmp r14d, 7
jae 0x140011540
test r14d, r14d
je 0x140011545
lea eax, [rsi - 1]
cmp eax, 7
jb 0x1400115ce
lea eax, [rsi - 8]
cmp eax, 8
jb 0x1400115b5
mov ecx, ebx
shr ecx, 3
inc ecx
and ecx, 0xfffffffe
nop dword [rax]
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
add ecx, 0xfffffffe
jne 0x140011590
shr eax, 3
inc eax
test al, 1
je 0x1400115ce
pause
pause
pause
pause
pause
pause
pause
pause
test sil, 7
je 0x140011545
mov eax, esi
and eax, 7
nop dword [rax]
pause
dec eax
jne 0x1400115e0
jmp 0x140011545
call fcn.1401196c0
test al, al
jne 0x1400111b3
mov byte [r14 + 8], 1
jmp 0x1400111b3
call fcn.1401196c0
mov ebx, eax
xor bl, 1
movzx eax, byte [rdi + 8]
test al, al
je 0x1400113ef
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], bl
lea rax, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_syncmpmczero.rs
jmp 0x140011650
call fcn.1401196c0
mov ebx, eax
xor bl, 1
movzx eax, byte [rdi + 8]
test al, al
je 0x1400112e6
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], bl
lea rax, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_syncmpmczero.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140174bc0]
lea r8, [rsp + 0x40]
mov edx, 0x2b
call fcn.14003bb10
call fcn.1401196c0
test al, al
jne 0x1400114ae
mov byte [rdi + 8], 1
jmp 0x1400114ae
call fcn.1401196c0
test al, al
jne 0x1400113ae
mov byte [rdi + 8], 1
jmp 0x1400113ae
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_syncmpmczero.rs
mov edx, 0x2b
call fcn.140036810
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_syncmpmczero.rs
mov edx, 0x2b
call fcn.140036810
ud2
lea r8, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_syncmpmcwaker.rs
mov rdx, r14
call fcn.1400320d0
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_src_syncmpmczero.rs
mov edx, 0x2b
call fcn.140036810
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0xc8], rax
lea rax, [0x1400411f0]
mov qword [rsp + 0xd0], rax
lea rax, str.Unable_to_create_keyed_event_handle:_error
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, str.library_std_src_syswindows_thread_parking.rs
lea rcx, [rsp + 0x40]
call fcn.140034e00
int3