Function at 0x4645e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47681d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x487080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4896f8]
lea eax, [ebp - 0x14c]
movss xmm3, dword [0x480950]
push 0
push 0
movss xmm2, dword [esi + 0x1944]
push 0x47ead4
push ecx
mov ecx, dword [esi + 0x1940]
mov dword [esp], 0xbf800000
push eax
call fcn.0044eb50
movss xmm0, dword [esi + 0x1944]
mov edx, 0x4897e4
addss xmm0, dword [esi + 0x1578]
movss xmm6, dword [0x480804]
xorps xmm7, xmm7
movss xmm1, dword [eax]
movss xmm2, dword [0x48092c]
movss dword [0x489948], xmm1
mulss xmm0, dword [0x489730]
movss dword [0x48994c], xmm0
nop
mov ecx, dword [edx - 0x54]
xorps xmm0, xmm0
movzx eax, cl
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x480df0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm5, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
mulss xmm5, xmm6
addsd xmm0, qword [eax*8 + 0x480df0]
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm3, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
mulss xmm3, xmm6
addsd xmm0, qword [eax*8 + 0x480df0]
cvtpd2ps xmm4, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
shr ecx, 0x1f
comiss xmm7, xmm5
addsd xmm0, qword [ecx*8 + 0x480df0]
mulss xmm4, xmm6
cvtpd2ps xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, dword [esi + 0x1528]
jbe 0x464737
movaps xmm0, xmm7
jmp 0x464743
movss xmm0, dword [0x48086c]
minss xmm0, xmm5
comiss xmm7, xmm3
movss xmm5, dword [0x48086c]
mulss xmm0, xmm2
addss xmm0, dword [0x480834]
cvttss2si ecx, xmm0
jbe 0x464765
movaps xmm0, xmm7
jmp 0x46476c
movaps xmm0, xmm5
minss xmm0, xmm3
movss xmm3, dword [0x480834]
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm4
jbe 0x46478f
movaps xmm0, xmm7
jmp 0x464796
movaps xmm0, xmm5
minss xmm0, xmm4
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x4647b1
movaps xmm0, xmm7
jmp 0x4647b8
movaps xmm0, xmm5
minss xmm0, xmm1
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [edx], eax
add edx, 4
cmp edx, 0x489838
jl 0x4646a0
mov eax, dword [esi + 0x1ba8]
movss xmm0, dword [eax + 0x208]
subss xmm0, dword [eax + 0xc]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [eax + 0x20c]
subss xmm0, dword [eax + 0x10]
mov byte [eax + 0x8c], 1
cmp byte [0x489770], 0
mov eax, dword [esi + 0x1ba8]
movss dword [ebp - 0x9c], xmm0
movss xmm0, dword [0x489774]
mov ecx, dword [eax + 0x244]
mov dword [ebp - 0x74], ecx
movss dword [ebp - 0xb4], xmm0
je 0x46485b
mov byte [0x489770], 0
mov eax, dword [esi + 0x1ba8]
mov dword [eax + 0x6c], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x7c], 0
mov esi, dword [esi + 0x1ba8]
sub esp, 8
movss xmm0, dword [esi + 0xd0]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [esi + 0xd4]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [esi + 0x58]
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [esi + 0x5c]
divss xmm0, dword [0x48994c]
movss dword [ebp - 0x80], xmm0
fld dword [ebp - 0x80]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm0, dword [ebp - 0x9c]
addss xmm0, dword [esi + 0x5c]
mov ecx, dword [0x489738]
sub ecx, dword [0x489734]
fstp dword [ebp - 0x78]
cvttss2si eax, dword [ebp - 0x78]
divss xmm0, dword [0x48994c]
mov dword [ebp - 0x90], eax
mov eax, 0x2aaaaaab
imul ecx
movss dword [ebp - 0x80], xmm0
fld dword [ebp - 0x80]
fstp qword [esp]
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttss2si edx, dword [ebp - 0x78]
lea ecx, [edi - 1]
push edi
push str.__d
push 0x10
fstp dword [ebp - 0x80]
cvttss2si eax, dword [ebp - 0x80]
add eax, edx
cmp eax, ecx
cmovl ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401240
mov esi, dword [0x4896f8]
lea eax, [ebp - 0x24]
movss xmm3, dword [0x480950]
add esp, 0x18
movss xmm2, dword [esi + 0x1944]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1940]
lea eax, [ebp - 0x17c]
mov dword [esp], 0xbf800000
push eax
call fcn.0044eb50
movd xmm0, dword [0x489778]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax]
mov eax, dword [0x489734]
movss dword [0x489774], xmm0
cmp eax, dword [0x489738]
je 0x465b30
movss xmm3, dword [0x480950]
lea eax, [ebp - 0x18c]
movss xmm2, dword [esi + 0x1944]
push 0
push 0
push 0x478b30
push ecx
mov ecx, dword [esi + 0x1940]
mov dword [esp], 0xbf800000
push eax
call fcn.0044eb50
cvttss2si edi, dword [ebp - 0x78]
movss xmm0, dword [eax]
movss dword [ebp - 0xa4], xmm0
cmp edi, dword [ebp - 0x80]
jg 0x465986
movss xmm1, dword [ebp - 0x84]
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0x9c], xmm0
movss dword [ebp - 0xc8], xmm0
nop dword [eax]
nop word [eax + eax]
addss xmm1, dword [0x489774]
movd xmm0, edi
lea eax, [edi + edi*2]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x94], eax
mov eax, dword [0x489734]
push edi
mov dword [ebp - 0x98], eax
movss dword [ebp - 0x78], xmm1
mulss xmm0, dword [0x48994c]
addss xmm0, dword [ebp - 0xe4]
movss dword [ebp - 0x6c], xmm0
call fcn.00462c00
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], edi
call fcn.00468e00
addss xmm0, dword [0x489774]
movss xmm1, dword [ebp - 0xb4]
push edi
maxss xmm1, xmm0
movss dword [ebp - 0xb4], xmm1
call fcn.00462c00
movss xmm1, dword [0x480960]
mov esi, eax
mov ecx, dword [0x489740]
movaps xmm2, xmm1
mov edx, dword [0x489744]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x64], xmm2
cmp ecx, edi
je 0x464abf
setl al
jmp 0x464ac4
cmp edx, esi
setle al
test al, al
je 0x464aee
cmp ecx, edi
jne 0x464ace
test edx, edx
setg al
test al, al
je 0x464ae6
push 0x489740
call fcn.00468e00
movss xmm2, dword [ebp - 0x64]
jmp 0x464ae9
xorps xmm0, xmm0
movss dword [ebp - 0x60], xmm0
mov eax, dword [0x489748]
mov edx, dword [0x48974c]
cmp eax, edi
jne 0x464aff
test edx, edx
setg cl
test cl, cl
je 0x464b2a
cmp eax, edi
jne 0x464b0c
cmp edx, esi
setl cl
lea eax, [ebp - 0x5c]
test cl, cl
mov ecx, 0x489748
cmovne eax, ecx
push eax
call fcn.00468e00
mov eax, dword [0x489748]
movaps xmm2, xmm0
cmp eax, edi
jle 0x464b36
addss xmm2, dword [0x489948]
movss xmm3, dword [ebp - 0x60]
movss xmm0, dword [0x480960]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x464bd0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x464bd0
comiss xmm2, xmm3
mov edi, dword [ebp - 0x74]
jbe 0x464bd3
movss xmm1, dword [ebp - 0x84]
lea eax, [ebp - 0x144]
addss xmm1, dword [0x489774]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
push dword [0x48981c]
movaps xmm0, xmm1
addss xmm1, xmm2
addss xmm0, xmm3
push eax
lea eax, [ebp - 0x164]
push eax
movss dword [ebp - 0x144], xmm1
movss dword [ebp - 0x164], xmm0
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x160], xmm0
addss xmm0, dword [0x48994c]
movss dword [ebp - 0x140], xmm0
call fcn.0044ad90
jmp 0x464bd3
mov edi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x90]
inc edx
movss xmm2, dword [ebp - 0x6c]
mov eax, edx
movss dword [ebp - 0xc4], xmm2
shr eax, 8
movzx ecx, al
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x60], edx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x489920
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0046c270
cmp dword [eax + 4], 0
je 0x464ca6
movss xmm0, dword [ebp - 0xa0]
lea eax, [ebp - 0x16c]
movss xmm1, dword [ebp - 0xb0]
addss xmm0, xmm0
addss xmm1, dword [ebp - 0x84]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
push dword [0x489824]
addss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x48994c]
push eax
lea eax, [ebp - 0xc8]
push eax
movss dword [ebp - 0x16c], xmm1
movss dword [ebp - 0x168], xmm0
call fcn.0044ad90
movss xmm2, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
inc esi
push eax
mov ecx, 0x489940
mov dword [ebp - 0x60], esi
call fcn.0046c5a0
mov eax, dword [ebp - 0x48]
mov ecx, dword [0x489940]
mov dword [ebp - 0x60], eax
cmp byte [eax + 0xd], 0
jne 0x464cd9
cmp esi, dword [eax + 0x10]
jge 0x464cde
mov eax, ecx
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x464f0b
movss xmm0, dword [ebp - 0xa0]
lea eax, [ebp - 0xec]
movss xmm1, dword [ebp - 0xb0]
addss xmm0, xmm0
addss xmm1, dword [ebp - 0x84]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
push dword [0x489820]
addss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x48994c]
push eax
lea eax, [ebp - 0xc8]
push eax
movss dword [ebp - 0x7c], xmm1
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0xec], xmm1
movss dword [ebp - 0xe8], xmm0
call fcn.0044ad90
mov ecx, dword [0x4896f8]
movss xmm2, dword [ebp - 0x84]
movss xmm3, dword [ebp - 0x7c]
movss xmm5, dword [ebp - 0x6c]
mov eax, dword [ecx + 0x1ba8]
movss xmm1, dword [ecx + 0x158c]
movss xmm4, dword [ebp - 0x64]
movss xmm0, dword [ecx + 0x1590]
maxss xmm2, dword [eax + 0x1f0]
minss xmm3, dword [eax + 0x1f8]
maxss xmm5, dword [eax + 0x1f4]
minss xmm4, dword [eax + 0x1fc]
subss xmm2, xmm1
addss xmm3, xmm1
movss xmm1, dword [ecx + 0xe4]
subss xmm5, xmm0
addss xmm4, xmm0
comiss xmm1, xmm2
jb 0x464f0b
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm5
jb 0x464f0b
comiss xmm3, xmm1
jbe 0x464f0b
comiss xmm4, xmm0
jbe 0x464f0b
xor ecx, ecx
call fcn.0043a7c0
mov esi, dword [0x4896f8]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [esi + 0x15f0]
lea ecx, [esi + 0x1ce4]
movups xmmword [ebp - 0x38], xmm0
call fcn.004401b0
mov eax, dword [ebp - 0x60]
movaps xmm0, xmmword [0x480c80]
movups xmmword [esi + 0x15f0], xmm0
push dword [eax + 0x10]
push str.Error_at_line__d:
call fcn.00453290
mov esi, dword [0x4896f8]
add esp, 8
mov eax, dword [esi + 0x1ce4]
mov ecx, dword [esi + 0x1cec]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x15f
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x1ce4]
mov ecx, dword [esi + 0x1ba8]
cmp byte [ecx + 0x8f], 0
jne 0x464e8c
mov ecx, dword [ecx + 0x178]
neg ecx
sbb ecx, ecx
add ecx, 6
call fcn.004553a0
mov esi, dword [0x4896f8]
movups xmm0, xmmword [esi + 0x15f0]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
lea ecx, [esi + 0x1ce4]
movups xmmword [ebp - 0x38], xmm0
call fcn.004401b0
mov eax, dword [ebp - 0x60]
movaps xmm0, xmmword [0x480c90]
add eax, 0x14
movups xmmword [esi + 0x15f0], xmm0
cmp dword [eax + 0x14], 0xf
jbe 0x464ec9
mov eax, dword [eax]
push eax
push 0x47e6b0
call fcn.00453290
mov esi, dword [0x4896f8]
add esp, 8
mov eax, dword [esi + 0x1ce4]
mov ecx, dword [esi + 0x1cec]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x15f
add eax, eax
movups xmmword [esi + eax*8], xmm0
dec dword [esi + 0x1ce4]
call fcn.00438f30
mov eax, dword [ebp - 0x90]
inc eax
push eax
push str._d
lea eax, [ebp - 0x24]
push 0x10
push eax
call fcn.00401240
mov esi, dword [0x4896f8]
lea eax, [ebp - 0x24]
movss xmm3, dword [0x480950]
add esp, 0x10
movss xmm2, dword [esi + 0x1944]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1940]
lea eax, [ebp - 0x184]
mov dword [esp], 0xbf800000
push eax
call fcn.0044eb50
movss xmm0, dword [ebp - 0x84]
addss xmm0, dword [0x489774]
movss xmm1, dword [ebp - 0x6c]
mov edx, dword [0x489828]
movss dword [ebp - 0xcc], xmm1
subss xmm0, dword [eax]
movss dword [ebp - 0xd0], xmm0
test edx, 0xff000000
je 0x464ff0
lea ecx, [ebp - 0x24]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464fa0
sub ecx, esi
lea eax, [ebp - 0x24]
add ecx, eax
cmp eax, ecx
je 0x464ff0
push dword [ebp - 0xcc]
mov eax, dword [edi + 0x2c]
push dword [ebp - 0xd0]
movups xmm0, xmmword [edi + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [eax + 8]
push edx
push edi
movups xmmword [ebp - 0x38], xmm0
call fcn.0044ee60
movss xmm1, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x90]
cmp dword [0x489750], eax
jne 0x4653a8
mov eax, dword [0x4896f8]
mov ecx, dword [eax + 0x1d50]
test ecx, ecx
jne 0x465015
xor cl, cl
jmp 0x46501e
cmp ecx, dword [eax + 0x1ba8]
sete cl
mov eax, dword [0x489748]
mov byte [ebp - 0x6d], cl
cmp eax, dword [0x489740]
jne 0x465039
mov eax, dword [0x48974c]
cmp eax, dword [0x489744]
setg al
test al, al
jne 0x46519a
movss xmm0, dword [ebp - 0xb0]
addss xmm0, dword [ebp - 0x9c]
addss xmm1, dword [0x48994c]
push 0
movzx eax, cl
push ecx
addss xmm0, dword [ebp - 0xa0]
xor eax, 1
mov dword [esp], 0
mov ecx, edi
movss dword [ebp - 0x64], xmm1
movss dword [ebp - 0xf0], xmm1
push dword [eax*4 + 0x48982c]
lea eax, [ebp - 0xf4]
movss dword [ebp - 0x60], xmm0
push eax
lea eax, [ebp - 0xc8]
movss dword [ebp - 0xf4], xmm0
push eax
call fcn.0044ad90
mov esi, dword [0x489834]
test esi, 0xff000000
je 0x46519a
test byte [edi + 0x24], 1
mov ecx, edi
movss xmm2, dword [ebp - 0x6c]
movss xmm3, dword [0x480834]
movss xmm0, dword [ebp - 0x60]
addss xmm2, xmm3
movss xmm1, dword [ebp - 0x64]
push 0
je 0x465124
subss xmm0, xmm3
movss dword [ebp - 0x100], xmm2
subss xmm1, xmm3
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x104]
movss dword [ebp - 0xfc], xmm0
movss xmm0, dword [ebp - 0x9c]
addss xmm0, xmm3
movss dword [ebp - 0xf8], xmm1
movss dword [ebp - 0x104], xmm0
jmp 0x46516d
subss xmm0, dword [0x480830]
subss xmm1, dword [0x480830]
lea eax, [ebp - 0x10c]
movss dword [ebp - 0x110], xmm2
push eax
lea eax, [ebp - 0x114]
movss dword [ebp - 0x10c], xmm0
movss xmm0, dword [ebp - 0x9c]
addss xmm0, xmm3
movss dword [ebp - 0x108], xmm1
movss dword [ebp - 0x114], xmm0
movss xmm3, dword [0x48086c]
push eax
call fcn.0044a700
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push esi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00448dc0
mov dword [edi + 0x54], 0
cmp byte [ebp - 0x6d], 0
je 0x4653a8
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x2710
push edx
push eax
call fcn.004740c0
mov esi, eax
mov dword [ebp - 0x88], eax
sub esi, dword [0x489978]
mov ecx, edx
mov eax, ecx
mov dword [ebp - 0x68], ecx
sbb eax, dword [0x48997c]
mov dword [ebp - 0xb8], eax
jne 0x4651e7
cmp esi, 0x190
jbe 0x4653a8
movss xmm0, dword [0x48086c]
push 0x489750
movss dword [ebp - 0x60], xmm0
call fcn.00462a10
push 0x489750
mov dword [ebp - 0x7c], eax
call fcn.00468e00
cmp byte [0x48976c], 0
movss dword [ebp - 0x64], xmm0
je 0x465318
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x7c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x465318
mov edi, dword [ebp - 0x98]
lea eax, [ecx + ecx*2]
mov edx, dword [ebp - 0x94]
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x74]
mov al, byte [ecx + eax*4]
cmp al, 9
jne 0x4652ce
addss xmm0, dword [0x48086c]
xorps xmm1, xmm1
sub esp, 8
cvtsi2ss xmm1, dword [0x489768]
mulss xmm1, dword [ebp - 0xa4]
divss xmm0, xmm1
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x7c], xmm0
fld dword [ebp - 0x7c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm2, dword [ebp - 0x64]
add esp, 8
fstp dword [ebp - 0x7c]
fld dword [ebp - 0x7c]
fstp dword [ebp - 0x7c]
movss xmm1, dword [ebp - 0x7c]
addss xmm1, dword [0x48086c]
mulss xmm1, dword [ebp - 0x60]
subss xmm1, xmm2
movss dword [ebp - 0x60], xmm1
jmp 0x46531d
movss xmm3, dword [0x480950]
push 0
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x28]
push 0
push eax
push ecx
mov ecx, dword [0x4896f8]
lea eax, [ebp - 0x174]
mov dword [esp], 0xbf800000
push eax
mov byte [ebp - 0x27], 0
movss xmm2, dword [ecx + 0x1944]
mov ecx, dword [ecx + 0x1940]
call fcn.0044eb50
movss xmm2, dword [ebp - 0x64]
movss xmm0, dword [eax]
jmp 0x465322
movss xmm2, dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x60]
movss xmm1, dword [ebp - 0x78]
lea eax, [ebp - 0x11c]
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x6c]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
push dword [0x489818]
movss dword [ebp - 0x124], xmm1
addss xmm1, xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x120], xmm2
addss xmm0, dword [0x48994c]
push eax
lea eax, [ebp - 0x124]
push eax
movss dword [ebp - 0x11c], xmm1
movss dword [ebp - 0x118], xmm0
call fcn.0044ad90
cmp dword [ebp - 0xb8], 0
ja 0x465395
cmp esi, 0x320
jbe 0x4653a8
mov eax, dword [ebp - 0x88]
mov dword [0x489978], eax
mov eax, dword [ebp - 0x68]
mov dword [0x48997c], eax
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x98]
mov ecx, dword [edx + eax*4 + 4]
mov esi, dword [edx + eax*4]
mov dword [ebp - 0x68], ecx
cmp esi, ecx
jne 0x4653c9
mov eax, dword [0x4897e4]
jmp 0x4653d2
push esi
call fcn.00463890
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
sub ecx, esi
mov eax, 0x2aaaaaab
xorps xmm3, xmm3
imul ecx
movss dword [ebp - 0x60], xmm3
xorps xmm4, xmm4
xor edi, edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46589c
nop word [eax + eax]
lea eax, [edi + edi*2]
lea esi, [esi + eax*4]
push esi
mov dword [ebp - 0x68], esi
call fcn.00463890
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x88], eax
cmp eax, ecx
jne 0x46542f
mov cl, byte [esi]
cmp cl, 9
je 0x46542c
cmp cl, 0x20
jne 0x465551
mov ecx, dword [ebp - 0x64]
cmp dword [0x489970], 0
je 0x465551
movss xmm1, dword [ebp - 0x78]
mov edx, 0x489960
movss xmm0, dword [ebp - 0x6c]
addss xmm1, xmm3
cmp dword [0x489974], 0xf
addss xmm0, xmm4
cmova edx, dword [0x489960]
movss dword [ebp - 0xd8], xmm1
movss dword [ebp - 0xd4], xmm0
test ecx, 0xff000000
je 0x4654cb
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465480
sub ecx, esi
lea esi, [edx + ecx]
cmp edx, esi
je 0x4654cb
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x74]
push dword [ebp - 0xd8]
push 0
mov eax, dword [ecx + 0x2c]
movups xmm0, xmmword [ecx + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push esi
push edx
lea edx, [ebp - 0x38]
push edx
push dword [ebp - 0x64]
movups xmmword [ebp - 0x38], xmm0
push ecx
mov ecx, dword [eax + 8]
call fcn.0044ee60
cmp dword [0x489974], 0xf
mov eax, 0x489960
mov esi, dword [0x4896f8]
cmova eax, dword [0x489960]
movss xmm3, dword [0x480950]
push 0
movss xmm2, dword [esi + 0x1944]
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1940]
lea eax, [ebp - 0x14c]
mov dword [esp], 0xbf800000
push eax
call fcn.0044eb50
cmp dword [0x489974], 0xf
mov eax, 0x489960
movss xmm3, dword [ebp - 0x60]
xorps xmm4, xmm4
cmova eax, dword [0x489960]
addss xmm3, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x68]
mov dword [0x489970], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x88]
movss dword [ebp - 0x60], xmm3
mov cl, byte [esi]
mov dword [ebp - 0x64], eax
cmp cl, 9
jne 0x4656e0
xorps xmm0, xmm0
movss dword [ebp - 0xb8], xmm3
cvtsi2ss xmm0, dword [0x489768]
sub esp, 8
addss xmm3, dword [0x48086c]
mulss xmm0, dword [ebp - 0xa4]
divss xmm3, xmm0
movss dword [ebp - 0x88], xmm0
movss dword [ebp - 0x68], xmm3
fld dword [ebp - 0x68]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm0, dword [0x48086c]
add esp, 8
fstp dword [ebp - 0x68]
fld dword [ebp - 0x68]
inc edi
cmp byte [0x48978f], 0
fstp dword [ebp - 0x68]
movss xmm3, dword [ebp - 0x68]
addss xmm3, xmm0
mulss xmm3, dword [ebp - 0x88]
movss dword [ebp - 0x60], xmm3
je 0x46586c
movss xmm1, dword [ebp - 0x78]
addss xmm3, dword [ebp - 0x78]
addss xmm1, dword [ebp - 0xb8]
mov eax, dword [0x4896f8]
movss xmm2, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x74]
subss xmm3, xmm0
movss xmm4, dword [eax + 0x1944]
addss xmm1, xmm0
xorps xmm0, xmm0
lea eax, [ebp - 0xc0]
addss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x480834]
push ecx
mulss xmm4, dword [0x48081c]
mov ecx, esi
mov dword [esp], 0x3f800000
addss xmm2, xmm0
movss dword [ebp - 0xc0], xmm3
push 0x90909090
subss xmm3, xmm4
movss dword [ebp - 0x154], xmm1
push eax
lea eax, [ebp - 0x154]
movaps xmm0, xmm2
movss dword [ebp - 0x150], xmm2
subss xmm0, xmm4
movss dword [ebp - 0xbc], xmm2
addss xmm4, xmm2
movss dword [ebp - 0x134], xmm3
push eax
movss dword [ebp - 0x13c], xmm3
movss dword [ebp - 0x130], xmm0
movss dword [ebp - 0x138], xmm4
call fcn.0044ab90
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x134]
push 0x90909090
push eax
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.0044ab90
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x13c]
push 0x90909090
push eax
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.0044ab90
jmp 0x465867
cmp cl, 0x20
jne 0x46579c
cmp byte [0x48978f], 0
je 0x465789
movss xmm2, dword [ebp - 0x78]
movss xmm0, dword [ebp - 0xa4]
addss xmm2, xmm3
mulss xmm0, dword [0x480834]
xorps xmm3, xmm3
mov eax, dword [0x4896f8]
mov esi, dword [ebp - 0x74]
push 3
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x6c]
movss xmm1, dword [eax + 0x1944]
addss xmm0, xmm4
mulss xmm1, dword [0x480834]
lea eax, [ebp - 0xac]
push ecx
mov dword [esp], 0x4096cbe4
mov ecx, esi
movss dword [ebp - 0xac], xmm2
movss xmm2, dword [0x480888]
addss xmm0, xmm1
push eax
movss dword [ebp - 0xa8], xmm0
call fcn.0044a2d0
push 0x80808080
push dword [esi + 0x54]
mov ecx, esi
push dword [esi + 0x5c]
call fcn.00449aa0
movss xmm3, dword [ebp - 0x60]
mov dword [esi + 0x54], 0
addss xmm3, dword [ebp - 0xa4]
inc edi
movss dword [ebp - 0x60], xmm3
jmp 0x46586c
mov al, cl
and al, 0xfe
cmp al, 0xfc
jne 0x4657ab
mov eax, 6
jmp 0x4657e4
mov al, cl
and al, 0xfc
cmp al, 0xf8
jne 0x4657ba
mov eax, 5
jmp 0x4657e4
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x4657c9
mov eax, 4
jmp 0x4657e4
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x4657d8
mov eax, 3
jmp 0x4657e4
and cl, 0xe0
xor eax, eax
cmp cl, 0xc0
sete al
inc eax
lea esi, [edi + edi*2]
shl esi, 2
add edi, eax
mov dword [ebp - 0x88], edi
mov ecx, dword [ebp - 0x98]
dec eax
mov edi, dword [0x489974]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x94]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x489970]
mov dl, byte [esi + eax]
mov byte [ebp - 0x44], dl
cmp ecx, edi
jae 0x46583c
lea eax, [ecx + 1]
cmp edi, 0xf
mov dword [0x489970], eax
mov eax, 0x489960
cmova eax, dword [0x489960]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x465857
push dword [ebp - 0x44]
mov byte [ebp - 0x8c], 0
push dword [ebp - 0x8c]
push ecx
mov ecx, 0x489960
call fcn.0041fe40
mov eax, dword [ebp - 0x68]
add esi, 0xc
test eax, eax
jg 0x4657f2
mov edi, dword [ebp - 0x88]
movss xmm3, dword [ebp - 0x60]
mov eax, dword [ebp - 0x94]
xorps xmm4, xmm4
mov ecx, dword [ebp - 0x98]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ecx + eax*4 + 4]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x465400
cmp dword [0x489970], 0
je 0x465968
movss xmm1, dword [ebp - 0x78]
mov edx, 0x489960
movss xmm0, dword [ebp - 0x6c]
addss xmm1, xmm3
mov esi, dword [0x489974]
addss xmm0, xmm4
mov edi, dword [0x489960]
cmp esi, 0xf
cmova edx, edi
test dword [ebp - 0x64], 0xff000000
movss dword [ebp - 0xe0], xmm1
movss dword [ebp - 0xdc], xmm0
je 0x465950
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4658f3
sub ecx, dword [ebp - 0x68]
lea eax, [edx + ecx]
mov dword [ebp - 0x68], eax
cmp edx, eax
je 0x465950
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x74]
push dword [ebp - 0xe0]
push 0
mov eax, dword [ecx + 0x2c]
movups xmm0, xmmword [ecx + 0x60]
push ecx
mov dword [esp], 0
push dword [ebp - 0x68]
movss xmm2, dword [eax + 0xc]
push edx
lea edx, [ebp - 0x38]
push edx
push dword [ebp - 0x64]
movups xmmword [ebp - 0x38], xmm0
push ecx
mov ecx, dword [eax + 8]
call fcn.0044ee60
mov esi, dword [0x489974]
mov edi, dword [0x489960]
cmp esi, 0xf
mov dword [0x489970], 0
mov eax, 0x489960
cmova eax, edi
mov byte [eax], 0
mov edi, dword [ebp - 0x90]
movss xmm1, dword [ebp - 0x84]
inc edi
mov dword [ebp - 0x90], edi
cmp edi, dword [ebp - 0x80]
jle 0x464a10
mov ecx, dword [0x4896f8]
movss xmm1, dword [0x48097c]
movss xmm0, dword [ecx + 0xe4]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 0xe8]
jb 0x465b30
comiss xmm2, xmm1
jb 0x465b30
mov eax, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe8]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0xa8], ecx
push eax
call fcn.00462270
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00463750
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
test esi, esi
je 0x465ae4
cmp edi, 0xf
lea eax, [ebp - 0x40]
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x40]
xor ecx, ecx
test esi, esi
je 0x465a2b
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x465a17
mov edi, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x40]
mov ecx, 0x489870
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00424250
mov eax, dword [eax + 4]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x465a68
cmp eax, dword [0x489874]
je 0x465a68
xor ecx, ecx
call fcn.0043a7c0
mov ecx, dword [ebp - 0x8c]
add ecx, 0x28
jmp 0x465ac8
cmp edi, 0xf
lea eax, [ebp - 0x40]
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [ebp - 0x8c], eax
test esi, esi
je 0x465a99
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x465a85
mov edi, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x40]
mov ecx, 0x489890
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00424250
mov esi, dword [eax + 4]
test esi, esi
je 0x465ae4
cmp esi, dword [0x489894]
je 0x465ae4
xor ecx, ecx
call fcn.0043a7c0
lea ecx, [esi + 0x28]
cmp dword [ecx + 0x14], 0xf
jbe 0x465ad0
mov ecx, dword [ecx]
push 1
xor edx, edx
call fcn.00452b90
add esp, 4
call fcn.00438f30
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xf
jbe 0x465b1e
mov ecx, dword [ebp - 0x40]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x465b14
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x465b14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push ecx
call fcn.00473531
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [0x489738]
mov eax, 0x2aaaaaab
sub ecx, dword [0x489734]
imul ecx
movss xmm1, dword [ebp - 0xb4]
addss xmm1, dword [0x4808b8]
mov ecx, dword [0x4896f8]
sar edx, 1
mov eax, edx
movss dword [ebp - 0xac], xmm1
shr eax, 0x1f
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x480df0]
mov eax, dword [ecx + 0x1ba8]
cvtpd2ps xmm4, xmm0
mulss xmm4, dword [0x48994c]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
movss dword [ebp - 0xa8], xmm4
cmp byte [eax + 0x8f], 0
jne 0x465c01
movss xmm2, dword [eax + 0xd0]
lea ecx, [ebp - 0xac]
movss xmm0, dword [eax + 0xd4]
movaps xmm3, xmm2
addss xmm3, xmm1
movss dword [ebp - 0x54], xmm2
movss xmm1, dword [0x480960]
addss xmm4, xmm0
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x48], xmm4
call fcn.00439980
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x54]
call fcn.00439ab0
add esp, 8
cmp byte [0x48976f], 0
je 0x465c27
call fcn.00469050
mov ecx, dword [0x4896f8]
mov ecx, dword [ecx + 0x1ba8]
call fcn.00439080
mov byte [0x48976f], 0
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.00472ead
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret