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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x130
mov eax, dword [0x503d7c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov dword [edi + 0x50], eax
mov ecx, dword [ecx + 0x90]
test ecx, ecx
mov dword [esp + 0x3c], edi
je 0x49bc36
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov ebx, eax
jmp 0x49bc38
xor ebx, ebx
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
push 0
mov ecx, ebx
call eax
mov ebp, dword [edi + 4]
mov eax, dword [ebx + 0xa4]
mov edx, dword [edi + 0x38]
mov ecx, dword [ebx + 0xa8]
add ebp, 0x50
cmp edx, eax
jne 0x49bc67
mov edx, dword [edi + 0x3c]
cmp edx, ecx
je 0x49bd88
mov dword [edi + 0x38], eax
lea eax, [esp + 0x40]
mov dword [edi + 0x3c], ecx
lea esi, [edi + 0x40]
push eax
mov ecx, esi
call fcn.0041a700
lea ecx, [esp + 0x13c]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.0041a340
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x140]
push eax
mov ecx, esi
call fcn.0041a3a0
fld dword [ebx + 0x18]
fstp dword [edi + 0xc]
lea esi, [edi + 0xc]
fld dword [ebx + 0x1c]
lea ecx, [edi + 0x30]
fstp dword [esi + 4]
push ecx
fld dword [ebx + 0x20]
lea eax, [edi + 0x24]
fstp dword [esi + 8]
fld dword [ebx + 0x24]
fstp dword [esi + 0xc]
fld dword [ebx + 0x28]
fstp dword [esi + 0x10]
fld dword [ebx + 0x2c]
fstp dword [esi + 0x14]
call fcn.00437620
mov ecx, ebx
mov dword [esp + 0x38], 0
call sym.XR_3DA.exe_public:_unsigned_short_int___thiscall_CKinematics::LL_BoneCount_void_
test ax, ax
jbe 0x49bd88
movzx ecx, word [esp + 0x38]
mov eax, 1
xor edx, edx
call fcn.00468140
mov esi, eax
mov ecx, esi
and ecx, dword [ebx + 0xa4]
mov eax, edx
and eax, dword [ebx + 0xa8]
cmp esi, ecx
jne 0x49bd6d
cmp edx, eax
jne 0x49bd6d
mov edx, dword [ebx + 0x88]
movzx eax, word [esp + 0x38]
mov ecx, dword [edx + 4]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
movzx ecx, word [eax + 0xd8]
add eax, 0xd8
test cx, cx
je 0x49bd6d
test byte [eax + 2], 1
jne 0x49bd6d
mov dx, word [esp + 0x38]
lea eax, [esp + 0xe8]
push eax
lea eax, [edi + 0x40]
mov word [esp + 0x138], cx
mov word [esp + 0x13a], dx
call fcn.00437ab0
mov esi, dword [esp + 0x38]
add esi, 1
mov ecx, ebx
mov dword [esp + 0x38], esi
call sym.XR_3DA.exe_public:_unsigned_short_int___thiscall_CKinematics::LL_BoneCount_void_
cmp si, ax
jb 0x49bcf3
lea ecx, [esp + 0x38]
lea esi, [edi + 0x40]
push ecx
mov ecx, esi
call fcn.0041a340
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.0041a700
push eax
lea ecx, [esp + 0x3c]
call fcn.0041ca70
test al, al
je 0x49c572
lea ecx, [esp + 0x38]
call fcn.004191c0
cmp word [eax + 0x4e], 0xffff
je 0x49c54a
cmp word [eax + 0x4c], 0
je 0x49c54a
lea ecx, [esp + 0x38]
call fcn.004191c0
mov ecx, dword [ebx + 0x88]
movzx eax, word [eax + 0x4e]
mov edx, dword [ecx + 4]
mov edi, dword [edx + eax*4]
lea eax, [edx + eax*4]
lea ecx, [esp + 0x38]
add edi, 0xd8
call fcn.004191c0
movzx esi, word [eax + 0x4e]
lea esi, [esi + esi*4]
shl esi, 5
add esi, dword [ebx + 0x84]
lea ecx, [esp + 0x38]
call fcn.004191c0
movzx eax, word [eax + 0x4c]
sub eax, 1
je 0x49c0c8
sub eax, 1
je 0x49bfe8
sub eax, 1
jne 0x49c546
lea ecx, [esp + 0x38]
call fcn.004191c0
fld dword [esi]
fmul dword [edi + 0x50]
lea ecx, [esp + 0x38]
fld dword [edi + 0x54]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [edi + 0x58]
fmul dword [esi + 0x20]
faddp st(1)
fadd dword [esi + 0x30]
fstp dword [eax]
fld dword [esi + 0x14]
fmul dword [edi + 0x54]
fld dword [esi + 4]
fmul dword [edi + 0x50]
faddp st(1)
fld dword [edi + 0x58]
fmul dword [esi + 0x24]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [eax + 4]
fld dword [esi + 0x18]
fmul dword [edi + 0x54]
fld dword [edi + 0x50]
fmul dword [esi + 8]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [edi + 0x58]
faddp st(1)
fadd dword [esi + 0x38]
fstp dword [eax + 8]
call fcn.004191c0
fld dword [ebp]
lea ecx, [esp + 0x38]
fmul dword [eax]
fld dword [eax + 4]
fmul dword [ebp + 0x10]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebp + 0x20]
faddp st(1)
fadd dword [ebp + 0x30]
fstp dword [esp + 0x44]
fld dword [ebp + 0x14]
fmul dword [eax + 4]
fld dword [ebp + 4]
fmul dword [eax]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebp + 0x24]
faddp st(1)
fadd dword [ebp + 0x34]
fstp dword [esp + 0x48]
fld dword [ebp + 8]
fmul dword [eax]
fld dword [eax + 4]
fmul dword [ebp + 0x18]
faddp st(1)
fld dword [ebp + 0x28]
fmul dword [eax + 8]
faddp st(1)
fadd dword [ebp + 0x38]
fstp dword [esp + 0x4c]
fld dword [esp + 0x44]
fstp dword [eax]
fld dword [esp + 0x48]
fstp dword [eax + 4]
fld dword [esp + 0x4c]
fstp dword [eax + 8]
call fcn.004191c0
fld dword [esi]
add eax, 0xc
fmul dword [edi + 0x5c]
fld dword [edi + 0x60]
fmul dword [esi + 0x10]
faddp st(1)
fld dword [edi + 0x64]
fmul dword [esi + 0x20]
faddp st(1)
fstp dword [eax]
lea ecx, [esp + 0x38]
fld dword [esi + 0x14]
fmul dword [edi + 0x60]
fld dword [esi + 4]
fmul dword [edi + 0x5c]
faddp st(1)
fld dword [edi + 0x64]
fmul dword [esi + 0x24]
faddp st(1)
fstp dword [eax + 4]
fld dword [esi + 0x18]
fmul dword [edi + 0x60]
fld dword [edi + 0x5c]
fmul dword [esi + 8]
faddp st(1)
fld dword [edi + 0x64]
fmul dword [esi + 0x28]
faddp st(1)
fstp dword [eax + 8]
call fcn.004191c0
fld dword [eax + 0xc]
add eax, 0xc
fmul dword [ebp]
lea ecx, [esp + 0x38]
fld dword [eax + 4]
fmul dword [ebp + 0x10]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebp + 0x20]
faddp st(1)
fstp dword [esp + 0x5c]
fld dword [ebp + 0x14]
fmul dword [eax + 4]
fld dword [ebp + 4]
fmul dword [eax]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebp + 0x24]
faddp st(1)
fstp dword [esp + 0x60]
fld dword [eax]
fmul dword [ebp + 8]
fld dword [eax + 4]
fmul dword [ebp + 0x18]
faddp st(1)
fld dword [ebp + 0x28]
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fstp dword [eax]
fld dword [esp + 0x60]
fstp dword [eax + 4]
fld dword [esp + 0x64]
fstp dword [eax + 8]
call fcn.004191c0
fld dword [edi + 0x68]
lea ecx, [esp + 0x38]
fstp dword [eax + 0x18]
call fcn.004191c0
fld dword [edi + 0x6c]
fstp dword [eax + 0x1c]
jmp 0x49c546
lea ecx, [esp + 0x38]
call fcn.004191c0
fld dword [esi + 0x10]
fmul dword [edi + 0x44]
lea ecx, [esp + 0x38]
fld dword [esi]
fmul dword [edi + 0x40]
faddp st(1)
fld dword [esi + 0x20]
fmul dword [edi + 0x48]
faddp st(1)
fadd dword [esi + 0x30]
fstp dword [eax]
fld dword [esi + 4]
fmul dword [edi + 0x40]
fld dword [esi + 0x14]
fmul dword [edi + 0x44]
faddp st(1)
fld dword [esi + 0x24]
fmul dword [edi + 0x48]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [eax + 4]
fld dword [esi + 8]
fmul dword [edi + 0x40]
fld dword [esi + 0x18]
fmul dword [edi + 0x44]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [edi + 0x48]
faddp st(1)
fadd dword [esi + 0x38]
fstp dword [eax + 8]
call fcn.004191c0
fld dword [ebp + 0x10]
lea ecx, [esp + 0x38]
fmul dword [eax + 4]
fld dword [ebp]
fmul dword [eax]
faddp st(1)
fld dword [ebp + 0x20]
fmul dword [eax + 8]
faddp st(1)
fadd dword [ebp + 0x30]
fstp dword [esp + 0x50]
fld dword [ebp + 0x14]
fmul dword [eax + 4]
fld dword [ebp + 4]
fmul dword [eax]
faddp st(1)
fld dword [ebp + 0x24]
fmul dword [eax + 8]
faddp st(1)
fadd dword [ebp + 0x34]
fstp dword [esp + 0x54]
fld dword [ebp + 0x18]
fmul dword [eax + 4]
fld dword [ebp + 8]
fmul dword [eax]
faddp st(1)
fld dword [ebp + 0x28]
fmul dword [eax + 8]
faddp st(1)
fadd dword [ebp + 0x38]
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
fstp dword [eax]
fld dword [esp + 0x54]
fstp dword [eax + 4]
fld dword [esp + 0x58]
fstp dword [eax + 8]
call fcn.004191c0
fld dword [edi + 0x4c]
fstp dword [eax + 0xc]
jmp 0x49c546
fld dword [edi + 4]
lea ecx, [esp + 0x38]
fstp dword [esp + 0x68]
fld dword [edi + 8]
fstp dword [esp + 0x6c]
fld dword [edi + 0xc]
fstp dword [esp + 0x70]
fld dword [edi + 0x10]
fstp dword [esp + 0x78]
fld dword [edi + 0x14]
fstp dword [esp + 0x7c]
fld dword [edi + 0x18]
fstp dword [esp + 0x80]
fld dword [edi + 0x1c]
fstp dword [esp + 0x88]
fld dword [edi + 0x20]
fstp dword [esp + 0x8c]
fld dword [edi + 0x24]
fstp dword [esp + 0x90]
fld dword [edi + 0x28]
fstp dword [esp + 0x98]
fld dword [edi + 0x2c]
fstp dword [esp + 0x9c]
fld dword [edi + 0x30]
fstp dword [esp + 0xa0]
call fcn.004191c0
fld dword [edi + 0x34]
add eax, 0x40
fstp dword [eax]
fld dword [edi + 0x38]
fstp dword [eax + 4]
fld dword [edi + 0x3c]
fstp dword [eax + 8]
fld dword [esi]
fld dword [esp + 0x68]
fld st(0)
fmulp st(2)
fld dword [esp + 0x6c]
fld st(0)
fmul dword [esi + 0x10]
faddp st(3)
fld dword [esp + 0x70]
fld st(0)
fmul dword [esi + 0x20]
faddp st(4)
fxch st(3)
fstp dword [esp + 0xa8]
fld dword [esi + 0x14]
fmul st(1)
fld dword [esi + 4]
fmul st(3)
faddp st(1)
fld st(3)
fmul dword [esi + 0x24]
faddp st(1)
fstp dword [esp + 0xac]
fmul dword [esi + 0x18]
fld dword [esi + 8]
fmulp st(2)
faddp st(1)
fld dword [esi + 0x28]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0xb0]
fld dword [esp + 0x7c]
fld st(0)
fmul dword [esi + 0x10]
fld dword [esp + 0x78]
fld st(0)
fmul dword [esi]
faddp st(2)
fld dword [esp + 0x80]
fld st(0)
fmul dword [esi + 0x20]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xb8]
fld st(2)
fmul dword [esi + 0x14]
fld dword [esi + 4]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esi + 0x24]
faddp st(1)
fstp dword [esp + 0xbc]
fmul dword [esi + 8]
fld dword [esi + 0x18]
fmulp st(3)
faddp st(2)
fmul dword [esi + 0x28]
faddp st(1)
fstp dword [esp + 0xc0]
fld dword [esp + 0x8c]
fld st(0)
fmul dword [esi + 0x10]
fld dword [esp + 0x88]
fld st(0)
fmul dword [esi]
faddp st(2)
fld dword [esp + 0x90]
fld st(0)
fmul dword [esi + 0x20]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xc8]
fld st(2)
fmul dword [esi + 0x14]
fld dword [esi + 4]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esi + 0x24]
faddp st(1)
fstp dword [esp + 0xcc]
fmul dword [esi + 8]
fld dword [esi + 0x18]
fmulp st(3)
faddp st(2)
fmul dword [esi + 0x28]
faddp st(1)
fstp dword [esp + 0xd0]
fld dword [esp + 0x9c]
fld st(0)
fmul dword [esi + 0x10]
fld dword [esp + 0x98]
fld st(0)
fmul dword [esi]
faddp st(2)
fld dword [esp + 0xa0]
fld st(0)
fmul dword [esi + 0x20]
faddp st(3)
fld dword [esi + 0x30]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xd8]
fld st(2)
fmul dword [esi + 0x14]
fld dword [esi + 4]
fmul st(2)
faddp st(1)
fld st(2)
fmul dword [esi + 0x24]
faddp st(1)
fadd dword [esi + 0x34]
fstp dword [esp + 0xdc]
fmul dword [esi + 8]
fld dword [esi + 0x18]
fmulp st(3)
faddp st(2)
fmul dword [esi + 0x28]
faddp st(1)
fadd dword [esi + 0x38]
fstp dword [esp + 0xe0]
fld dword [ebp]
fld dword [esp + 0xa8]
fld st(0)
fmulp st(2)
fld dword [esp + 0xac]
fld st(0)
fmul dword [ebp + 0x10]
faddp st(3)
fld dword [esp + 0xb0]
fld st(0)
fmul dword [ebp + 0x20]
faddp st(4)
fxch st(3)
fstp dword [esp + 0xe8]
fld dword [ebp + 4]
fmul st(2)
fld st(1)
fmul dword [ebp + 0x14]
faddp st(1)
fld st(3)
fmul dword [ebp + 0x24]
faddp st(1)
fstp dword [esp + 0xec]
fld dword [ebp + 8]
fmulp st(2)
fmul dword [ebp + 0x18]
faddp st(1)
fld dword [ebp + 0x28]
fmulp st(2)
faddp st(1)
fstp dword [esp + 0xf0]
fldz
fst dword [esp + 0xf4]
fld dword [esp + 0xbc]
fld st(0)
fmul dword [ebp + 0x10]
fld dword [esp + 0xb8]
fld st(0)
fmul dword [ebp]
faddp st(2)
fld dword [esp + 0xc0]
fld st(0)
fmul dword [ebp + 0x20]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xf8]
fld st(0)
fmul dword [ebp + 4]
fld st(3)
fmul dword [ebp + 0x14]
faddp st(1)
fld st(2)
fmul dword [ebp + 0x24]
faddp st(1)
fstp dword [esp + 0xfc]
fld dword [ebp + 0x18]
fmulp st(3)
fmul dword [ebp + 8]
faddp st(2)
fmul dword [ebp + 0x28]
faddp st(1)
fstp dword [esp + 0x100]
fst dword [esp + 0x104]
fld dword [esp + 0xcc]
fld st(0)
fmul dword [ebp + 0x10]
fld dword [esp + 0xc8]
fld st(0)
fmul dword [ebp]
faddp st(2)
fld dword [esp + 0xd0]
fld st(0)
fmul dword [ebp + 0x20]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x108]
fld st(0)
fmul dword [ebp + 4]
fld st(3)
fmul dword [ebp + 0x14]
faddp st(1)
fld st(2)
fmul dword [ebp + 0x24]
faddp st(1)
fstp dword [esp + 0x10c]
fld dword [ebp + 0x18]
fmulp st(3)
fmul dword [ebp + 8]
faddp st(2)
lea ecx, [esp + 0x38]
fmul dword [ebp + 0x28]
faddp st(1)
fstp dword [esp + 0x110]
fstp dword [esp + 0x114]
fld dword [esp + 0xdc]
fld st(0)
fmul dword [ebp + 0x10]
fld dword [esp + 0xd8]
fld st(0)
fmul dword [ebp]
faddp st(2)
fld dword [esp + 0xe0]
fld st(0)
fmul dword [ebp + 0x20]
faddp st(3)
fld dword [ebp + 0x30]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x118]
fld st(0)
fmul dword [ebp + 4]
fld st(3)
fmul dword [ebp + 0x14]
faddp st(1)
fld st(2)
fmul dword [ebp + 0x24]
faddp st(1)
fadd dword [ebp + 0x34]
fstp dword [esp + 0x11c]
fld dword [ebp + 0x18]
fmulp st(3)
fmul dword [ebp + 8]
faddp st(2)
fmul dword [ebp + 0x28]
faddp st(1)
fadd dword [ebp + 0x38]
fstp dword [esp + 0x120]
fld1
fstp dword [esp + 0x124]
call fcn.004191c0
lea esi, [esp + 0xe8]
mov edi, eax
call fcn.00437490
test al, al
jne 0x49c546
mov edi, dword [0x4c4594]
push str.__ERROR:_invalid_bone_xform__Slipch__._Bone_disabled.
call edi
add esp, 4
lea ecx, [esp + 0x38]
call fcn.004191c0
fld dword [esp + 0x120]
movzx eax, word [eax + 0x4e]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [esp + 0x134]
fstp qword [esp + 8]
fld dword [esp + 0x130]
fstp qword [esp]
push eax
push str.__ERROR:_bone_id__d___world_pos__f__f__f_
call edi
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
mov esi, dword [edx + 0xb0]
add esp, 0x20
test esi, esi
je 0x49c4ff
add dword [esi], 1
push esi
push str.visual_name__s
call edi
add esp, 8
test esi, esi
je 0x49c511
add dword [esi], 0xffffffff
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov esi, dword [ecx + 0xa8]
test esi, esi
je 0x49c525
add dword [esi], 1
push esi
push str.object_name__s
call edi
add esp, 8
test esi, esi
je 0x49c537
add dword [esi], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.004191c0
mov word [eax + 0x4e], 0xffff
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
call fcn.00420720
lea edx, [esp + 0x40]
push edx
lea ecx, [edi + 0x40]
call fcn.0041a700
push eax
lea ecx, [esp + 0x3c]
call fcn.0041ca70
test al, al
jne 0x49bdb5
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret