Function at 0x7fff25d6dc80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov r12, r9
mov r15, r8
xor ebx, ebx
mov qword [rax - 0x50], rbx
mov r13d, ebx
mov qword [rax - 0x48], rbx
cmp qword [rsp + 0xf0], rbx
jne 0x7fff25de6596
mov r14, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
test r14, r14
je 0x7fff25d6dcdf
test rdi, rdi
je 0x7fff25de6596
test r12, r12
je 0x7fff25de6596
test r15, r15
je 0x7fff25de6596
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0xd0]
call sym.KERNELBASE.dll_MapPredefinedHandleInternal
mov esi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x7fff25d6de68
mov word [rsp + 0x68], bx
mov ecx, dword [r12]
mov eax, ecx
btr eax, 0x1f
cmp eax, 0x7fff
ja 0x7fff25de6280
add cx, cx
mov word [rsp + 0x6a], cx
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x44], ebx
test rdi, rdi
je 0x7fff25d6de60
mov r15d, dword [rdi]
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0xf0], r15d
mov r13, qword [rsp + 0xd0]
test r13b, 1
jne 0x7fff25de628f
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0xd8]
mov rcx, r13
call fcn.7fff25d6de90
mov esi, eax
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0xf0]
test esi, esi
jne 0x7fff25d6de59
test r14, r14
je 0x7fff25d6de59
mov r9d, dword [rsp + 0x44]
lea eax, [r9 - 1]
cmp eax, 1
ja 0x7fff25d6de72
cmp edx, 2
jbe 0x7fff25d6ddf3
mov r8d, edx
shr r8d, 1
lea eax, [r8 - 1]
cmp word [r14 + rax*2], 0
jne 0x7fff25de64b8
movzx eax, word [rsp + 0x68]
cmp eax, 2
jb 0x7fff25d6de05
shr eax, 1
dec eax
mov dword [r12], eax
test rdi, rdi
je 0x7fff25d6de0c
mov dword [rdi], edx
mov r13, rbx
mov rax, qword [rsp + 0xf8]
test rax, rax
je 0x7fff25d6de68
mov dword [rax], r9d
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x7fff25de64fa
mov rdi, qword [rsp + 0x80]
test rdi, rdi
jne 0x7fff25de650a
mov eax, esi
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r9d, dword [rsp + 0x44]
jmp 0x7fff25d6ddf3
mov r15d, ebx
jmp 0x7fff25d6dd54
test r13, r13
je 0x7fff25d6de1f
jmp 0x7fff25de64d3
cmp r9d, 7
jne 0x7fff25d6ddf3
jmp 0x7fff25d6ddd8
mov eax, 0xfffe
mov word [rsp + 0x6a], ax
jmp 0x7fff25d6dd3b
call fcn.7fff25dcefc8
test al, al
je 0x7fff25d6ddae
mov dword [rsp + 0x50], ebx
and r13, 0xfffffffffffffffe
call fcn.7fff25dcefc8
test al, al
je 0x7fff25de641d
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.ext_ms_win_advapi32_registry_l1_1_0.dll_BaseRegGetVersion]
nop dword [rax + rax]
test eax, eax
jne 0x7fff25de641d
mov eax, dword [rsp + 0x50]
add eax, 0xfffffffb
cmp eax, 5
jbe 0x7fff25de641d
mov r8d, dword [rsp + 0xf0]
add r8, 2
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x7fff25de631e
lea esi, [rax + 8]
mov r13, rax
jmp 0x7fff25de64af
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0xd8]
mov rcx, r13
call qword [sym.imp.ext_ms_win_advapi32_registry_l1_1_0.dll_RemoteRegEnumValueWrapper]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
mov r13, qword [rsp + 0x50]
jmp 0x7fff25de638d
test eax, eax
je 0x7fff25de63a1
cmp eax, 0xea
je 0x7fff25de63a1
mov ecx, dword [rsp + 0xf0]
jmp 0x7fff25de63b4
mov ecx, dword [rsp + 0xf0]
cmp ecx, 0x7fff0000
ja 0x7fff25de64aa
test eax, eax
jne 0x7fff25de63f6
mov edx, dword [rsp + 0x44]
lea eax, [rdx - 1]
cmp eax, 1
jbe 0x7fff25de63c9
cmp edx, 7
jne 0x7fff25de63d8
cmp ecx, 2
jb 0x7fff25de63d8
add ecx, 0xfffffffe
mov dword [rsp + 0xf0], ecx
cmp ecx, r15d
ja 0x7fff25de63ed
mov r8d, ecx
mov rdx, r13
mov rcx, r14
call sub.ntdll.dll_memcpy
jmp 0x7fff25de63f6
mov esi, 0xd
mov dword [rsp + 0x40], esi
mov rcx, qword gs:[0x60]
mov r8, r13
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov esi, dword [rsp + 0x40]
jmp 0x7fff25d6ddae
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x68]
mov edx, dword [rsp + 0xd8]
mov rcx, r13
call qword [sym.imp.ext_ms_win_advapi32_registry_l1_1_0.dll_RemoteRegEnumValueWrapper]
nop dword [rax + rax]
mov esi, eax
mov dword [rsp + 0x40], eax
mov r13, rbx
jmp 0x7fff25de6487
test esi, esi
je 0x7fff25de6497
cmp esi, 0xea
jne 0x7fff25d6ddae
mov edx, dword [rsp + 0xf0]
cmp edx, 0x7fff0000
jbe 0x7fff25d6ddb5
mov esi, 0xd
mov dword [rsp + 0x40], esi
jmp 0x7fff25d6de68
mov ecx, edx
add rcx, 2
mov eax, dword [rdi]
cmp rcx, rax
ja 0x7fff25d6ddf3
mov word [r14 + r8*2], bx
jmp 0x7fff25d6ddf3
mov rcx, qword gs:[0x60]
mov r8, r13
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov esi, dword [rsp + 0x40]
jmp 0x7fff25d6de1f
lea rcx, [rsp + 0x60]
call fcn.7fff25daba24
nop
jmp 0x7fff25d6de32
lea rcx, [0x7fff25fd28a8]
call qword [sym.imp.ntdll.dll_RtlAcquireSRWLockExclusive]
nop dword [rax + rax]
add dword [rdi + 8], 0xffffffff
jne 0x7fff25de654b
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
cmp rdi, rcx
jne 0x7fff25de6538
mov rax, qword [rax]
cmp qword [rdi], rax
je 0x7fff25de654b
mov rbx, rdi
mov rdx, rdi
call fcn.7fff25db183c
mov rdx, qword [rdi + 0x10]
mov qword [rdx + 8], rax
lea rcx, [0x7fff25fd28a8]
call qword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
nop dword [rax + rax]
test rbx, rbx
je 0x7fff25d6de43
mov rcx, qword [rbx]
call sym.KERNELBASE.dll_RegCloseKey
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov esi, dword [rsp + 0x40]
jmp 0x7fff25d6de43
mov eax, 0x57
jmp 0x7fff25d6de45