Function at 0x74a676ae
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x74ad0110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x74ad0774]
push ebx
push esi
push edi
mov dword [ebp - 0x224], eax
lea edi, [ebp - 0x240]
push 6
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
jne 0x74a67736
push 0x74aa58c8
push dword [0x74ad076c]
push dword [0x74ad0768]
call dword [0x74aa184c]
test al, al
jne 0x74a67736
xor ebx, ebx
mov dword [0x74ad075c], ebx
mov edi, dword [ebp - 0x22c]
test edi, edi
je 0x74a67725
push edi
push ebx
push dword [ebp - 0x240]
call dword [0x74aa0f28]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x74aace3f
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
mov dword [0x74ad075c], 1
push eax
lea eax, [ebp - 0x21c]
mov esi, 0x104
push eax
mov dword [ebp - 0x21c], esi
call dword [0x74aa09f0]
xor ebx, ebx
test eax, eax
js 0x74a6776e
cmp word [ebp - 0x210], bx
jne 0x74a67787
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x21c], esi
push eax
push ebx
call dword [0x74aa0ff4]
test eax, eax
je 0x74a6770d
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], ebx
push eax
push ebx
push ebx
push 8
lea eax, [ebp - 0x210]
push eax
push 0x74aa5808
push 0x80000001
call dword [0x74aa14a4]
test eax, eax
jne 0x74a6770d
mov esi, dword [ebp - 0x214]
test esi, esi
je 0x74a6770d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x74a677d8
call dword [0x74aa0f58]
mov dword [ebp - 0x240], eax
mov edi, ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], edi
test esi, esi
je 0x74a6785d
lea ecx, [esi + 0x3ff]
cmp ecx, esi
jb 0x74a677fe
mov eax, ecx
jmp 0x74a67801
or eax, 0xffffffff
cmp ecx, esi
jae 0x74a6780c
mov edx, 0x8000000b
jmp 0x74a67842
and eax, 0xfffffc00
push eax
push ebx
push dword [ebp - 0x240]
mov dword [ebp - 0x218], eax
call dword [0x74aa0f24]
mov edi, eax
test edi, edi
je 0x74a6783d
push dword [ebp - 0x218]
push ebx
push edi
call 0x74aae9c8
add esp, 0xc
jmp 0x74a6785d
mov edx, 0x8007000e
push 6
xor eax, eax
lea edi, [ebp - 0x240]
pop ecx
rep stosd dword es:[edi], eax
test edx, edx
js 0x74a6770d
mov edi, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
push edi
push ebx
push 8
lea eax, [ebp - 0x210]
push eax
push 0x74aa5808
push 0x80000001
call dword [0x74aa14a4]
test eax, eax
jne 0x74a67713
mov ecx, dword [ebp - 0x218]
cmp dword [ebp - 0x214], ecx
jne 0x74a67713
mov eax, dword [ebp - 0x230]
cmp eax, ecx
ja 0x74a67713
lea esi, [eax + 4]
cmp esi, eax
jb 0x74a678be
mov edx, esi
jmp 0x74a678c1
or edx, 0xffffffff
cmp esi, eax
jb 0x74a67713
cmp edx, ecx
ja 0x74a67713
cmp esi, eax
jb 0x74a67713
cmp dword [eax + edi], 0x736b7271
jne 0x74a67713
jmp 0x74a67993
lea eax, [esi + 4]
cmp eax, esi
jb 0x74a678f6
mov edx, eax
jmp 0x74a678f9
or edx, 0xffffffff
cmp eax, esi
jb 0x74a67713
cmp edx, ecx
ja 0x74a67713
mov edx, dword [esi + edi]
mov dword [ebp - 0x220], edx
cmp eax, esi
jb 0x74a67713
cmp eax, ecx
ja 0x74a67713
lea esi, [eax + 4]
cmp esi, eax
jb 0x74a6792d
mov edx, esi
jmp 0x74a67930
or edx, 0xffffffff
cmp esi, eax
jb 0x74a67713
cmp edx, ecx
ja 0x74a67713
mov ecx, dword [eax + edi]
mov dword [ebp - 0x228], ecx
cmp esi, eax
jb 0x74a67713
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
call fcn.74a68a8c
test eax, eax
je 0x74a67713
and dword [eax + 0x228], 0xfffffffc
mov ecx, dword [eax + 0x228]
cmp dword [ebp - 0x228], ebx
je 0x74a67984
or ecx, 1
jmp 0x74a67987
or ecx, 2
mov dword [eax + 0x228], ecx
mov ecx, dword [ebp - 0x218]
cmp esi, ecx
jb 0x74a678eb
jmp 0x74a67713