Function at 0x140003a38
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, r8
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
call fcn.140067180
test rax, rax
je 0x140003d38
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xor eax, eax
lea rdi, [rsp + 0x70]
mov ecx, dword [0x1400a5534]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov bl, byte [rcx + 0x148]
mov sil, byte [rcx + 0x149]
mov byte [rcx + 0x148], 1
mov byte [rcx + 0x149], 0x80
test al, al
je 0x140003ab7
movzx eax, al
cmp eax, 3
jne 0x140003d20
lea rcx, [rsp + 0x30]
call fcn.1400670ed
mov ebp, eax
cmp bpl, 2
jne 0x140003ad5
mov dword [rsp + 0x2c], 0
xor ebp, ebp
jmp 0x140003aeb
test bpl, 1
jne 0x140003bb3
mov eax, ebp
shr eax, 8
mov dword [rsp + 0x2c], eax
shr ebp, 0x10
mov rax, qword [rsp + 0x68]
mov r14, qword [rax]
lea r15, [r14 + 0x80]
lea r12, [r14 + 0x180]
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.140002fad
mov r13, qword [rsp + 0x70]
movabs rax, 0x8000000000000001
cmp r13, rax
jne 0x140003bdf
mov byte [rsp + 0x2b], bl
mov ebx, esi
lea rcx, [r14 + 0x100]
lea rdx, [rsp + 0x30]
call fcn.140067728
mov rsi, rdi
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.140002fad
mov r13, qword [rsp + 0x70]
movabs rax, 0x8000000000000001
cmp r13, rax
jne 0x140003c0f
cmp byte [r14 + 0x198], 0
je 0x140003b82
mov rax, qword [r14 + 0x1c8]
cmp rax, 2
jb 0x140003ca5
cmp byte [rsp + 0x2c], 0
mov rdi, rsi
mov esi, ebx
mov bl, byte [rsp + 0x2b]
je 0x140003bb3
mov eax, dword [0x1400a5534]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x148], 1
mov byte [rax + 0x149], bpl
mov eax, dword [0x1400a5534]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x148], bl
mov byte [rax + 0x149], sil
call fcn.1400672c8
mov al, 3
jmp 0x140003a79
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x140003c4d
mov rax, qword [r14 + 0x1c8]
cmp rax, 1
jbe 0x140003cb5
lea rcx, str.assertion_failed:_self.inner.semaphore.is_idle__
lea r8, str._Ww_________R__SGz__E9______5D_ih__J_Pj2TZ__FE2_9__D_V7bj_eng_Q___g_X___9rpDy_S______Dm___8___x_R
jmp 0x140003c43
movabs rax, 0x8000000000000000
cmp r13, rax
mov esi, ebx
jne 0x140003c77
mov rax, qword [r14 + 0x1c8]
cmp rax, 1
mov bl, byte [rsp + 0x2b]
jbe 0x140003cb5
lea rcx, str.assertion_failed:_self.inner.semaphore.is_idle__
lea r8, str._Ww_________R__SGz__E9______5D_ih__J_Pj2TZ__FE2_9__D_V7bj_eng_Q___g_X___9rpDy_S______Dm___8___x_R
mov edx, 0x30
call fcn.140078c50
lea rcx, [rsp + 0x78]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lock sub qword [r14 + 0x1c8], 2
jae 0x140003cb5
mov ecx, 7
int 0x29
ud2
lea rcx, [rsp + 0x78]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lock sub qword [r14 + 0x1c8], 2
mov bl, byte [rsp + 0x2b]
jae 0x140003cb5
mov ecx, 7
int 0x29
ud2
movabs r13, 0x8000000000000000
mov esi, ebx
mov bl, byte [rsp + 0x2b]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x90], xmm0
mov ecx, dword [0x1400a5534]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + 0x148], bl
mov byte [rcx + 0x149], sil
mov rsi, qword [rsp + 0x60]
mov qword [rsi + 0x18], rax
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x18]
mov qword [rsi], r13
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._async_fn__resumed_after_completion
lea r8, str.__TM4D__u_J__W2G_q_G__a_6_Z__yDh__Aq_zeX_CBwLm_____vom__c____r_S__M___wG44zXL_b__X_5F_t__9___e_5__o_1
mov edx, 0x23
call fcn.140078c50
mov qword [rsp + 0x20], rbx
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x14007e4b8]
lea r8, [rsp + 0x70]
mov edx, 0x2b
call fcn.140078fe0
int3