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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512795
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x573054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x48]
mov word [edi], 0x101
push 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0
mov dword [ebp - 0x18], esi
push 0
mov dword [ebp - 0x14], edi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f1b0
mov dword [esi], eax
mov dword [ebp - 4], 0
lea esi, [edi + 0x50]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f1b0
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [edi + 0x58]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f180
mov dword [esi], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x60]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f150
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x68]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f150
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x70]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040f120
mov dword [esi], eax
lea esi, [edi + 0x78]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00405df0
mov dword [esi], eax
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 6
push 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x535498
mov byte [ecx], 0
call fcn.0040bd90
mov dword [ebp - 4], 7
lea ecx, [edi + 0xc8]
mov word [edi + 0x98], 0x101
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
call fcn.0040ca20
mov byte [ebp - 4], 8
lea esi, [edi + 0x118]
mov dword [ebp - 0x18], esi
lea ecx, [esi + 8]
xor eax, eax
mov dword [esi], 0
mov dword [esi + 4], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x530ed0
mov word [ecx], ax
call fcn.004033d0
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 9
push 4
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x535868
mov word [ecx], ax
call fcn.004033d0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x3c]
xor eax, eax
mov dword [esi + 0x38], 0x1e
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x530ed0
mov word [ecx], ax
call fcn.004033d0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x178]
xor eax, eax
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [ebp - 0x18], ecx
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x530ed0
mov word [ecx], ax
call fcn.004033d0
lea ecx, [edi + 0x190]
mov byte [ebp - 4], 0xc
call fcn.0040c770
mov dword [edi + 0x330], 0xffffffff
mov dword [edi + 0x334], 0xffffffff
mov dword [edi + 0x338], 0xffffffff
mov eax, edi
mov dword [edi + 0x33c], 0xffffffff
mov dword [edi + 0x340], 0xffffffff
mov dword [edi + 0x344], 0xffffffff
mov dword [edi + 0x348], 0
mov dword [edi + 0x34c], 0xffffffff
mov dword [edi + 0x350], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret