Function at 0x46c54c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x63287f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
push str.global
lea ecx, [esp + 0x18]
call fcn.00493e85
xor ebx, ebx
push ebx
push str.Havok
lea eax, [esp + 0x1c]
push 0x95e990
push eax
mov dword [esp + 0xdc], ebx
call fcn.00401d47
mov ecx, eax
call fcn.00469716
mov ecx, eax
call fcn.00468d0b
or dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402a58
mov dword [0x6a80f0], 0x46b95c
mov dword [0x6a80f4], 0x46b98e
call dword [0x6a81a4]
push str.HavokEngine::Init_hkBaseSystem::init_ok_n
call fcn.00401000
pop ecx
mov ecx, dword [0x9617f0]
mov eax, dword [ecx]
push 0x13
push 0x20
call dword [eax + 0x10]
mov edi, eax
mov ecx, edi
mov word [edi + 4], 0x20
call fcn.0046bd39
push edi
mov dword [edi], vtable.HavokError.0
call fcn.0046bb9d
mov dword [esp], 0x64d8b0
call fcn.00401000
mov ecx, dword [0x961820]
mov eax, esp
mov dword [esp + 0x14], esp
mov byte [eax], bl
mov eax, dword [ecx]
push 0x20c0f7ea
call dword [eax + 0x10]
lea ecx, [esp + 0x30]
call fcn.0053c3b0
fldz
fstp dword [esp + 0x30]
push ecx
fldz
lea ecx, [esp + 0x34]
fstp dword [esp + 0x3c]
mov dword [esp + 0x38], 0xc11ccccd
fldz
fstp dword [esp + 0x40]
fld dword [0x64d8ac]
fstp dword [esp]
call fcn.0046b9d6
xor edi, edi
inc edi
push edi
lea ecx, [esp + 0x34]
call fcn.0046ba05
mov ecx, dword [0x9617f0]
push 0x2a
mov dword [esp + 0x94], 0x3dcccccd
mov byte [esp + 0x98], 1
mov eax, dword [ecx]
push 0x260
call dword [eax + 0x10]
mov word [eax + 4], 0x260
mov dword [esp + 0x10], eax
mov dword [esp + 0xcc], edi
push 0x4f4c
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.0053a1a0
or dword [esp + 0xcc], 0xffffffff
push ecx
mov dword [esi + 0x10], eax
mov eax, esp
mov byte [eax], bl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], esp
call fcn.00536f50
push dword [esi + 0x10]
call fcn.004e3c20
mov dword [esp], str.HavokEngine::Init_create_world_ok_n
call fcn.00401000
call fcn.0040617e
mov eax, dword [eax + 0x10]
push dword [eax + 0xc8]
call fcn.004fc710
mov eax, dword [esi + 0x10]
push dword [eax + 0xc8]
call fcn.004e3290
push str.HavokEngine::Init_register_all_agents_ok_n
call fcn.00401000
mov ecx, dword [0x9617f0]
mov eax, dword [ecx]
add esp, 0x10
push 0x22
push 0x9c
call dword [eax + 0x10]
mov word [eax + 4], 0x9c
mov dword [esp + 0x10], eax
mov ecx, eax
mov dword [esp + 0xcc], 2
call fcn.004fc640
or dword [esp + 0xcc], 0xffffffff
push eax
mov dword [esi + 0x14], eax
call fcn.0046b8dc
pop ecx
mov ecx, dword [esi + 0x14]
push 7
pop edi
push edi
push edi
call fcn.004fc3f0
mov ecx, dword [esi + 0x14]
push edi
push 3
call fcn.004fc3f0
mov ecx, dword [esi + 0x14]
push edi
push 6
call fcn.004fc3f0
push ecx
mov eax, esp
mov byte [eax], bl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], esp
push dword [esi + 0x14]
call fcn.0053a840
push str.HavokEngine::Init_create_group_filter_ok_n
call fcn.00401000
fldz
fstp dword [esi + 8]
mov byte [esi + 4], 1
fldz
mov dword [esp], str.HavokEngine::Init_done_n
fstp dword [esi + 0xc]
call fcn.00401000
pop ecx
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret