Function at 0x14000e53c
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 0x14000e845
sub ecx, 1
je 0x14000e7b4
sub ecx, 1
je 0x14000e784
sub ecx, 1
je 0x14000e676
sub ecx, 1
je 0x14000e638
sub ecx, 1
je 0x14000e5fb
cmp ecx, 1
je 0x14000e5eb
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]
mov rsi, rax
test rax, rax
jne 0x14000e5d8
mov edi, 0xc0000017
jmp 0x14000e930
mov r8, r14
mov rdx, r12
mov rcx, rax
call sub.msvcrt.dll_memcpy
jmp 0x14000e76e
test r14b, 7
je 0x14000e5ab
mov edi, 0xc0000024
jmp 0x14000e930
lea eax, [r14 - 1]
cmp eax, 1
ja 0x14000e5f1
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]
mov rsi, rax
test rax, rax
je 0x14000e5ce
cmp byte [r12], r13b
setne al
mov byte [rsi], al
jmp 0x14000e76e
mov r15d, 8
cmp r14d, r15d
jne 0x14000e5f1
mov rcx, qword gs:[0x60]
mov r8d, r15d
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x14000e5ce
movsd xmm0, qword [r12]
movsd qword [rax], xmm0
jmp 0x14000e76e
test r14b, 0xf
jne 0x14000e5f1
shr r14d, 4
mov r15d, r13d
mov ebx, r13d
test r14d, r14d
je 0x14000e6d3
xor edx, edx
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov ecx, ebx
lea rdx, [rbp - 0x18]
shl rcx, 4
add rcx, r12
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
mov edi, eax
test eax, eax
js 0x14000e930
movzx ecx, word [rbp - 0x18]
add ecx, 2
add r15d, ecx
lea rcx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
inc ebx
cmp ebx, r14d
jb 0x14000e68f
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]
mov rsi, rax
test rax, rax
je 0x14000e5ce
xor ebx, ebx
mov r13, rax
mov dword [rbp + 0x30], ebx
mov eax, ebx
test r14d, r14d
je 0x14000e75e
mov ecx, eax
lea rdx, [rbp - 0x18]
shl rcx, 4
add rcx, r12
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
mov edi, eax
test eax, eax
js 0x14000e8f1
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]
mov eax, dword [rbp + 0x30]
mov ebx, 0
inc eax
mov dword [rbp + 0x30], eax
cmp eax, r14d
jb 0x14000e70a
mov word [r13], bx
xor r13d, r13d
test edi, edi
js 0x14000e8f4
mov rax, qword [rbp + 0x50]
mov edi, r13d
mov qword [rax], rsi
mov rax, qword [rbp + 0x58]
mov dword [rax], r15d
jmp 0x14000e930
cmp r14d, 0x10
jne 0x14000e5f1
lea rdx, [rbp - 0x18]
mov rcx, r12
call qword [sym.imp.ntdll.dll_RtlStringFromGUID]
mov edi, eax
test eax, eax
js 0x14000e930
movzx r15d, word [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
add r15d, 2
jmp 0x14000e766
test r14b, 1
jne 0x14000e5f1
mov eax, r14d
mov bl, r13b
shr eax, 1
mov rcx, rdx
je 0x14000e7de
cmp word [rcx], r13w
je 0x14000e7dc
add rcx, 2
add eax, 0xffffffff
jne 0x14000e7cb
jmp 0x14000e7de
mov bl, 1
mov r15d, r14d
test bl, bl
jne 0x14000e7f1
lea eax, [r14 + 2]
cmp eax, r14d
jb 0x14000e83b
mov r15d, eax
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, r15d
mov r13d, r15d
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x14000e5ce
mov r8, r14
mov rdx, r12
mov rcx, rax
call sub.msvcrt.dll_memcpy
xor eax, eax
test bl, bl
jne 0x14000e763
mov word [r13 + rsi - 2], ax
jmp 0x14000e763
mov edi, 0xc0000095
jmp 0x14000e930
cmp dword [rdx], 6
mov rcx, r12
mov edx, r14d
jne 0x14000e85b
lea r8, [rbp - 0x20]
call fcn.14000e958
jmp 0x14000e867
lea r9, [rbp - 0x20]
mov r8d, eax
call fcn.140013e50
mov edi, eax
test eax, eax
js 0x14000e911
mov rbx, qword [rbp - 0x20]
mov eax, dword [rbx + 8]
add eax, 0x10
mov r15d, eax
cmp eax, 0x10
jae 0x14000e88d
mov edi, 0xc000000d
jmp 0x14000e911
mov rcx, qword gs:[0x60]
mov r8, r15
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
jne 0x14000e8b4
mov edi, 0xc0000017
jmp 0x14000e911
movups xmm0, xmmword [r12 + 4]
mov rdx, qword [rbp - 0x20]
lea rcx, [rax + 0x10]
movdqu xmmword [rax], xmm0
mov r8d, dword [rbx + 8]
call sub.msvcrt.dll_memcpy
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]
mov qword [rbp - 0x20], r13
jmp 0x14000e766
xor r13d, r13d
test rsi, rsi
je 0x14000e930
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp qword [rbp - 0x20], r13
je 0x14000e930
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]
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