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

Disassembly:
push 0xffffffffffffffff
push 0x4c6f31
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x522d80]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4bc]
mov esi, ecx
lea ecx, [esp + 0x28c]
mov dword [esp + 0x14], eax
call fcn.0040c700
xor eax, eax
mov dword [esp + 0x4b4], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
or edi, 0xffffffff
lea ecx, [esp + 0x20]
mov byte [esp + 0x4b4], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], vtable.AnimationDataFrame.0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
call fcn.0043f070
mov ecx, dword [esi + 0x1e24]
sub ecx, dword [esi + 0x1e20]
mov ebx, dword [esp + 0x4c0]
mov eax, 0xf2b9d649
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esp + 0x4b4], 2
cmp ebx, ecx
jb 0x414b50
call fcn.00497123
imul ebx, ebx, 0x21c
add ebx, dword [esi + 0x1e20]
sub esp, 0x21c
mov ecx, esp
mov dword [esp + 0x284], esp
push ebx
call fcn.0040c780
mov eax, dword [esp + 0x4a8]
lea edx, [esp + 0x28c]
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x4ac]
call edx
push 1
push 1
lea eax, [esp + 0x294]
push eax
mov ecx, esi
call fcn.0040d740
mov ebp, eax
cmp ebp, edi
jne 0x414bd2
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
je 0x414bb7
push eax
call fcn.00485fc1
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00485fc1
jmp 0x414e62
mov esi, dword [esi + 0x3b4c]
push ebp
lea ecx, [esp + 0x60]
call fcn.0040cb60
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
push ebp
lea edx, [ebx + edi]
push esi
push edx
call fcn.00498c80
add esp, 0xc
add ebx, ebp
mov dword [esp + 0x64], ebx
je 0x414c4b
cmp ebx, 4
jl 0x414c18
mov eax, dword [esp + 0x14]
push 4
add eax, 4
push edi
push eax
call fcn.00498c80
add esp, 0xc
cmp ebx, 8
jl 0x414c33
mov edx, dword [esp + 0x14]
push 4
lea ecx, [edi + 4]
push ecx
add edx, 8
push edx
call fcn.00498c80
add esp, 0xc
cmp ebx, 0x10
jl 0x414c4b
push 4
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebp, 0x10
mov dword [esp + 0x18], eax
cmp ecx, eax
jbe 0x414c6d
call fcn.00497123
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x68], ecx
cmp ecx, eax
jbe 0x414c7e
call fcn.00497123
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x34]
call fcn.0040fc00
xor esi, esi
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
jle 0x414de9
add edi, ebp
mov esi, 0x14
or eax, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
cmp ebx, ecx
je 0x414cf0
cmp ebx, esi
jl 0x414cf0
push 4
lea eax, [esp + 0x40]
push edi
push eax
call fcn.00498c80
add esp, 0xc
add ebp, 4
add esi, 4
add edi, 4
test ebx, ebx
je 0x414d11
cmp ebx, esi
jl 0x414d11
push 4
lea ecx, [esp + 0x44]
push edi
push ecx
call fcn.00498c80
add esp, 0xc
add ebp, 4
add esi, 4
add edi, 4
test ebx, ebx
je 0x414d32
cmp ebx, esi
jl 0x414d32
push 4
lea edx, [esp + 0x48]
push edi
push edx
call fcn.00498c80
add esp, 0xc
add ebp, 4
add esi, 4
add edi, 4
test ebx, ebx
je 0x414d53
cmp ebx, esi
jl 0x414d53
push 4
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.00498c80
add esp, 0xc
add ebp, 4
add esi, 4
add edi, 4
test ebx, ebx
je 0x414d74
cmp ebx, esi
jl 0x414d74
push 4
lea ecx, [esp + 0x50]
push edi
push ecx
call fcn.00498c80
add esp, 0xc
add ebp, 4
add esi, 4
add edi, 4
test ebx, ebx
je 0x414d95
cmp ebx, esi
jl 0x414d95
push 4
lea edx, [esp + 0x54]
push edi
push edx
call fcn.00498c80
add esp, 0xc
add ebp, 4
add esi, 4
add edi, 4
test ebx, ebx
je 0x414db6
cmp ebx, esi
jl 0x414db6
push 4
lea eax, [esp + 0x58]
push edi
push eax
call fcn.00498c80
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0xc
add ebp, 4
add esi, 4
add edi, 4
call fcn.00413b40
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x414cb3
mov edi, dword [esp + 0x5c]
xor esi, esi
cmp ebx, esi
je 0x414e0a
lea edx, [ebp + 4]
cmp ebx, edx
jl 0x414e0a
mov ecx, dword [esp + 0x14]
push 4
lea eax, [edi + ebp]
push eax
add ecx, 0x24
push ecx
call fcn.00498c80
add esp, 0xc
add ebp, 4
cmp ebx, esi
je 0x414e2e
lea edx, [ebp + 4]
cmp ebx, edx
jl 0x414e2e
mov ecx, dword [esp + 0x14]
push 4
lea eax, [edi + ebp]
push eax
add ecx, 0x28
push ecx
call fcn.00498c80
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x414e3f
push eax
call fcn.00485fc1
add esp, 4
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00485fc1
add esp, 4
cmp edi, esi
je 0x414e65
push edi
call fcn.00498be9
add esp, 4
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.00497565
add esp, 0x4a4
ret 8