Function at 0x4ce270
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526dff
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x57e9a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [eax], vtable.GameScript::CScript.0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.004bacb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.004bacb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.004d8940
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], 0x4cedc0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x2c], 0x4d0e30
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], 0x4d1100
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x34], 0x4d11f0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x38], 0x4d12e0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x3c], 0x4d1990
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x40], 0x4ceee0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x44], 0x4cf660
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x48], 0x4cfaa0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x4c], 0x4d03c0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x50], 0x4d0a60
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x94], 0x4d0b40
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x54], 0x4d1ba0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x58], 0x4d1c80
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x5c], 0x4d20a0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x60], 0x4d2370
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], 0x4d24b0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x68], 0x4d25f0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6c], 0x4d2920
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x70], 0x4d2ae0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x74], 0x4d2be0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x90], 0x4d1530
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x78], 0x4d4300
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x7c], 0x4d2c10
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x80], 0x4d2d20
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x84], 0x4d2ed0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x88], 0x4d3000
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x8c], 0x4d3070
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x98], 0x4d3160
push 0x14
call fcn.0050a010
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0
je 0x4ce42f
mov ecx, dword [ebp - 0x14]
call fcn.004d3170
mov dword [ebp - 0x20], eax
jmp 0x4ce436
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.004d5540
call fcn.00415030
add eax, 4
mov ecx, eax
call fcn.0041da00
add eax, 0x10
mov ecx, eax
call fcn.0041d760
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004bbc30
add eax, 8
mov ecx, eax
call fcn.004d5470
mov ecx, dword [ebp - 0x1c]
call fcn.004bbc30
add eax, 8
mov ecx, eax
call fcn.0041d760
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.004bbc30
add eax, 8
mov ecx, eax
call fcn.004853d0
push eax
call fcn.0050a520
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
call fcn.004bbc30
mov ecx, eax
call fcn.004d9d70
push 0xc
call fcn.0050a010
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.004d5570
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret