Function at 0x10013620
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, 0x90
mov eax, dword [0x1004a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], edx
mov edx, dword [0x1004ad74]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x10]
test byte [edi + 8], 0x42
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x2c], edx
jne 0x1001420c
cmp byte [edi + 0x90], 0
jg 0x1001420c
cmp byte [edi + 0x91], 0
jg 0x1001420c
cmp byte [edi + 0x7b], 0
je 0x1001420c
movss xmm2, dword [edx + 0x18c4]
xor eax, eax
movss xmm0, dword [edi + 0x3c]
movaps xmm1, xmm2
addss xmm0, dword [0x10045ecc]
mulss xmm2, dword [0x10045e84]
mov esi, 4
mov cl, byte [edx + 0xb3]
mulss xmm1, dword [0x10045ed8]
test cl, cl
mov byte [ebp - 0x15], 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 [0x10045eb8]
cvttss2si esi, xmm0
mov dword [ebp - 0x5c], esi
je 0x10013702
movss xmm2, dword [0x10045f0c]
jmp 0x10013705
xorps xmm2, xmm2
movss xmm0, dword [0x10045f74]
mov ecx, str.RESIZE
mov dword [edi + 0x130], 1
mov dword [edi + 0x134], 2
mov edi, dword [edx + 0x19b0]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x28], xmm0
mov edx, dword [edi + 0xbc]
mov eax, dword [edi + 0xc4]
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x14], xmm0
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.1000cbb0
add esp, 4
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
lea ecx, [edi + 0xbc]
push eax
call fcn.1001dd30
mov edi, dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp dword [ebx + 0xc], edx
jle 0x10013bda
movss xmm0, dword [edi + 0xc]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movaps xmm2, xmm1
mov dword [ebp - 0x38], eax
addss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax*8 + 0x1004a2a8]
mulss xmm2, dword [eax*8 + 0x1004a2ac]
addss xmm3, xmm0
movss xmm0, dword [eax*8 + 0x1004a2b0]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x20]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x1004a2b4]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x20]
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 0x10013828
movss dword [ebp - 0x7c], xmm5
movss dword [ebp - 0x74], xmm3
comiss xmm2, xmm4
jbe 0x10013837
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x70], xmm2
mov ecx, dword [edi + 0xbc]
lea esi, [ebp - 8]
mov eax, dword [edi + 0xc4]
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 + 0x10041548]
sub edi, 1
jne 0x10013854
mov eax, dword [0x1004ad74]
not edx
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x34]
cmp dword [eax + 0x19e4], edx
jne 0x10013889
mov dword [eax + 0x19e8], edx
cmp dword [eax + 0x1a18], edx
jne 0x10013898
mov byte [eax + 0x1a1c], 1
push 0x2020
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1002d2d0
mov cl, byte [ebp - 0xd]
add esp, 0xc
test cl, cl
jne 0x100138c2
mov al, byte [ebp - 0xe]
test al, al
je 0x10013aba
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1d30], eax
mov al, byte [ebp - 0xe]
test al, al
je 0x10013ac2
cmp byte [ecx + 0x3dd], 0
je 0x10013938
test edx, edx
jne 0x10013938
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
mov edx, edi
push dword [eax + 4]
push dword [eax]
call fcn.100130f0
add esp, 8
mov byte [ebp - 0x15], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x14], xmm2
call fcn.1000fb40
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0xe], 0
je 0x10013ae1
mov eax, 0x20
jmp 0x10013aee
mov eax, dword [ebp - 0x38]
mov edx, edi
movss xmm7, dword [ecx + 0xec]
subss xmm7, dword [ecx + 0x1a0c]
movd xmm3, esi
movss xmm2, dword [eax*8 + 0x1004a2b4]
movss xmm6, dword [eax*8 + 0x1004a2b0]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x20]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x20]
movss xmm4, dword [eax*8 + 0x1004a2a8]
movss xmm5, dword [eax*8 + 0x1004a2ac]
cvtdq2ps xmm3, xmm3
xorps xmm3, xmmword [0x10046100]
mulss xmm6, xmm3
mulss xmm2, xmm3
subss xmm6, xmm0
subss xmm2, xmm1
mulss xmm6, xmm4
mulss xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1a08]
addss xmm2, xmm1
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm1
lea ecx, [ebp - 0x6c]
addss xmm1, dword [edi + 0x18]
addss xmm6, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm7, xmm2
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x14]
subss xmm2, xmm6
subss xmm3, xmm7
mulss xmm2, xmm4
mulss xmm3, xmm5
addss xmm2, xmm6
subss xmm6, xmm0
addss xmm3, xmm7
subss xmm7, xmm1
movss dword [ebp - 0x24], xmm2
mulss xmm6, xmm4
mulss xmm7, xmm5
addss xmm6, xmm0
movss dword [ebp - 0x28], xmm3
addss xmm7, xmm1
subss xmm6, xmm2
subss xmm7, xmm3
movss dword [ebp - 0x58], xmm6
movss dword [ebp - 8], xmm6
movss dword [ebp - 0x54], xmm7
push dword [ebp - 0x54]
movss dword [ebp - 0xc], xmm7
push dword [ebp - 0x58]
call fcn.100130f0
mov ecx, dword [ebp - 0x38]
add esp, 8
movss xmm3, dword [ebp - 0x6c]
xorps xmm5, xmm5
movss dword [ebp - 0x30], xmm3
movss xmm0, dword [ecx*8 + 0x1004a2a8]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x10013a80
movss xmm1, dword [ebp - 0x24]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 8]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
movss xmm0, dword [ecx*8 + 0x1004a2ac]
movss xmm2, dword [ebp - 0x68]
ucomiss xmm0, xmm5
movss dword [ebp - 0x14], xmm2
lahf
test ah, 0x44
jp 0x10013ab2
movss xmm1, dword [ebp - 0x28]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0xc]
subss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
mov edx, dword [ebp - 0x1c]
mov al, byte [ebp - 0xe]
jmp 0x10013ac5
mov edx, dword [ebp - 0x1c]
xorps xmm5, xmm5
jmp 0x10013ac8
xorps xmm5, xmm5
mov cl, byte [ebp - 0xd]
test edx, edx
je 0x10013924
test al, al
jne 0x1001392e
test cl, cl
jne 0x10013ae4
jmp 0x10013bcb
mov cl, byte [ebp - 0xd]
xor eax, eax
test cl, cl
setne al
add eax, 0x1e
mov ecx, dword [0x1004ad74]
add eax, 0xb
movss xmm3, dword [0x10045ecc]
add eax, eax
xorps xmm5, xmm5
movups xmm2, xmmword [ecx + eax*8 + 0x1510]
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x1510]
movups xmmword [ebp - 0x90], xmm2
jbe 0x10013b2c
xorps xmm0, xmm0
jmp 0x10013b33
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm4, dword [0x10045f48]
movss xmm6, dword [0x10045e9c]
movss xmm2, dword [ebp - 0x8c]
comiss xmm5, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10013b61
xorps xmm0, xmm0
jmp 0x10013b68
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x88]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x10013b8b
xorps xmm0, xmm0
jmp 0x10013b92
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 0x10013bad
xorps xmm0, xmm0
jmp 0x10013bb4
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 - 0x1c], edx
cmp edx, dword [ebx + 0xc]
jl 0x10013782
jmp 0x10013bdd
xorps xmm5, xmm5
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x60], ecx
jbe 0x10013f2d
nop dword [eax + eax]
movss xmm4, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm1, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
test ecx, ecx
jne 0x10013c49
movd xmm6, esi
movaps xmm0, xmm3
subss xmm0, dword [0x10045f0c]
addss xmm3, dword [0x10045f0c]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x44], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x3c], xmm3
subss xmm1, xmm6
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x40], xmm1
jmp 0x10013d0a
cmp ecx, 1
jne 0x10013c89
movd xmm6, esi
movaps xmm0, xmm1
subss xmm0, dword [0x10045f0c]
addss xmm1, dword [0x10045f0c]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x48], xmm0
addss xmm3, xmm6
movss dword [ebp - 0x40], xmm1
subss xmm2, xmm6
movss dword [ebp - 0x44], xmm3
movss dword [ebp - 0x3c], xmm2
jmp 0x10013d0a
cmp ecx, 2
jne 0x10013cc6
movd xmm6, esi
movaps xmm0, xmm2
subss xmm0, dword [0x10045f0c]
addss xmm2, dword [0x10045f0c]
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x44], xmm0
addss xmm4, xmm6
movss dword [ebp - 0x3c], xmm2
subss xmm1, xmm6
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x40], xmm1
jmp 0x10013d0a
cmp ecx, 3
jne 0x10013d03
movaps xmm0, xmm4
subss xmm0, dword [0x10045f0c]
addss xmm4, dword [0x10045f0c]
movss dword [ebp - 0x48], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm4
addss xmm3, xmm0
subss xmm2, xmm0
movss dword [ebp - 0x44], xmm3
movss dword [ebp - 0x3c], xmm2
jmp 0x10013d0a
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
lea eax, [ecx + 4]
mov esi, 4
mov ecx, dword [edi + 0xbc]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc4]
lea edi, [ebp - 0xc]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10041548]
sub esi, 1
jne 0x10013d30
mov eax, dword [0x1004ad74]
not edx
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x34]
cmp dword [eax + 0x19e4], edx
jne 0x10013d65
mov dword [eax + 0x19e8], edx
cmp dword [eax + 0x1a18], edx
jne 0x10013d74
mov byte [eax + 0x1a1c], 1
push 0x20
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0xe]
push eax
lea ecx, [ebp - 0x48]
call fcn.1002d2d0
mov edx, dword [ebp - 0x2c]
add esp, 0xc
cmp byte [ebp - 0xe], 0
je 0x10013da3
movss xmm0, dword [edx + 0x19dc]
comiss xmm0, dword [0x10045e74]
ja 0x10013dad
cmp byte [ebp - 0xd], 0
je 0x10013f1a
mov ecx, dword [ebp - 0x20]
xorps xmm5, xmm5
mov eax, ecx
and eax, 1
add eax, 3
cmp byte [ebp - 0xd], 0
mov dword [edx + 0x1d30], eax
je 0x10013f20
mov eax, dword [ebp - 0x80]
xorps xmm4, xmm4
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x1c], xmm5
mov dword [eax], ecx
movss xmm6, dword [edi + 0xc]
movss xmm7, dword [edi + 0x10]
movaps xmm0, xmm6
movaps xmm1, xmm7
test ecx, ecx
jne 0x10013e0b
movss xmm1, dword [edx + 0xec]
subss xmm1, dword [edx + 0x1a0c]
addss xmm1, dword [0x10045f0c]
jmp 0x10013e46
cmp ecx, 1
jne 0x10013e1a
movss xmm5, dword [0x10045ecc]
jmp 0x10013e2e
cmp ecx, 2
jne 0x10013e29
movss xmm4, dword [0x10045ecc]
jmp 0x10013df1
cmp ecx, 3
jne 0x10013e50
movss xmm0, dword [edx + 0xe8]
subss xmm0, dword [edx + 0x1a08]
addss xmm0, dword [0x10045f0c]
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x1c], xmm5
movaps xmm3, xmm7
lea ecx, [ebp - 0x6c]
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm1
movaps xmm2, xmm6
addss xmm6, dword [edi + 0x14]
subss xmm2, xmm0
mov edx, edi
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm3, xmm1
subss xmm1, xmm7
addss xmm2, xmm0
subss xmm0, xmm6
movss dword [ebp - 0x28], xmm3
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm7
movss dword [ebp - 0x24], xmm2
addss xmm0, xmm6
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x4c], xmm1
push dword [ebp - 0x4c]
movss dword [ebp - 0x50], xmm0
push dword [ebp - 0x50]
call fcn.100130f0
movss xmm0, dword [ebp - 0x1c]
add esp, 8
xorps xmm5, xmm5
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x30], xmm0
lahf
test ah, 0x44
jp 0x10013eed
subss xmm0, dword [ebp - 0x50]
movss xmm1, dword [ebp - 0x24]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm5
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x14], xmm0
lahf
test ah, 0x44
jp 0x10013f1d
subss xmm0, dword [ebp - 0x4c]
movss xmm1, dword [ebp - 0x28]
subss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
jmp 0x10013f1d
xorps xmm5, xmm5
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x60]
jl 0x10013bf0
mov esi, dword [0x1004ad74]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x19b0]
dec dword [eax + 0xbc]
mov eax, dword [ecx + 0x1b10]
test eax, eax
je 0x10014149
cmp dword [eax + 0x2f4], edi
jne 0x10014149
mov eax, dword [ecx + 0x1af8]
xorps xmm7, xmm7
xorps xmm6, xmm6
cmp eax, 3
jne 0x10013fa0
cmp byte [ecx + 0x101], 0
je 0x10013fe2
xor edx, edx
lea ecx, [eax + 0xf]
call fcn.1001ab70
lea ecx, [edx + 0x11]
movaps xmm6, xmm0
call fcn.1001ab70
subss xmm6, xmm0
lea ecx, [edx + 0x14]
addss xmm6, xmm5
call fcn.1001ab70
lea ecx, [edx + 0x13]
jmp 0x10013fcd
cmp eax, 4
jne 0x10013fe2
xor edx, edx
lea ecx, [eax + 1]
call fcn.1001ab70
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.1001ab70
subss xmm6, xmm0
lea ecx, [edx + 7]
addss xmm6, xmm5
call fcn.1001ab70
lea ecx, [edx + 6]
xor edx, edx
movaps xmm7, xmm0
call fcn.1001ab70
mov ecx, dword [ebp - 0x2c]
subss xmm7, xmm0
addss xmm7, xmm5
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x10013ff8
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x10014149
movss xmm1, dword [ecx + 0xa8]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x10045f50]
mov byte [ecx + 0x1b24], 0
minss xmm1, dword [ecx + 0xac]
mov byte [ecx + 0x1b33], 1
movups xmm3, xmmword [esi + 0x17c0]
comiss xmm5, xmm3
mulss xmm1, xmm0
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [esi + 0x1510]
cvttss2si eax, xmm1
movups xmmword [ebp - 0x90], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm0
movss xmm0, dword [0x10045ecc]
jbe 0x10014069
xorps xmm1, xmm1
jmp 0x10014070
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm4, dword [0x10045f48]
movss xmm3, dword [ebp - 0x8c]
comiss xmm5, xmm3
mulss xmm1, xmm4
addss xmm1, dword [0x10045e9c]
cvttss2si ecx, xmm1
jbe 0x1001409a
xorps xmm1, xmm1
jmp 0x100140a1
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [ebp - 0x88]
mulss xmm1, xmm4
addss xmm1, dword [0x10045e9c]
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x100140c8
xorps xmm1, xmm1
jmp 0x100140cf
movaps xmm1, xmm0
minss xmm1, xmm3
movss xmm3, dword [0x10045e9c]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x100140f2
xorps xmm0, xmm0
jmp 0x100140f6
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 - 0x40]
addss xmm7, dword [edi + 0x20]
addss xmm6, dword [edi + 0x1c]
movss dword [ebp - 0x54], xmm7
push dword [ebp - 0x54]
movss dword [ebp - 0x58], xmm6
push dword [ebp - 0x58]
call fcn.100130f0
mov esi, dword [0x1004ad74]
add esp, 8
movss xmm0, dword [eax]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1001414e
movss xmm0, dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x30]
xorps xmm2, xmm2
movss xmm3, dword [0x10045f74]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jnp 0x1001418c
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm1
movss dword [edi + 0x20], xmm0
jne 0x1001418c
comiss xmm2, dword [esi + 0x2d30]
jb 0x1001418c
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2d30], eax
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x100141d6
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x28]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jne 0x100141d6
comiss xmm2, dword [esi + 0x2d30]
jb 0x100141d6
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2d30], ecx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov al, byte [ebp - 0x15]
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 1
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f23d
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.1003f23d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret