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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff718
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x8e8], edx
mov dword [ebp - 0x8e0], edx
mov dword [ebp - 0x8e4], edx
mov dword [ebp - 0x8d8], edx
mov dword [ebp - 0x8dc], edx
mov dword [ebp - 0x8d0], edx
mov dword [ebp - 0x8d4], edx
mov dword [ebp - 4], edx
mov ebx, eax
lea esi, [ebp - 0xcc]
xor eax, eax
push ebp
push 0x4c3478
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0xc8
call fcn.0040780c
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
lea eax, [ebp - 0x8cc]
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.004c057c
add eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x1c], eax
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 eax, dword [ebx + 0x28]
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x8d4]
mov edx, dword [ebx + 0x2c]
call fcn.00404a08
mov edx, dword [ebp - 0x8d4]
lea eax, [ebp - 0x8d0]
call fcn.0040441c
mov eax, dword [ebp - 0x8d0]
call fcn.00404654
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x50], eax
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x58], eax
mov eax, dword [ebx + 0x58]
mov dword [esi + 0x5c], eax
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 eax, dword [ebx + 0x68]
mov dword [esi + 0x6c], eax
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 eax, dword [ebx + 0x7c]
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0x80]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0x84]
mov dword [esi + 0x88], eax
mov eax, dword [ebx + 0x88]
mov dword [esi + 0x8c], eax
mov eax, dword [ebx + 0x8c]
mov dword [esi + 0x90], eax
mov eax, dword [ebx + 0x90]
mov dword [esi + 0x94], eax
mov eax, dword [ebx + 0x94]
mov dword [esi + 0x98], eax
mov eax, dword [ebx + 0x98]
mov dword [esi + 0x9c], eax
mov eax, dword [ebx + 0x9c]
mov dword [esi + 0xa0], eax
mov eax, dword [ebx + 0xa0]
mov dword [esi + 0xa4], eax
mov eax, dword [ebx + 0xa4]
mov dword [esi + 0xa8], eax
mov eax, dword [ebx + 0xa8]
mov dword [esi + 0xac], eax
mov eax, dword [ebx + 0xac]
mov dword [esi + 0xb0], eax
mov eax, dword [ebx + 0xb0]
mov dword [esi + 0xb4], eax
mov eax, dword [ebx + 0xb4]
mov dword [esi + 0xb8], eax
mov eax, dword [ebx + 0xb8]
mov dword [esi + 0xbc], eax
lea eax, [ebp - 0x8dc]
mov edx, dword [ebx + 0xbc]
call fcn.00404a08
mov edx, dword [ebp - 0x8dc]
lea eax, [ebp - 0x8d8]
call fcn.0040441c
mov eax, dword [ebp - 0x8d8]
call fcn.00404654
mov dword [esi + 0xc0], eax
lea eax, [ebp - 0x8e4]
mov edx, dword [ebx + 0xc0]
call fcn.00404a08
mov edx, dword [ebp - 0x8e4]
lea eax, [ebp - 0x8e0]
call fcn.0040441c
mov eax, dword [ebp - 0x8e0]
call fcn.00404654
mov dword [esi + 0xc4], eax
mov eax, esi
call fcn.004c2688
mov esi, eax
lea eax, [ebp - 0x8e8]
lea edx, [ebp - 0x8cc]
mov ecx, 0x800
call fcn.00404404
mov edx, dword [ebp - 0x8e8]
lea eax, [ebp - 4]
call fcn.00404a78
mov eax, dword [ebp - 4]
call fcn.00404b04
mov edx, eax
add edx, edx
add edx, 2
mov eax, dword [ebx + 0xc]
call fcn.0040780c
mov eax, dword [ebp - 4]
call fcn.00404b04
mov ecx, eax
add ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00407804
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c347f
lea eax, [ebp - 0x8e8]
call fcn.00404184
lea eax, [ebp - 0x8e4]
call fcn.004048a0
lea eax, [ebp - 0x8e0]
call fcn.00404184
lea eax, [ebp - 0x8dc]
call fcn.004048a0
lea eax, [ebp - 0x8d8]
call fcn.00404184
lea eax, [ebp - 0x8d4]
call fcn.004048a0
lea eax, [ebp - 0x8d0]
call fcn.00404184
lea eax, [ebp - 4]
call fcn.004048a0
ret