Function at 0x71a01480
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
push esi
push eax
push ecx
push 5
xor ebx, ebx
push 0x71a05008
mov byte [ebp - 1], bl
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
call fcn.71a015d5
test al, al
jne 0x71a016f3
push esi
push dword [ebp + 0x10]
push dword [ebp - 8]
push 5
push 0x71a05044
call fcn.71a015d5
test al, al
je 0x71a01f87
test dword [ebp + 0x18], 0xffffffea
jne 0x71a02064
cmp dword [ebp + 0x14], 2
je 0x71a02064
mov eax, dword [0x71a05044]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x71a05048]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x71a0504c]
push 0x71a015b8
mov esi, dword [ebp + 0x1c]
push esi
mov dword [edi], eax
call dword [sym.imp._Cntl.DLL_RtlInitUnicodeString]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x68
push ebx
push dword [eax + 0x18]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, ebx
je 0x71a02630
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov edx, dword [edi]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x10], edx
xor esi, esi
inc esi
mov dword [eax + 0xc], 0x2000
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ebx
mov byte [eax + 0x31], 1
mov byte [eax + 0x32], bl
mov byte [eax + 0x33], bl
mov byte [eax + 0x34], bl
mov byte [eax + 0x35], 1
mov byte [eax + 0x3e], bl
mov byte [eax + 0x3c], 0x20
mov byte [eax + 0x3d], bl
mov byte [eax + 0x3f], bl
mov byte [eax + 0x36], bl
mov byte [eax + 0x37], bl
mov byte [eax + 0x38], 1
mov byte [eax + 0x39], bl
mov dword [eax + 0x1c], ebx
mov byte [eax + 0x30], bl
mov byte [eax + 0x3a], bl
mov byte [eax + 0x3b], bl
xor edx, edx
cmp dword [ecx], esi
mov ecx, dword [ebp + 0x24]
setne dl
add edx, 0x184
mov dword [ecx], edx
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x20
test dword [ebp + 0x18], 0xfffffffe
jne 0x71a02064
mov eax, dword [0x71a05008]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x71a0500c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [0x71a05010]
push 0x71a01724
jmp 0x71a0150c
push esi
push dword [ebp + 0x10]
push dword [ebp - 8]
push 1
push 0x71a05080
call fcn.71a015d5
test al, al
je 0x71a02064
cmp esi, ebx
jl 0x71a02064
cmp esi, 0xff
jg 0x71a02064
push 0x71a02070
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp._Cntl.DLL_RtlInitUnicodeString]
mov esi, dword [ebp + 0x1c]
push ebx
push esi
call dword [sym.imp._Cntl.DLL_RtlInitUnicodeString]
mov eax, dword [ebp - 0xc]
add eax, 0xa
mov word [esi + 2], ax
mov eax, dword fs:[0x18]
movzx ecx, word [esi + 2]
mov eax, dword [eax + 0x30]
push ecx
push ebx
push dword [eax + 0x18]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x71a0264e
lea eax, [ebp - 0xc]
push eax
push esi
mov byte [ebp - 1], 1
call dword [sym.imp._Cntl.DLL_RtlAppendUnicodeStringToString]
movzx eax, word [esi]
mov ecx, dword [esi + 4]
shr eax, 1
mov word [ecx + eax*2], 0x5c
add word [esi], 2
movzx eax, word [esi]
mov ecx, dword [esi + 4]
shr eax, 1
mov word [ecx + eax*2], bx
mov ax, word [esi]
mov edx, dword [esi + 4]
movzx ecx, ax
shr ecx, 1
lea ecx, [edx + ecx*2]
mov dword [ebp - 8], ecx
mov cx, word [esi + 2]
sub cx, ax
lea eax, [ebp - 0xc]
push eax
push 0xa
push dword [edi]
mov word [ebp - 0xc], bx
mov word [ebp - 0xa], cx
call dword [sym.imp._Cntl.DLL_RtlIntegerToUnicodeString]
mov ax, word [ebp - 0xc]
add word [esi], ax
jmp 0x71a01518
mov eax, 0x2726
jmp 0x71a015af
cmp byte [ebp - 1], bl
je 0x71a0264b
mov eax, dword fs:[0x18]
push dword [esi + 4]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
mov dword [esi + 4], ebx
mov eax, 0x2747
jmp 0x71a015af