Function at 0x10020530
Capabilities:
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x70], edx
mov ecx, dword [0x100b7d54]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x74], edx
test dl, 0x42
jne 0x100214e3
cmp byte [edi + 0xcc], 0
jg 0x100214e3
cmp byte [edi + 0xcd], 0
jg 0x100214e3
cmp byte [edi + 0xaf], 0
je 0x100214e3
movss xmm2, dword [ecx + 0xfb4]
xor eax, eax
cmp byte [ecx + 0x4a], 0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x50]
addss xmm0, dword [0x100a6fc8]
mulss xmm2, dword [0x100a6f68]
mov dword [esp + 0x58], eax
mulss xmm1, dword [0x100a6fd4]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100a6fac]
cvttss2si esi, xmm0
mov dword [esp + 0x6c], esi
je 0x100205ea
movss xmm0, dword [0x100a7044]
jmp 0x100205ed
xorps xmm0, xmm0
cmp byte [ecx + 0x4b], 0
mov eax, dword [ebp + 0x18]
movss dword [esp + 0x1c], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x78], xmm0
je 0x10020627
test dl, 1
jne 0x10020627
mov ecx, edi
mov byte [esp + 0x1b], 1
call fcn.10016300
movss xmm1, dword [esp + 0x7c]
subss xmm1, xmm0
movss dword [esp + 0x54], xmm1
jmp 0x10020638
movss xmm0, dword [esp + 0x7c]
mov byte [esp + 0x1b], 0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [0x100a7114]
mov ecx, str.RESIZE
movaps xmm3, xmm0
movss dword [esp + 0x2c], xmm0
movaps xmm7, xmm0
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x34], xmm7
movss dword [esp + 0x44], xmm7
movss dword [esp + 0x48], xmm0
mov dword [edi + 0x150], 1
call fcn.10025500
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x10], eax
jle 0x10020b0a
nop dword [eax]
movss xmm0, dword [edi + 0x18]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x1c]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x20]
movaps xmm2, xmm1
mov dword [esp + 0xc], ecx
addss xmm2, dword [edi + 0x24]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x100a0620]
mulss xmm2, dword [ecx*8 + 0x100a0624]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x100a0628]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x1c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x100a062c]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0x90], xmm5
comiss xmm3, xmm5
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x94], xmm4
jbe 0x10020751
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x90], xmm3
comiss xmm2, xmm4
jbe 0x10020768
movss dword [esp + 0x8c], xmm4
movss dword [esp + 0x94], xmm2
mov ecx, dword [edi + 0xec]
lea esi, [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xf4]
mov edi, 4
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 + 0x100a0680]
sub edi, 1
jne 0x10020787
not edx
lea ecx, [esp + 0x88]
push 8
push edi
mov dword [esp + 0x38], edx
call fcn.10027280
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x21]
push 0x40800
push eax
lea eax, [esp + 0x2a]
push eax
lea ecx, [esp + 0x9c]
call fcn.1003f350
mov dh, byte [esp + 0x2e]
add esp, 0x14
mov dl, byte [esp + 0x19]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
test dh, dh
jne 0x100207f4
test dl, dl
je 0x10020ac9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x203c], eax
test dl, dl
je 0x10020ac9
cmp byte [ecx + 0xae5], 0
je 0x10020860
push dword [esp + 0x70]
mov edx, edi
lea ecx, [esp + 0x68]
call fcn.1001ffc0
add esp, 4
mov dword [esp + 0x58], 3
movss xmm0, dword [eax]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x48], xmm0
call fcn.1001c860
jmp 0x10020ac1
mov edx, dword [esp + 0xc]
xorps xmm2, xmm2
movss xmm4, dword [0x100a6fc8]
movss xmm0, dword [edx*8 + 0x100a0624]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1002089e
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10020891
cmp byte [esp + 0x1b], 0
jne 0x1002089e
movss xmm3, dword [0x100a713c]
movaps xmm7, xmm3
jmp 0x100208ac
movss xmm7, dword [esp + 0x54]
movss xmm3, dword [0x100a713c]
movss xmm1, dword [edx*8 + 0x100a0620]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100208c6
movss xmm5, dword [esp + 0x78]
jmp 0x100208c9
movaps xmm5, xmm3
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100208eb
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x100a7114]
jmp 0x100208f9
movss xmm0, dword [0x100a7114]
movss dword [esp + 0x30], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1002090b
movss xmm0, dword [esp + 0x80]
movss xmm1, dword [edx*8 + 0x100a0628]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x100a062c]
cvtsi2ss xmm4, esi
movss dword [esp + 0x40], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x100a7550]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x1c]
movaps xmm6, xmm4
mulss xmm2, dword [esp + 0x1c]
mulss xmm6, xmm1
movss xmm1, dword [edx*8 + 0x100a0620]
mulss xmm4, xmm3
movss xmm3, dword [edx*8 + 0x100a0624]
subss xmm6, xmm0
subss xmm4, xmm2
mulss xmm6, xmm1
mulss xmm4, xmm3
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xbc]
subss xmm0, dword [ecx + 0x12b4]
addss xmm4, xmm2
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xc0]
subss xmm0, dword [ecx + 0x12b8]
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x100209af
movss xmm7, dword [esp + 0x30]
minss xmm7, xmm0
comiss xmm5, xmm6
ja 0x100209be
movss xmm5, dword [esp + 0x40]
minss xmm5, xmm6
movss xmm0, dword [edi + 0x18]
lea eax, [esp + 0x4c]
movaps xmm4, xmm0
lea ecx, [esp + 0x5c]
addss xmm0, dword [edi + 0x20]
subss xmm4, xmm5
push eax
mulss xmm4, xmm1
movss xmm1, dword [edi + 0x1c]
movaps xmm2, xmm1
addss xmm1, dword [edi + 0x24]
subss xmm2, xmm7
addss xmm4, xmm5
subss xmm5, xmm0
mulss xmm2, xmm3
mulss xmm5, dword [edx*8 + 0x100a0620]
mov edx, edi
addss xmm2, xmm7
movss dword [esp + 0x3c], xmm4
subss xmm7, xmm1
addss xmm5, xmm0
movss dword [esp + 0x40], xmm2
mulss xmm7, xmm3
subss xmm5, xmm4
addss xmm7, xmm1
movss dword [esp + 0x50], xmm5
subss xmm7, xmm2
movss dword [esp + 0x54], xmm7
call fcn.1001ffc0
mov ecx, dword [esp + 0x10]
add esp, 4
movss xmm2, dword [esp + 0x5c]
xorps xmm1, xmm1
movss dword [esp + 0x34], xmm2
movss xmm0, dword [ecx*8 + 0x100a0620]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10020a7e
movss xmm3, dword [esp + 0x38]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x4c]
subss xmm3, xmm0
movss dword [esp + 0x38], xmm3
movss xmm0, dword [ecx*8 + 0x100a0624]
ucomiss xmm0, xmm1
movss xmm1, dword [esp + 0x60]
movss dword [esp + 0x2c], xmm1
lahf
test ah, 0x44
jp 0x10020ab5
movss xmm3, dword [esp + 0x3c]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x50]
subss xmm3, xmm0
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
mov dh, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10020b24
test dl, dl
jne 0x10020b28
test dh, dh
je 0x10020afc
xor ecx, ecx
test dh, dh
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100a6fc8]
call fcn.1001a410
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [ebp + 0x10]
jl 0x10020690
test dword [edi + 0xc], 0x1000000
je 0x10020b2f
mov eax, dword [edi + 0x10]
mov edx, eax
shr edx, 1
and eax, 8
and edx, 2
or edx, eax
jmp 0x10020b40
test dl, dl
je 0x10020ad9
mov ecx, 0x20
jmp 0x10020ae3
mov eax, dword [esp + 0x28]
xor edx, edx
mov ecx, 0xf
cmp byte [eax + 0x4a], dl
cmovne edx, ecx
xor eax, eax
mov dword [esp + 0x40], edx
mov ecx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
test edx, ecx
je 0x10020d0e
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [esp + 0x5c], ecx
test eax, eax
je 0x10020b7b
cmp eax, 1
je 0x10020b7b
mov ecx, 1
jmp 0x10020b7d
xor ecx, ecx
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xac]
mov dword [esp], 0x40800000
push eax
call fcn.10020410
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [edi + 0xec]
add eax, 4
mov dword [esp + 0xc], eax
mov esi, 4
mov eax, dword [edi + 0xf4]
lea edi, [esp + 0xc]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a0680]
sub esi, 1
jne 0x10020bd0
not edx
lea ecx, [esp + 0xa8]
push 8
push esi
mov dword [esp + 0x14], edx
call fcn.10027280
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x13]
push 0x40800
push eax
lea eax, [esp + 0x23]
push eax
lea ecx, [esp + 0xbc]
call fcn.1003f350
mov esi, dword [esp + 0x80]
add esp, 0x14
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x28]
je 0x10020c49
movss xmm0, dword [0x100a6f50]
comiss xmm0, dword [ecx + 0x1294]
jb 0x10020c5e
mov byte [esp + 0x13], 0
mov dl, byte [esp + 0xb]
test dl, dl
jne 0x10020c62
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
jmp 0x10020cf1
mov dl, byte [esp + 0xb]
mov edi, dword [esp + 0x14]
mov eax, edi
xor eax, 1
add eax, 3
mov dword [ecx + 0x203c], eax
test dl, dl
je 0x10020c51
cmp byte [ecx + 0xae5], 0
je 0x10020da6
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x10020c93
cmp eax, 3
jne 0x10020ce0
push dword [esp + 0x70]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xbc]
call fcn.1001ffc0
add esp, 4
lea eax, [eax + edi*4]
mov eax, dword [eax]
mov dword [esp + edi*4 + 0x44], eax
movss xmm0, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
movss dword [esp + 0x2c], xmm0
bts eax, edi
movss xmm0, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov byte [esp + 0xb], 0
mov byte [esp + 0x13], 0
movss dword [esp + 0x34], xmm0
call fcn.1001c860
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + 0xb]
cmp byte [esp + 0x13], 0
je 0x10020cfd
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test dl, dl
mov edx, dword [esp + 0x40]
je 0x10020d0a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
inc eax
rol ecx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp eax, 4
jl 0x10020b53
mov ecx, dword [0x100b7d54]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + 0x124c]
dec dword [eax + 0xec]
mov dword [edi + 0x150], 0
mov eax, dword [edx + 0x1eb8]
test eax, eax
je 0x10021362
cmp dword [eax + 0x30c], edi
jne 0x10021362
mov eax, dword [edx + 0x1d34]
xorps xmm7, xmm7
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp eax, 2
jne 0x100211d4
cmp byte [edx + 0xd9], 0
je 0x100211f9
movss xmm3, dword [ecx + 0x12c]
movss xmm1, dword [ecx + 0x10c]
subss xmm3, dword [ecx + 0x11c]
subss xmm1, dword [ecx + 0xfc]
jmp 0x100211f9
mov eax, dword [ecx + 0x125c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10020df6
mov eax, dword [ecx + 0x126c]
cmp eax, dword [ecx + 0x11c8]
jne 0x10020df6
mov edx, edi
mov ecx, edi
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [ecx + 0x30c]
cmp eax, ecx
jne 0x10020dd0
mov eax, dword [esp + 0xc]
cmp ecx, eax
je 0x10020e59
cmp edx, eax
je 0x10020e59
cmp edx, ecx
je 0x10020df6
mov edx, dword [edx + 0x304]
test edx, edx
jne 0x10020de4
xor cl, cl
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x12a8], 0
jne 0x10020e09
test cl, cl
je 0x10020e1f
movups xmm0, xmmword [esp + 0xa8]
mov byte [eax + 0x2fb4], 0
movups xmmword [eax + 0x2fa4], xmm0
test dword [edi + 0xc], 0x1000000
je 0x10020e68
lea ecx, [eax + 0x2fa4]
mov dword [esp + 0xc], 0xc
lea edx, [esp + 0xa8]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10020e5d
add ecx, 4
add edx, 4
sub dword [esp + 0xc], 4
jae 0x10020e40
mov eax, dword [esp + 0x28]
jmp 0x10020e68
mov cl, 1
jmp 0x10020df8
mov eax, dword [esp + 0x28]
mov byte [eax + 0x2fb4], 1
cmp byte [eax + 0x2fb4], 0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x23], 0
movss xmm0, dword [edx + 0x100a0448]
minss xmm0, dword [edx + 0x100a0450]
movss xmm1, dword [eax + ecx*4 + 0xbc]
subss xmm1, dword [eax + ecx*4 + 0x12b4]
movss xmm3, dword [eax + ecx*4 + 0xb0]
movaps xmm2, xmm3
mulss xmm0, dword [edi + 0x20]
addss xmm1, dword [0x100a7044]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [edx + 0x100a044c]
minss xmm0, dword [edx + 0x100a0454]
mulss xmm0, dword [edi + 0x24]
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm2, dword [esp + ecx*4 + 0x98]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x50], xmm0
movss dword [esp + ecx*4 + 0x4c], xmm1
je 0x10020f3a
xorps xmm0, xmm0
movss dword [esp + ecx*4 + 0x4c], xmm2
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10020f35
xor ecx, ecx
comiss xmm2, xmm1
seta cl
xor eax, eax
comiss xmm3, xmm0
seta al
cmp eax, ecx
jne 0x10020f3a
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x1c]
cmp eax, 3
je 0x10020f5c
cmp eax, 2
jne 0x10020f4f
cmp byte [esp + 0x1b], 0
jne 0x10020f5c
movss xmm0, dword [0x100a713c]
movaps xmm2, xmm0
jmp 0x10020f6a
movss xmm2, dword [esp + 0x54]
movss xmm0, dword [0x100a713c]
movss dword [esp + 0x14], xmm2
cmp eax, 1
jne 0x10021188
movss xmm1, dword [esp + 0x78]
movss xmm0, dword [0x100a7114]
movss dword [esp + 0xc], xmm1
movss xmm4, dword [0x100a7114]
movss xmm3, dword [esp + 0x50]
comiss xmm2, xmm3
ja 0x10020fad
movaps xmm2, xmm0
minss xmm2, xmm3
movss dword [esp + 0x14], xmm2
movss xmm0, dword [esp + 0x4c]
comiss xmm1, xmm0
ja 0x10020fc5
movaps xmm1, xmm4
minss xmm1, xmm0
movss dword [esp + 0xc], xmm1
mov ecx, dword [esp + 0x74]
test ecx, 0x1000000
je 0x10021037
test ecx, 0x8800
je 0x10020fde
test cl, 8
je 0x10021037
mov ecx, dword [edi + 0x304]
movss xmm0, dword [ecx + 0x1ec]
comiss xmm0, xmm1
ja 0x10020ffd
movss xmm0, dword [ecx + 0x1f4]
minss xmm0, xmm1
mov ecx, dword [esp + 0x74]
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm1
test cl, 8
je 0x10021037
mov ecx, dword [edi + 0x304]
movss xmm0, dword [ecx + 0x1f0]
comiss xmm0, xmm2
ja 0x1002102e
movss xmm0, dword [ecx + 0x1f8]
minss xmm0, xmm2
movaps xmm2, xmm0
movss dword [esp + 0x14], xmm2
cmp byte [esp + 0x23], 0
jne 0x10020ced
movss xmm0, dword [edi + 0x18]
lea eax, [esp + 0xa0]
movss xmm3, dword [esp + 0xc]
lea ecx, [esp + 0x64]
movss xmm1, dword [edi + 0x1c]
movaps xmm7, xmm0
movss xmm4, dword [esp + 0x14]
subss xmm7, xmm3
movss xmm5, dword [edx + 0x100a044c]
movaps xmm6, xmm1
minss xmm5, dword [edx + 0x100a0454]
movss xmm2, dword [edx + 0x100a0448]
subss xmm6, xmm4
minss xmm2, dword [edx + 0x100a0450]
addss xmm0, dword [edi + 0x20]
addss xmm1, dword [edi + 0x24]
push eax
mulss xmm6, xmm5
mov edx, edi
mulss xmm7, xmm2
addss xmm6, xmm4
movss dword [esp + 0x30], xmm5
subss xmm4, xmm1
movss dword [esp + 0x60], xmm2
addss xmm7, xmm3
subss xmm3, xmm0
movss dword [esp + 0x40], xmm6
mulss xmm4, xmm5
mulss xmm3, xmm2
addss xmm4, xmm1
movss dword [esp + 0x3c], xmm7
addss xmm3, xmm0
subss xmm4, xmm6
subss xmm3, xmm7
movss dword [esp + 0x18], xmm4
movss dword [esp + 0xa8], xmm4
movss dword [esp + 0x10], xmm3
movss dword [esp + 0xa4], xmm3
call fcn.1001ffc0
movss xmm0, dword [esp + 0x60]
add esp, 4
movss xmm3, dword [esp + 0x64]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss dword [esp + 0x34], xmm3
lahf
test ah, 0x44
jp 0x10021143
movss xmm1, dword [esp + 0x38]
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xc]
subss xmm1, xmm0
movss dword [esp + 0x38], xmm1
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x68]
ucomiss xmm0, xmm2
movss dword [esp + 0x2c], xmm1
lahf
test ah, 0x44
jp 0x10021177
movss xmm2, dword [esp + 0x3c]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x14]
subss xmm2, xmm0
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm1
jmp 0x10020ce9
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm1
movaps xmm3, xmm1
cmp eax, 2
jne 0x100211a7
movss xmm0, dword [esp + 0x84]
jmp 0x10020f8d
movss xmm0, dword [0x100a7114]
movaps xmm1, xmm3
movss dword [esp + 0xc], xmm1
test eax, eax
jne 0x10020f8d
movss xmm4, dword [esp + 0x80]
movss dword [esp + 0xc], xmm1
jmp 0x10020f95
cmp eax, 3
jne 0x100211f9
movss xmm3, dword [ecx + 0x8ec]
movss xmm1, dword [ecx + 0x8cc]
subss xmm3, dword [ecx + 0x8dc]
subss xmm1, dword [ecx + 0x8bc]
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1002120f
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10021362
movss xmm2, dword [edx + 0x3c]
mov ecx, 0x20
minss xmm2, dword [edx + 0x40]
movss xmm0, dword [edx + 0x18]
mulss xmm0, dword [0x100a70e0]
mulss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm3
mulss xmm0, xmm1
addss xmm2, dword [edx + 0x1ee0]
movss xmm1, dword [esp + 0x78]
addss xmm0, dword [edx + 0x1edc]
movss dword [edx + 0x1ee0], xmm2
movss dword [edx + 0x1edc], xmm0
subss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x20]
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x54]
subss xmm1, dword [edi + 0x1c]
subss xmm1, dword [edi + 0x24]
movss dword [edx + 0x1edc], xmm0
mov byte [edx + 0x1ecc], 0
mov byte [edx + 0x1d4b], 1
maxss xmm2, xmm1
movss xmm1, dword [0x100a6fc8]
movss dword [edx + 0x1ee0], xmm2
call fcn.1001a410
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cvttss2si edi, dword [edx + 0x1edc]
cvttss2si eax, dword [edx + 0x1ee0]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x5c], eax
movd xmm1, eax
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x100212ea
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x10021370
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xbc]
addss xmm0, dword [edx + 0x28]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x6c], xmm0
call fcn.1001ffc0
mov ecx, dword [esp + 0x2c]
add esp, 4
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ecx + 0x1edc]
movss xmm7, dword [eax]
subss xmm0, xmm1
movd xmm1, dword [esp + 0x5c]
movss xmm3, dword [eax + 4]
cvtdq2ps xmm1, xmm1
movss dword [ecx + 0x1edc], xmm0
movss xmm0, dword [ecx + 0x1ee0]
subss xmm0, xmm1
movss dword [ecx + 0x1ee0], xmm0
jmp 0x1002137c
movss xmm3, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x34]
jmp 0x10021380
movss xmm3, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
ucomiss xmm7, dword [0x100a7114]
lea ecx, [edi + 0x18]
movss xmm1, dword [edi + 0x28]
movss xmm4, dword [ecx]
movaps xmm2, xmm1
movss xmm5, dword [ecx + 4]
movss xmm6, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x100213cd
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x100213c0
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x100213cd
lea ecx, [edi + 0x18]
movss dword [edi + 0x28], xmm7
movaps xmm2, xmm7
movss dword [edi + 0x20], xmm7
movss xmm7, dword [0x100a7114]
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10021405
movss xmm0, dword [edi + 0x24]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100213fb
movaps xmm0, xmm6
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10021405
lea ecx, [edi + 0x18]
movss dword [edi + 0x2c], xmm3
movss dword [edi + 0x24], xmm3
movss xmm3, dword [esp + 0x38]
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x1002142c
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x1002142c
movss dword [ecx], xmm0
movss xmm3, dword [esp + 0x3c]
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x10021459
movss xmm0, dword [edi + 0x1c]
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10021459
movss dword [edi + 0x1c], xmm3
ucomiss xmm4, dword [ecx]
lahf
test ah, 0x44
jp 0x1002147f
ucomiss xmm5, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x1002147f
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1002147f
ucomiss xmm6, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x100214a3
test dword [edi + 0xc], 0x100
jne 0x100214a3
mov ecx, dword [0x100b7d54]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3078]
jb 0x100214a3
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x3078], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x100214d9
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x7c]
push eax
call fcn.10020410
add esp, 8
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x28]
movups xmmword [eax + 0x2fa4], xmm0
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret