Function at 0x14000a914
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push r15
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov dword [rcx + 0x48], 0xa
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rsi
mov qword [rcx + 0x60], rsi
mov qword [rcx + 0x68], rsi
mov qword [rcx + 0x70], rsi
mov dword [rcx + 0x78], 0xa
movups xmm1, xmmword [0x140047ca0]
movdqu xmmword [rcx + 0x90], xmm1
mov dword [rcx + 0xa2], esi
mov word [rcx + 0xa6], si
mov dword [rcx + 0xb8], 1
mov qword [rcx + 0xc0], rsi
mov qword [rcx + 0xc8], rsi
movdqu xmmword [rcx + 0x250], xmm1
mov qword [rcx + 0x260], rsi
movdqu xmmword [rcx + 0x268], xmm1
mov qword [rcx + 0x278], rsi
movdqu xmmword [rcx + 0x280], xmm1
mov qword [rcx + 0x290], rsi
mov qword [rcx + 0x298], rsi
movdqu xmmword [rcx + 0x2a0], xmm1
mov qword [rcx + 0x2b0], rsi
movdqu xmmword [rcx + 0x2b8], xmm1
mov qword [rcx + 0x2c8], rsi
mov qword [rcx + 0x2d0], rsi
mov word [rcx + 0x2d8], si
mov qword [rcx + 0x2f0], rsi
mov qword [rcx + 0x2f8], rsi
mov qword [rcx + 0x300], rsi
mov qword [rcx + 0x308], rsi
or eax, 0xffffffff
mov dword [rcx + 0x320], eax
mov dword [rcx + 0x324], eax
mov qword [rcx + 0x328], rsi
movdqu xmmword [rcx + 0x330], xmm1
mov qword [rcx + 0x340], rsi
mov qword [rcx + 0x348], rsi
movdqu xmmword [rcx + 0x350], xmm1
mov qword [rcx + 0x360], rsi
mov qword [rcx + 0x368], rsi
movdqu xmmword [rcx + 0x370], xmm1
mov qword [rcx + 0x380], rsi
mov qword [rcx + 0x388], rsi
mov qword [rcx + 0x390], rsi
mov dword [rcx + 0x3e8], esi
add rcx, 0x3f0
lea rax, [0x140014f30]
mov qword [r11 - 0x38], rax
lea r9, [0x14000ae30]
lea edx, [rsi + 0x30]
lea r8d, [rsi + 2]
call fcn.14003c078
mov eax, dword [rdi + 0x3e8]
add rax, 0x15
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, rdi
mov qword [rdi + 0x460], rcx
mov byte [rdi + 0x470], sil
mov byte [rdi + 0x480], sil
mov byte [rdi + 0x490], sil
mov qword [rdi + 0x4a0], rsi
mov byte [rdi + 0x4a8], sil
mov byte [rdi + 0x4c8], sil
mov dword [rdi + 0x4e8], esi
mov word [rdi + 0x4ec], si
mov qword [rdi + 0x4f0], rsi
mov qword [rdi + 0x4f8], rsi
mov qword [rdi + 0x508], rsi
mov qword [rdi + 0x510], rsi
mov byte [rdi + 0x534], sil
mov dword [rdi + 0x538], esi
mov byte [rdi + 0x53c], sil
mov qword [rdi + 0x540], rsi
mov byte [rdi + 0x548], sil
mov byte [rdi + 0x568], sil
mov dword [rdi + 0x588], esi
mov word [rdi + 0x58c], si
mov qword [rdi + 0x590], rsi
mov qword [rdi + 0x598], rsi
mov qword [rdi + 0x5a8], rsi
mov qword [rdi + 0x5b0], rsi
mov byte [rdi + 0x5d4], sil
mov dword [rdi + 0x5d8], esi
mov byte [rdi + 0x5dc], sil
mov qword [rdi + 0x5e0], rsi
mov byte [rdi + 0x5e8], sil
mov byte [rdi + 0x608], sil
mov dword [rdi + 0x628], esi
mov word [rdi + 0x62c], si
mov qword [rdi + 0x630], rsi
mov qword [rdi + 0x638], rsi
mov qword [rdi + 0x648], rsi
mov qword [rdi + 0x650], rsi
mov byte [rdi + 0x674], sil
mov dword [rdi + 0x678], esi
mov byte [rdi + 0x67c], sil
mov byte [rdi + 0x688], sil
mov qword [rdi + 0x68c], rsi
mov qword [rdi + 0x698], rdi
or rax, 0xffffffffffffffff
mov qword [rdi + 0x6a0], rax
mov qword [rdi + 0x6a8], rax
mov qword [rdi + 0x6b0], rax
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, [0x14003eec0]
mov qword [rdx + rcx], rax
lea rcx, [rsp + 0x38]
call fcn.140008524
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x680], rsi
lea r15, [0x140047138]
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x14000ac68
test byte [rcx + 0x1c], 1
je 0x14000ac68
cmp byte [rcx + 0x19], 4
jb 0x14000ac68
lea edx, [rsi + 0xa]
mov r9, rdi
lea r8, [0x14003f470]
mov rcx, qword [rcx + 0x10]
call fcn.140003e04
lea rcx, [rdi + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeSRWLock]
lea rax, [rdi + 0x450]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rdi + 0x468], rax
mov dword [rdi + 0x398], 3
mov qword [rdi + 0x3a0], rsi
mov qword [rdi + 0x3a8], rsi
mov qword [rdi + 0x3b0], rsi
mov qword [rdi + 0x3b8], rsi
mov qword [rdi + 0x3c0], rsi
mov qword [rdi + 0x3c8], rsi
mov dword [rdi + 0x3d0], esi
mov dword [rdi + 0x3d4], 1
mov dword [rdi + 0x3d8], 0x48
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolCleanupGroup]
mov qword [rdi + 0x3e0], rax
test rax, rax
jne 0x14000ad17
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, [rsp + 0x38]
call fcn.14000818c
lea rcx, [rsp + 0x38]
call fcn.140008188
mov ecx, eax
call fcn.140003940
int3
mov qword [rdi + 0x3a8], rax
mov qword [rdi + 0x3b0], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov rbx, rax
test rax, rax
jne 0x14000ad6f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, [rsp + 0x38]
call fcn.14000818c
lea rcx, [rsp + 0x38]
call fcn.140008188
mov ecx, eax
call fcn.140003940
int3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
test rax, rax
jne 0x14000adb6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, [rsp + 0x38]
call fcn.14000818c
lea rcx, [rsp + 0x38]
call fcn.140008188
mov ecx, eax
call fcn.140003940
int3
mov qword [rdi + 0x300], rbx
mov qword [rdi + 0x308], rax
mov r9d, 0x1000
mov dword [rdi + 0x13c], r9d
mov rcx, qword [0x140047138]
cmp rcx, r15
je 0x14000adfc
test byte [rcx + 0x1c], 1
je 0x14000adfc
cmp byte [rcx + 0x19], 4
jb 0x14000adfc
mov edx, 0xb
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx + 0x10]
call fcn.140009c6c
lea rcx, [rsp + 0x38]
call fcn.140008380
nop
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r15
ret