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

Disassembly:
push 0xffffffffffffffff
push 0x4ca8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xa4]
push eax
lea ecx, [esi + 0x3c]
call fcn.0041dd90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esi + 0x9c]
or eax, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x270]
sub eax, dword [esi + 0x26c]
xor ebx, ebx
sar eax, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], vtable.AnimationDataFrame.0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], ebx
cmp edi, eax
jb 0x45f040
call fcn.00497123
mov ecx, dword [esi + 0x26c]
mov edi, dword [ecx + edi*4]
lea ecx, [esp + 0x34]
call fcn.0043f070
mov eax, dword [esi + 0xe8]
lea ebp, [esi + 0xd8]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], eax
cmp dword [ebp + 0xc], eax
jbe 0x45f070
call fcn.00497123
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
cmp ecx, dword [ebp + 0x10]
jbe 0x45f08c
call fcn.00497123
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.0040fc00
lea ecx, [esi + 0x108]
call dword [0x4cf68c]
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xc], eax
jbe 0x45f0dc
call fcn.00497123
mov ecx, dword [ebp]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebp + 0x10]
jbe 0x45f0f8
call fcn.00497123
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.0040fc00
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov ecx, dword [edi + 0x1c]
sub ecx, dword [edi + 0x18]
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x40]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
cmp ecx, eax
jbe 0x45f157
call fcn.00497123
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jbe 0x45f16c
call fcn.00497123
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
call fcn.0040fc00
xor ecx, ecx
cmp dword [esp + 0x14], ecx
jle 0x45f2e7
lea ebx, [ebx]
or eax, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x1c]
sub ecx, dword [edi + 0x18]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45f1e3
call fcn.00497123
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x4c]
lea eax, [ebx + ebx*8]
add eax, eax
add eax, eax
add ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
push ecx
lea ecx, [esp + 0x50]
call eax
mov eax, dword [esp + 0x50]
dec eax
cmp eax, 8
ja case.0x45f20e.4
jmp dword [eax*4 + 0x45f3b4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add dword [esp + 0x58], ecx
add dword [esp + 0x5c], edx
cmp dword [esp + 0x60], 0xffffd8f1
jne case.0x45f20e.4
mov dword [esp + 0x50], 0xa
jmp case.0x45f20e.4
cmp dword [esp + 0x60], 0
je case.0x45f20e.4
dec dword [esp + 0x60]
mov ecx, dword [edi + 0x1c]
sub ecx, dword [edi + 0x18]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45f26f
call fcn.00497123
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + edx]
mov eax, dword [eax]
add ecx, edx
lea edx, [esp + 0x4c]
push edx
call eax
add ebx, dword [esp + 0x54]
jmp case.0x45f20e.4
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.0045cd50
test eax, eax
jge 0x45f2a1
neg eax
cdq
idiv dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
cmp edx, eax
jge 0x45f2b6
add eax, edx
mov dword [esp + 0x60], eax
jmp case.0x45f20e.4
mov dword [esp + 0x60], edx
jmp case.0x45f20e.4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add dword [esp + 0x58], edx
add dword [esp + 0x5c], eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00413b40
inc ebx
xor ecx, ecx
cmp ebx, dword [esp + 0x14]
jl 0x45f1a0
lea edx, [esp + 0x34]
mov dword [esi + 0x120], ecx
mov dword [esi + 0x124], ecx
push edx
mov ecx, ebp
mov dword [esi + 0x128], 0xffffffff
mov dword [esi + 0x12c], 1
call fcn.0041dc50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x14c], ecx
mov dword [esi + 0x148], eax
mov edx, dword [edi + 0x24]
mov dword [esi + 0x130], edx
mov eax, dword [edi + 0x28]
mov edi, dword [esi + 0x9c]
mov dword [esi + 0x134], eax
mov ecx, dword [esi + 0x270]
sub ecx, dword [esi + 0x26c]
sar ecx, 2
cmp edi, ecx
jb 0x45f357
call fcn.00497123
mov edx, dword [esi + 0x26c]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 8]
mov dword [esi + 0x15c], ecx
mov ecx, ebp
call fcn.0045d6b0
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x45f383
push eax
call fcn.00485fc1
add esp, 4
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.00485fc1
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4