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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4c15f4
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x512000]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x512000]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x118]
sub eax, dword [ecx + 0x114]
sar eax, 2
cmp dword [ecx + 0x13c], 0
mov dword [esp + 0x18], eax
je 0x455dbf
mov dword [esp + 0x14], 1
jmp 0x455dcd
cmp dword [ecx + 0x138], 0
jle 0x455dcd
dec eax
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
mov dword [esp + 0x160], 0
xor edi, edi
movq qword [esp + 0x158], xmm0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], edi
mov dword [esp + 0x160], edi
mov dword [esp + 0x260], edi
lea eax, [esp + 0x164]
push 0x38
movdqa xmmword [esp + 0xe8], xmm0
movdqa xmmword [esp + 0xf8], xmm0
movdqa xmmword [esp + 0x108], xmm0
movdqa xmm0, xmmword [0x501be0]
push edi
push eax
mov dword [esp + 0x120], edi
movdqu xmmword [esp + 0x124], xmm0
mov dword [esp + 0x134], 2
mov dword [esp + 0x138], 2
mov dword [esp + 0x13c], edi
call fcn.004ae540
add esp, 0xc
lea ecx, [esp + 0x164]
call fcn.00493390
xorps xmm0, xmm0
mov dword [esp + 0x148], edi
xor ecx, ecx
movq qword [esp + 0x140], xmm0
xor edx, edx
mov dword [esp + 0x144], ecx
mov dword [esp + 0x140], edx
mov dword [esp + 0x148], ecx
xor esi, esi
movq qword [esp + 0x14c], xmm0
mov dword [esp + 0x154], ecx
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], esi
mov dword [esp + 0x154], esi
mov eax, dword [esp + 0x14]
mov byte [esp + 0x260], 3
cmp eax, dword [esp + 0x18]
jge 0x4560f1
mov edi, edi
shl eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x114]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
cmp eax, esi
jae 0x455f68
mov edx, dword [esp + 0x140]
cmp dword [esp + 0x14c], eax
ja 0x455f68
sub eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x144]
sar eax, 2
mov dword [esp + 0x10], eax
cmp esi, dword [esp + 0x154]
jne 0x455f51
push ecx
lea ecx, [esp + 0x150]
call fcn.0043a6c0
mov esi, dword [esp + 0x150]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x140]
test esi, esi
je 0x455f9f
mov edx, dword [esp + 0x14c]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x140]
jmp 0x455f9d
cmp esi, dword [esp + 0x154]
jne 0x455f97
push ecx
lea ecx, [esp + 0x150]
call fcn.0043a6c0
mov esi, dword [esp + 0x150]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x140]
test esi, esi
je 0x455f9f
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
add esi, 4
mov dword [esp + 0x150], esi
mov eax, dword [eax + 0x120]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
cmp eax, ecx
jae 0x455ffd
cmp edx, eax
ja 0x455ffd
sub eax, edx
sar eax, 2
mov dword [esp + 0x10], eax
cmp ecx, dword [esp + 0x148]
jne 0x455ff4
push ecx
lea ecx, [esp + 0x144]
call fcn.0043a6c0
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x140]
test ecx, ecx
je 0x456026
mov eax, dword [edx + eax*4]
jmp 0x456024
cmp ecx, dword [esp + 0x148]
jne 0x45601e
push ecx
lea ecx, [esp + 0x144]
call fcn.0043a6c0
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x10]
test ecx, ecx
je 0x456026
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
add ecx, 4
mov dword [esp + 0x144], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x114]
mov ecx, dword [ecx + eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov dword [esp + 0x10], eax
cmp eax, edi
jae 0x456099
mov ecx, dword [esp + 0x158]
cmp ecx, eax
ja 0x456099
sub eax, ecx
sar eax, 4
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0x160]
jne 0x45608c
push ecx
lea ecx, [esp + 0x15c]
call fcn.00456820
mov edi, dword [esp + 0x15c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x158]
add eax, eax
test edi, edi
je 0x4560c6
movdqu xmm0, xmmword [ecx + eax*8]
jmp 0x4560c2
cmp edi, dword [esp + 0x160]
jne 0x4560ba
push ecx
lea ecx, [esp + 0x15c]
call fcn.00456820
mov edi, dword [esp + 0x15c]
mov eax, dword [esp + 0x10]
test edi, edi
je 0x4560c6
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi], xmm0
mov eax, dword [esp + 0x14]
add edi, 0x10
mov ecx, dword [esp + 0x144]
inc eax
mov edx, dword [esp + 0x140]
mov dword [esp + 0x15c], edi
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jl 0x455ee0
sub esi, dword [esp + 0x14c]
sar esi, 2
cmp esi, 1
jne 0x45610e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x456601
cmp esi, 2
je 0x456362
cmp esi, 4
je 0x456362
cmp esi, 3
jne 0x4565a3
mov ecx, dword [esp + 0x158]
sub edi, ecx
sar edi, 4
mov dword [esp + 0x1c], 0
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x20], eax
test edi, edi
je 0x4565a3
mov dword [esp + 0x10], ecx
mov eax, edx
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x114]
sub ecx, dword [esp + 0x140]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
xor esi, esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
add eax, ecx
mov byte [esp + 0x260], 7
mov dword [esp + 0x18], eax
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
add eax, 0x14
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
cmp dword [esp + 0x1c], 1
je 0x4561e0
mov eax, dword [esp + 0x10]
mov esi, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
or esi, 2
mov byte [esp + 0x48], 1
or esi, 8
mov word [esp + 0x64], 0xff00
mov dword [esp + 0x34], esi
lea eax, [esp + 0x34]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x19c]
push eax
mov dword [esp + 0x3c], 0xc
mov esi, dword [esi]
call fcn.00495c50
lea eax, [esp + 0x19c]
mov byte [esp + 0x260], 8
push eax
lea ecx, [esi + 0x54]
call fcn.00495950
mov byte [esp + 0x260], 7
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x456249
push eax
call fcn.004abef7
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x164]
push dword [eax]
call fcn.004939c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add eax, 0x15
push eax
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x28]
cmp dword [esp + 0x1c], 1
mov edx, dword [esp + 0x34]
je 0x45629d
mov eax, dword [esp + 0x10]
or edx, 4
mov esi, dword [esp + 0x20]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov esi, dword [esi]
lea eax, [esp + 0x34]
or edx, 2
mov byte [esp + 0x48], 1
or edx, 8
mov word [esp + 0x64], 0xff00
push eax
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0xc
call fcn.00495c50
lea eax, [esp + 0x19c]
mov byte [esp + 0x260], 9
push eax
lea ecx, [esi + 0x54]
call fcn.00495950
mov byte [esp + 0x260], 7
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x456302
push eax
call fcn.004abef7
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x164]
push dword [eax]
call fcn.004939c0
mov byte [esp + 0x260], 3
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45632d
push eax
call fcn.004abef7
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
inc ecx
mov eax, dword [esp + 0x14]
add edx, 4
add dword [esp + 0x10], 0x10
add eax, 4
mov dword [esp + 0x1c], ecx
cmp ecx, edi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
jb 0x456173
jmp 0x4565a3
mov edx, dword [esp + 0x158]
sub edi, edx
sar edi, 4
mov eax, edi
add eax, eax
mov ecx, dword [edx + 4]
mov eax, dword [edx + eax*8 - 4]
sub eax, ecx
sub eax, 0x4e
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0x20], eax
test edi, edi
je 0x4565a3
mov ecx, dword [esp + 0x158]
lea edx, [esp + 0xe4]
mov eax, dword [esp + 0x140]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14c]
shl esi, 4
add edx, esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], ecx
jmp 0x4563d0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
add eax, ecx
mov byte [esp + 0x260], 4
mov dword [esp + 0x28], eax
mov ecx, dword [eax]
mov eax, dword [edx]
mov dword [esp + 0x30], eax
add eax, 0x14
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
mov esi, dword [esi]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x19c]
push eax
mov byte [esp + 0x4c], 1
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], 0xe
mov word [esp + 0x68], 0xff00
mov dword [esp + 0x3c], 0xc
call fcn.00495c50
lea eax, [esp + 0x19c]
mov byte [esp + 0x260], 5
push eax
lea ecx, [esi + 0x54]
call fcn.00495950
mov byte [esp + 0x260], 4
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x45649a
push eax
call fcn.004abef7
add esp, 4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x164]
push dword [eax]
call fcn.004939c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add eax, 0x15
push eax
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x28]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
or edx, 2
mov dword [esp + 0x54], esi
or edx, 4
mov ecx, dword [eax + 4]
or edx, 8
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x19c]
mov esi, dword [esi]
push eax
mov byte [esp + 0x4c], 1
mov dword [esp + 0x38], edx
mov word [esp + 0x68], 0xff00
mov dword [esp + 0x3c], 0xc
call fcn.00495c50
lea eax, [esp + 0x19c]
mov byte [esp + 0x260], 6
push eax
lea ecx, [esi + 0x54]
call fcn.00495950
mov byte [esp + 0x260], 4
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x45654c
push eax
call fcn.004abef7
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x164]
push dword [eax]
call fcn.004939c0
mov byte [esp + 0x260], 3
mov eax, dword [esp + 0x78]
test eax, eax
je 0x456577
push eax
call fcn.004abef7
add esp, 4
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add esi, 0x10
mov eax, dword [esp + 0x14]
add edx, 4
mov ecx, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
dec edi
jne 0x4563d0
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x64]
mov eax, dword [eax + 0x48]
cmp dword [eax + 0x884], 0
jne 0x4565e4
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 0x164]
sub esp, 8
push ecx
push 0
push 0x53d01c
push 0x53cab8
push 0
push dword [eax + 0x10]
call fcn.004bedb5
add esp, 0x14
mov ecx, eax
call fcn.0044ed80
push 0
push ecx
push 0x70
push 1
lea ecx, [esp + 0x174]
mov dword [esi + 0xfc], 1
call fcn.00493640
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x456615
push eax
call fcn.004abef7
add esp, 4
mov eax, dword [esp + 0x140]
test eax, eax
je 0x456629
push eax
call fcn.004abef7
add esp, 4
mov dword [esp + method.CSpriteAnime.virtual_0], vtable.CSpriteAnime.0
mov byte [esp + 0x260], 0xb
lea edx, [esp + 0x164]
mov ecx, dword [0x54edf0]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esp + 0x164]
call fcn.00493840
mov eax, dword [esp + 0x190]
test eax, eax
je 0x456690
push eax
call fcn.004abef7
add esp, 4
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov eax, dword [esp + 0x158]
mov dword [esp + method.IAppTask.virtual_0], vtable.IAppTask.0
test eax, eax
je 0x4566af
push eax
call fcn.004abef7
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.004abee8
mov esp, ebp
pop ebp
ret