Function at 0x4f35f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5120b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], vtable.GameScript::CScript.0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
lea edi, [esi + 0xa0]
mov dword [ebp - 0x14], edi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [edi + 0x28], eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004e9a20
push 0x14
mov byte [ebp - 4], 4
mov dword [esi + 0x28], 0x4eab00
mov dword [esi + 0x2c], 0x4eac70
mov dword [esi + 0x30], 0x4eafc0
mov dword [esi + 0x34], 0x4eb0e0
mov dword [esi + 0x38], 0x4efcb0
mov dword [esi + 0x3c], 0x4eb200
mov dword [esi + 0x40], 0x4eead0
mov dword [esi + 0x44], 0x4f1ff0
mov dword [esi + 0x48], 0x4f2590
mov dword [esi + 0x4c], 0x4ef2b0
mov dword [esi + 0x50], 0x4f34e0
mov dword [esi + 0x94], 0x4ef930
mov dword [esi + 0x54], 0x4eb570
mov dword [esi + 0x58], 0x4f0530
mov dword [esi + 0x5c], 0x4eb680
mov dword [esi + 0x60], 0x4eb9b0
mov dword [esi + 0x64], 0x4ebb50
mov dword [esi + 0x68], 0x4f0920
mov dword [esi + 0x6c], 0x4f0c10
mov dword [esi + 0x70], 0x4ebcf0
mov dword [esi + 0x74], 0x4ebe30
mov dword [esi + 0x90], 0x4f0070
mov dword [esi + 0x78], 0x4f0df0
mov dword [esi + 0x7c], 0x4ebe70
mov dword [esi + 0x80], 0x4ec000
mov dword [esi + 0x84], 0x4ec2d0
mov dword [esi + 0x88], 0x4ec5a0
mov dword [esi + 0x8c], 0x4ec6c0
call fcn.004f4b27
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x4f3783
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
jmp 0x4f3785
xor edi, edi
push edi
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 4
call fcn.004e78e0
mov ecx, 0x5538e0
call fcn.00405720
mov eax, dword [0x552ae4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4f37ac
xor eax, eax
jmp 0x4f37c2
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4f37b8
mov edx, dword [edx + 0xc]
jmp 0x4f37ba
xor edx, edx
mov eax, dword [eax + 8]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4f37cd
xor edi, edi
jmp 0x4f37d0
mov edi, dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x4f37db
xor eax, eax
jmp 0x4f37f1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f37e7
mov ecx, dword [eax + 0xc]
jmp 0x4f37e9
xor ecx, ecx
mov eax, dword [esi + 0x10]
imul eax, ecx
add eax, edx
push edi
lea ecx, [eax + 8]
call fcn.0049b8e0
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4f3805
xor eax, eax
jmp 0x4f381b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f3811
mov edx, dword [eax + 0xc]
jmp 0x4f3813
xor edx, edx
mov eax, dword [esi + 0x10]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4f3826
xor edi, edi
jmp 0x4f3829
mov edi, dword [eax + 0x10]
mov edx, ecx
test edx, edx
jne 0x4f3833
xor eax, eax
jmp 0x4f3849
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f383f
mov ecx, dword [eax + 0xc]
jmp 0x4f3841
xor ecx, ecx
mov eax, dword [esi + 0x10]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 8]
test edx, edx
jne 0x4f3854
xor eax, eax
jmp 0x4f386a
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4f3860
mov ecx, dword [ecx + 0xc]
jmp 0x4f3862
xor ecx, ecx
mov eax, dword [eax + 0xc]
imul eax, ecx
add eax, edx
push edi
push 0
push eax
call fcn.004f55d0
mov eax, dword [esi + 0xc]
add esp, 0xc
test eax, eax
jne 0x4f3881
xor ecx, ecx
jmp 0x4f3897
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4f388d
mov edx, dword [ecx + 0xc]
jmp 0x4f388f
xor edx, edx
mov ecx, dword [esi + 0x10]
imul ecx, edx
add ecx, eax
call fcn.004e9f40
push 0xc
call fcn.004f4b27
add esp, 4
push eax
lea ecx, [esi + 0x18]
call fcn.004e7980
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret