Function at 0x180003a33
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.180065710
test rax, rax
je 0x180003d33
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xor eax, eax
lea rdi, [rsp + 0x70]
mov ecx, dword [0x1800a152c]
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 0x180003ab2
movzx eax, al
cmp eax, 3
jne 0x180003d1b
lea rcx, [rsp + 0x30]
call fcn.18006567d
mov ebp, eax
cmp bpl, 2
jne 0x180003ad0
mov dword [rsp + 0x2c], 0
xor ebp, ebp
jmp 0x180003ae6
test bpl, 1
jne 0x180003bae
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.180002fa8
mov r13, qword [rsp + 0x70]
movabs rax, 0x8000000000000001
cmp r13, rax
jne 0x180003bda
mov byte [rsp + 0x2b], bl
mov ebx, esi
lea rcx, [r14 + 0x100]
lea rdx, [rsp + 0x30]
call fcn.180065cb8
mov rsi, rdi
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.180002fa8
mov r13, qword [rsp + 0x70]
movabs rax, 0x8000000000000001
cmp r13, rax
jne 0x180003c0a
cmp byte [r14 + 0x198], 0
je 0x180003b7d
mov rax, qword [r14 + 0x1c8]
cmp rax, 2
jb 0x180003ca0
cmp byte [rsp + 0x2c], 0
mov rdi, rsi
mov esi, ebx
mov bl, byte [rsp + 0x2b]
je 0x180003bae
mov eax, dword [0x1800a152c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x148], 1
mov byte [rax + 0x149], bpl
mov eax, dword [0x1800a152c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x148], bl
mov byte [rax + 0x149], sil
call fcn.180065858
mov al, 3
jmp 0x180003a74
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x180003c48
mov rax, qword [r14 + 0x1c8]
cmp rax, 1
jbe 0x180003cb0
lea rcx, str.assertion_failed:_self.inner.semaphore.is_idle___bC_b
lea r8, str.___T_____rB_nb___P__PmB___u_w_2_8W_U_V7a_XB__5w___H_a7_X_4_vf__r29Q_h_bHMB6F__nJ_M_hqDaVd8VF___x
jmp 0x180003c3e
movabs rax, 0x8000000000000000
cmp r13, rax
mov esi, ebx
jne 0x180003c72
mov rax, qword [r14 + 0x1c8]
cmp rax, 1
mov bl, byte [rsp + 0x2b]
jbe 0x180003cb0
lea rcx, str.assertion_failed:_self.inner.semaphore.is_idle___bC_b
lea r8, str.___T_____rB_nb___P__PmB___u_w_2_8W_U_V7a_XB__5w___H_a7_X_4_vf__r29Q_h_bHMB6F__nJ_M_hqDaVd8VF___x
mov edx, 0x30
call fcn.180076320
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 0x180003cb0
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 0x180003cb0
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 [0x1800a152c]
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.__7___S_9gx__dt__q_Z_____Na_Ehx__c_ghb__m__G_e_W_____c9q9zcHN7___fS4_C____ovf_4wY____47y__m__VgeX1Y_y_U
mov edx, 0x23
call fcn.180076320
mov qword [rsp + 0x20], rbx
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x18007b4a8]
lea r8, [rsp + 0x70]
mov edx, 0x2b
call fcn.1800766b0
int3