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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e06f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5873b0]
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.0047fc70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
call fcn.0047fc70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0x9c
call fcn.004de6e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], 0x4d4a50
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x2c], 0x4d6ac0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], 0x4d6d90
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x34], 0x4d6e80
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x38], 0x4d6f70
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x3c], 0x4d7620
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x40], 0x4d4b70
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x44], 0x4d52f0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x48], 0x4d5730
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x4c], 0x4d6050
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x50], 0x4d66f0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x94], 0x4d67d0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x54], 0x4d7830
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x58], 0x4d7910
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x5c], 0x4d7d30
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x60], 0x4d8000
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x64], 0x4d8140
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x68], 0x4d8280
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6c], 0x4d85b0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x70], 0x4d8770
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x74], 0x4d8870
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x90], 0x4d71c0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x78], 0x4d9f70
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x7c], 0x4d88a0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x80], 0x4d89b0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x84], 0x4d8b60
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x88], 0x4d8c90
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x8c], 0x4d8d00
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x98], 0x4d8df0
push 0x14
call fcn.00510fda
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0
je 0x4d40bf
mov ecx, dword [ebp - 0x14]
call fcn.004d8e00
mov dword [ebp - 0x20], eax
jmp 0x4d40c6
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.004db2d0
call fcn.00418c10
add eax, 4
mov ecx, eax
call fcn.00424320
add eax, 0x10
mov ecx, eax
call fcn.00428f50
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004cc8e0
add eax, 8
mov ecx, eax
call fcn.004db0e0
mov ecx, dword [ebp - 0x1c]
call fcn.004cc8e0
add eax, 8
mov ecx, eax
call fcn.00428f50
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.004cc8e0
add eax, 8
mov ecx, eax
call fcn.00455450
push eax
call fcn.005114e0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
call fcn.004cc8e0
mov ecx, eax
call fcn.004dfae0
push 0xc
call fcn.00510fda
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.004db300
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