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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff748
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x8b8], edx
mov dword [ebp - 0x8b0], edx
mov dword [ebp - 0x8b4], edx
mov dword [ebp - 0x8a8], edx
mov dword [ebp - 0x8ac], edx
mov dword [ebp - 0x8a0], edx
mov dword [ebp - 0x8a4], edx
mov dword [ebp - 4], edx
mov ebx, eax
lea esi, [ebp - 0x9c]
xor eax, eax
push ebp
push 0x4be823
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov al, byte [ebx + 8]
mov byte [esi + 8], al
lea eax, [ebp - 0x89c]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov edi, dword [ebx + 0x14]
mov dword [esi + 0x14], edi
mov eax, edi
call fcn.004bb978
add eax, eax
mov dword [esi + 0x18], eax
mov al, byte [ebx + 0x18]
mov byte [esi + 0x1c], al
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x28], eax
mov al, byte [ebx + 0x28]
mov byte [esi + 0x2c], al
lea eax, [ebp - 0x8a4]
mov edx, dword [ebx + 0x2c]
call fcn.00404dd8
mov edx, dword [ebp - 0x8a4]
lea eax, [ebp - 0x8a0]
call fcn.004047ec
mov eax, dword [ebp - 0x8a0]
call fcn.00404a24
mov dword [esi + 0x30], eax
mov al, byte [ebx + 0x30]
mov byte [esi + 0x34], al
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x38], eax
mov al, byte [ebx + 0x38]
mov byte [esi + 0x3c], al
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x40], eax
mov al, byte [ebx + 0x40]
mov byte [esi + 0x44], al
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x48], eax
mov al, byte [ebx + 0x48]
mov byte [esi + 0x4c], al
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x50], eax
mov al, byte [ebx + 0x50]
mov byte [esi + 0x54], al
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x58], eax
mov al, byte [ebx + 0x58]
mov byte [esi + 0x5c], al
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x64]
mov dword [esi + 0x68], eax
mov al, byte [ebx + 0x68]
mov byte [esi + 0x6c], al
mov eax, dword [ebx + 0x6c]
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0x70]
mov dword [esi + 0x74], eax
mov eax, dword [ebx + 0x74]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x78]
mov dword [esi + 0x7c], eax
mov al, byte [ebx + 0x7c]
mov byte [esi + 0x80], al
mov al, byte [ebx + 0x7d]
mov byte [esi + 0x81], al
mov al, byte [ebx + 0x7e]
mov byte [esi + 0x82], al
mov al, byte [ebx + 0x7f]
mov byte [esi + 0x83], al
mov al, byte [ebx + 0x80]
mov byte [esi + 0x84], al
mov al, byte [ebx + 0x81]
mov byte [esi + 0x85], al
mov al, byte [ebx + 0x82]
mov byte [esi + 0x86], al
mov al, byte [ebx + 0x83]
mov byte [esi + 0x87], al
mov al, byte [ebx + 0x84]
mov byte [esi + 0x88], al
mov al, byte [ebx + 0x85]
mov byte [esi + 0x89], al
mov al, byte [ebx + 0x86]
mov byte [esi + 0x8a], al
mov al, byte [ebx + 0x87]
mov byte [esi + 0x8b], al
mov al, byte [ebx + 0x88]
mov byte [esi + 0x8c], al
mov al, byte [ebx + 0x89]
mov byte [esi + 0x8d], al
mov al, byte [ebx + 0x8a]
mov byte [esi + 0x8e], al
mov al, byte [ebx + 0x8b]
mov byte [esi + 0x8f], al
lea eax, [ebp - 0x8ac]
mov edx, dword [ebx + 0x8c]
call fcn.00404dd8
mov edx, dword [ebp - 0x8ac]
lea eax, [ebp - 0x8a8]
call fcn.004047ec
mov eax, dword [ebp - 0x8a8]
call fcn.00404a24
mov dword [esi + 0x90], eax
lea eax, [ebp - 0x8b4]
mov edx, dword [ebx + 0x90]
call fcn.00404dd8
mov edx, dword [ebp - 0x8b4]
lea eax, [ebp - 0x8b0]
call fcn.004047ec
mov eax, dword [ebp - 0x8b0]
call fcn.00404a24
mov dword [esi + 0x94], eax
mov eax, esi
call fcn.004bda68
mov esi, eax
lea eax, [ebp - 0x8b8]
lea edx, [ebp - 0x89c]
mov ecx, 0x800
call fcn.004047d4
mov edx, dword [ebp - 0x8b8]
lea eax, [ebp - 4]
call fcn.00404e48
mov eax, dword [ebp - 4]
call fcn.00404ed4
mov edx, eax
add edx, edx
add edx, 2
mov eax, dword [ebx + 0xc]
call fcn.00407c84
mov eax, dword [ebp - 4]
call fcn.00404ed4
mov ecx, eax
add ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00407c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be82a
lea eax, [ebp - 0x8b8]
call fcn.00404554
lea eax, [ebp - 0x8b4]
call fcn.00404c70
lea eax, [ebp - 0x8b0]
call fcn.00404554
lea eax, [ebp - 0x8ac]
call fcn.00404c70
lea eax, [ebp - 0x8a8]
call fcn.00404554
lea eax, [ebp - 0x8a4]
call fcn.00404c70
lea eax, [ebp - 0x8a0]
call fcn.00404554
lea eax, [ebp - 4]
call fcn.00404c70
ret