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

Disassembly:
push 0xffffffffffffffff
push 0x59c84c
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0xb8], 0
call fcn.004ac1c0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xb8], 1
call fcn.00496ed0
push eax
lea ecx, [esp + 0x78]
call fcn.004ab580
push str.sequence
lea ecx, [esp + 0x78]
call fcn.004ab820
mov edi, eax
test edi, edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x17], 1
jne 0x4afa70
mov ecx, dword [ebp + 0x10]
add ecx, 8
mov byte [esp + 0x17], al
call fcn.00496ed0
push eax
push str.Animation__s_does_not_contain_a_sequence_node
call fcn.004dfae0
add esp, 8
jmp 0x4b055c
push 0
push 0x5b0938
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004ab970
mov ecx, dword [ebp + 0x10]
push eax
mov byte [esp + 0xbc], 2
call fcn.00497360
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push 0
push str.source
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.004ab970
mov ecx, dword [ebp + 0x10]
push eax
add ecx, 4
mov byte [esp + 0xbc], 3
call fcn.00497360
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push 0x5b4968
mov ecx, edi
call fcn.004ab820
mov esi, eax
test esi, esi
jne 0x4afb12
mov ecx, dword [ebp + 0x10]
add ecx, 8
call fcn.00496ed0
push eax
push str.Animation__s_does_not_contain_an_img_node
call fcn.004dfae0
add esp, 8
mov byte [esp + 0x17], 0
jmp 0x4afcca
push 0
push str.regx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 4
call fcn.00496eb0
test eax, eax
lea ecx, [esp + 0x18]
setne bl
mov byte [esp + 0xb8], 1
call fcn.00497320
test bl, bl
je 0x4afbd6
push 0
push str.regx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 5
call fcn.00496ed0
push eax
call fcn.0055e717
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x2c], eax
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push 0
push str.regy
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 6
call fcn.00496ed0
push eax
call fcn.0055e717
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x30], eax
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push 0
push 0x5b3c64
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 7
call fcn.00496ed0
push eax
call fcn.0055e717
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x34], eax
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push 0
push 0x5b3c60
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 8
call fcn.00496ed0
push eax
call fcn.0055e717
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x38], eax
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push 0
push 0x5b0938
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.004ab970
mov ecx, dword [ebp + 0x10]
push eax
add ecx, 0xc
mov byte [esp + 0xbc], 9
call fcn.00497360
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push 0
push 0x5b3bf8
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004ab970
mov ecx, dword [ebp + 0x10]
push eax
add ecx, 0x10
mov byte [esp + 0xbc], 0xa
call fcn.00497360
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.00497320
push str.framelist
mov ecx, edi
call fcn.004ab820
mov ecx, dword [ebp + 0x10]
mov edi, eax
test edi, edi
mov dword [esp + 0x64], edi
jne 0x4afd03
add ecx, 8
call fcn.00496ed0
push eax
push str.Animation__s_does_not_contain_a_framelist_node
call fcn.004dfae0
add esp, 8
mov byte [esp + 0x17], 0
jmp 0x4b04c7
mov dword [ecx + 0x24], 0
mov ecx, edi
call fcn.004ab8b0
lea ecx, [esp + 0x20]
call fcn.00496d90
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0xc0], 0xb
call fcn.004ab8c0
test al, al
je 0x4afd97
jmp 0x4afd40
push 0x5b48e8
lea ecx, [esp + 0x30]
call fcn.00496da0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0xc
call fcn.004972e0
lea ecx, [esp + 0x2c]
mov bl, al
mov byte [esp + 0xb8], 0xb
call fcn.00497320
test bl, bl
je 0x4afd82
mov eax, dword [ebp + 0x10]
add dword [eax + 0x24], 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.004ab8c0
test al, al
jne 0x4afd40
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x24], ebx
jne 0x4afdc0
lea ecx, [eax + 8]
call fcn.00496ed0
push eax
push str.Animation__s_does_not_contain_any_frames_
call fcn.004dfae0
add esp, 8
mov byte [esp + 0x17], bl
jmp 0x4b04b6
mov eax, dword [eax + 0x3c]
cmp eax, ebx
je 0x4afdea
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4af8b0
push ecx
push 0x40
push eax
call fcn.0055d958
push esi
call fcn.0055f5cf
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [edx + 0x3c], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x24]
xor ecx, ecx
mov eax, esi
mov edx, 0x40
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0055ce46
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0xb8], 0xd
je 0x4afe3f
push 0x4af8b0
push 0x4aeac0
push esi
lea ebx, [eax + 4]
push 0x40
push ebx
mov dword [eax], esi
call fcn.0055d9bb
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x3c], ebx
mov edx, dword [ebp + 0x10]
xor esi, esi
mov ecx, edi
mov byte [esp + 0xb8], 0xb
mov dword [edx + 0x24], esi
call fcn.004ab8b0
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x1c], esi
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
mov dword [ecx + 0x20], esi
push eax
mov ecx, edi
call fcn.004ab8c0
test al, al
je 0x4b04b6
push 0x5b48e8
lea ecx, [esp + 0x40]
call fcn.00496da0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0xe
call fcn.004972e0
lea ecx, [esp + 0x3c]
mov bl, al
mov byte [esp + 0xb8], 0xb
call fcn.00497320
test bl, bl
je 0x4b049d
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x24]
mov ecx, dword [esp + 0x1c]
xor edi, edi
push edi
push 0x5a8dc4
lea edx, [esp + 0x74]
shl esi, 6
add esi, dword [eax + 0x3c]
push edx
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0xf
call fcn.00496ed0
push eax
call fcn.0055e717
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esi + 4], eax
mov byte [esp + 0xb8], 0xb
call fcn.00497320
mov ecx, dword [esp + 0x1c]
push edi
push 0x5a8dc0
lea eax, [esp + 0x64]
push eax
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x10
call fcn.00496ed0
push eax
call fcn.0055e717
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esi + 8], eax
mov byte [esp + 0xb8], 0xb
call fcn.00497320
push edi
push 0x5b3c64
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x11
call fcn.00496ed0
push eax
call fcn.0055e717
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esi + 0xc], eax
mov byte [esp + 0xb8], 0xb
call fcn.00497320
mov ecx, dword [esp + 0x1c]
push edi
push 0x5b3c60
lea edx, [esp + 0x68]
push edx
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x12
call fcn.00496ed0
push eax
call fcn.0055e717
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esi + 0x10], eax
mov byte [esp + 0xb8], 0xb
call fcn.00497320
mov ecx, dword [esp + 0x1c]
push edi
push 0x5b0938
lea eax, [esp + 0x58]
push eax
call fcn.004ab970
mov byte [esp + 0xb8], 0x13
mov ecx, eax
call fcn.00496ed0
push eax
mov ecx, esi
call fcn.00497d30
lea ecx, [esp + 0x50]
mov byte [esp + 0xb8], 0xb
call fcn.00497320
push edi
push 0x5aa018
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004ab970
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x14
call fcn.00496eb0
test eax, eax
je 0x4b004a
lea ecx, [esp + 0x2c]
call fcn.00496ed0
push eax
call fcn.0055e7c5
fstp dword [esi + 0x3c]
add esp, 4
jmp 0x4b004f
fld1
fstp dword [esi + 0x3c]
mov ecx, dword [esp + 0x1c]
push edi
push str.regx
lea edx, [esp + 0x78]
push edx
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x15
call fcn.00496eb0
test eax, eax
lea ecx, [esp + 0x70]
setne bl
mov byte [esp + 0xb8], 0x14
call fcn.00497320
test bl, bl
je 0x4b0112
mov ecx, dword [esp + 0x1c]
push edi
push str.regx
lea eax, [esp + 0x60]
push eax
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x16
call fcn.00496ed0
push eax
call fcn.0055e717
add esp, 4
lea ecx, [esp + 0x58]
mov dword [esi + 0x14], eax
mov byte [esp + 0xb8], 0x14
call fcn.00497320
push edi
push str.regy
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x17
call fcn.00496ed0
push eax
call fcn.0055e717
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esi + 0x18], eax
mov byte [esp + 0xb8], 0x14
call fcn.00497320
jmp 0x4b0144
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x24]
cmp eax, edi
je 0x4b013e
mov edx, dword [ecx + 0x3c]
shl eax, 6
mov eax, dword [eax + edx - 0x2c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x3c]
shl ecx, 6
mov eax, dword [ecx + edx - 0x28]
mov dword [esi + 0x18], eax
jmp 0x4b0144
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
push edi
push str.xform
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x18
call fcn.00496ed0
lea ecx, [esp + 0x48]
mov edi, eax
mov byte [esp + 0xb8], 0x14
call fcn.00497320
cmp byte [edi], 0
jne 0x4b01ba
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4b01ba
mov edx, dword [ecx + 0x3c]
shl eax, 6
mov ecx, dword [eax + edx - 0x1c]
lea eax, [eax + edx - 0x1c]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x38], edx
jmp 0x4b01f1
lea eax, [esi + 0x24]
xor ebx, ebx
mov dword [esp + 0x34], eax
cmp byte [edi], 0
je 0x4b01f1
push edi
call fcn.0055e7c5
mov ecx, dword [esp + 0x38]
push 0x20
fstp dword [ecx]
add edi, 1
push edi
call fcn.0055dc00
add dword [esp + 0x40], 4
add ebx, 1
add esp, 0xc
cmp ebx, 6
mov edi, eax
jl 0x4b01c3
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [eax + 0x1c]
jle 0x4b01ff
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x20]
jle 0x4b020d
mov dword [eax + 0x20], ecx
mov dword [esi + 0x1c], 0
mov ecx, dword [esp + 0x1c]
call fcn.004ab8b0
lea ecx, [esp + 0x24]
call fcn.00496d90
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xc0], 0x19
call fcn.004ab8c0
test al, al
je 0x4b02a6
jmp 0x4b0250
push str.anchor
lea ecx, [esp + 0x3c]
call fcn.00496da0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 0x1a
call fcn.004972e0
lea ecx, [esp + 0x38]
mov bl, al
mov byte [esp + 0xb8], 0x19
call fcn.00497320
test bl, bl
je 0x4b028f
add dword [esi + 0x1c], 1
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004ab8c0
test al, al
jne 0x4b0250
mov edi, dword [esi + 0x1c]
test edi, edi
jle 0x4b0470
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0055ce46
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0xb8], 0x1b
je 0x4b0304
push 0x4ac880
push 0x4aeb00
push edi
lea ebx, [eax + 4]
push 0xc
push ebx
mov dword [eax], edi
call fcn.0055d9bb
mov eax, ebx
jmp 0x4b0306
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xb8], 0x19
call fcn.004ab8b0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
call fcn.004ab8c0
test al, al
je 0x4b0470
push str.anchor
lea ecx, [esp + 0x1c]
call fcn.00496da0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 0x1c
call fcn.004972e0
lea ecx, [esp + 0x18]
mov bl, al
mov byte [esp + 0xb8], 0x19
call fcn.00497320
test bl, bl
je 0x4b0455
push 0
push 0x5b0938
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004ab970
push eax
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x20]
lea ecx, [eax + edx*4]
mov byte [esp + 0xbc], 0x1d
call fcn.00497360
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb8], 0x19
call fcn.00497320
push 0
push 0x5a8dc4
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x1e
call fcn.00496ed0
push eax
call fcn.0055e717
mov ecx, dword [esi + 0x1c]
lea edx, [ecx + ecx*2]
mov ecx, dword [esi + 0x20]
mov dword [ecx + edx*4 + 4], eax
add esp, 4
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 0x19
call fcn.00497320
mov ecx, dword [esp + 0x28]
push 0
push 0x5a8dc0
lea edx, [esp + 0x48]
push edx
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0xb8], 0x1f
call fcn.00496ed0
push eax
call fcn.0055e717
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
lea ecx, [ecx + ecx*2]
mov dword [edx + ecx*4 + 8], eax
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 0x19
call fcn.00497320
add dword [esi + 0x1c], 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004ab8c0
test al, al
jne 0x4b033c
mov eax, dword [ebp + 0x10]
add dword [eax + 0x24], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 0x14
call fcn.00497320
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0xb
call fcn.00497320
mov edi, dword [esp + 0x64]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.004ab8c0
test al, al
jne 0x4afe81
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 1
call fcn.00497320
mov ecx, dword [esp + 0x30]
push str.script
call fcn.004ab820
mov esi, eax
test esi, esi
je 0x4b0555
push 0
push str.luascript
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.004ab970
mov ecx, dword [ebp + 0x10]
push eax
add ecx, 0x18
mov byte [esp + 0xbc], 0x20
call fcn.00497360
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 1
call fcn.00497320
mov ecx, dword [ebp + 0x10]
add ecx, 0x18
call fcn.00496eb0
test eax, eax
ja 0x4b055c
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.004aa660
mov ecx, dword [ebp + 0x10]
push eax
add ecx, 0x18
mov byte [esp + 0xbc], 0x21
call fcn.00497360
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 1
call fcn.00497320
jmp 0x4b055c
mov ecx, ebp
call fcn.004af570
lea ecx, [esp + 0x74]
mov byte [esp + 0xb8], 0
call fcn.004abf30
lea ecx, [esp + 0xc0]
mov dword [esp + 0xb8], 0xffffffff
call fcn.00497320
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 4