Function at 0x14001f7b8
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rbx, rcx
mov rax, qword gs:[0x58]
mov edi, 0x10
mov rax, qword [rax]
mov rdi, qword [rdi + rax]
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x14001f885
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rbx, [rdi + 0xa8]
cmp byte [rbx + 0x40], 0
je 0x14001f846
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14001f846
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
lea rax, [0x1401bc1a8]
mov qword [rbx], rax
movups xmm0, xmmword [rsp + 0x50]
movdqu xmmword [rbx + 8], xmm0
mov qword [rbx + 0x38], rbx
mov byte [rbx + 0x40], 1
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
lea rdx, [rdi + 0xf0]
cmp qword [rdx], 0
jne 0x14001fa40
jmp 0x14001fa11
lea rax, vtable.Concurrency::details::stl_critical_section_win7.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
or edi, 0xffffffff
mov dword [rbp + 0x18], edi
mov dword [rbp], 2
and dword [rbp + 0x1c], 0
lea rax, vtable.Concurrency::details::stl_condition_variable_win7.0
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
nop
mov byte [rsp + 0x20], 0
lea rax, [rbp]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x78], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rbp - 0x78], xmm1
lea rax, [0x1401bc570]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x70]
call fcn.140026070
and qword [rbp + 0x130], 0
mov rax, qword [rsp + 0x70]
xor edx, edx
lea rcx, [rsp + 0x70]
mov rax, qword [rax]
call qword [case.0x140055453.0]
nop
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call fcn.14001fa80
lea rax, [rbp]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 0
lea rcx, [rbp]
call fcn.14003b2bc
cmp eax, 1
jl 0x14001f978
cmp eax, 2
jle 0x14001fa35
cmp eax, 3
je 0x14001fa78
cmp eax, 4
je 0x14001fa6d
mov byte [rsp + 0x38], 1
mov eax, dword [rbp + 0x1c]
cmp byte [rsp + 0x20], 0
jne 0x14001f9b4
mov dword [rbp + 0x18], edi
dec eax
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0x50]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x50]
mov rax, qword [rax]
call qword [case.0x140055453.0]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x1c]
inc eax
jmp 0x14001f980
sub eax, 1
mov dword [rbp + 0x1c], eax
jne 0x14001f9d2
mov dword [rbp + 0x18], edi
mov rax, qword [rbp + 8]
lea rcx, [rbp + 8]
mov rax, qword [rax + 0x18]
call qword [case.0x140055453.0]
nop
mov rax, qword [rbp + 0xa8]
xor edx, edx
lea rcx, [rbp + 0xa8]
mov rax, qword [rax]
call qword [case.0x140055453.0]
nop
mov rax, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
nop
mov rax, qword [rbp + 8]
lea rcx, [rbp + 8]
mov rax, qword [rax + 0x20]
call qword [case.0x140055453.0]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140154030
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 6
call fcn.14003b230
nop
lea rcx, [rsp + 0x30]
call fcn.14003a774
nop
lea rcx, [rsp + 0x30]
call fcn.140039c1c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003a628
mov rcx, rax
call fcn.14003a5f0
nop
mov ecx, 1
call fcn.14003b230
int3
xor ecx, ecx
call fcn.14003b230
int3