Function at 0x1800177c0
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 0x180017820
mov eax, edi
dec edi
test eax, eax
jle 0x180017820
lea r8, str.InitializeSRWLock
lea rdx, str.kernel32.dll
mov rcx, qword [rbx + 0x20]
call fcn.180014db0
test rax, rax
jne 0x180017b5a
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800177f0
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 0x180017873
mov eax, edi
dec edi
test eax, eax
jle 0x180017873
lea r8, str.RtlInitializeSRWLock
lea rdx, str.ntdll.dll
mov rcx, qword [rbx + 0x20]
call fcn.180014db0
test rax, rax
jne 0x180017b62
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180017843
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 0x1800178d0
cmp rdx, r9
jb 0x180017b94
cmp rdx, r8
ja 0x180017b94
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.180015270
mov r13, rax
test rax, rax
je 0x180017b94
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 0x180017b80
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rbp, rcx
jae 0x180017b80
mov r15, rbp
nop
cmp word [r15], r14w
jne 0x180017b31
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 0x180017b31
movsxd rax, dword [rdx + 0x3c]
mov ecx, dword [rax + rdx + 0x50]
add rcx, rdx
cmp r8, rcx
jae 0x180017b31
mov rax, qword [r8]
cmp rax, rsi
je 0x180017994
cmp rax, rbx
jne 0x180017b31
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 0x1800179d1
cmp rbp, rsi
jb 0x180017a67
cmp rbp, r8
ja 0x180017a67
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 0x180017a67
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x180017a56
cmp byte [rbx + 1], 0x8d
jne 0x180017a56
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 0x180017a56
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x180017a56
mov r8d, 0xc
lea rcx, [0x18006cf28]
call fcn.18003e564
test eax, eax
je 0x180017b6a
inc rbx
lea rax, [rbx + rdi]
cmp rax, r14
jb 0x1800179f4
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 0x180017aa4
cmp rbp, rsi
jb 0x180017b31
cmp rbp, r8
ja 0x180017b31
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 0x180017b31
mov rbx, rsi
mov rdi, rsi
neg rdi
movzx eax, byte [rbx]
sub al, 0x48
test al, 0xfb
jne 0x180017b25
cmp byte [rbx + 1], 0x8d
jne 0x180017b25
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 0x180017b25
movsxd rax, dword [r8 + 0x3c]
mov ecx, dword [rax + r8 + 0x50]
add rcx, r8
cmp rdx, rcx
jae 0x180017b25
mov r8d, 0xc
lea rcx, str.ByteProperty
call fcn.18003e3a0
test eax, eax
je 0x180017b6a
inc rbx
lea rax, [rdi + rbx]
cmp rax, r14
jb 0x180017ac7
inc r15
mov rax, r15
sub rax, rbp
mov edi, 0x2a0
mov r14d, 0x15ff
cmp rax, 0x50
jge 0x180017b80
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
jmp 0x180017940
mov rsi, qword [rax]
jmp 0x180017822
mov rbx, qword [rax]
jmp 0x180017875
movsxd rax, dword [r13 + 3]
lea r12, [r13 + 7]
add r12, rax
mov edi, 0x2a0
mov r14d, 0x15ff
test r12, r12
jne 0x180017b99
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
jmp 0x180017890
test r12, r12
je 0x180017bde
mov rax, qword [0x18009a7b8]
test rax, rax
jne 0x180017bbd
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x10]
mov qword [0x18009a7b8], rax
cmp r12, rax
jbe 0x180017bd0
sub r12d, eax
mov dword [0x18009a7c8], r12d
mov al, 1
jmp 0x180017be0
xor r12d, r12d
mov dword [0x18009a7c8], r12d
mov al, 1
jmp 0x180017be0
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