Function at 0x604fa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6cb8b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00636090
mov eax, dword [esp + 0xe8]
push str.Z_all_A_3D
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xe8], ebx
call fcn.00635c40
test al, al
lea ecx, [esp + 0x10]
jne 0x605006
mov dword [esp + 0xe0], 0xffffffff
call fcn.00635d20
xor al, al
jmp 0x6058be
call fcn.00636660
push eax
push str.SKELETON_KEY_DATA
call fcn.006a481c
add esp, 8
test eax, eax
je 0x605038
lea ecx, [esp + 0x10]
mov dword [esp + 0xe0], 0xffffffff
call fcn.00635d20
xor al, al
jmp 0x6058be
cmp dword [esi + 0x18], ebx
push edi
je 0x605068
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, ebx
jle 0x605068
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + edi*4]
cmp eax, ebx
je 0x605060
push eax
call fcn.00693d31
mov edx, dword [esi + 0x18]
add esp, 4
mov dword [edx + edi*4], ebx
mov eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x605047
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x60507b
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x60508e
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x6050a1
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x6050b4
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x6050c7
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0x1c], ebx
lea ecx, [esp + 0x14]
call fcn.00636660
mov edi, eax
cmp edi, ebx
je 0x60589e
push ebp
jmp 0x6050e0
push edi
push str.skeletoncount
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x60510e
lea ecx, [esp + 0x18]
call fcn.00636660
push ebx
push ebx
push eax
call fcn.00697933
add esp, 0xc
mov dword [esi + 4], eax
jmp 0x60588a
push edi
push str.skeleton
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605261
mov eax, dword [esi + 4]
shl eax, 2
push eax
call fcn.0069197a
mov ecx, dword [esi + 4]
shl ecx, 2
push ecx
mov dword [esi + 0xc], eax
call fcn.0069197a
mov edx, dword [esi + 4]
shl edx, 2
push edx
mov dword [esi + 0x10], eax
call fcn.0069197a
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
shl eax, 2
push eax
call fcn.0069197a
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esi + 0x18], eax
call fcn.00636660
mov edi, eax
push 0x6ef640
push edi
call fcn.006a481c
add esp, 8
test eax, eax
je 0x60588a
push ebx
push ebx
push edi
call fcn.00697933
mov edi, eax
mov eax, dword [esi + 4]
add esp, 0xc
cmp edi, eax
jl 0x6051b1
mov edi, 4
lea ecx, [ecx]
lea ecx, [esp + 0x18]
call fcn.00636660
dec edi
jne 0x6051a0
jmp 0x60523b
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.00636660
push eax
call fcn.00697933
mov ecx, dword [esi + 0xc]
add esp, 0xc
push ebx
mov dword [ecx + edi*4], eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00636660
push eax
call fcn.00697933
mov edx, dword [esi + 0x10]
add esp, 0xc
push ebx
push ebx
lea ecx, [esp + 0x20]
mov dword [edx + edi*4], eax
call fcn.00636660
push eax
call fcn.00697933
mov ecx, dword [esi + 0x14]
mov dword [ecx + edi*4], eax
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00636660
mov ebp, eax
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x605210
sub eax, edx
inc eax
push eax
call fcn.0069197a
mov edx, dword [esi + 0x18]
mov dword [edx + edi*4], eax
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx + edi*4]
add esp, 4
mov eax, ebp
mov cl, byte [eax]
inc eax
mov byte [edi], cl
inc edi
cmp cl, bl
jne 0x605231
lea ecx, [esp + 0x18]
call fcn.00636660
mov edi, eax
push 0x6ef640
push edi
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605184
jmp 0x60588a
push edi
push str.aniholdercount
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x60528f
lea ecx, [esp + 0x18]
call fcn.00636660
push ebx
push ebx
push eax
call fcn.00697933
add esp, 0xc
mov dword [esi + 8], eax
jmp 0x60588a
push edi
push str.TMInverse
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605508
mov ebp, dword [esi + 4]
mov edx, ebp
shl edx, 6
push edx
call fcn.0069197a
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0xe8], 1
je 0x6052d8
push fcn.005fc2c0
push ebp
push 0x40
push edi
call fcn.00401000
jmp 0x6052da
xor edi, edi
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8], bl
mov dword [esi + 0x1c], edi
call fcn.00636660
push 0x6ef640
push eax
call fcn.006a481c
add esp, 8
test eax, eax
je 0x60588a
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.00636660
push eax
call fcn.00697933
mov ecx, dword [esi + 4]
add esp, 0xc
cmp eax, ecx
jl 0x605334
mov edi, 0xc
lea ecx, [esp + 0x18]
call fcn.00636660
dec edi
jne 0x605323
jmp 0x6054e4
shl eax, 6
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
fld dword [esp + 0x14]
add esp, 4
fstp dword [edi + eax]
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
fld dword [esp + 0x14]
fstp dword [edi + ecx + 4]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
fld dword [esp + 0x14]
fstp dword [edi + edx + 8]
mov eax, dword [esi + 0x1c]
add esp, 4
lea ecx, [esp + 0x18]
mov dword [edi + eax + 0xc], ebx
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
fld dword [esp + 0x14]
fstp dword [edi + ecx + 0x10]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
fld dword [esp + 0x14]
add esp, 4
fstp dword [edi + edx + 0x14]
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
fld dword [esp + 0x14]
fstp dword [edi + eax + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [edi + ecx + 0x1c], ebx
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
fld dword [esp + 0x14]
add esp, 4
fstp dword [edi + edx + 0x20]
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
fld dword [esp + 0x14]
add esp, 4
fstp dword [edi + eax + 0x24]
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
fld dword [esp + 0x14]
fstp dword [edi + ecx + 0x28]
mov edx, dword [esi + 0x1c]
add esp, 4
lea ecx, [esp + 0x18]
mov dword [edi + edx + 0x2c], ebx
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
fld dword [esp + 0x14]
add esp, 4
fstp dword [edi + eax + 0x30]
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0x1c]
fld dword [esp + 0x14]
fstp dword [edi + ecx + 0x34]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
fld dword [esp + 0x14]
fstp dword [edi + edx + 0x38]
mov eax, dword [esi + 0x1c]
add esp, 4
mov dword [edi + eax + 0x3c], 0x3f800000
lea ecx, [esp + 0x18]
call fcn.00636660
push 0x6ef640
push eax
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605303
jmp 0x60588a
push edi
push str.BoundingVolume
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x60588a
lea ecx, [esp + 0x18]
call fcn.00636660
mov edi, eax
push 0x6ef640
push edi
call fcn.006a481c
add esp, 8
test eax, eax
je 0x60588a
nop
push edi
push 0x6ef668
call fcn.006a481c
add esp, 8
test eax, eax
je 0x60557a
push edi
push str.CYLINDER
call fcn.006a481c
add esp, 8
test eax, eax
je 0x60557a
push edi
push str.SPHERE
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605874
push edi
push 0x6ef668
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605595
mov dword [esp + 0x98], ebx
jmp 0x6055d1
push edi
push str.CYLINDER
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x6055b4
mov dword [esp + 0x98], 1
jmp 0x6055d1
push edi
push str.SPHERE
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x6055d1
mov dword [esp + 0x98], 2
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.00636660
push eax
call fcn.00697933
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x9c], eax
call fcn.00636660
mov edi, eax
push 0x6ef640
push edi
call fcn.006a481c
add esp, 8
test eax, eax
je 0x605747
lea ecx, [ecx]
push edi
push 0x6ef650
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605666
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x6c]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x70]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x74]
jmp 0x605723
push edi
push 0x6ef64c
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x6056cf
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x5c]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x60]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x64]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x68]
jmp 0x605723
push edi
push str.size
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605726
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x78]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x7c]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
push eax
call fcn.006951f9
fstp dword [esp + 0x80]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00636660
mov edi, eax
push 0x6ef640
push edi
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605610
cmp dword [esp + 0x98], ebx
jne 0x605859
fld dword [esp + 0x78]
lea ecx, [esp + 0x58]
fmul dword [0x6d126c]
push ecx
lea edx, [esp + 0x90]
push edx
fstp dword [esp + 0x18]
mov dword [esp + 0x94], ebx
mov edi, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0x98], eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0xa0], ebx
call fcn.005b5680
fld dword [esp + 0x94]
fadd dword [esp + 0x7c]
add esp, 0xc
mov dword [esp + 0xb0], edi
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x84]
mov dword [esp + 0xa8], ecx
fadd dword [esp + 0x6c]
fstp dword [esp + 0x10]
fld dword [esp + 0x80]
mov eax, dword [esp + 0x10]
fadd dword [esp + 0x68]
mov dword [esp + 0xa4], eax
fstp dword [esp + 0xd4]
mov edx, dword [esp + 0xd4]
fld dword [esp + 0x7c]
mov dword [esp + 0xa0], edx
fmul dword [0x6d126c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x64]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x74]
mov dword [esp + 0xb4], eax
fmul dword [0x6d126c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], edx
fstp dword [esp + 0xc8]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc0], ecx
lea eax, [esp + 0x98]
push eax
lea ecx, [esi + 0x20]
call fcn.00604cf0
lea ecx, [esp + 0x18]
call fcn.00636660
mov edi, eax
push 0x6ef640
push edi
call fcn.006a481c
add esp, 8
test eax, eax
jne 0x605540
lea ecx, [esp + 0x18]
call fcn.00636660
mov edi, eax
cmp edi, ebx
jne 0x6050e0
pop ebp
lea ecx, [esp + 0x14]
call fcn.00635b60
lea ecx, [esp + 0x14]
mov dword [esp + 0xe4], 0xffffffff
call fcn.00635d20
mov al, 1
pop edi
mov ecx, dword [esp + 0xd8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret 4