Function at 0xd91491
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
xor ebx, ebx
xor eax, eax
push ebx
mov byte [ebp - 8], bl
lea edi, [ebp - 7]
stosb byte es:[edi], al
push 2
lea eax, [ebp - 8]
push eax
push 0x23
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], 0x103
mov dword [ebp - 0x10], ebx
call dword [0xd91150]
cmp byte [ebp - 8], bl
je 0xd99537
mov byte [ebp - 1], 1
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push 0xd91530
push 0x80000002
call dword [fcn.00d911d0]
push 4
mov dword [ebp - 8], eax
pop edi
cmp eax, ebx
je 0xd9954e
cmp byte [ebp + 8], bl
jne 0xd9589b
cmp dword [0xda56ac], ebx
jne 0xd95a73
cmp byte [ebp - 2], bl
jne 0xd99584
lea eax, [ebp - 0x14]
push eax
call fcn.00d91587
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret 8
cmp dword [0xda56ac], ebx
jne 0xd95a73
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jne 0xd95a6e
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0xd95a6e
cmp byte [ebp - 1], bl
je 0xd9151e
mov dword [0xda5108], edi
mov byte [ebp + 0xb], bl
push esi
mov ebx, str.umstartup
call fcn.00d93b51
xor esi, esi
cmp dword [0xda5140], esi
jne 0xd958f7
cmp dword [0xda5144], esi
jne 0xd958f7
mov dword [0xda5140], eax
mov dword [0xda5144], edx
lea eax, [ebp - 0x1c]
push eax
push 0xe
push str.umstartup.etl
call fcn.00d95a81
test eax, eax
jl 0xd95a68
lea eax, [ebp - 0x10]
push eax
push 0xa
push ebx
call fcn.00d95a81
test eax, eax
jl 0xd95a68
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
lea edi, [eax + ebx]
lea edi, [edi + edi + 0x7c]
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00d93bb8
mov dword [ebp - 8], eax
cmp eax, esi
jne 0xd95a68
push 0x78
push esi
mov esi, dword [ebp - 0x14]
push esi
call fcn.00d917f5
mov dword [esi], edi
lea edi, [ebx + ebx + 0x7a]
add esp, 0xc
mov dword [esi + 0x2c], 0x20000
mov dword [esi + 0x28], 2
mov dword [esi + 0x6c], 0x78
mov dword [esi + 0x70], edi
mov dword [esi + 0x30], 3
mov dword [esi + 0x34], 0xa
mov dword [esi + 0x40], 0x10000002
cmp dword [0xda5140], 0
jne 0xd959b7
cmp dword [0xda5144], 0
jne 0xd959b7
push str.umstartup.etl
inc ebx
push ebx
lea eax, [esi + 0x78]
push eax
mov dword [esi + 0x3c], 5
mov dword [esi + 0x6c], 0x78
call fcn.00d91845
mov eax, dword [ebp - 0x10]
mov ebx, str.umstartup
push ebx
inc eax
mov dword [esi + 0x70], edi
push eax
add edi, esi
push edi
call fcn.00d91845
cmp byte [ebp + 0xb], 0
jne 0xd99598
mov eax, dword [0xda5140]
mov ecx, dword [0xda5144]
test eax, eax
jne 0xd995b5
test ecx, ecx
jne 0xd995b5
push 1
push str.umstartup000.etl
push str.umstartup.etl
call dword [0xd91330]
push esi
push ebx
push 0xda5140
call dword [0xda5064]
mov eax, dword [0xda5140]
mov ecx, dword [0xda5144]
mov edx, eax
or edx, ecx
je 0xd995c6
mov esi, dword [0xda505c]
push ecx
push eax
push 0xda5220
push dword [0xda5108]
push dword [0xda56e0]
push 1
call esi
push dword [0xda5144]
push dword [0xda5140]
push 0xda5230
push dword [0xda5108]
push dword [0xda56e0]
push 1
call esi
and dword [ebp - 8], 0
pop esi
jmp 0xd9151e
mov dword [0xda5108], eax
mov byte [ebp + 0xb], 1
jmp 0xd958cf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp byte [eax + 2], bl
jne 0xd914d4
jmp 0xd914d8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push 0xd995d4
push dword [ebp - 0x18]
mov dword [ebp - 0x20], edi
call dword [fcn.00d911c8]
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
call dword [fcn.00d911d4]
cmp dword [ebp - 8], ebx
sete byte [ebp - 2]
jmp 0xd91500
mov eax, dword [ebp - 0xc]
cmp eax, dword [0xda5108]
jne 0xd95a6e
jmp 0xd9151e
cmp byte [ebp - 1], 0
je 0xd959d7
or dword [esi + 0x40], 0x80000
mov dword [esi + 0x44], 5
jmp 0xd959d7
push 2
push esi
push ebx
push ecx
push eax
call dword [0xda5060]
jmp 0xd95a11
mov dword [ebp - 8], 0xd
jmp 0xd95a68