Function at 0x14000357c
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.1400621e0
test rax, rax
je 0x14000387c
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xor eax, eax
lea rdi, [rsp + 0x70]
mov ecx, dword [0x14009e334]
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 0x1400035fb
movzx eax, al
cmp eax, 3
jne 0x140003864
lea rcx, [rsp + 0x30]
call fcn.14006214d
mov ebp, eax
cmp bpl, 2
jne 0x140003619
mov dword [rsp + 0x2c], 0
xor ebp, ebp
jmp 0x14000362f
test bpl, 1
jne 0x1400036f7
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.140002af1
mov r13, qword [rsp + 0x70]
movabs rax, 0x8000000000000001
cmp r13, rax
jne 0x140003723
mov byte [rsp + 0x2b], bl
mov ebx, esi
lea rcx, [r14 + 0x100]
lea rdx, [rsp + 0x30]
call fcn.140062788
mov rsi, rdi
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.140002af1
mov r13, qword [rsp + 0x70]
movabs rax, 0x8000000000000001
cmp r13, rax
jne 0x140003753
cmp byte [r14 + 0x198], 0
je 0x1400036c6
mov rax, qword [r14 + 0x1c8]
cmp rax, 2
jb 0x1400037e9
cmp byte [rsp + 0x2c], 0
mov rdi, rsi
mov esi, ebx
mov bl, byte [rsp + 0x2b]
je 0x1400036f7
mov eax, dword [0x14009e334]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x148], 1
mov byte [rax + 0x149], bpl
mov eax, dword [0x14009e334]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x148], bl
mov byte [rax + 0x149], sil
call fcn.140062328
mov al, 3
jmp 0x1400035bd
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x140003791
mov rax, qword [r14 + 0x1c8]
cmp rax, 1
jbe 0x1400037f9
lea rcx, str.assertion_failed:_self.inner.semaphore.is_idle__
lea r8, str.su_T_t_5_hzX__j___X___1t__P____L__J__kU_yZD_Kt_____jaz___57E_KU__CJ8s_r__UMjoR_9t__1cky_q_p__L_zg
jmp 0x140003787
movabs rax, 0x8000000000000000
cmp r13, rax
mov esi, ebx
jne 0x1400037bb
mov rax, qword [r14 + 0x1c8]
cmp rax, 1
mov bl, byte [rsp + 0x2b]
jbe 0x1400037f9
lea rcx, str.assertion_failed:_self.inner.semaphore.is_idle__
lea r8, str.su_T_t_5_hzX__j___X___1t__P____L__J__kU_yZD_Kt_____jaz___57E_KU__CJ8s_r__UMjoR_9t__1cky_q_p__L_zg
mov edx, 0x30
call fcn.1400737b0
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 0x1400037f9
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 0x1400037f9
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 [0x14009e334]
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.____sdk_e_M__pJ_zX__q___s6AJ7y_eo_BdZ___KT_Es__M3J___v_Z___9hT__i___sb_o______eY__4__E_i_u__n_p__nk_do5
mov edx, 0x23
call fcn.1400737b0
mov qword [rsp + 0x20], rbx
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x1400784b8]
lea r8, [rsp + 0x70]
mov edx, 0x2b
call fcn.140073b40
int3