Function at 0x1400110c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r13d, r13d
shr ecx, 0x18
and ecx, 0xf
mov r14d, r8d
mov qword [rbp - 0x20], r13
mov eax, r9d
mov r12, rdx
mov edi, r13d
sub ecx, 1
je 0x140011453
sub ecx, 1
je 0x1400113bf
sub ecx, 1
je 0x14001138a
sub ecx, 1
je 0x140011209
sub ecx, 1
je 0x1400111c8
sub ecx, 1
je 0x140011185
cmp ecx, 1
je 0x140011175
mov rcx, qword gs:[0x60]
mov r8, r14
xor edx, edx
mov r15d, r14d
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140011162
mov edi, 0xc0000017
jmp 0x140011344
mov r8, r14
mov rdx, r12
mov rcx, rax
call sub.msvcrt.dll_memcpy
jmp 0x140011510
test r14b, 7
je 0x14001112f
mov edi, 0xc0000024
jmp 0x140011369
lea eax, [r14 - 1]
cmp eax, 1
ja 0x14001117b
mov rcx, qword gs:[0x60]
mov r15d, 1
xor edx, edx
mov r8d, r15d
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140011158
cmp byte [r12], r13b
setne al
mov byte [rsi], al
jmp 0x140011510
mov r15d, 8
cmp r14d, r15d
jne 0x14001117b
mov rcx, qword gs:[0x60]
mov r8d, r15d
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140011158
mov rax, qword [r12]
mov qword [rsi], rax
jmp 0x140011510
test r14b, 0xf
jne 0x14001117b
shr r14d, 4
mov r15d, r13d
mov ebx, r13d
test r14d, r14d
je 0x140011278
xor edx, edx
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
mov ecx, ebx
lea rdx, [rbp - 0x18]
shl rcx, 4
add rcx, r12
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x140011344
movzx ecx, word [rbp - 0x18]
add ecx, 2
add r15d, ecx
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
inc ebx
cmp ebx, r14d
jb 0x140011222
mov rcx, qword gs:[0x60]
add r15d, 2
mov r8d, r15d
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140011158
xor ebx, ebx
mov r13, rax
mov dword [rbp + 0x30], ebx
mov eax, ebx
test r14d, r14d
je 0x140011311
mov ecx, eax
lea rdx, [rbp - 0x18]
shl rcx, 4
add rcx, r12
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x14001131e
movzx eax, word [rbp - 0x18]
mov rcx, r13
mov rdx, qword [rbp - 0x10]
add eax, 2
mov r8d, eax
mov ebx, eax
call sub.msvcrt.dll_memcpy
lea rcx, [rbp - 0x18]
add r13, rbx
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop dword [rax + rax]
mov eax, dword [rbp + 0x30]
mov ebx, 0
inc eax
mov dword [rbp + 0x30], eax
cmp eax, r14d
jb 0x1400112b5
mov word [r13], bx
xor r13d, r13d
jmp 0x140011508
xor r13d, r13d
test rsi, rsi
je 0x140011344
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rbp - 0x20], r13
je 0x140011369
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp r14d, 0x10
jne 0x14001117b
lea rdx, [rbp - 0x18]
mov rcx, r12
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x140011344
movzx r15d, word [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
add r15d, 2
jmp 0x140011508
test r14b, 1
jne 0x14001117b
mov eax, r14d
mov bl, r13b
shr eax, 1
mov rcx, r12
je 0x1400113e9
cmp word [rcx], r13w
je 0x1400113e7
add rcx, 2
add eax, 0xffffffff
jne 0x1400113d6
jmp 0x1400113e9
mov bl, 1
mov r15d, r14d
test bl, bl
jne 0x1400113fc
lea eax, [r14 + 2]
cmp eax, r14d
jb 0x140011449
mov r15d, eax
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, r15d
mov edi, r15d
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140011158
mov r8, r14
mov rdx, r12
mov rcx, rax
call sub.msvcrt.dll_memcpy
test bl, bl
jne 0x140011441
mov word [rdi + rsi - 2], r13w
mov edi, r13d
jmp 0x140011508
mov edi, 0xc0000095
jmp 0x140011369
cmp dword [rdx], 6
mov rcx, r12
mov edx, r14d
jne 0x140011469
lea r8, [rbp - 0x20]
call fcn.14001152c
jmp 0x140011475
lea r9, [rbp - 0x20]
mov r8d, eax
call fcn.140018024
mov edi, eax
test eax, eax
js 0x140011344
mov rbx, qword [rbp - 0x20]
mov eax, dword [rbx + 8]
add eax, 0x10
mov r15d, eax
cmp eax, 0x10
jae 0x14001149b
mov edi, 0xc000000d
jmp 0x140011344
mov rcx, qword gs:[0x60]
mov r8, r15
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140011158
movups xmm0, xmmword [r12 + 4]
lea rcx, [rax + 0x10]
mov rdx, rbx
movdqu xmmword [rax], xmm0
mov r8d, dword [rbx + 8]
call sub.msvcrt.dll_memcpy
cmp qword [rbp - 0x20], r13
je 0x140011508
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov qword [rbp - 0x20], r13
test edi, edi
js 0x140011321
mov rax, qword [rbp + 0x50]
mov edi, r13d
mov qword [rax], rsi
mov rax, qword [rbp + 0x58]
mov dword [rax], r15d
jmp 0x140011344