Function at 0x1000f570
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 [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov edx, dword [0x100881b4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x10]
test byte [edi + 8], 0x42
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x24], edx
jne 0x10010149
cmp byte [edi + 0x90], 0
jg 0x10010149
cmp byte [edi + 0x91], 0
jg 0x10010149
cmp byte [edi + 0x7b], 0
je 0x10010149
movss xmm2, dword [edx + 0x18d0]
xor eax, eax
movss xmm0, dword [edi + 0x3c]
movaps xmm1, xmm2
addss xmm0, dword [0x1007db34]
mulss xmm2, dword [0x1007dae4]
mov esi, 4
mov cl, byte [edx + 0xb3]
mulss xmm1, dword [0x1007db44]
test cl, cl
mov byte [ebp - 0x11], 0
addss xmm0, xmm2
cmovne eax, esi
mov dword [ebp - 0x60], eax
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1007db20]
cvttss2si esi, xmm0
mov dword [ebp - 0x5c], esi
je 0x1000f648
movss xmm2, dword [0x1007dbf0]
jmp 0x1000f64b
xorps xmm2, xmm2
movss xmm0, dword [0x1007dc6c]
mov ecx, str.RESIZE
mov dword [edi + 0x134], 1
mov dword [edi + 0x138], 2
mov edi, dword [edx + 0x1a00]
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x20], xmm0
mov edx, dword [edi + 0xbc]
mov eax, dword [edi + 0xc4]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x10], xmm0
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.100093d0
add esp, 4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
lea ecx, [edi + 0xbc]
push eax
call fcn.100197c0
mov edi, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0xc], edx
jle 0x1000fb20
nop dword [eax + eax]
movss xmm0, dword [edi + 0xc]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
addss xmm2, xmm1
mov dword [ebp - 0x4c], eax
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax*8 + 0x10086968]
mulss xmm2, dword [eax*8 + 0x1008696c]
addss xmm3, xmm0
movss xmm0, dword [eax*8 + 0x10086970]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x40]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x10086974]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x40]
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 0x1000f777
movss dword [ebp - 0x7c], xmm5
movss dword [ebp - 0x74], xmm3
comiss xmm2, xmm4
jbe 0x1000f786
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x70], xmm2
mov ecx, dword [edi + 0xbc]
lea esi, [ebp - 4]
mov eax, dword [edi + 0xc4]
mov edi, 4
mov dword [ebp - 4], 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 + 0x10078c48]
sub edi, 1
jne 0x1000f7a3
mov eax, dword [0x100881b4]
not edx
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x2c]
cmp dword [eax + 0x1a34], edx
jne 0x1000f7d8
mov dword [eax + 0x1a38], edx
cmp dword [eax + 0x1a6c], edx
jne 0x1000f7e7
mov byte [eax + 0x1a70], 1
push 0x4080
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10028e50
mov cl, byte [ebp - 9]
add esp, 0xc
test cl, cl
jne 0x1000f811
mov al, byte [ebp - 0xa]
test al, al
je 0x1000fa10
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x24]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1d94], eax
mov al, byte [ebp - 0xa]
test al, al
je 0x1000fa18
cmp byte [ecx + 0x3e5], 0
je 0x1000f887
test edx, edx
jne 0x1000f887
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x34]
mov edx, edi
push dword [eax + 4]
push dword [eax]
call fcn.1000f040
add esp, 8
mov byte [ebp - 0x11], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x10], xmm2
call fcn.1000bca0
mov edx, dword [ebp - 0x18]
cmp byte [ebp - 0xa], 0
je 0x1000fa36
mov ecx, 0x20
jmp 0x1000fa41
mov eax, dword [ebp - 0x4c]
mov edx, edi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
movss xmm7, dword [eax*8 + 0x10086970]
xorps xmm3, xmmword [0x1007e1b0]
movaps xmm0, xmm7
mulss xmm0, dword [ebp - 0x40]
movss xmm2, dword [eax*8 + 0x10086974]
movss xmm4, dword [eax*8 + 0x10086968]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x40]
movss xmm5, dword [eax*8 + 0x1008696c]
mulss xmm7, xmm3
mulss xmm2, xmm3
subss xmm7, xmm0
movss xmm6, dword [edi + 0x10]
subss xmm2, xmm1
mulss xmm7, xmm4
mulss xmm2, xmm5
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1a58]
addss xmm2, xmm1
movss xmm1, dword [edi + 0x18]
addss xmm1, dword [edi + 0x10]
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xec]
subss xmm0, dword [ecx + 0x1a5c]
lea ecx, [ebp - 0x6c]
addss xmm0, xmm2
movss xmm2, dword [edi + 0xc]
movaps xmm3, xmm2
addss xmm2, dword [edi + 0x14]
subss xmm3, xmm7
subss xmm6, xmm0
movss dword [ebp - 4], xmm0
mulss xmm3, xmm4
mulss xmm6, xmm5
addss xmm3, xmm7
subss xmm7, xmm2
addss xmm6, xmm0
subss xmm0, xmm1
movss dword [ebp - 0x1c], xmm3
mulss xmm7, xmm4
mulss xmm0, xmm5
addss xmm7, xmm2
movss dword [ebp - 0x20], xmm6
addss xmm0, xmm1
subss xmm7, xmm3
subss xmm0, xmm6
movss dword [ebp - 0x48], xmm7
movss dword [ebp - 0x10], xmm7
movss dword [ebp - 0x44], xmm0
push dword [ebp - 0x44]
movss dword [ebp - 4], xmm0
push dword [ebp - 0x48]
call fcn.1000f040
mov ecx, dword [ebp - 0x4c]
add esp, 8
movss xmm3, dword [ebp - 0x6c]
xorps xmm5, xmm5
movss dword [ebp - 0x28], xmm3
movss xmm0, dword [ecx*8 + 0x10086968]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1000f9d6
movss xmm1, dword [ebp - 0x1c]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x1c], xmm1
movss xmm0, dword [ecx*8 + 0x1008696c]
movss xmm2, dword [ebp - 0x68]
ucomiss xmm0, xmm5
movss dword [ebp - 0x10], xmm2
lahf
test ah, 0x44
jp 0x1000fa08
movss xmm1, dword [ebp - 0x20]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 4]
subss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
mov edx, dword [ebp - 0x18]
mov al, byte [ebp - 0xa]
jmp 0x1000fa1b
mov edx, dword [ebp - 0x18]
xorps xmm5, xmm5
jmp 0x1000fa1e
xorps xmm5, xmm5
mov cl, byte [ebp - 9]
test edx, edx
je 0x1000f873
test al, al
jne 0x1000f87d
test cl, cl
je 0x1000fb11
xor ecx, ecx
cmp byte [ebp - 9], cl
setne cl
add ecx, 0x1e
mov eax, dword [0x100881b4]
add ecx, ecx
movss xmm3, dword [0x1007db34]
xorps xmm5, xmm5
movups xmm2, xmmword [eax + ecx*8 + 0x15cc]
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1518]
movups xmmword [ebp - 0x58], xmm2
jbe 0x1000fa78
xorps xmm0, xmm0
jmp 0x1000fa7f
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm4, dword [0x1007dc4c]
movss xmm6, dword [0x1007db04]
movss xmm2, dword [ebp - 0x54]
comiss xmm5, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1000faaa
xorps xmm0, xmm0
jmp 0x1000fab1
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x50]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x1000fad1
xorps xmm0, xmm0
jmp 0x1000fad8
movaps xmm0, xmm3
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm1
jbe 0x1000faf3
xorps xmm0, xmm0
jmp 0x1000fafa
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x64]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebx + 0xc]
jl 0x1000f6d0
jmp 0x1000fb23
xorps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x60], ecx
jbe 0x1000fe75
movss xmm3, dword [edi + 0x10]
movss xmm4, dword [edi + 0xc]
movaps xmm2, xmm3
movss xmm1, dword [edi + 0x14]
addss xmm1, xmm4
addss xmm2, dword [edi + 0x18]
test ecx, ecx
jne 0x1000fb8b
movd xmm6, esi
movaps xmm0, xmm3
subss xmm0, dword [0x1007dbf0]
addss xmm3, dword [0x1007dbf0]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x38], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x30], xmm3
subss xmm1, xmm6
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x34], xmm1
jmp 0x1000fc4c
cmp ecx, 1
jne 0x1000fbcb
movd xmm6, esi
movaps xmm0, xmm1
subss xmm0, dword [0x1007dbf0]
addss xmm1, dword [0x1007dbf0]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x3c], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x34], xmm1
subss xmm2, xmm6
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x30], xmm2
jmp 0x1000fc4c
cmp ecx, 2
jne 0x1000fc08
movd xmm6, esi
movaps xmm0, xmm2
subss xmm0, dword [0x1007dbf0]
addss xmm2, dword [0x1007dbf0]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x38], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x30], xmm2
subss xmm1, xmm6
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x34], xmm1
jmp 0x1000fc4c
cmp ecx, 3
jne 0x1000fc45
movaps xmm0, xmm4
subss xmm0, dword [0x1007dbf0]
addss xmm4, dword [0x1007dbf0]
movss dword [ebp - 0x3c], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm4
addss xmm3, xmm0
subss xmm2, xmm0
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x30], xmm2
jmp 0x1000fc4c
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
lea eax, [ecx + 4]
mov esi, 4
mov ecx, dword [edi + 0xbc]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc4]
lea edi, [ebp - 8]
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 + 0x10078c48]
sub esi, 1
jne 0x1000fc70
mov eax, dword [0x100881b4]
not edx
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x2c]
cmp dword [eax + 0x1a34], edx
jne 0x1000fca5
mov dword [eax + 0x1a38], edx
cmp dword [eax + 0x1a6c], edx
jne 0x1000fcb4
mov byte [eax + 0x1a70], 1
push 0x80
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 0xa]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10028e50
mov edx, dword [ebp - 0x24]
add esp, 0xc
cmp byte [ebp - 0xa], 0
je 0x1000fce6
movss xmm0, dword [edx + 0x1a2c]
comiss xmm0, dword [0x1007dad4]
ja 0x1000fcf0
cmp byte [ebp - 9], 0
je 0x1000fe62
mov ecx, dword [ebp - 4]
xorps xmm5, xmm5
mov eax, ecx
and eax, 1
add eax, 3
cmp byte [ebp - 9], 0
mov dword [edx + 0x1d94], eax
je 0x1000fe68
mov eax, dword [ebp - 0x80]
xorps xmm6, xmm6
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0x18], xmm6
mov dword [eax], ecx
movss xmm7, dword [edi + 0xc]
movss xmm0, dword [edi + 0x10]
movaps xmm1, xmm7
movaps xmm3, xmm0
test ecx, ecx
jne 0x1000fd4e
movss xmm3, dword [edx + 0xec]
subss xmm3, dword [edx + 0x1a5c]
addss xmm3, dword [0x1007dbf0]
jmp 0x1000fd89
cmp ecx, 1
jne 0x1000fd5d
movss xmm6, dword [0x1007db34]
jmp 0x1000fd71
cmp ecx, 2
jne 0x1000fd6c
movss xmm5, dword [0x1007db34]
jmp 0x1000fd34
cmp ecx, 3
jne 0x1000fd93
movss xmm1, dword [edx + 0xe8]
subss xmm1, dword [edx + 0x1a58]
addss xmm1, dword [0x1007dbf0]
movss dword [ebp - 0x10], xmm5
movss dword [ebp - 0x18], xmm6
movaps xmm4, xmm0
lea ecx, [ebp - 0x6c]
movss xmm0, dword [edi + 0x18]
subss xmm4, xmm3
addss xmm0, dword [edi + 0x10]
movaps xmm2, xmm7
mov edx, edi
addss xmm7, dword [edi + 0x14]
subss xmm2, xmm1
mulss xmm4, xmm5
addss xmm4, xmm3
mulss xmm2, xmm6
subss xmm3, xmm0
addss xmm2, xmm1
subss xmm1, xmm7
movss dword [ebp - 0x20], xmm4
mulss xmm3, xmm5
movss dword [ebp - 0x1c], xmm2
mulss xmm1, xmm6
addss xmm3, xmm0
addss xmm1, xmm7
subss xmm3, xmm4
subss xmm1, xmm2
movss dword [ebp - 0x4c], xmm3
push dword [ebp - 0x4c]
movss dword [ebp - 0x50], xmm1
push dword [ebp - 0x50]
call fcn.1000f040
movss xmm0, dword [ebp - 0x18]
add esp, 8
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x28], xmm0
lahf
test ah, 0x44
jp 0x1000fe35
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x1c]
subss xmm1, xmm0
movss dword [ebp - 0x1c], xmm1
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x10], xmm0
lahf
test ah, 0x44
jp 0x1000fe65
subss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [ebp - 0x20]
subss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
jmp 0x1000fe65
xorps xmm5, xmm5
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp - 0x60]
jl 0x1000fb31
mov esi, dword [0x100881b4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x1a00]
dec dword [eax + 0xbc]
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [ecx + 0x1c28]
test eax, eax
je 0x100100a4
cmp dword [eax + 0x2f8], edi
jne 0x100100a4
mov eax, dword [ecx + 0x1b58]
cmp eax, 3
jne 0x1000fefa
cmp byte [ecx + 0x101], 0
je 0x100100a4
xor edx, edx
lea ecx, [eax + 0xf]
call fcn.10016950
lea ecx, [edx + 0x11]
movaps xmm6, xmm0
call fcn.10016950
subss xmm6, xmm0
lea ecx, [edx + 0x14]
addss xmm6, xmm5
call fcn.10016950
lea ecx, [edx + 0x13]
jmp 0x1000ff2d
xorps xmm7, xmm7
xorps xmm6, xmm6
cmp eax, 4
jne 0x1000ff42
xor edx, edx
lea ecx, [eax + 1]
call fcn.10016950
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.10016950
subss xmm6, xmm0
lea ecx, [edx + 7]
addss xmm6, xmm5
call fcn.10016950
lea ecx, [edx + 6]
xor edx, edx
movaps xmm7, xmm0
call fcn.10016950
mov ecx, dword [ebp - 0x24]
subss xmm7, xmm0
addss xmm7, xmm5
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1000ff58
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x100100a4
movss xmm1, dword [ecx + 0xa8]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x1007dc54]
mov byte [ecx + 0x1c3c], 0
minss xmm1, dword [ecx + 0xac]
mov byte [ecx + 0x1b7b], 1
movups xmm3, xmmword [esi + 0x17cc]
comiss xmm5, xmm3
mulss xmm1, xmm0
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [esi + 0x1518]
cvttss2si eax, xmm1
movups xmmword [ebp - 0x7c], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm0
movss xmm0, dword [0x1007db34]
jbe 0x1000ffc6
xorps xmm1, xmm1
jmp 0x1000ffcd
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm4, dword [0x1007dc4c]
movss xmm3, dword [ebp - 0x78]
comiss xmm5, xmm3
mulss xmm1, xmm4
addss xmm1, dword [0x1007db04]
cvttss2si ecx, xmm1
jbe 0x1000fff4
xorps xmm1, xmm1
jmp 0x1000fffb
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [ebp - 0x74]
mulss xmm1, xmm4
addss xmm1, dword [0x1007db04]
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x1001001f
xorps xmm1, xmm1
jmp 0x10010026
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x1007db04]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10010049
xorps xmm0, xmm0
jmp 0x1001004d
minss xmm0, xmm2
mulss xmm0, xmm4
mov edx, edi
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
lea ecx, [ebp - 0x34]
movss xmm0, dword [edi + 0x20]
addss xmm6, dword [edi + 0x1c]
addss xmm0, xmm7
movss dword [ebp - 0x48], xmm6
movss dword [ebp - 0x44], xmm0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.1000f040
mov esi, dword [0x100881b4]
add esp, 8
movss xmm0, dword [eax]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 4]
jmp 0x100100a9
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x28]
xorps xmm2, xmm2
movss xmm3, dword [0x1007dc6c]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x100100e7
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm1
movss dword [edi + 0x20], xmm0
jne 0x100100e7
comiss xmm2, dword [esi + 0x2da0]
jb 0x100100e7
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2da0], eax
movss xmm0, dword [ebp - 0x1c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10010131
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jne 0x10010131
comiss xmm2, dword [esi + 0x2da0]
jb 0x10010131
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2da0], ecx
mov ecx, dword [edi + 0x1c]
mov al, byte [ebp - 0x11]
mov dword [edi + 0x14], ecx
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x18], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret