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

Disassembly:
mov eax, 0x460978
call fcn.0043c274
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [ebp + 8]
push edi
push 1
and byte [esi], 0
and byte [esi + 1], 0
and byte [esi + 2], 0
and byte [esi + 3], 0
and byte [esi + 4], 0
and byte [esi + 5], 0
and byte [esi + 6], 0
and byte [esi + 7], 0
and byte [esi + 8], 0
and byte [esi + 9], 0
and byte [esi + 0xa], 0
and byte [esi + 0xb], 0
and byte [esi + 0xc], 0
and byte [esi + 0xd], 0
and byte [esi + 0xe], 0
and byte [esi + 0xf], 0
and byte [esi + 0x10], 0
and byte [esi + 0x11], 0
and byte [esi + 0x12], 0
and byte [esi + 0x13], 0
and byte [esi + 0x14], 0
and byte [esi + 0x15], 0
and byte [esi + 0x16], 0
and byte [esi + 0x17], 0
and byte [esi + 0x18], 0
and byte [esi + 0x19], 0
and byte [esi + 0x1a], 0
and byte [esi + 0x1b], 0
and byte [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov al, byte [ebp + 0xb]
xor edi, edi
pop ebx
mov dword [esi + 0x24], 5
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebx
mov dword [ebp - 0x14], esi
mov byte [esi + 0x30], al
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov al, byte [ebp + 0xb]
or dword [esi + 0x44], 0xffffffff
or word [esi + 0x4e], 0xffff
lea ecx, [esi + 0x50]
mov dword [esi + 0x40], edi
mov word [esi + 0x48], di
mov word [esi + 0x4a], di
mov word [esi + 0x4c], di
and byte [ecx + 8], 0
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov dword [ebp - 4], edi
mov byte [ecx + 1], al
call fcn.0041b2e3
mov al, byte [ebp + 0xb]
and byte [esi + 0x68], 0
lea ecx, [esi + 0x60]
mov byte [ebp - 4], bl
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
call fcn.0041b2e3
mov al, byte [ebp + 0xb]
and byte [esi + 0x78], 0
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
call fcn.0041b2e3
and byte [esi + 0x80], 0
push ebx
mov byte [ebp - 4], 3
call fcn.0043c844
and byte [esi + 0x8c], 0
pop ecx
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
lea ecx, [esi + 0x94]
lea eax, [ebp + 0xb]
mov ebx, 0x467594
mov edi, 0x46758c
push 0
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0xbc]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0xe4]
lea eax, [ebp + 0xb]
push 0
push eax
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x10c]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 6
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x134]
lea eax, [ebp + 0xb]
push 0
push eax
mov byte [ebp - 4], 7
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x15c]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 8
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x184]
lea eax, [ebp + 0xb]
push 0
push eax
mov byte [ebp - 4], 9
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x1ac]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 0xa
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x1d4]
lea eax, [ebp + 0xb]
push 0
push eax
mov byte [ebp - 4], 0xb
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x1fc]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 0xc
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x224]
lea eax, [ebp + 0xb]
push 0
push eax
mov byte [ebp - 4], 0xd
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x24c]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 0xe
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x274]
lea eax, [ebp + 0xb]
push 0
push eax
mov byte [ebp - 4], 0xf
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x29c]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 0x10
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x2c4]
lea eax, [ebp + 0xb]
push 0
push eax
mov byte [ebp - 4], 0x11
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x2ec]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 0x12
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea eax, [esi + 0x88]
mov byte [ebp - 4], 0x13
push eax
call fcn.00459580
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4