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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov edi, dword [rax]
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x18000dba0
mov eax, edi
dec edi
test eax, eax
jle 0x18000dba0
lea r8, str.InitializeSRWLock
lea rdx, str.kernel32.dll
mov rcx, qword [rbx + 0x20]
call fcn.18000b130
test rax, rax
jne 0x18000deda
mov rbx, qword [rbx]
test rbx, rbx
jne 0x18000db70
xor esi, esi
mov qword [rsp + 0x78], rsi
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov edi, dword [rax]
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x18000dbf3
mov eax, edi
dec edi
test eax, eax
jle 0x18000dbf3
lea r8, str.RtlInitializeSRWLock
lea rdx, str.ntdll.dll
mov rcx, qword [rbx + 0x20]
call fcn.18000b130
test rax, rax
jne 0x18000dee2
mov rbx, qword [rbx]
test rbx, rbx
jne 0x18000dbc3
xor ebx, ebx
mov qword [rsp + 0x70], rbx
xor r12d, r12d
xor r13d, r13d
mov edi, 0x2a0
mov r14d, 0x15ff
nop dword [rax + rax]
lea rdx, [r13 + 1]
test r13, r13
cmove rdx, r13
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r9, qword [rcx + 0x10]
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [rax + r9 + 0x50]
lea r8, [rcx + r9]
test rdx, rdx
je 0x18000dc50
cmp rdx, r9
jb 0x18000df14
cmp rdx, r8
ja 0x18000df14
sub r8, rdx
test rdx, rdx
cmove r8, rcx
cmove rdx, r9
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea rcx, str.48_8D_0D_________E8
call fcn.18000b5f0
mov r13, rax
test rax, rax
je 0x18000df14
movsxd rbp, dword [rax + 8]
add rbp, 0xc
add rbp, rax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 0x60]
mov r8, qword [rdx + 0x10]
cmp rbp, r8
jbe 0x18000df00
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rbp, rcx
jae 0x18000df00
mov r15, rbp
nop
cmp word [r15], r14w
jne 0x18000deb1
movsxd r8, dword [r15 + 2]
add r8, 6
add r8, r15
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rdx, qword [rcx + 0x10]
cmp r8, rdx
jbe 0x18000deb1
movsxd rax, dword [rdx + 0x3c]
mov ecx, dword [rax + rdx + 0x50]
add rcx, rdx
cmp r8, rcx
jae 0x18000deb1
mov rax, qword [r8]
cmp rax, rsi
je 0x18000dd14
cmp rax, rbx
jne 0x18000deb1
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x10]
movsxd rax, dword [rsi + 0x3c]
mov edx, dword [rax + rsi + 0x50]
lea r8, [rsi + rdx]
test rbp, rbp
je 0x18000dd51
cmp rbp, rsi
jb 0x18000dde7
cmp rbp, r8
ja 0x18000dde7
lea rsi, [rbp + 5]
mov edx, r8d
sub edx, ebp
cmp edx, edi
cmova edx, edi
mov ecx, edx
add rcx, rbp
lea eax, [rdx - 0x10]
cmp rcx, r8
cmovb eax, edx
mov r14d, eax
test eax, eax
je 0x18000dde7
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x18000ddd6
cmp byte [rbx + 1], 0x8d
jne 0x18000ddd6
mov eax, dword [rbx + 3]
add eax, 7
movsxd rdx, eax
add rdx, rbx
add rdx, rsi
add rdx, rdi
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, qword [rcx + 0x10]
cmp rdx, r8
jbe 0x18000ddd6
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x18000ddd6
mov r8d, 0xc
lea rcx, [0x18005dff0]
call fcn.180031c04
test eax, eax
je 0x18000deea
inc rbx
lea rax, [rbx + rdi]
cmp rax, r14
jb 0x18000dd74
mov edi, 0x2a0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x10]
movsxd rax, dword [rsi + 0x3c]
mov edx, dword [rax + rsi + 0x50]
lea r8, [rsi + rdx]
test rbp, rbp
je 0x18000de24
cmp rbp, rsi
jb 0x18000deb1
cmp rbp, r8
ja 0x18000deb1
lea rsi, [rbp + 5]
mov edx, r8d
sub edx, ebp
cmp edx, edi
cmova edx, edi
mov ecx, edx
add rcx, rbp
lea eax, [rdx - 0x10]
cmp rcx, r8
cmovb eax, edx
mov r14d, eax
test eax, eax
je 0x18000deb1
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x18000dea5
cmp byte [rbx + 1], 0x8d
jne 0x18000dea5
mov eax, dword [rbx + 3]
add eax, 7
movsxd rdx, eax
add rdx, rsi
add rdx, rdi
add rdx, rbx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, qword [rcx + 0x10]
cmp rdx, r8
jbe 0x18000dea5
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x18000dea5
mov r8d, 0xc
lea rcx, str.ByteProperty
call fcn.180031a40
test eax, eax
je 0x18000deea
inc rbx
lea rax, [rdi + rbx]
cmp rax, r14
jb 0x18000de47
inc r15
mov rax, r15
sub rax, rbp
mov edi, 0x2a0
mov r14d, 0x15ff
cmp rax, 0x50
jge 0x18000df00
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
jmp 0x18000dcc0
mov rsi, qword [rax]
jmp 0x18000dba2
mov rbx, qword [rax]
jmp 0x18000dbf5
movsxd rax, dword [r13 + 3]
lea r12, [r13 + 7]
add r12, rax
mov edi, 0x2a0
mov r14d, 0x15ff
test r12, r12
jne 0x18000df19
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
jmp 0x18000dc10
test r12, r12
je 0x18000df5e
mov rax, qword [0x180087120]
test rax, rax
jne 0x18000df3d
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x10]
mov qword [0x180087120], rax
cmp r12, rax
jbe 0x18000df50
sub r12d, eax
mov dword [0x180087130], r12d
mov al, 1
jmp 0x18000df60
xor r12d, r12d
mov dword [0x180087130], r12d
mov al, 1
jmp 0x18000df60
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret