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

Disassembly:
sub esp, 0xcc8
push ebx
mov ebx, dword [esp + 0xcd0]
lea eax, [esp + 0x3cc]
push esi
lea ecx, [esp + 0xf0]
push eax
lea edx, [esp + 0x2d4]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
push ebx
mov byte [esp + 0x38], 0
mov byte [esp + 0x1f], 0
call fcn.004b6733
lea ecx, [esp + 0x104]
push ecx
call fcn.004b6fb5
mov edx, dword [0x4d2698]
push edx
call fcn.0048dec0
push ebx
call fcn.00498780
mov esi, eax
add esp, 0x20
test esi, esi
mov dword [esp + 0x44], esi
jne 0x45de43
push 0x4cbf44
push ebx
call fcn.004b5f80
add esp, 8
test eax, eax
je 0x45de35
pop esi
xor eax, eax
pop ebx
add esp, 0xcc8
ret
push ebx
push str.Cant_open_animation_file___s_
call fcn.00429b90
add esp, 8
push edi
lea eax, [esp + 0xc0]
push 0x34
push eax
push esi
call fcn.00498980
add esp, 0xc
mov ecx, 2
mov edi, str.CineFeed
lea esi, [esp + 0xc0]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x45de9c
lea edi, [esp + 0xf4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xf4]
push ecx
push eax
push edx
call fcn.0049b150
mov ecx, dword [esp + 0xd8]
add esp, 0xc
cmp eax, ecx
je 0x45deaa
push ebx
push str.The_animation_file___s__is_corrupt
call fcn.00429b90
add esp, 8
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
push 0x38
lea edx, [esp + 0x8c]
push 0x4f4088
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ecx
call dword [0x4d0494]
and esi, 0xff
mov dword [0x57b408], ebx
mov eax, esi
mov dword [esp + 0x98], ebx
mov dword [0x57b404], eax
mov byte [esp + 0xa0], al
lea eax, [esp + 0x94]
mov dword [0x57b40c], edi
push eax
mov dword [esp + 0xa0], edi
call fcn.00460f20
add esp, 0x10
test al, al
jne 0x45df7a
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], al
push ecx
call fcn.00460f20
add esp, 4
test al, al
jne 0x45df7a
lea edx, [esp + 0x88]
mov byte [esp + 0xa6], al
push edx
mov byte [esp + 0xa9], al
call fcn.00460f20
add esp, 4
test al, al
jne 0x45df7a
lea eax, [esp + 0x88]
push eax
call fcn.00460ef0
add esp, 4
xor ecx, ecx
push ebp
mov dword [esp + 0x68], ecx
lea ebp, [esp + 0x1f8]
mov dword [esp + 0x6c], ecx
xor esi, esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + esi + 0xe4]
push edx
call fcn.00496b60
mov dword [esp + esi + 0x80], eax
mov dword [esp + esi + 0x1c], eax
mov ecx, 0xe
xor eax, eax
mov edi, ebp
push ebp
rep stosd dword es:[edi], eax
call fcn.0049ad10
add esi, 4
add esp, 8
add ebp, 0x38
cmp esi, 0x10
jl 0x45df96
mov eax, dword [esp + 0xf4]
push eax
call fcn.00496b60
mov esi, dword [esp + 0x40]
mov dword [esp + 0x54], eax
imul esi, ebx
push esi
mov dword [esp + 0x6c], esi
call fcn.00496b60
push esi
mov dword [esp + 0x20], eax
call fcn.00496b60
mov dword [esp + 0x40], eax
mov eax, ebx
shl eax, 7
sub eax, ebx
add esp, 0xc
neg eax
lea ecx, [esp + 0x8d8]
mov edx, 0xff
mov dword [ecx], eax
add eax, ebx
add ecx, 4
dec edx
jne 0x45e015
mov al, byte [esp + 0xce4]
test al, al
je 0x45e03c
call fcn.0048db40
add eax, dword [esp + 0xce8]
mov dword [esp + 0x48], eax
jmp 0x45e051
call fcn.0048db40
mov ecx, dword [esp + 0x42]
and ecx, 0xffff
add eax, ecx
mov dword [esp + 0x30], eax
call fcn.0048db50
mov eax, dword [0x4efd80]
test eax, eax
je 0x45e084
push 0
push 0
push 0x40
push 0xffffffffffffffff
push eax
call fcn.004984f0
mov edx, dword [0x4efd80]
push 0
push 0x40
push 0x40
push 0xffffffffffffffff
push edx
call fcn.004984f0
add esp, 0x28
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x45e4fa
mov al, byte [esp + 0x2c]
test al, al
jne 0x45e4fa
call fcn.0048db50
mov esi, eax
call fcn.0048de10
mov al, byte [esp + 0xce4]
test al, al
je 0x45e0c4
add dword [esp + 0x48], esi
jmp 0x45e155
add dword [esp + 0x30], esi
call fcn.0048d7a0
cmp ax, 0x1b
jne 0x45e0d8
mov byte [esp + 0x2c], 1
mov al, byte [0x4f343f]
test al, al
je 0x45e0e6
mov byte [esp + 0x2c], 1
mov esi, dword [esp + 0xce0]
test esi, esi
je 0x45e155
mov al, byte [0x4d268d]
test al, al
je 0x45e155
mov eax, dword [esi]
mov edi, dword [esp + 0x28]
cmp eax, edi
jg 0x45e155
cmp eax, 0xffffffff
je 0x45e14e
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
push 0
push eax
mov eax, dword [edx*4 + 0x57ab60]
push ecx
push 0xffffffffffffffff
push eax
call fcn.004984f0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
push 0
push ecx
mov ecx, dword [eax*4 + 0x57ab60]
push edx
push 0xffffffffffffffff
push ecx
call fcn.004984f0
mov eax, dword [esi + 0x10]
add esi, 0x10
add esp, 0x28
cmp eax, edi
jle 0x45e104
mov dword [esp + 0xce0], esi
xor eax, eax
mov edx, dword [esp + eax*4 + 0x18]
mov esi, dword [esp + eax*4 + 0x7c]
mov ecx, dword [esp + eax*4 + 0x68]
sub edx, esi
cmp edx, ecx
jne 0x45e16f
inc eax
cmp eax, 4
jl 0x45e157
cmp eax, 4
jne 0x45e21d
mov ebx, dword [esp + 0x50]
lea esi, [esp + 0x204]
xor edi, edi
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x60]
push 4
push eax
push ecx
call fcn.00498980
mov eax, dword [esp + 0x6c]
add esp, 0xc
test eax, eax
je 0x45e1fe
mov edx, dword [esp + 0x4c]
push eax
push ebx
push edx
call fcn.00498980
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + edi + 0x88]
lea eax, [esi - 0xc]
push 1
push eax
mov dword [eax], ebx
mov dword [esi - 8], ecx
mov ecx, dword [esp + edi + 0xf8]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ebp, dword [esi + 8]
call fcn.0049ad20
add esp, 0x14
test eax, eax
jge 0x45e1f3
mov edx, dword [esp + 0xcdc]
push edx
push str.The_animation_file___s__is_corrupt
call fcn.00429b90
add esp, 8
mov eax, dword [esi + 8]
sub eax, ebp
mov dword [esp + edi + 0x68], eax
jmp 0x45e206
mov dword [esp + edi + 0x68], 0
mov ecx, dword [esp + edi + 0x7c]
add esi, 0x38
mov dword [esp + edi + 0x18], ecx
add edi, 4
cmp edi, 0x10
jl 0x45e185
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [ecx]
inc ecx
cmp eax, 1
mov dword [esp + 0x18], ecx
jne 0x45e251
mov eax, dword [esp + 0x24]
mov ecx, 0x100
mov esi, eax
lea edi, [esp + 0x4d8]
add eax, 0x400
mov byte [esp + 0x13], 1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x5c], edx
jle 0x45e2b0
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov ebp, ecx
add ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x58]
mov ebx, ecx
add ecx, eax
mov dword [esp + 0x58], ecx
mov cl, byte [esi]
cmp cl, 0x80
jne 0x45e2e4
push eax
push ebx
push ebp
call dword [0x4d0494]
add esp, 0xc
inc esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jne 0x45e26d
mov al, byte [esp + 0xce4]
test al, al
je 0x45e38d
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x14]
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x45e3dc
mov esi, dword [esp + 0x18]
add ebp, eax
xor ecx, ecx
mov cl, byte [esi]
inc esi
mov eax, ecx
mov dword [esp + 0x18], esi
and eax, 0x7f
test cl, 0x80
je 0x45e358
cmp ecx, 0x80
je 0x45e2a5
add eax, 0x16
cmp ecx, 0x81
jne 0x45e316
xor eax, eax
mov ax, word [esi]
add esi, 2
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
xor edx, edx
mov edi, ebp
mov dx, word [ecx]
add ecx, 2
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cl, byte [esi]
mov esi, ecx
mov ecx, dword [esp + 0x20]
inc ecx
mov esi, dword [esp + esi*4 + 0x8d8]
mov dword [esp + 0x20], ecx
mov ecx, eax
add esi, edx
mov edx, ecx
add esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x45e2de
test ecx, ecx
jne 0x45e368
xor eax, eax
mov ax, word [esi]
add esi, 2
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x24]
mov ecx, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add edx, eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x24], edx
jmp 0x45e2de
call fcn.0048db40
mov edi, eax
call fcn.0048db40
mov esi, dword [esp + 0x30]
cmp eax, esi
jae 0x45e3af
call fcn.004941b0
call fcn.0048db40
cmp eax, esi
jb 0x45e3a1
call fcn.0048db40
sub eax, edi
cmp eax, 0x64
jle 0x45e3c9
push eax
push str.time_gap___u
call fcn.0048edc0
add esp, 8
mov eax, dword [esp + 0x42]
mov ebp, dword [esp + 0x14]
and eax, 0xffff
add esi, eax
mov dword [esp + 0x30], esi
cmp byte [0x4f40a5], 1
jne 0x45e453
push 1
push 1
call fcn.004941d0
mov edi, eax
push edi
call fcn.00494230
mov eax, dword [esp + 0x48]
mov esi, dword [edi + 0x1c]
add esp, 0xc
test eax, eax
jle 0x45e424
mov ebx, eax
mov ecx, dword [esp + 0x38]
push ecx
push ebp
push esi
call dword [0x4d0494]
mov edx, dword [esp + 0x44]
mov ecx, dword [edi + 0x20]
add esp, 0xc
add ebp, edx
add esi, ecx
dec ebx
jne 0x45e406
push edi
call fcn.00494370
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x45e44c
lea edx, [esp + 0x4d8]
push 1
push edx
call fcn.004937a0
add esp, 8
mov byte [esp + 0x13], 0
call fcn.004941c0
jmp 0x45e4ba
mov al, byte [esp + 0x13]
mov edi, ebp
test al, al
je 0x45e474
lea eax, [esp + 0x4d8]
push 1
push eax
call fcn.004937a0
add esp, 8
mov byte [esp + 0x13], 0
push 0
call fcn.00494230
mov ebp, dword [esp + 0x40]
mov esi, dword [0x62bdc4]
add esp, 4
test ebp, ebp
jle 0x45e4a9
mov ebx, dword [esp + 0x38]
push ebx
push edi
push esi
call dword [0x4d0494]
mov ecx, dword [0x62bdc0]
add esp, 0xc
add edi, ebx
add esi, ecx
dec ebp
jne 0x45e490
push 0
call fcn.00494370
push 0
call fcn.004952b0
add esp, 8
call fcn.0048de10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov al, byte [esp + 0xce4]
test al, al
mov dword [esp + 0x14], ecx
je 0x45e4e5
call fcn.0048db40
cmp eax, dword [esp + 0x48]
ja 0x45e4fa
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x45e098
mov edx, dword [esp + 0x4c]
push edx
call fcn.00498a70
add esp, 4
lea edi, [esp + 0x7c]
lea esi, [esp + 0x1f8]
mov ebx, 4
pop ebp
push esi
call fcn.0049ab60
mov eax, dword [edi]
push eax
call fcn.00496b70
add esp, 8
add esi, 0x38
add edi, 4
dec ebx
jne 0x45e518
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00496b70
mov edx, dword [esp + 0x14]
push edx
call fcn.00496b70
mov eax, dword [esp + 0x38]
push eax
call fcn.00496b70
mov al, byte [esp + 0xcec]
add esp, 0xc
test al, al
pop edi
je 0x45e56f
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
lea eax, [ecx + 1]
add esp, 0xcc8
ret
mov eax, dword [esp + 0x24]
pop esi
and eax, 0xff
pop ebx
add esp, 0xcc8
ret