Function at 0x46d0b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557a01
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x58829c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov eax, dword [0x58d464]
mov eax, dword [eax + 0x154]
push eax
mov edx, dword [eax]
mov eax, dword [edx + 0xc0]
call eax
movss xmm2, dword [edi + 0x1c]
mulss xmm2, dword [0x577474]
mov eax, dword [edi + 0x30]
movss xmm0, dword [edi + 0x14]
mulss xmm0, dword [0x577474]
mov edx, dword [ebp + 8]
mulss xmm2, dword [edi + 0x10]
lea ecx, [eax + 2]
mov dword [ebp - 0xa0], eax
movss xmm4, dword [0x577c44]
mov dword [ebp - 0x24], eax
mulss xmm2, xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x34]
movss xmm0, dword [edi + 0x20]
mulss xmm2, dword [edi + 0x12c]
mov dword [ebp - 0xa4], eax
mulss xmm0, dword [edi + 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
add eax, 2
movss dword [ebp - 0xb8], xmm2
movss xmm2, dword [0x577e90]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
movss dword [ebp - 0xb4], xmm0
fstp dword [ebp - 0xac]
movss xmm3, dword [ebp - 0xac]
test edx, edx
jne 0x46d2f4
mov edi, dword [0x58d464]
push eax
push ecx
lea eax, [ebp - 0xcc]
mov ecx, dword [edi + 0x14238]
push eax
mov ecx, dword [ecx + 0xc3cc]
call fcn.004ef620
push dword [ebp - 0xa4]
mov ecx, dword [edi + 0x14238]
mov esi, eax
push dword [ebp - 0xa0]
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ecx + 0xc3cc]
call fcn.004ef620
push esi
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
call fcn.00441d60
mov edi, dword [ebp - 0xb0]
push 0xffffffffffffffff
mov ecx, dword [eax + 4]
mov dword [edi + 0x134], ecx
mov eax, dword [eax + 8]
mov dword [edi + 0x138], eax
movss xmm0, dword [edi + 0x134]
mulss xmm0, dword [0x577514]
movss dword [edi + 0x134], xmm0
movss xmm0, dword [edi + 0x138]
mulss xmm0, dword [0x577514]
movss dword [edi + 0x138], xmm0
movss xmm1, dword [edi + 0x134]
subss xmm1, dword [0x577620]
movss dword [edi + 0x134], xmm1
movss xmm1, xmm0
subss xmm1, dword [0x577620]
movss xmm0, dword [ebp - 0xb8]
movss dword [edi + 0x138], xmm1
call fcn.00552a50
mov ecx, dword [edi + 0x178]
shl eax, 0x18
add eax, 0xffffff
push eax
call fcn.00542200
movss xmm0, dword [ebp - 0xb4]
sub esp, 0x14
mov ecx, dword [edi + 0x178]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x11c]
addss xmm0, dword [edi + 0x118]
mulss xmm0, dword [0x577494]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x138]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x134]
movss dword [esp], xmm0
call fcn.00541f90
movss xmm1, dword [ebp - 0xac]
mov ecx, edi
call fcn.0046dd00
jmp 0x46d7f2
cmp edx, 2
jne 0x46d80a
mov edi, dword [0x58d464]
push eax
push ecx
lea eax, [ebp - 0xd8]
mov ecx, dword [edi + 0x14238]
push eax
mov ecx, dword [ecx + 0xc3cc]
call fcn.004ef620
push dword [ebp - 0xa4]
mov ecx, dword [edi + 0x14238]
mov esi, eax
push dword [ebp - 0xa0]
lea eax, [ebp - 0xe4]
push eax
mov ecx, dword [ecx + 0xc3cc]
call fcn.004ef620
push esi
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, eax
call fcn.00441d60
mov edi, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
mov dword [edi + 0x134], ecx
lea ecx, [ebp - 0x9c]
mov eax, dword [eax + 8]
mov dword [edi + 0x138], eax
movss xmm0, dword [edi + 0x134]
mulss xmm0, dword [0x577514]
movss dword [edi + 0x134], xmm0
movss xmm0, dword [edi + 0x138]
mulss xmm0, dword [0x577514]
movss dword [edi + 0x138], xmm0
movss xmm0, dword [edi + 0x134]
subss xmm0, dword [0x577620]
movss dword [edi + 0x134], xmm0
movss xmm0, dword [edi + 0x138]
subss xmm0, dword [0x577620]
movss dword [edi + 0x138], xmm0
call fcn.004995e0
mov dword [ebp - 4], 0
movss xmm4, dword [edi + 0x138]
movss xmm1, dword [0x577770]
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x134]
subss xmm0, xmm1
movaps xmm2, xmm3
movss dword [ebp - 0x88], xmm3
movss dword [ebp - 0x84], xmm4
subss xmm2, xmm1
addss xmm3, xmm1
mov dword [ebp - 0x98], 0x42700000
addss xmm4, xmm1
mov dword [ebp - 0x94], 0x42700000
movss dword [ebp - 0x78], xmm0
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0xb8]
movss dword [ebp - 0x7c], xmm2
movss dword [ebp - 0x70], xmm3
movss dword [ebp - 0x64], xmm3
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x54], xmm4
call fcn.00552a50
mov ecx, dword [edi + 0x17c]
shl eax, 0x18
add eax, 0xffffff
push 0xffffffffffffffff
push eax
mov dword [ebp - 0xb0], eax
call fcn.00542200
movss xmm0, dword [ebp - 0xb4]
sub esp, 0x14
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x11c]
addss xmm0, dword [edi + 0x118]
mulss xmm0, dword [0x577494]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x138]
mov ecx, dword [edi + 0x17c]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x134]
movss dword [esp], xmm0
call fcn.00541f90
cmp byte [edi + 0x13c], 0
je 0x46d7a6
mov ecx, edi
call fcn.0046d990
movss xmm0, dword [0x5776d0]
lea eax, [edi + 0x168]
xor ecx, ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], ecx
lea ebx, [ebx]
cmp dword [eax - 0x28], 0xffffffff
je 0x46d78d
cmp byte [edi + ecx + 0x164], 0
movss xmm2, dword [ebp - 0xac]
movss xmm3, dword [0x577e90]
movss xmm5, dword [eax]
mulss xmm2, xmm0
andps xmm2, xmm3
movaps xmm0, xmm2
andps xmm0, xmm3
je 0x46d57e
movss xmm6, dword [0x577570]
movaps xmm4, xmm6
subss xmm4, xmm5
movaps xmm1, xmm4
andps xmm1, xmm3
comiss xmm0, xmm1
jb 0x46d567
mov dword [eax], 0x3f800000
jmp 0x46d5c9
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x46d579
movss xmm0, dword [0x577c44]
jmp 0x46d5b5
movaps xmm0, xmm6
jmp 0x46d5b5
movaps xmm4, xmm5
xorps xmm4, xmmword [0x577ec0]
movaps xmm1, xmm4
andps xmm1, xmm3
comiss xmm0, xmm1
jb 0x46d59b
mov dword [eax], 0
jmp 0x46d5c9
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x46d5ad
movss xmm0, dword [0x577c44]
jmp 0x46d5b5
movss xmm0, dword [0x577570]
mulss xmm2, xmm0
movss dword [0x58d8f4], xmm0
addss xmm5, xmm2
movss dword [eax], xmm5
mov eax, dword [eax - 0x28]
push 0xffffffffffffffff
push dword [ebp - 0xb0]
lea esi, [ecx + eax*4]
mov eax, dword [edi + 0x150]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + esi*4]
call fcn.00542200
movss xmm0, dword [ebp - 0xb4]
sub esp, 0x14
mov eax, dword [edi + 0x150]
movss dword [esp + 0x10], xmm0
mov ecx, dword [eax + 0x18]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x11c]
addss xmm0, dword [edi + 0x118]
mov ecx, dword [ecx + esi*4]
mulss xmm0, dword [0x577494]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0x138]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x134]
movss dword [esp], xmm0
call fcn.00541f90
mov esi, dword [ebp - 0xa0]
xor ecx, ecx
mov edx, dword [esi - 0x14]
cmp dword [edx + 0x2c], ecx
jbe 0x46d673
lea esp, [esp]
mov eax, dword [edx + 0x18]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [eax + 0x64], 0
cmp ecx, dword [edx + 0x2c]
jb 0x46d660
movss xmm0, dword [esi]
mulss xmm0, dword [ebp - 0xb8]
call fcn.00552a50
mov ecx, dword [esi - 0x14]
shl eax, 0x18
add eax, 0xffffff
push 0xffffffffffffffff
mov dword [ecx + 0x44], eax
movss xmm0, dword [edi + 0x11c]
addss xmm0, dword [edi + 0x118]
mov esi, dword [esi - 0x14]
mulss xmm0, dword [0x577494]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x44]
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [edi + 0x138]
mov ecx, dword [ecx + eax*4]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [edi + 0x134]
movss dword [ebp - 0xa8], xmm0
call fcn.00542200
movss xmm0, dword [ebp - 0xb4]
sub esp, 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0xc0]
mov ecx, dword [ecx + eax*4]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0xbc]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xa8]
movss dword [esp], xmm0
call fcn.00541f90
mov eax, dword [ebp - 0xa0]
mov esi, dword [eax - 0x14]
mov ecx, dword [esi + 0x24]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
call eax
fstp dword [ebp - 0xa8]
movss xmm0, dword [ebp - 0xa8]
addss xmm0, dword [esi + 0x50]
comiss xmm0, dword [esi + 0x54]
movss dword [esi + 0x50], xmm0
jb 0x46d779
mov ecx, esi
call fcn.00401c30
mov dword [esi + 0x50], 0
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa0]
movss xmm0, dword [0x5776d0]
inc ecx
add eax, 4
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], eax
cmp ecx, 4
jl 0x46d510
mov dword [ebp - 0x9c], 0x56c6c0
push fcn.00472f30
push 4
push 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x44], vtable.phVector2d.0
mov dword [ebp - 0x50], vtable.phVector2d.0
call fcn.00551c40
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x8c], vtable.phVector2d.0
mov dword [ebp - 0x9c], 0x56c6b4
movss xmm4, dword [0x577c44]
movss xmm3, dword [ebp - 0xac]
movss xmm2, dword [0x577e90]
cmp byte [edi + 0x129], 0
je 0x46d96c
cmp byte [edi + 0x128], 0
jne 0x46d96c
mulss xmm3, dword [0x577704]
movss xmm6, dword [edi + 0x12c]
movaps xmm5, xmm6
xorps xmm5, xmmword [0x577ec0]
andps xmm3, xmm2
movaps xmm1, xmm5
movaps xmm0, xmm3
andps xmm1, xmm2
andps xmm0, xmm2
comiss xmm0, xmm1
jb 0x46d944
push 0
sub esp, 8
mov dword [edi + 0x12c], 0
mov dword [edi + 0xc0], 0
mov dword [esp + 4], 0
mov dword [esp], 0
push 0
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x10], 0x437f0000
mov dword [ecx], vtable.phVector2d.0
mov eax, dword [edi + 0x134]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x138]
mov dword [ecx + 8], eax
mov eax, dword [0x58d464]
mov dword [esp + 0xc], 0x3f800000
push 1
push str.textures_TileCarouselMetalTop_anim.png.xml
mov eax, dword [eax + 0x14238]
mov ecx, dword [eax + 0xc3cc]
mov ecx, dword [ecx + 0x454]
call fcn.0048b1c0
xor esi, esi
mov eax, esi
sub eax, dword [edi + 0x120]
jns 0x46d8df
add eax, 4
cmp eax, 3
jle 0x46d8e7
sub eax, 4
cmp dword [edi + eax*4 + 0x140], 0xffffffff
je 0x46d93c
mov eax, dword [0x58d464]
push 0
push dword [ebp + esi*4 - 0x34]
mov eax, dword [eax + 0x14238]
push dword [ebp + esi*4 - 0x24]
mov eax, dword [eax + 0xc3cc]
mov ecx, eax
mov dword [ebp - 0xa8], eax
call fcn.004e0000
test eax, eax
je 0x46d93c
mov edx, dword [eax + 0x20]
cmp edx, 0xc8
jl 0x46d930
cmp edx, 0xd9
jne 0x46d93c
mov ecx, dword [ebp - 0xa8]
push eax
call fcn.0050d300
inc esi
cmp esi, 4
jl 0x46d8d2
jmp 0x46d96c
xorps xmm0, xmm0
comiss xmm0, xmm5
ja 0x46d954
movss xmm4, dword [0x577570]
mulss xmm3, xmm4
movss dword [0x58d8f4], xmm4
addss xmm3, xmm6
movss dword [edi + 0x12c], xmm3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00551c1f
mov esp, ebp
pop ebp
ret 4