Function at 0x40acd0
Capabilities:
Encode data using xor
Hash data with crc32

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
sub esp, 0x80
mov eax, dword [0x46a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [0x46e460]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x10]
test byte [edi + 8], 0x42
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], edx
jne 0x40b924
cmp byte [edi + 0xdc], 0
jg 0x40b924
cmp byte [edi + 0xdd], 0
jg 0x40b924
cmp byte [edi + 0xc4], 0
je 0x40b924
movss xmm2, dword [edx + 0x19d8]
xor eax, eax
movss xmm0, dword [edi + 0x7c]
movaps xmm1, xmm2
addss xmm0, dword [0x46483c]
mulss xmm2, dword [0x4647e0]
mov esi, 4
mov cl, byte [edx + 0xbb]
mulss xmm1, dword [0x46484c]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x68], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x464818]
cvttss2si esi, xmm0
movss xmm0, dword [0x464880]
mov dword [ebp - 0x60], esi
je 0x40adbd
movss dword [ebp - 0x44], xmm0
jmp 0x40adc2
movss dword [ebp - 0x44], xmm1
test dword [edx + 0xc], 0x800
movss xmm0, dword [0x464970]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm0
je 0x40ae00
mov eax, dword [edx + 0xfc]
cmp eax, dword [edi + 0x34]
jne 0x40ae00
mov eax, dword [edi + 0x30]
test byte [eax + 4], 8
jne 0x40ae3f
mov eax, dword [edi + 0x30]
movss xmm2, dword [eax + 8]
movss xmm0, dword [eax + 0x10]
movss xmm3, dword [eax + 0xc]
addss xmm0, xmm2
movss xmm1, dword [eax + 0x14]
addss xmm1, xmm3
movss dword [edi + 0x268], xmm2
movss dword [edi + 0x26c], xmm3
movss dword [edi + 0x270], xmm0
movss dword [edi + 0x274], xmm1
mov dword [edi + 0x17c], 1
mov ecx, str.RESIZE
mov edi, dword [edx + 0x1c48]
mov edx, dword [edi + 0xfc]
mov eax, dword [edi + 0x104]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.00403140
add esp, 4
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
lea ecx, [edi + 0xfc]
push eax
call fcn.0041f750
mov edi, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x30], edx
cmp dword [ebx + 0xc], edx
jle 0x40b2ae
movss xmm0, dword [edi + 0x44]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x48]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x4c]
movaps xmm2, xmm1
mov dword [ebp - 0x50], ecx
addss xmm2, dword [edi + 0x50]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x46d778]
mulss xmm2, dword [ecx*8 + 0x46d77c]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x46d780]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x44]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x46d784]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x44]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x74], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x70], xmm4
jbe 0x40af37
movss dword [ebp - 0x7c], xmm5
movss dword [ebp - 0x74], xmm3
comiss xmm2, xmm4
jbe 0x40af46
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x70], xmm2
mov ecx, dword [edi + 0xfc]
lea esi, [ebp - 8]
mov eax, dword [edi + 0x104]
mov edi, 4
mov dword [ebp - 8], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x460460]
sub edi, 1
jne 0x40af63
mov eax, dword [0x46e460]
not edx
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x4c]
cmp dword [eax + 0x1c84], edx
jne 0x40af98
mov dword [eax + 0x1c88], edx
cmp dword [eax + 0x1cbc], edx
jne 0x40afa7
mov byte [eax + 0x1cc0], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00434570
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x40afd1
mov al, byte [ebp - 0x25]
test al, al
je 0x40b33d
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x48]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1f58], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x40b26c
cmp byte [ecx + 0x3e5], 0
je 0x40b042
test edx, edx
jne 0x40b042
push dword [ebp - 0xc]
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.0040a690
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x34], xmm2
call fcn.00405650
mov edx, dword [ebp - 0x30]
cmp byte [ebp - 0x25], 0
je 0x40b283
mov ecx, 0x20
jmp 0x40b28e
mov edx, dword [ebp - 0x50]
movss xmm3, dword [0x46483c]
movss xmm2, dword [0x464994]
movss xmm0, dword [edx*8 + 0x46d77c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x40b071
mov eax, dword [ebx + 0x14]
movss xmm7, dword [eax + 4]
jmp 0x40b074
movaps xmm7, xmm2
movss xmm1, dword [edx*8 + 0x46d778]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x40b08f
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax]
jmp 0x40b092
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40b0b2
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x3c]
jmp 0x40b0bc
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x38], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x40b0cd
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 8]
movss xmm1, dword [edx*8 + 0x46d780]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x46d784]
cvtsi2ss xmm4, esi
movss dword [ebp - 0x2c], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x464af0]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x44]
movaps xmm6, xmm4
mulss xmm2, dword [ebp - 0x44]
mulss xmm6, xmm1
movss xmm1, dword [edx*8 + 0x46d778]
mulss xmm4, xmm3
subss xmm6, xmm0
subss xmm4, xmm2
mulss xmm6, xmm1
mulss xmm4, dword [edx*8 + 0x46d77c]
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe4]
subss xmm0, dword [ecx + 0x1ca8]
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1cac]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x40b169
movss xmm7, dword [ebp - 0x38]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x40b177
movss xmm5, dword [ebp - 0x2c]
minss xmm5, xmm6
movss xmm0, dword [edi + 0x44]
lea eax, [ebp - 0x14]
movss xmm4, dword [edx*8 + 0x46d77c]
lea ecx, [ebp - 0x5c]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x4c]
subss xmm2, xmm5
push eax
mulss xmm2, xmm1
movss xmm1, dword [edi + 0x48]
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x50]
subss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
mulss xmm3, xmm4
mulss xmm5, dword [edx*8 + 0x46d778]
mov edx, edi
addss xmm3, xmm7
movss dword [ebp - 0x40], xmm2
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [ebp - 0x2c], xmm3
mulss xmm7, xmm4
subss xmm5, xmm2
addss xmm7, xmm1
movss dword [ebp - 0x14], xmm5
subss xmm7, xmm3
movss dword [ebp - 0x10], xmm7
call fcn.0040a690
mov ecx, dword [ebp - 0x50]
add esp, 4
movss xmm3, dword [ebp - 0x5c]
xorps xmm2, xmm2
movss dword [ebp - 0x38], xmm3
movss xmm0, dword [ecx*8 + 0x46d778]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x40b234
movss xmm1, dword [ebp - 0x40]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x14]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ecx*8 + 0x46d77c]
ucomiss xmm0, xmm2
movss xmm2, dword [ebp - 0x58]
movss dword [ebp - 0x34], xmm2
lahf
test ah, 0x44
jp 0x40b266
movss xmm1, dword [ebp - 0x2c]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
mov edx, dword [ebp - 0x30]
mov al, byte [ebp - 0x25]
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x40b02e
test al, al
jne 0x40b038
test cl, cl
je 0x40b2a1
xor ecx, ecx
cmp byte [ebp - 0x26], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x46483c]
call fcn.004037c0
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x30], edx
cmp edx, dword [ebx + 0xc]
jl 0x40ae91
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x68], eax
jbe 0x40b681
nop dword [eax]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [ebp - 8], ecx
test eax, eax
je 0x40b345
cmp eax, 1
je 0x40b345
movss xmm4, dword [edi + 0x44]
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm4
addss xmm1, dword [edi + 0x4c]
movaps xmm2, xmm3
mov dword [ebp - 0x30], 1
addss xmm2, dword [edi + 0x50]
cmp eax, 2
jne 0x40b3e9
movd xmm5, esi
movaps xmm0, xmm3
subss xmm0, dword [0x464880]
addss xmm3, dword [0x464880]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x20], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x18], xmm3
subss xmm1, xmm5
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x1c], xmm1
jmp 0x40b42d
mov edx, dword [ebp - 0x30]
jmp 0x40b26f
movss xmm4, dword [edi + 0x44]
xor ecx, ecx
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm4
mov dword [ebp - 0x30], ecx
movaps xmm2, xmm3
addss xmm1, dword [edi + 0x4c]
addss xmm2, dword [edi + 0x50]
test eax, eax
jne 0x40b3a3
movd xmm6, esi
movaps xmm0, xmm4
subss xmm0, dword [0x464880]
addss xmm4, dword [0x464880]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x24], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x1c], xmm4
subss xmm2, xmm6
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x18], xmm2
jmp 0x40b42d
cmp eax, 1
jne 0x40b2f9
movd xmm5, esi
movaps xmm0, xmm1
subss xmm0, dword [0x464880]
addss xmm1, dword [0x464880]
cvtdq2ps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x30], ecx
movss dword [ebp - 0x24], xmm0
addss xmm3, xmm5
movss dword [ebp - 0x1c], xmm1
subss xmm2, xmm5
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x18], xmm2
jmp 0x40b42d
cmp eax, 3
jne 0x40b426
movd xmm5, esi
movaps xmm0, xmm2
subss xmm0, dword [0x464880]
addss xmm2, dword [0x464880]
cvtdq2ps xmm5, xmm5
movss dword [ebp - 0x20], xmm0
addss xmm4, xmm5
movss dword [ebp - 0x18], xmm2
subss xmm1, xmm5
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x1c], xmm1
jmp 0x40b42d
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov ecx, dword [edi + 0xfc]
add eax, 4
mov dword [ebp - 0xc], eax
mov esi, 4
mov eax, dword [edi + 0x104]
lea edi, [ebp - 0xc]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x460460]
sub esi, 1
jne 0x40b450
mov eax, dword [0x46e460]
not edx
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x4c]
cmp dword [eax + 0x1c84], edx
jne 0x40b485
mov dword [eax + 0x1c88], edx
cmp dword [eax + 0x1cbc], edx
jne 0x40b494
mov byte [eax + 0x1cc0], 1
push 0x800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x24]
call fcn.00434570
mov dl, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
je 0x40b4c9
mov eax, dword [ebp - 0x48]
movss xmm0, dword [eax + 0x1c7c]
comiss xmm0, dword [0x4647c8]
ja 0x40b4d1
test dl, dl
je 0x40b671
mov ecx, dword [ebp - 0x30]
mov eax, ecx
mov esi, dword [ebp - 0x48]
xor eax, 1
add eax, 3
mov dword [esi + 0x1f58], eax
mov esi, dword [ebp - 0x60]
test dl, dl
je 0x40b671
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x44]
mov dword [edx], eax
cmp eax, 3
jne 0x40b6fc
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x464994]
movss xmm3, dword [eax + 4]
movss xmm1, dword [ebp - 0x3c]
movss xmm5, dword [ebp - 0x3c]
movss xmm0, dword [edi + 0x44]
mov eax, dword [ebp - 0x48]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [edi + 0x48]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + ecx*4 + 0xe4]
subss xmm0, dword [eax + ecx*4 + 0x1ca8]
addss xmm0, dword [0x464880]
movss dword [ebp + ecx*4 - 0x14], xmm0
movss xmm0, dword [ebp - 0x10]
comiss xmm3, xmm0
ja 0x40b563
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x14]
comiss xmm4, xmm0
ja 0x40b574
movaps xmm4, xmm5
minss xmm4, xmm0
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x5c]
movss xmm0, dword [edi + 0x44]
mov edx, edi
movss xmm1, dword [edi + 0x48]
movaps xmm5, xmm0
addss xmm0, dword [edi + 0x4c]
movss xmm7, dword [eax + 0x46d7e4]
subss xmm5, xmm4
minss xmm7, dword [eax + 0x46d7ec]
movss xmm2, dword [eax + 0x46d7e0]
movaps xmm6, xmm1
minss xmm2, dword [eax + 0x46d7e8]
addss xmm1, dword [edi + 0x50]
subss xmm6, xmm3
lea eax, [ebp - 0x54]
movss dword [ebp - 8], xmm7
push eax
mulss xmm5, xmm2
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0xc], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x40], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [ebp - 0x2c], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x50], xmm3
call fcn.0040a690
movss xmm0, dword [ebp - 0xc]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x38], xmm0
lahf
test ah, 0x44
jp 0x40b646
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
movss xmm0, dword [ebp - 8]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x40b671
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x2c]
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x68]
jl 0x40b2c0
mov esi, dword [0x46e460]
mov ecx, dword [ebp - 0x48]
mov eax, dword [esi + 0x1c48]
dec dword [eax + 0xfc]
mov dword [edi + 0x17c], 0
mov eax, dword [ecx + 0x1f20]
test eax, eax
je 0x40b878
cmp dword [eax + 0x360], edi
jne 0x40b878
mov eax, dword [ecx + 0x1e48]
cmp eax, 2
jne 0x40b74d
cmp byte [ecx + 0x101], 0
je 0x40b878
xor edx, edx
lea ecx, [eax + 0x12]
call fcn.004126e0
lea ecx, [edx + 0x13]
movaps xmm5, xmm0
call fcn.004126e0
lea ecx, [edx + 0x12]
subss xmm5, xmm0
call fcn.004126e0
lea ecx, [edx + 0x11]
jmp 0x40b77a
movss xmm1, dword [0x464994]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp eax, 1
jne 0x40b71b
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x40b511
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp eax, 2
jne 0x40b733
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x40b516
movss xmm1, dword [ebp - 0x3c]
test eax, eax
jne 0x40b516
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x40b51b
cmp eax, 3
jne 0x40b878
xor edx, edx
lea ecx, [eax + 4]
call fcn.004126e0
lea ecx, [edx + 6]
movaps xmm5, xmm0
call fcn.004126e0
lea ecx, [edx + 5]
subss xmm5, xmm0
call fcn.004126e0
lea ecx, [edx + 4]
xor edx, edx
movaps xmm6, xmm0
call fcn.004126e0
subss xmm6, xmm0
xorps xmm3, xmm3
addss xmm5, xmm3
addss xmm6, xmm3
ucomiss xmm6, xmm3
lahf
test ah, 0x44
jp 0x40b7a9
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x40b87b
mov ecx, dword [ebp - 0x48]
movss xmm1, dword [ecx + 0xa8]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x464954]
minss xmm1, dword [ecx + 0xac]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x46483c]
movd xmm2, eax
mov eax, dword [ebx + 0x14]
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
subss xmm0, dword [edi + 0x44]
movaps xmm7, xmm2
mulss xmm5, xmm2
mulss xmm7, xmm6
subss xmm0, dword [edi + 0x4c]
maxss xmm7, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x48]
subss xmm0, dword [edi + 0x50]
mov byte [ecx + 0x1f34], 0
mov byte [ecx + 0x1e6b], 1
mov ecx, 0x20
maxss xmm5, xmm0
movss dword [ebp - 0x64], xmm5
call fcn.004037c0
mov ecx, dword [ebp - 0x6c]
mov edx, edi
movss xmm0, dword [ebp - 0x64]
mov dword [ecx], eax
lea eax, [ebp - 0x5c]
addss xmm7, dword [edi + 0x54]
addss xmm0, dword [edi + 0x58]
push eax
lea ecx, [ebp - 0x1c]
movss dword [ebp - 0x5c], xmm7
movss dword [ebp - 0x58], xmm0
call fcn.0040a690
mov esi, dword [0x46e460]
add esp, 4
xorps xmm3, xmm3
movss xmm0, dword [eax]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [eax + 4]
jmp 0x40b880
xorps xmm3, xmm3
movss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x38]
movss xmm2, dword [ebp - 0x3c]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x40b8b8
test dword [edi + 8], 0x100
movss dword [edi + 0x54], xmm1
movss dword [edi + 0x58], xmm0
jne 0x40b8b8
comiss xmm3, dword [esi + 0x2fe4]
jb 0x40b8b8
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2fe4], eax
movss xmm0, dword [ebp - 0x40]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x40b902
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x44], xmm1
movss dword [edi + 0x48], xmm0
jne 0x40b902
comiss xmm3, dword [esi + 0x2fe4]
jb 0x40b902
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2fe4], ecx
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x58]
mov al, byte [ebp - 0x27]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0043d6d2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret