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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58570c
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x6236f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x48]
push eax
call fcn.0044da60
mov ecx, dword [0x610024]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
mov ecx, edi
mov byte [ebp - 4], 1
call eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
cmp eax, dword [edi + 0x40]
je 0x452f0d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
cmp dword [edx - 8], 0
mov dword [ebp - 0x10], 0
jle 0x452ef8
lea esp, [esp]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x48]
push eax
push ecx
push edx
lea eax, [ebp - 0x14]
push str._s__d__d
push eax
call fcn.0040d8d0
xor ebx, ebx
xor esi, esi
add esp, 0x14
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4527db
push 0x4c
call fcn.00551f1b
add esp, 4
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4527ad
fld dword [edi + 0x7c]
push ecx
lea ecx, [ebp - 0x14]
fstp dword [esp]
push ecx
mov ecx, eax
call fcn.00451440
mov esi, eax
jmp 0x4527af
xor esi, esi
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], esi
call fcn.0044a550
push esi
lea edx, [ebp - 0x3c]
push esi
push edx
call fcn.00472620
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
jmp 0x452957
cmp eax, 1
jne 0x4528fe
push 0x58
call fcn.00551f1b
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x4528c9
fld dword [edi + 0x7c]
push ecx
fstp dword [ebp - 0x50]
lea ecx, [ebp - 0x14]
fld dword [ebp - 0x50]
fstp dword [esp]
push ecx
mov ecx, esi
call fcn.00451440
mov dword [esi], vtable.Char1FadeActor.0
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
push 0x20
mov byte [ebp - 4], 6
call fcn.00551f1b
add esp, 4
cmp eax, ebx
je 0x452857
xor ecx, ecx
mov dword [eax], vtable.AnimationLinear.0
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov ebx, eax
jmp 0x452859
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], ebx
call fcn.0044a410
push ebx
lea edx, [ebp - 0x34]
push ebx
push edx
call fcn.00472620
mov eax, dword [ebp - 0x34]
mov ecx, dword [esi + 0x4c]
mov edx, dword [ebp - 0x30]
mov dword [esi + 0x4c], eax
mov ebx, dword [esi + 0x50]
add esp, 0xc
mov dword [ebp - 0x34], ecx
mov dword [esi + 0x50], edx
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x4528b9
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4528b9
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4528b9
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [esi + 0x4c]
xor ebx, ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x54], eax
jmp 0x4528cd
xor esi, esi
xor ebx, ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], esi
call fcn.0044a5f0
push esi
lea ecx, [ebp - 0x44]
push esi
push ecx
call fcn.00472620
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], edx
xor ebx, ebx
jmp 0x45295d
cmp eax, 2
jne 0x452960
push 0x64
call fcn.00551f1b
add esp, 4
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x45292e
fld dword [edi + 0x7c]
push ecx
lea ecx, [ebp - 0x14]
fstp dword [esp]
push ecx
mov ecx, eax
call fcn.00451a60
mov esi, eax
jmp 0x452930
xor esi, esi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], esi
call fcn.0044a690
push esi
lea edx, [ebp - 0x2c]
push esi
push edx
call fcn.00472620
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], eax
add esp, 0xc
mov dword [ebp - 0x24], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0xa0]
push eax
mov ecx, esi
call edx
mov eax, dword [eax]
mov ecx, dword [edi + 0x80]
or dword [eax + 0xcc], ecx
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x4529b6
mov ebx, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4529b4
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4529b4
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
xor ebx, ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, esi
call edx
mov ecx, dword [eax]
mov eax, dword [edi + 0x78]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
push ebx
push 1
push 1
push eax
lea eax, [edi + 0x60]
push eax
mov byte [ebp - 4], 8
call edx
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x452a1a
mov ebx, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452a1a
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x452a1a
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [ebp - 0x90]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0x84]
mov eax, dword [eax]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0042e420
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 2
test eax, eax
je 0x452a78
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x452a78
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452a78
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0xd0]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x88]
mov eax, dword [eax]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0042e480
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 4], 2
test eax, eax
je 0x452ad6
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x452ad6
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452ad6
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x8c]
mov eax, dword [eax]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0042e4a0
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 2
test eax, eax
je 0x452b2e
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x452b2e
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452b2e
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0xc0]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x90]
mov eax, dword [eax]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0042e440
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 2
test eax, eax
je 0x452b8c
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x452b8c
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452b8c
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x94]
mov eax, dword [eax]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0042e460
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 2
test eax, eax
je 0x452be4
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x452be4
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452be4
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + ecx]
push eax
call fcn.005539be
mov ecx, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x452d2f
push 2
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, ebx
call fcn.0041e500
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xe
call edx
mov ecx, dword [eax]
push ebx
mov byte [ebp - 4], 0xf
call fcn.0042f510
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x452c6e
mov ebx, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452c6e
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x452c6e
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [ebp - 0x54]
lea ecx, [eax - 0xc]
mov byte [ebp - 4], 2
cmp ecx, dword [0x610020]
je 0x452c9d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452c9d
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov eax, dword [edi + 0x78]
mov ebx, dword [edi + 0x74]
add ebx, eax
imul eax, dword [ebp - 0x10]
imul ebx, dword [ebp - 0x1c]
cdq
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
sar eax, 1
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x64]
add edx, dword [ebp - 0x98]
add ecx, ebx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], edx
mov eax, dword [eax]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0042e980
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 2
test eax, eax
je 0x452d27
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x452d27
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452d27
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
inc dword [ebp - 0x10]
jmp 0x452e52
push 1
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, ebx
call fcn.0041e500
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x11
call edx
mov ecx, dword [eax]
push ebx
mov byte [ebp - 4], 0x12
call fcn.0042f510
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x452d99
mov ebx, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452d99
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x452d99
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [ebp - 0x4c]
lea ecx, [eax - 0xc]
mov byte [ebp - 4], 2
cmp ecx, dword [0x610020]
je 0x452dc8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452dc8
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff4
push eax
call fcn.00551d56
add esp, 4
mov eax, dword [edi + 0x78]
mov ebx, dword [edi + 0x74]
add ebx, eax
imul eax, dword [ebp - 0x10]
imul ebx, dword [ebp - 0x1c]
cdq
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
sar eax, 1
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x64]
add edx, dword [ebp - 0xc8]
add ecx, ebx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], edx
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0042e980
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 4], 2
test eax, eax
je 0x452e52
mov ebx, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x452e52
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452e52
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov dword [ebp - 0x5c], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x58], esi
test esi, esi
je 0x452e6b
lea ecx, [esi + 4]
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x14
call edx
mov ebx, dword [ebp - 0x58]
mov byte [ebp - 4], 2
test ebx, ebx
je 0x452eb1
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452eb1
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x452eb1
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov byte [ebp - 4], 1
test esi, esi
je 0x452ee3
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x452ee3
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x452ee3
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edx - 8]
jl 0x452750
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x18], eax
cmp eax, dword [edi + 0x40]
jne 0x452733
xor eax, eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x452f40
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452f40
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff4
push edx
call fcn.00551d56
add esp, 4
mov eax, dword [ebp - 0x48]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x610020]
je 0x452f65
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x452f65
push esi
call fcn.00551d56
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8