Function at 0x180017550
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 0x1800175b0
mov eax, edi
dec edi
test eax, eax
jle 0x1800175b0
lea r8, str.InitializeSRWLock
lea rdx, str.kernel32.dll
mov rcx, qword [rbx + 0x20]
call fcn.180014b40
test rax, rax
jne 0x1800178ea
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180017580
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 0x180017603
mov eax, edi
dec edi
test eax, eax
jle 0x180017603
lea r8, str.RtlInitializeSRWLock
lea rdx, str.ntdll.dll
mov rcx, qword [rbx + 0x20]
call fcn.180014b40
test rax, rax
jne 0x1800178f2
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800175d3
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 0x180017660
cmp rdx, r9
jb 0x180017924
cmp rdx, r8
ja 0x180017924
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.180015000
mov r13, rax
test rax, rax
je 0x180017924
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 0x180017910
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rbp, rcx
jae 0x180017910
mov r15, rbp
nop
cmp word [r15], r14w
jne 0x1800178c1
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 0x1800178c1
movsxd rax, dword [rdx + 0x3c]
mov ecx, dword [rax + rdx + 0x50]
add rcx, rdx
cmp r8, rcx
jae 0x1800178c1
mov rax, qword [r8]
cmp rax, rsi
je 0x180017724
cmp rax, rbx
jne 0x1800178c1
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 0x180017761
cmp rbp, rsi
jb 0x1800177f7
cmp rbp, r8
ja 0x1800177f7
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 0x1800177f7
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x1800177e6
cmp byte [rbx + 1], 0x8d
jne 0x1800177e6
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 0x1800177e6
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x1800177e6
mov r8d, 0xc
lea rcx, [0x18006b3a8]
call fcn.18003d294
test eax, eax
je 0x1800178fa
inc rbx
lea rax, [rbx + rdi]
cmp rax, r14
jb 0x180017784
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 0x180017834
cmp rbp, rsi
jb 0x1800178c1
cmp rbp, r8
ja 0x1800178c1
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 0x1800178c1
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x1800178b5
cmp byte [rbx + 1], 0x8d
jne 0x1800178b5
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 0x1800178b5
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x1800178b5
mov r8d, 0xc
lea rcx, str.ByteProperty
call fcn.18003d0d0
test eax, eax
je 0x1800178fa
inc rbx
lea rax, [rdi + rbx]
cmp rax, r14
jb 0x180017857
inc r15
mov rax, r15
sub rax, rbp
mov edi, 0x2a0
mov r14d, 0x15ff
cmp rax, 0x50
jge 0x180017910
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
jmp 0x1800176d0
mov rsi, qword [rax]
jmp 0x1800175b2
mov rbx, qword [rax]
jmp 0x180017605
movsxd rax, dword [r13 + 3]
lea r12, [r13 + 7]
add r12, rax
mov edi, 0x2a0
mov r14d, 0x15ff
test r12, r12
jne 0x180017929
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
jmp 0x180017620
test r12, r12
je 0x18001796e
mov rax, qword [0x1800987a8]
test rax, rax
jne 0x18001794d
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x10]
mov qword [0x1800987a8], rax
cmp r12, rax
jbe 0x180017960
sub r12d, eax
mov dword [0x1800987b8], r12d
mov al, 1
jmp 0x180017970
xor r12d, r12d
mov dword [0x1800987b8], r12d
mov al, 1
jmp 0x180017970
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