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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c872
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor esi, esi
push 0xff
mov dword [ebp - 4], esi
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x10f]
push esi
mov dword [ebp - 0x124], esi
push ecx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x110], 0
call fcn.10037db0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x48]
push edx
mov edx, dword [edi + 0x3c]
push eax
mov eax, dword [edi + 0x38]
push ecx
mov ecx, dword [edi + 0x34]
push edx
mov edx, dword [edi + 0x30]
push eax
mov eax, dword [edi + 0x28]
push ecx
mov ecx, dword [edi + 0xc]
push edx
mov edx, dword [edi + 0x2c]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
lea edx, [ebp - 0x110]
push str._d_d_d_d_d_d_d_d_d_lu_d_d
push edx
call fcn.1003664d
mov dword [ebx + 0x10], esi
lea eax, [ebp - 0x110]
mov dword [ebx + 0x14], 0xf
add esp, 0x44
mov byte [ebx], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000bfd1
sub eax, esi
push eax
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
call fcn.100028f0
mov dword [ebp - 4], 0
push 2
mov eax, 0x10053a10
mov ecx, ebx
mov dword [ebp - 0x124], 1
call fcn.10002650
push 0
lea edx, [edi + 0x70]
mov esi, eax
push edx
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
mov esi, eax
mov eax, dword [ebp - 0x120]
push 0
push eax
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
push 0
lea ecx, [edi + 0xc4]
mov esi, eax
push ecx
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
push 0
lea edx, [edi + 0xe0]
mov esi, eax
push edx
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
mov esi, eax
push 0
lea eax, [edi + 0xfc]
push eax
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
push 0
lea ecx, [edi + 0x118]
mov esi, eax
push ecx
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
push 0
add edi, 0x134
mov esi, eax
push edi
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
mov edx, dword [ebp - 0x11c]
push 0
mov esi, eax
push edx
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
mov esi, eax
mov eax, dword [ebp - 0x114]
push 0
push eax
or eax, 0xffffffff
call fcn.10002560
mov ecx, eax
push 2
mov eax, 0x10053a14
call fcn.10002650
mov ecx, dword [ebp - 0x118]
push 0
mov esi, eax
push ecx
or eax, 0xffffffff
call fcn.10002560
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034caa
mov esp, ebp
pop ebp
ret