Function at 0x1001a790
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 [0x100ae168]
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x94], edx
test dl, 0x42
jne 0x1001b75e
cmp byte [edi + 0xcc], 0
jg 0x1001b75e
cmp byte [edi + 0xcd], 0
jg 0x1001b75e
cmp byte [edi + 0xaf], 0
je 0x1001b75e
movss xmm2, dword [ecx + 0xfb4]
xor eax, eax
cmp byte [ecx + 0x4a], 0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x50]
addss xmm0, dword [0x100a0e88]
mulss xmm2, dword [0x100a0e28]
mov dword [esp + 0x54], eax
mulss xmm1, dword [0x100a0e94]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100a0e6c]
cvttss2si esi, xmm0
mov dword [esp + 0x5c], esi
je 0x1001a84d
movss xmm0, dword [0x100a0f0c]
jmp 0x1001a850
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 + 0x74], xmm0
je 0x1001a88a
test dl, 1
jne 0x1001a88a
mov ecx, edi
mov byte [esp + 0x17], 1
call fcn.10010690
movss xmm1, dword [esp + 0x78]
subss xmm1, xmm0
movss dword [esp + 0x58], xmm1
jmp 0x1001a89b
movss xmm0, dword [esp + 0x78]
mov byte [esp + 0x17], 0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [0x100a0fd4]
mov ecx, str.RESIZE
movaps xmm4, xmm0
movss dword [esp + 0x30], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm0
mov dword [edi + 0x150], 1
call fcn.1001f860
xor eax, eax
mov dword [esp + 0xc], eax
cmp dword [ebp + 0x10], eax
jle 0x1001ad75
movss xmm0, dword [edi + 0x18]
lea ecx, [eax + eax*2]
movss xmm1, dword [edi + 0x1c]
movaps xmm4, xmm0
addss xmm4, dword [edi + 0x20]
movaps xmm2, xmm1
mov dword [esp + 0x18], ecx
addss xmm2, dword [edi + 0x24]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [ecx*8 + 0x1009a0c0]
mulss xmm2, dword [ecx*8 + 0x1009a0c4]
addss xmm4, xmm0
movss xmm0, dword [ecx*8 + 0x1009a0c8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x1c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1009a0cc]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x1c]
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x8c], xmm5
comiss xmm4, xmm5
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x90], xmm3
jbe 0x1001a9b1
movss dword [esp + 0x84], xmm5
movss dword [esp + 0x8c], xmm4
comiss xmm2, xmm3
jbe 0x1001a9c8
movss dword [esp + 0x88], xmm3
movss dword [esp + 0x90], xmm2
mov ecx, dword [edi + 0xec]
mov esi, 4
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xf4]
lea edi, [esp + 0x2c]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1009a120]
sub esi, 1
jne 0x1001a9e7
not edx
lea ecx, [esp + 0x84]
push 8
push esi
mov dword [esp + 0x34], edx
call fcn.100215f0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x1d]
push 0x40800
push eax
lea eax, [esp + 0x26]
push eax
lea ecx, [esp + 0x98]
call fcn.100395a0
mov dl, byte [esp + 0x2a]
add esp, 0x14
mov cl, byte [esp + 0x15]
mov esi, dword [esp + 0x5c]
test dl, dl
jne 0x1001aa50
test cl, cl
je 0x1001ad30
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x20]
not eax
and eax, 1
add eax, 5
mov dword [edi + 0x203c], eax
test cl, cl
je 0x1001ad30
cmp byte [edi + 0xae5], 0
je 0x1001aac8
push dword [esp + 0x70]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
mov edx, edi
call fcn.1001a210
add esp, 4
mov dword [esp + 0x54], 3
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x48], xmm0
call fcn.10016ad0
mov cl, byte [esp + 0x15]
mov dl, byte [esp + 0x16]
jmp 0x1001ad34
mov ecx, dword [esp + 0x18]
xorps xmm1, xmm1
movss xmm3, dword [0x100a0e88]
movss xmm7, dword [ecx*8 + 0x1009a0c4]
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x1001ab06
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x1001aaf9
cmp byte [esp + 0x17], 0
jne 0x1001ab06
movss xmm2, dword [0x100a0ffc]
movaps xmm6, xmm2
jmp 0x1001ab14
movss xmm6, dword [esp + 0x58]
movss xmm2, dword [0x100a0ffc]
movss xmm0, dword [ecx*8 + 0x1009a0c0]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1001ab2e
movss xmm4, dword [esp + 0x74]
jmp 0x1001ab31
movaps xmm4, xmm2
ucomiss xmm7, xmm1
lahf
test ah, 0x44
jp 0x1001ab53
movss xmm2, dword [esp + 0x80]
movss dword [esp + 0x40], xmm2
movss xmm2, dword [0x100a0fd4]
jmp 0x1001ab61
movss xmm2, dword [0x100a0fd4]
movss dword [esp + 0x40], xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001ab78
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x3c], xmm0
jmp 0x1001ab7e
movss dword [esp + 0x3c], xmm2
movss xmm5, dword [ecx*8 + 0x1009a0c8]
xorps xmm3, xmm3
movss xmm2, dword [ecx*8 + 0x1009a0cc]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x1c]
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x1c]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x100a1130]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [ecx*8 + 0x1009a0c0]
mulss xmm2, xmm7
addss xmm5, xmm0
movss xmm0, dword [edi + 0xbc]
subss xmm0, dword [edi + 0x12b4]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [edi + 0xc0]
subss xmm0, dword [edi + 0x12b8]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x1001ac0c
movss xmm6, dword [esp + 0x40]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x1001ac1b
movss xmm4, dword [esp + 0x3c]
minss xmm4, xmm5
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x4c]
movss xmm2, dword [ecx*8 + 0x1009a0c0]
mov edx, edi
push eax
lea ecx, [esp + 0x64]
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [edi + 0x1c]
movaps xmm5, xmm0
addss xmm0, dword [edi + 0x20]
subss xmm5, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x24]
subss xmm3, xmm6
mulss xmm5, xmm2
mulss xmm3, xmm7
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [esp + 0x38], xmm5
mulss xmm4, xmm2
mulss xmm6, xmm7
addss xmm4, xmm0
movss dword [esp + 0x3c], xmm3
addss xmm6, xmm1
subss xmm4, xmm5
subss xmm6, xmm3
movss dword [esp + 0x50], xmm4
movss dword [esp + 0x54], xmm6
call fcn.1001a210
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm2, dword [esp + 0x60]
xorps xmm1, xmm1
movss dword [esp + 0x28], xmm2
movss xmm0, dword [ecx*8 + 0x1009a0c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001ace3
movss xmm4, dword [esp + 0x34]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x4c]
subss xmm4, xmm0
movss dword [esp + 0x34], xmm4
movss xmm0, dword [ecx*8 + 0x1009a0c4]
ucomiss xmm0, xmm1
movss xmm1, dword [esp + 0x64]
movss dword [esp + 0x30], xmm1
lahf
test ah, 0x44
jp 0x1001ad1a
movss xmm4, dword [esp + 0x38]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x50]
subss xmm4, xmm0
movss dword [esp + 0x38], xmm4
mov cl, byte [esp + 0x15]
mov dl, byte [esp + 0x16]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
jmp 0x1001ad34
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1001ad8f
test cl, cl
jne 0x1001ad93
test dl, dl
je 0x1001ad67
xor ecx, ecx
test dl, dl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100a0e88]
call fcn.10014780
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [ebp + 0x10]
jl 0x1001a8f0
test dword [edi + 0xc], 0x1000000
je 0x1001ad9a
mov eax, dword [edi + 0x10]
mov ecx, eax
shr ecx, 1
and eax, 8
and ecx, 2
or ecx, eax
jmp 0x1001adab
test cl, cl
je 0x1001ad44
mov ecx, 0x20
jmp 0x1001ad4e
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov edx, 0xf
cmp byte [eax + 0x4a], cl
cmovne ecx, edx
xor edx, edx
mov dword [esp + 0x3c], ecx
mov eax, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], eax
nop
test ecx, eax
je 0x1001af74
lea eax, [edx*8]
sub eax, edx
shl eax, 2
mov dword [esp + 0x18], eax
test edx, edx
je 0x1001adeb
cmp edx, 1
je 0x1001adeb
mov dword [esp + 0xc], 1
jmp 0x1001adf1
xor eax, eax
mov dword [esp + 0xc], eax
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0xac]
push edx
mov edx, edi
call fcn.1001a670
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [edi + 0xec]
add eax, 4
mov dword [esp + 0x2c], eax
mov esi, 4
mov eax, dword [edi + 0xf4]
lea edi, [esp + 0x2c]
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 + 0x1009a120]
sub esi, 1
jne 0x1001ae40
not edx
lea ecx, [esp + 0xa8]
push 8
push esi
mov dword [esp + 0x34], edx
call fcn.100215f0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x12]
push 0x40800
push eax
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0xbc]
call fcn.100395a0
mov esi, dword [esp + 0x70]
add esp, 0x14
cmp byte [esp + 0xb], 0
mov ecx, dword [esp + 0x20]
je 0x1001aeb6
movss xmm0, dword [0x100a0e10]
comiss xmm0, dword [ecx + 0x1294]
jb 0x1001aec2
mov byte [esp + 0xb], 0
mov al, byte [esp + 0xa]
test al, al
je 0x1001b418
mov edi, dword [esp + 0xc]
mov eax, edi
xor eax, 1
add eax, 3
mov dword [ecx + 0x203c], eax
mov al, byte [esp + 0xa]
test al, al
je 0x1001b418
cmp byte [ecx + 0xae5], 0
je 0x1001b003
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x1001aefb
cmp eax, 3
jne 0x1001af46
push dword [esp + 0x70]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xbc]
call fcn.1001a210
add esp, 4
mov eax, dword [eax + edi*4]
mov dword [esp + edi*4 + 0x44], eax
movss xmm0, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
movss dword [esp + 0x30], xmm0
bts eax, edi
movss xmm0, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
movss dword [esp + 0x28], xmm0
call fcn.10016ad0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0xa]
cmp byte [esp + 0xb], 0
je 0x1001af63
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov ecx, dword [esp + 0x3c]
test al, al
je 0x1001af70
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [esp + 0x40]
inc edx
rol eax, 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], eax
cmp edx, 4
jl 0x1001adc0
mov edx, dword [0x100ae168]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x124c]
dec dword [eax + 0xec]
mov dword [edi + 0x150], 0
mov eax, dword [ecx + 0x1eb8]
test eax, eax
je 0x1001b5ca
cmp dword [eax + 0x30c], edi
jne 0x1001b5ca
mov eax, dword [ecx + 0x1d34]
cmp eax, 2
jne 0x1001b425
cmp byte [ecx + 0xd9], 0
je 0x1001b5ca
movss xmm3, dword [edx + 0x12c]
movss xmm1, dword [edx + 0x10c]
subss xmm3, dword [edx + 0x11c]
subss xmm1, dword [edx + 0xfc]
jmp 0x1001b44e
cmp dword [ecx + 0x125c], 0
mov edi, dword [esp + 0x10]
je 0x1001b052
mov eax, dword [ecx + 0x126c]
cmp eax, dword [ecx + 0x11c8]
jne 0x1001b052
mov edx, edi
mov ecx, edi
mov eax, ecx
mov ecx, dword [ecx + 0x30c]
cmp eax, ecx
jne 0x1001b022
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x125c]
mov esi, dword [esp + 0x5c]
cmp ecx, eax
je 0x1001b06d
cmp edx, eax
je 0x1001b06d
cmp edx, ecx
je 0x1001b052
mov edx, dword [edx + 0x304]
test edx, edx
jne 0x1001b040
xor cl, cl
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x12a8], 0
jne 0x1001b071
test cl, cl
jne 0x1001b071
lea ecx, [eax + 0x2fa4]
jmp 0x1001b089
mov cl, 1
jmp 0x1001b054
movups xmm0, xmmword [esp + 0xa8]
lea ecx, [eax + 0x2fa4]
mov byte [eax + 0x2fb4], 0
movups xmmword [ecx], xmm0
test dword [edi + 0xc], 0x1000000
je 0x1001b0c6
lea edx, [esp + 0xa8]
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001b0b7
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1001b0a0
mov eax, dword [esp + 0x20]
jmp 0x1001b0c2
mov eax, dword [esp + 0x20]
mov byte [eax + 0x2fb4], 1
mov edi, dword [esp + 0x10]
cmp byte [eax + 0x2fb4], 0
mov ecx, dword [esp + 0x18]
movss xmm6, dword [edi + 0x18]
movss xmm7, dword [edi + 0x1c]
mov byte [esp + 0x27], 0
movss xmm0, dword [ecx + 0x10099ee8]
minss xmm0, dword [ecx + 0x10099ef0]
movss xmm5, dword [ecx + 0x10099eec]
minss xmm5, dword [ecx + 0x10099ef4]
mov ecx, dword [esp + 0xc]
movss dword [esp + 0x2c], xmm0
mulss xmm0, dword [edi + 0x20]
movss xmm2, dword [eax + ecx*4 + 0xbc]
subss xmm2, dword [eax + ecx*4 + 0x12b4]
movss xmm3, dword [eax + ecx*4 + 0xb0]
addss xmm0, xmm6
movaps xmm1, xmm3
movss dword [esp + 0x60], xmm5
addss xmm2, dword [0x100a0f0c]
movss dword [esp + 0x98], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [edi + 0x24]
addss xmm0, xmm7
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm6
addss xmm1, dword [esp + ecx*4 + 0x98]
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm7
movss dword [esp + 0x50], xmm0
movss dword [esp + ecx*4 + 0x4c], xmm2
je 0x1001b1ab
xorps xmm0, xmm0
movss dword [esp + ecx*4 + 0x4c], xmm1
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1001b1a6
xor ecx, ecx
comiss xmm1, xmm2
seta cl
xor eax, eax
comiss xmm3, xmm0
seta al
cmp eax, ecx
jne 0x1001b1ab
mov byte [esp + 0x27], 1
mov edx, dword [esp + 0x1c]
cmp edx, 3
je 0x1001b1cd
cmp edx, 2
jne 0x1001b1c0
cmp byte [esp + 0x17], 0
jne 0x1001b1cd
movss xmm0, dword [0x100a0ffc]
movaps xmm1, xmm0
jmp 0x1001b1db
movss xmm1, dword [esp + 0x58]
movss xmm0, dword [0x100a0ffc]
movss dword [esp + 0xc], xmm1
cmp edx, 1
jne 0x1001b254
movss xmm0, dword [esp + 0x74]
movss xmm2, dword [0x100a0fd4]
movss dword [esp + 0x18], xmm0
movss xmm4, dword [0x100a0fd4]
movss xmm3, dword [esp + 0x50]
comiss xmm1, xmm3
ja 0x1001b21a
movaps xmm1, xmm2
minss xmm1, xmm3
movss dword [esp + 0xc], xmm1
movss xmm1, dword [esp + 0x4c]
comiss xmm0, xmm1
ja 0x1001b232
movaps xmm0, xmm4
minss xmm0, xmm1
movss dword [esp + 0x18], xmm0
mov eax, dword [esp + 0x94]
test eax, 0x1000000
je 0x1001b2f9
mov ecx, eax
test eax, 0x8800
je 0x1001b297
and ecx, 8
je 0x1001b2c5
jmp 0x1001b29a
movss dword [esp + 0x18], xmm0
movaps xmm3, xmm0
cmp edx, 2
jne 0x1001b26d
movss xmm2, dword [esp + 0x80]
jmp 0x1001b1fa
movss xmm2, dword [0x100a0fd4]
movaps xmm0, xmm3
movss dword [esp + 0x18], xmm0
test edx, edx
jne 0x1001b1fa
movss xmm4, dword [esp + 0x7c]
movss dword [esp + 0x18], xmm0
jmp 0x1001b202
and ecx, 8
mov eax, dword [edi + 0x304]
movss xmm2, dword [eax + 0x1ec]
comiss xmm2, xmm0
movss xmm1, dword [eax + 0x1f4]
jbe 0x1001b2ba
movaps xmm1, xmm2
jmp 0x1001b2bf
comiss xmm0, xmm1
jbe 0x1001b2c5
movss dword [esp + 0x18], xmm1
movss xmm1, dword [esp + 0xc]
test ecx, ecx
je 0x1001b2ff
mov eax, dword [edi + 0x304]
movss xmm2, dword [eax + 0x1f0]
comiss xmm2, xmm1
movss xmm0, dword [eax + 0x1f8]
jbe 0x1001b2ef
movaps xmm1, xmm2
jmp 0x1001b2ff
comiss xmm1, xmm0
jbe 0x1001b2ff
movaps xmm1, xmm0
jmp 0x1001b2ff
movss xmm1, dword [esp + 0xc]
cmp byte [esp + 0x27], 0
jne 0x1001af53
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0xa0]
movaps xmm4, xmm6
lea ecx, [esp + 0x68]
addss xmm6, dword [edi + 0x20]
subss xmm4, xmm0
movaps xmm3, xmm7
addss xmm7, dword [edi + 0x24]
subss xmm3, xmm1
mov edx, edi
push eax
mulss xmm4, dword [esp + 0x30]
mulss xmm3, xmm5
addss xmm4, xmm0
subss xmm0, xmm6
addss xmm3, xmm1
subss xmm1, xmm7
movss dword [esp + 0x38], xmm4
mulss xmm0, dword [esp + 0x30]
mulss xmm1, xmm5
addss xmm0, xmm6
movss dword [esp + 0x3c], xmm3
addss xmm1, xmm7
subss xmm0, xmm4
subss xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xa8], xmm1
call fcn.1001a210
movss xmm0, dword [esp + 0x30]
add esp, 4
movss xmm3, dword [esp + 0x68]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss dword [esp + 0x28], xmm3
lahf
test ah, 0x44
jp 0x1001b3d3
movss xmm1, dword [esp + 0x34]
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x18]
subss xmm1, xmm0
movss dword [esp + 0x34], xmm1
movss xmm0, dword [esp + 0x60]
ucomiss xmm0, xmm2
movss xmm2, dword [esp + 0x6c]
movss dword [esp + 0x30], xmm2
lahf
test ah, 0x44
jp 0x1001b407
movss xmm1, dword [esp + 0x38]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0xc]
subss xmm1, xmm0
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
jmp 0x1001af4f
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
jmp 0x1001af57
cmp eax, 3
jne 0x1001b5ca
movss xmm3, dword [edx + 0x8ec]
movss xmm1, dword [edx + 0x8cc]
subss xmm3, dword [edx + 0x8dc]
subss xmm1, dword [edx + 0x8bc]
xorps xmm7, xmm7
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jp 0x1001b467
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x1001b5ca
movss xmm2, dword [ecx + 0x3c]
minss xmm2, dword [ecx + 0x40]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x100a0fa0]
mulss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm3
mulss xmm0, xmm1
addss xmm2, dword [ecx + 0x1ee0]
movss xmm1, dword [esp + 0x74]
addss xmm0, dword [ecx + 0x1edc]
movss dword [ecx + 0x1ee0], xmm2
movss dword [ecx + 0x1edc], xmm0
subss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x20]
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x58]
subss xmm1, dword [edi + 0x1c]
subss xmm1, dword [edi + 0x24]
movss dword [ecx + 0x1edc], xmm0
mov byte [ecx + 0x1ecc], 0
mov byte [ecx + 0x1d4b], 1
maxss xmm2, xmm1
movss xmm1, dword [0x100a0e88]
movss dword [ecx + 0x1ee0], xmm2
mov ecx, 0x20
call fcn.10014780
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
cvttss2si edi, dword [eax + 0x1edc]
cvttss2si eax, dword [eax + 0x1ee0]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x60], eax
movd xmm1, eax
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1001b546
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x1001b5d2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xbc]
addss xmm0, dword [edx + 0x28]
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x70], xmm0
call fcn.1001a210
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, dword [0x100ae168]
movd xmm1, edi
movss xmm0, dword [eax + 4]
movss xmm2, dword [eax]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x30], xmm0
movss xmm0, dword [ecx + 0x1edc]
subss xmm0, xmm1
movd xmm1, dword [esp + 0x60]
cvtdq2ps xmm1, xmm1
movss dword [ecx + 0x1edc], xmm0
movss xmm0, dword [ecx + 0x1ee0]
subss xmm0, xmm1
movss dword [ecx + 0x1ee0], xmm0
jmp 0x1001b5d8
movss xmm2, dword [esp + 0x28]
jmp 0x1001b5dc
movss xmm2, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
ucomiss xmm2, dword [0x100a0fd4]
movss xmm1, dword [edi + 0x18]
movss xmm3, dword [edi + 0x28]
movaps xmm4, xmm1
movss xmm6, dword [edi + 0x1c]
movaps xmm5, xmm3
movss xmm7, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x1001b62a
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1001b61a
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1001b62a
movss dword [edi + 0x28], xmm2
movaps xmm4, xmm1
movss dword [edi + 0x20], xmm2
movaps xmm5, xmm2
movss xmm0, dword [esp + 0x30]
movaps xmm2, xmm1
ucomiss xmm0, dword [0x100a0fd4]
lahf
test ah, 0x44
jnp 0x1001b671
movss xmm0, dword [edi + 0x24]
ucomiss xmm0, dword [esp + 0x30]
lahf
test ah, 0x44
jp 0x1001b65e
movaps xmm0, xmm7
ucomiss xmm0, dword [esp + 0x30]
lahf
test ah, 0x44
jnp 0x1001b671
movss xmm0, dword [esp + 0x30]
movaps xmm2, xmm4
movss dword [edi + 0x2c], xmm0
movss dword [edi + 0x24], xmm0
movss xmm4, dword [esp + 0x34]
movss xmm0, dword [0x100a0fd4]
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x1001b6af
cvttss2si eax, xmm4
movaps xmm2, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1001b6a7
movss dword [edi + 0x18], xmm0
movaps xmm2, xmm0
movss xmm0, dword [0x100a0fd4]
movss xmm4, dword [esp + 0x38]
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x1001b6da
cvttss2si eax, xmm4
movaps xmm0, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1001b6da
movss dword [edi + 0x1c], xmm4
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1001b700
ucomiss xmm6, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x1001b700
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x1001b700
ucomiss xmm7, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x1001b71e
test dword [edi + 0xc], 0x100
jne 0x1001b71e
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x3078]
jb 0x1001b71e
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x3078], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1001b754
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x78]
push eax
call fcn.1001a670
add esp, 8
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x20]
movups xmmword [eax + 0x2fa4], xmm0
mov eax, dword [esp + 0x54]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret