Function at 0x7dd75446
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0x28
push 0x7dd75558
call fcn.7dd715c0
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
call sym.KERNEL32.dll_RegKrnGetGlobalState
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
cmp eax, 0x80000004
je 0x7ddae14e
cmp eax, 0x80000050
je 0x7dd99fdf
cmp eax, 0x80000060
je 0x7dd99fdf
cmp dword [ebp + 0x10], edi
jne 0x7ddae0bf
mov esi, eax
call sym.KERNEL32.dll_RegKrnGetGlobalState
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 8]
push ecx
push esi
call dword [eax + 0xb0]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x7dd7552c
mov ebx, dword [ebp + 0x1c]
mov eax, ebx
shr eax, 1
test bl, 1
jne 0x7dd754ea
cmp dword [ebp + 0x14], 1
jne 0x7dd7598d
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x7dd754ea
cmp eax, edi
jbe 0x7dd754ea
lea esi, [eax + eax]
lea eax, [ecx + esi]
cmp word [eax - 2], di
jne 0x7dd99f55
cmp dword [ebp + 0xc], edi
jne 0x7dd75963
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeStringEx]
cmp eax, edi
jl 0x7ddae0db
add word [ebp - 0x38], 2
mov eax, dword [ebp + 8]
test al, 1
jne 0x7dd99fd1
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.7dd75337
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
jne 0x7dd99fb6
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
call sym.KERNEL32.dll_RegKrnGetGlobalState
push esi
push edi
call dword [eax + 0xa8]
mov eax, dword [ebp - 0x1c]
call fcn.7dd71605
ret 0x18
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x7dd75969
sub eax, edx
sar eax, 1
add eax, eax
mov word [ebp - 0x38], ax
movzx ecx, ax
cmp eax, ecx
je 0x7dd754f3
jmp 0x7ddae0cf
cmp dword [ebp + 0x14], 2
je 0x7dd754cf
cmp dword [ebp + 0x14], 7
jne 0x7dd754ea
jmp 0x7dd754cf
lea ecx, [eax - 2]
xor ecx, eax
test ecx, 0xfffff000
jne 0x7dd754ea
cmp word [eax], di
jne 0x7dd754ea
mov eax, dword fs:[0x18]
lea edi, [ebx + 2]
push edi
push 0
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x7ddae0c6
push esi
push dword [ebp + 0x18]
push ebx
call sub.ntdll.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
mov ebx, edi
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x18], eax
xor edi, edi
jmp 0x7dd754ea
push dword [ebp - 0x20]
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7dd75535
cmp dword [ebp - 0x24], edi
jne 0x7ddae0e7
jmp 0x7dd7552c
call sym.KERNEL32.dll_RegKrnGetGlobalState
jmp 0x7ddae12e
push 0x57
jmp 0x7ddae150
mov dword [ebp - 0x1c], 8
jmp 0x7ddae127
mov dword [ebp - 0x1c], 0x57
jmp 0x7dd7552c
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x7dd75529
mov dword [ebp - 4], edi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x38]
push ecx
push 0xfffffffffffffffe
pop esi
and eax, esi
push eax
call dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
jmp 0x7dd7552c
xor edi, edi
jmp 0x7dd7552c
mov eax, dword [eax + 0x28]
cmp eax, edi
je 0x7ddae14e
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x7dd7554b
push 6
pop eax
jmp 0x7dd7554b