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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cba5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x56858c]
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 [0x5684f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5684f8
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.004a37d0
push 0x14
mov byte [ebp - 4], 4
mov dword [esi + 0x2c], 0x4a4950
mov dword [esi + 0x30], 0x4a4ac0
mov dword [esi + 0x34], 0x4a4e10
mov dword [esi + 0x38], 0x4a4f30
mov dword [esi + 0x3c], 0x4ab670
mov dword [esi + 0x40], 0x4a5050
mov dword [esi + 0x44], 0x4a95c0
mov dword [esi + 0x48], 0x4aa070
mov dword [esi + 0x4c], 0x4aa610
mov dword [esi + 0x50], 0x4a6ec0
mov dword [esi + 0x54], 0x4ab560
mov dword [esi + 0x98], 0x4a7540
mov dword [esi + 0x58], 0x4a53c0
mov dword [esi + 0x5c], 0x4abef0
mov dword [esi + 0x60], 0x4a54d0
mov dword [esi + 0x64], 0x4a5800
mov dword [esi + 0x68], 0x4a59a0
mov dword [esi + 0x6c], 0x4ac2e0
mov dword [esi + 0x70], 0x4ac5d0
mov dword [esi + 0x74], 0x4a5b40
mov dword [esi + 0x78], 0x4a5c80
mov dword [esi + 0x94], 0x4aba30
mov dword [esi + 0x7c], 0x4ac7b0
mov dword [esi + 0x80], 0x4a5cc0
mov dword [esi + 0x84], 0x4a5e50
mov dword [esi + 0x88], 0x4a6120
mov dword [esi + 0x8c], 0x4a63b0
mov dword [esi + 0x90], 0x4a64d0
mov dword [esi + 0x9c], method.GameScript::NullMessage.virtual_16
call fcn.00503a77
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x4ad3d0
mov eax, dword [0x5684f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5684f8
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 0x4ad3d2
xor edi, edi
push edi
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 4
call fcn.004a1690
mov ecx, 0x56a554
call fcn.00405790
mov eax, dword [0x5699e0]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4ad3f9
xor eax, eax
jmp 0x4ad40f
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4ad405
mov edx, dword [edx + 0xc]
jmp 0x4ad407
xor edx, edx
mov eax, dword [eax + 8]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4ad41a
xor edi, edi
jmp 0x4ad41d
mov edi, dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x4ad428
xor eax, eax
jmp 0x4ad43e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ad434
mov ecx, dword [eax + 0xc]
jmp 0x4ad436
xor ecx, ecx
mov eax, dword [esi + 0x10]
imul eax, ecx
add eax, edx
push edi
lea ecx, [eax + 8]
call fcn.004a15b0
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4ad452
xor eax, eax
jmp 0x4ad468
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ad45e
mov edx, dword [eax + 0xc]
jmp 0x4ad460
xor edx, edx
mov eax, dword [esi + 0x10]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4ad473
xor edi, edi
jmp 0x4ad476
mov edi, dword [eax + 0x10]
mov edx, ecx
test edx, edx
jne 0x4ad480
xor eax, eax
jmp 0x4ad496
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ad48c
mov ecx, dword [eax + 0xc]
jmp 0x4ad48e
xor ecx, ecx
mov eax, dword [esi + 0x10]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 8]
test edx, edx
jne 0x4ad4a1
xor eax, eax
jmp 0x4ad4b7
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ad4ad
mov ecx, dword [ecx + 0xc]
jmp 0x4ad4af
xor ecx, ecx
mov eax, dword [eax + 0xc]
imul eax, ecx
add eax, edx
push edi
push 0
push eax
call fcn.00504520
mov eax, dword [esi + 0xc]
add esp, 0xc
test eax, eax
jne 0x4ad4ce
xor ecx, ecx
jmp 0x4ad4e4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4ad4da
mov edx, dword [ecx + 0xc]
jmp 0x4ad4dc
xor edx, edx
mov ecx, dword [esi + 0x10]
imul ecx, edx
add ecx, eax
call fcn.004a3c80
push 0xc
call fcn.00503a77
add esp, 4
push eax
lea ecx, [esi + 0x18]
call fcn.004a1730
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