Function at 0x100ce060
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a1003
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1c]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0x1c
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x38]
mov word [eax + 0x38], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x3a]
mov word [eax + 0x3a], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x44]
mov byte [eax + 0x44], dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4c]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp + 8]
add eax, 0x50
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
mov dx, word [eax]
mov word [ecx], dx
mov al, byte [eax + 2]
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
mov dword [eax + 0x54], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 0x14]
add eax, 0x70
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x70
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0x7c
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7c
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0x88
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x88
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
mov dword [eax + 0x94], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x98]
mov dword [eax + 0x98], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x9c]
mov dword [eax + 0x9c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa0]
mov dword [eax + 0xa0], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
mov dword [eax + 0xa4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
mov dword [eax + 0xa8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xac]
mov dword [eax + 0xac], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb0]
mov dword [eax + 0xb0], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb4]
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xb8]
mov dword [eax + 0xb8], edx
mov eax, dword [ebp - 0x14]
add eax, 0xbc
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0xbc
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc8]
mov dword [eax + 0xc8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xcc]
mov dword [eax + 0xcc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd0]
mov dword [eax + 0xd0], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd4]
mov dword [eax + 0xd4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xd8]
mov dword [eax + 0xd8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xdc]
mov dword [eax + 0xdc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe0]
mov dword [eax + 0xe0], edx
mov eax, dword [ebp - 0x14]
add eax, 0xe4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0xe4
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xf0
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0xf0
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
mov dword [eax + 0xfc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x100]
mov dword [eax + 0x100], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x104]
mov dword [eax + 0x104], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x108]
mov dword [eax + 0x108], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10c]
mov dword [eax + 0x10c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x110]
mov dword [eax + 0x110], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x114]
mov dword [eax + 0x114], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x118]
mov dword [eax + 0x118], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x11c]
mov dword [eax + 0x11c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x120]
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x14]
add eax, 0x124
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x124
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
add eax, 0x130
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x130
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
add eax, 0x13c
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x13c
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
add eax, 0x148
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x148
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xdc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4