Function at 0x1003b3d0
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, 0xc0
mov eax, dword [0x10200e40]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], edx
mov edx, ecx
mov ecx, dword [0x1020f198]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x34], eax
push esi
push edi
test al, 0x42
jne 0x1003c4c3
cmp byte [edx + 0xcc], 0
jg 0x1003c4c3
cmp byte [edx + 0xcd], 0
jg 0x1003c4c3
cmp byte [edx + 0xaf], 0
je 0x1003c4c3
movss xmm2, dword [ecx + 0x3cf4]
xor eax, eax
cmp byte [ecx + 0x4a], 0
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x50]
addss xmm0, dword [0x101f4f54]
mulss xmm2, dword [0x101f4eec]
mov dword [esp + 0x38], eax
mulss xmm1, dword [0x101f4f60]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101f4f30]
cvttss2si esi, xmm0
mov dword [esp + 0x58], esi
je 0x1003b4ac
movss xmm7, dword [0x101f4fb4]
jmp 0x1003b4af
xorps xmm7, xmm7
cmp byte [ecx + 0x4b], 0
mov eax, dword [ebp + 0x18]
movss dword [esp + 0x20], xmm7
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x68], xmm0
je 0x1003b518
test byte [esp + 0x3c], 1
jne 0x1003b518
mov edi, dword [edx]
movss xmm1, dword [edx + 0x268]
mov eax, dword [edx + 0x304]
mov byte [esp + 0xb], 1
mulss xmm1, dword [edi + 0x3cf8]
test eax, eax
je 0x1003b4f6
mulss xmm1, dword [eax + 0x268]
movss xmm0, dword [edi + 0x38e8]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [esp + 0x6c]
subss xmm1, xmm0
movss dword [esp + 0x34], xmm1
jmp 0x1003b529
movss xmm0, dword [esp + 0x6c]
mov byte [esp + 0xb], 0
movss dword [esp + 0x34], xmm0
movss xmm1, dword [0x101f5050]
mov dword [edx + 0x150], 1
movaps xmm0, xmm1
mov edi, dword [ecx + 0x3f8c]
movaps xmm3, xmm1
mov ecx, str.RESIZE
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x30], xmm0
mov edx, dword [edi + 0xec]
mov eax, dword [edi + 0xf4]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x98], xmm0
mov eax, dword [eax + edx*4 - 4]
xor edx, edx
push eax
call fcn.10033cd0
add esp, 4
mov dword [esp + 0x88], eax
lea eax, [esp + 0x88]
lea ecx, [edi + 0xec]
push eax
call fcn.1004a1e0
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0xc], eax
cmp dword [ebp + 0x10], eax
jle 0x1003ba84
nop
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 + 0x88], ecx
addss xmm2, dword [edi + 0x24]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x101ef2a0]
mulss xmm2, dword [ecx*8 + 0x101ef2a4]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x101ef2a8]
movaps xmm5, xmm0
mulss xmm0, dword [esp + 0x20]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x101ef2ac]
movaps xmm4, xmm1
mulss xmm1, dword [esp + 0x20]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [esp + 0xac], xmm5
comiss xmm3, xmm5
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa8], xmm2
movss dword [esp + 0xb0], xmm4
jbe 0x1003b684
movss dword [esp + 0xa4], xmm5
movss dword [esp + 0xac], xmm3
comiss xmm2, xmm4
jbe 0x1003b69b
movss dword [esp + 0xa8], xmm4
movss dword [esp + 0xb0], xmm2
mov ecx, dword [edi + 0xec]
lea esi, [esp + 0x8c]
mov dword [esp + 0x8c], 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 + 0x101ef4a0]
sub edi, 1
jne 0x1003b6c0
not edx
lea ecx, [esp + 0xa4]
push 8
push edi
mov dword [esp + 0x94], edx
call fcn.100428e0
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x9b]
push 0x40800
push eax
lea eax, [esp + 0xa2]
push eax
lea ecx, [esp + 0xb8]
call fcn.1005ad90
mov dh, byte [esp + 0xa6]
add esp, 0x14
mov dl, byte [esp + 0x93]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
test dh, dh
jne 0x1003b73f
test dl, dl
je 0x1003ba42
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4d84], eax
test dl, dl
je 0x1003ba42
cmp byte [ecx + 0x3825], 0
je 0x1003b7b5
push dword [esp + 0x5c]
mov edx, edi
lea ecx, [esp + 0x54]
call fcn.1003ae50
add esp, 4
mov dword [esp + 0x38], 3
xor edx, edx
xor ecx, ecx
movss xmm0, dword [eax]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x98], xmm0
call fcn.10037270
jmp 0x1003ba34
mov edx, dword [esp + 0x88]
xorps xmm2, xmm2
movss xmm4, dword [0x101f4f54]
movss xmm0, dword [edx*8 + 0x101ef2a4]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1003b7f6
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1003b7e9
cmp byte [esp + 0xb], 0
jne 0x1003b7f6
movss xmm3, dword [0x101f5090]
movaps xmm6, xmm3
jmp 0x1003b804
movss xmm6, dword [esp + 0x34]
movss xmm3, dword [0x101f5090]
movss xmm1, dword [edx*8 + 0x101ef2a0]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1003b81e
movss xmm5, dword [esp + 0x68]
jmp 0x1003b821
movaps xmm5, xmm3
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1003b843
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [0x101f5050]
jmp 0x1003b854
movss xmm0, dword [0x101f5050]
movss dword [esp + 0x8c], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1003b863
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [edx*8 + 0x101ef2a8]
xorps xmm4, xmm4
movss xmm3, dword [edx*8 + 0x101ef2ac]
cvtsi2ss xmm4, esi
movss dword [esp + 0x2c], xmm0
movaps xmm2, xmm3
xorps xmm4, xmmword [0x101f5550]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x20]
movaps xmm7, xmm4
mulss xmm2, dword [esp + 0x20]
mulss xmm7, xmm1
mulss xmm4, xmm3
movss xmm3, dword [edx*8 + 0x101ef2a4]
subss xmm7, xmm0
subss xmm4, xmm2
mulss xmm7, dword [edx*8 + 0x101ef2a0]
mulss xmm4, xmm3
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe00]
subss xmm0, dword [ecx + 0x3ff4]
addss xmm4, xmm2
addss xmm7, xmm0
movss xmm0, dword [ecx + 0xe04]
subss xmm0, dword [ecx + 0x3ff8]
addss xmm0, xmm4
comiss xmm6, xmm0
ja 0x1003b906
movss xmm6, dword [esp + 0x8c]
minss xmm6, xmm0
comiss xmm5, xmm7
ja 0x1003b915
movss xmm5, dword [esp + 0x2c]
minss xmm5, xmm7
movss xmm1, dword [edi + 0x18]
lea eax, [esp + 0x9c]
movss xmm0, dword [edi + 0x1c]
lea ecx, [esp + 0x48]
movss xmm2, dword [edx*8 + 0x101ef2a0]
movaps xmm7, xmm1
addss xmm1, dword [edi + 0x20]
subss xmm7, xmm5
movaps xmm4, xmm0
addss xmm0, dword [edi + 0x24]
subss xmm4, xmm6
mov edx, edi
push eax
mulss xmm7, xmm2
mulss xmm4, xmm3
addss xmm7, xmm5
subss xmm5, xmm1
addss xmm4, xmm6
subss xmm6, xmm0
movss dword [esp + 0x28], xmm7
mulss xmm5, xmm2
mulss xmm6, xmm3
addss xmm5, xmm1
movss dword [esp + 0x2c], xmm4
addss xmm6, xmm0
subss xmm5, xmm7
subss xmm6, xmm4
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0xa4], xmm6
call fcn.1003ae50
mov ecx, dword [esp + 0x8c]
add esp, 4
movss xmm2, dword [esp + 0x48]
xorps xmm1, xmm1
movss dword [esp + 0x30], xmm2
movss xmm0, dword [ecx*8 + 0x101ef2a0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003b9e8
movss xmm3, dword [esp + 0x24]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x9c]
subss xmm3, xmm0
movss dword [esp + 0x24], xmm3
movss xmm0, dword [ecx*8 + 0x101ef2a4]
ucomiss xmm0, xmm1
movss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x18], xmm1
lahf
test ah, 0x44
jp 0x1003ba22
movss xmm3, dword [esp + 0x28]
movaps xmm0, xmm1
subss xmm0, dword [esp + 0xa0]
subss xmm3, xmm0
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x94], xmm2
movss dword [esp + 0x98], xmm1
mov dh, byte [esp + 0x92]
mov dl, byte [esp + 0x93]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1003ba9e
test dl, dl
jne 0x1003baa2
test dh, dh
je 0x1003ba76
xor ecx, ecx
test dh, dh
setne cl
add ecx, 0x1e
movss xmm1, dword [0x101f4f54]
call fcn.10034770
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [edx + ecx*4], eax
mov eax, ecx
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [ebp + 0x10]
jl 0x1003b5c0
test dword [edi + 0xc], 0x1000000
je 0x1003baa9
mov eax, dword [edi + 0x10]
mov edx, eax
shr edx, 1
and eax, 8
and edx, 2
or edx, eax
jmp 0x1003baba
test dl, dl
je 0x1003ba52
mov ecx, 0x20
jmp 0x1003ba5c
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, 0xf
cmp byte [eax + 0x4a], dl
cmovne edx, ecx
xor eax, eax
mov dword [esp + 0x2c], edx
mov ecx, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x8c], ecx
test edx, ecx
je 0x1003bcbd
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
mov dword [esp + 0x40], ecx
test eax, eax
je 0x1003baf9
mov dword [esp + 0x20], 1
cmp eax, 1
jne 0x1003bb01
mov dword [esp + 0x20], 0
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0xb8]
push eax
call fcn.1003b2a0
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, dword [edi + 0xec]
add eax, 4
mov dword [esp + 0x88], eax
mov esi, 4
mov eax, dword [edi + 0xf4]
lea edi, [esp + 0x88]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x101ef4a0]
sub esi, 1
jne 0x1003bb50
not edx
lea ecx, [esp + 0xb4]
push 8
push esi
mov dword [esp + 0x90], edx
call fcn.100428e0
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x98]
push 0x40800
push eax
lea eax, [esp + 0xa1]
push eax
lea ecx, [esp + 0xc8]
call fcn.1005ad90
mov esi, dword [esp + 0x6c]
add esp, 0x14
cmp byte [esp + 0x91], 0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
je 0x1003bbdc
movss xmm0, dword [0x101f4ec8]
comiss xmm0, dword [ecx + 0x3fd4]
jb 0x1003bbf0
mov byte [esp + 0x91], 0
mov dl, byte [esp + 0x90]
test dl, dl
jne 0x1003bbf7
mov eax, dword [esp + 0xc]
jmp 0x1003bc98
mov dl, byte [esp + 0x90]
mov eax, dword [esp + 0x20]
xor eax, 1
add eax, 3
mov dword [ecx + 0x4d84], eax
test dl, dl
je 0x1003bbe7
cmp byte [ecx + 0x3825], 0
je 0x1003bd64
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x1003bc26
cmp eax, 3
jne 0x1003bc84
push dword [esp + 0x5c]
mov edx, edi
lea ecx, [esp + 0x84]
call fcn.1003ae50
mov ecx, dword [esp + 0x24]
add esp, 4
lea eax, [eax + ecx*4]
mov eax, dword [eax]
mov dword [esp + ecx*4 + 0x94], eax
movss xmm0, dword [esp + 0x98]
mov eax, dword [esp + 0x38]
movss dword [esp + 0x18], xmm0
bts eax, ecx
movss xmm0, dword [esp + 0x94]
mov dword [esp + 0x38], eax
mov byte [esp + 0x90], 0
mov byte [esp + 0x91], 0
movss dword [esp + 0x30], xmm0
xor edx, edx
xor ecx, ecx
call fcn.10037270
mov eax, dword [esp + 0xc]
mov dl, byte [esp + 0x90]
cmp byte [esp + 0x91], 0
je 0x1003bca8
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
test dl, dl
mov edx, dword [esp + 0x2c]
je 0x1003bcb6
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
mov ecx, dword [esp + 0x8c]
inc eax
rol ecx, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x8c], ecx
cmp eax, 4
jl 0x1003bad0
mov edx, dword [0x1020f198]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x3f8c]
dec dword [eax + 0xec]
mov dword [edi + 0x150], 0
mov eax, dword [ecx + 0x4c00]
test eax, eax
je 0x1003c32c
cmp dword [eax + 0x30c], edi
jne 0x1003c32c
mov eax, dword [ecx + 0x4a7c]
cmp eax, 2
jne 0x1003c152
cmp byte [ecx + 0xe1d], 0
je 0x1003c32c
mov ecx, dword [0x1020f198]
mov edx, 0x201
call fcn.100407d0
mov edx, 0x202
mov edi, eax
call fcn.100407d0
mov edx, 0x204
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [edi + 0xc]
call fcn.100407d0
mov edx, 0x203
jmp 0x1003c190
mov eax, dword [ecx + 0x3f9c]
mov dword [esp + 0x88], eax
test eax, eax
je 0x1003bdb9
mov eax, dword [ecx + 0x3fac]
cmp eax, dword [ecx + 0x3f08]
jne 0x1003bdb9
mov edx, edi
mov ecx, edi
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [ecx + 0x30c]
cmp eax, ecx
jne 0x1003bd90
mov eax, dword [esp + 0x88]
cmp ecx, eax
je 0x1003be1f
cmp edx, eax
je 0x1003be1f
cmp edx, ecx
je 0x1003bdb9
mov edx, dword [edx + 0x304]
test edx, edx
jne 0x1003bda7
xor cl, cl
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x3fe8], 0
jne 0x1003bdcc
test cl, cl
je 0x1003bde2
movups xmm0, xmmword [esp + 0xb4]
mov byte [eax + 0x5cfc], 0
movups xmmword [eax + 0x5cec], xmm0
test dword [edi + 0xc], 0x1000000
je 0x1003be2e
lea ecx, [eax + 0x5cec]
mov dword [esp + 0x88], 0xc
lea edx, [esp + 0xb4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003be23
add ecx, 4
add edx, 4
sub dword [esp + 0x88], 4
jae 0x1003be03
mov eax, dword [esp + 0x10]
jmp 0x1003be2e
mov cl, 1
jmp 0x1003bdbb
mov eax, dword [esp + 0x10]
mov byte [eax + 0x5cfc], 1
cmp byte [eax + 0x5cfc], 0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], 0
movss xmm0, dword [edx + 0x101ef238]
minss xmm0, dword [edx + 0x101ef240]
movss xmm1, dword [eax + ecx*4 + 0xe00]
subss xmm1, dword [eax + ecx*4 + 0x3ff4]
movss xmm3, dword [eax + ecx*4 + 0xb0]
movaps xmm2, xmm3
mulss xmm0, dword [edi + 0x20]
addss xmm1, dword [0x101f4fb4]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edx + 0x101ef23c]
minss xmm0, dword [edx + 0x101ef244]
mulss xmm0, dword [edi + 0x24]
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm2, dword [esp + ecx*4 + 0x78]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0xa0], xmm0
movss dword [esp + ecx*4 + 0x9c], xmm1
je 0x1003bf03
xorps xmm0, xmm0
movss dword [esp + ecx*4 + 0x9c], xmm2
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1003befe
xor ecx, ecx
comiss xmm2, xmm1
seta cl
xor eax, eax
comiss xmm3, xmm0
seta al
cmp eax, ecx
jne 0x1003bf03
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0xc]
cmp eax, 3
je 0x1003bf25
cmp eax, 2
jne 0x1003bf18
cmp byte [esp + 0xb], 0
jne 0x1003bf25
movss xmm0, dword [0x101f5090]
movaps xmm4, xmm0
jmp 0x1003bf33
movss xmm4, dword [esp + 0x34]
movss xmm0, dword [0x101f5090]
cmp eax, 1
jne 0x1003c11e
movss xmm3, dword [esp + 0x68]
movss xmm0, dword [0x101f5050]
movss xmm2, dword [0x101f5050]
movss xmm1, dword [esp + 0xa0]
comiss xmm4, xmm1
ja 0x1003bf67
movaps xmm4, xmm0
minss xmm4, xmm1
movss xmm0, dword [esp + 0x9c]
comiss xmm3, xmm0
ja 0x1003bf7c
movaps xmm3, xmm2
minss xmm3, xmm0
mov ecx, dword [esp + 0x3c]
test ecx, 0x1000000
je 0x1003bfe2
test ecx, 0x8800
je 0x1003bf95
test cl, 8
je 0x1003bfe2
mov ecx, dword [edi + 0x304]
movss xmm0, dword [ecx + 0x1ec]
comiss xmm0, xmm3
ja 0x1003bfb4
movss xmm0, dword [ecx + 0x1f4]
minss xmm0, xmm3
mov ecx, dword [esp + 0x3c]
movaps xmm3, xmm0
test cl, 8
je 0x1003bfe2
mov ecx, dword [edi + 0x304]
movss xmm0, dword [ecx + 0x1f0]
comiss xmm0, xmm4
ja 0x1003bfdf
movss xmm0, dword [ecx + 0x1f8]
minss xmm0, xmm4
movaps xmm4, xmm0
cmp byte [esp + 0x17], 0
jne 0x1003bc91
movss xmm1, dword [edi + 0x18]
lea eax, [esp + 0x48]
movss xmm0, dword [edi + 0x1c]
lea ecx, [esp + 0x50]
movss xmm5, dword [edx + 0x101ef23c]
movaps xmm7, xmm1
minss xmm5, dword [edx + 0x101ef244]
movss xmm2, dword [edx + 0x101ef238]
subss xmm7, xmm3
minss xmm2, dword [edx + 0x101ef240]
addss xmm1, dword [edi + 0x20]
movaps xmm6, xmm0
mov edx, edi
addss xmm0, dword [edi + 0x24]
subss xmm6, xmm4
movss dword [esp + 0x88], xmm5
mulss xmm7, xmm2
push eax
movss dword [esp + 0x44], xmm2
mulss xmm6, xmm5
addss xmm7, xmm3
subss xmm3, xmm1
addss xmm6, xmm4
subss xmm4, xmm0
movss dword [esp + 0x28], xmm7
mulss xmm3, xmm2
movss dword [esp + 0x2c], xmm6
mulss xmm4, xmm5
addss xmm3, xmm1
addss xmm4, xmm0
subss xmm3, xmm7
subss xmm4, xmm6
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm4
call fcn.1003ae50
movss xmm0, dword [esp + 0x44]
add esp, 4
movss xmm3, dword [esp + 0x50]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss dword [esp + 0x30], xmm3
lahf
test ah, 0x44
jp 0x1003c0d0
movss xmm1, dword [esp + 0x24]
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x48]
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
movss xmm0, dword [esp + 0x88]
ucomiss xmm0, xmm2
movss xmm2, dword [esp + 0x54]
movss dword [esp + 0x18], xmm2
lahf
test ah, 0x44
jp 0x1003c107
movss xmm1, dword [esp + 0x28]
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x4c]
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm2
jmp 0x1003bc8d
movaps xmm3, xmm0
movaps xmm1, xmm3
cmp eax, 2
jne 0x1003c134
movss xmm0, dword [esp + 0x74]
jmp 0x1003bf4a
movss xmm0, dword [0x101f5050]
movaps xmm3, xmm1
test eax, eax
jne 0x1003bf4a
movss xmm2, dword [esp + 0x70]
jmp 0x1003bf52
cmp eax, 3
jne 0x1003c32c
mov ecx, dword [0x1020f198]
mov edx, 0x27d
call fcn.100407d0
mov edx, 0x27e
mov edi, eax
call fcn.100407d0
mov edx, 0x280
movss xmm1, dword [eax + 0xc]
subss xmm1, dword [edi + 0xc]
call fcn.100407d0
mov edx, 0x27f
movss xmm3, dword [eax + 0xc]
call fcn.100407d0
xorps xmm7, xmm7
ucomiss xmm1, xmm7
subss xmm3, dword [eax + 0xc]
lahf
test ah, 0x44
jp 0x1003c1b8
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jnp 0x1003c31e
mov edi, dword [esp + 0x10]
mov ecx, 0x20
mov edx, dword [esp + 0x1c]
movss xmm2, dword [edi + 0x3c]
minss xmm2, dword [edi + 0x40]
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x101f501c]
mulss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm3
mulss xmm0, xmm1
addss xmm2, dword [edi + 0x4c28]
movss xmm1, dword [esp + 0x68]
addss xmm0, dword [edi + 0x4c24]
movss dword [edi + 0x4c28], xmm2
movss dword [edi + 0x4c24], xmm0
subss xmm1, dword [edx + 0x18]
subss xmm1, dword [edx + 0x20]
maxss xmm0, xmm1
movss xmm1, dword [esp + 0x34]
subss xmm1, dword [edx + 0x1c]
subss xmm1, dword [edx + 0x24]
movss dword [edi + 0x4c24], xmm0
mov byte [edi + 0x4c14], 0
mov byte [edi + 0x4a93], 1
maxss xmm2, xmm1
movss xmm1, dword [0x101f4f54]
movss dword [edi + 0x4c28], xmm2
call fcn.10034770
mov ecx, dword [esp + 0x60]
mov dword [ecx], eax
cvttss2si edi, dword [edi + 0x4c24]
mov eax, dword [esp + 0x10]
cvttss2si eax, dword [eax + 0x4c28]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x44], eax
movd xmm1, eax
ucomiss xmm0, xmm7
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x1003c2a0
ucomiss xmm1, xmm7
lahf
test ah, 0x44
jnp 0x1003c324
addss xmm0, dword [edx + 0x28]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x84]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x58], xmm0
call fcn.1003ae50
mov ecx, dword [esp + 0x14]
add esp, 4
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [ecx + 0x4c24]
subss xmm0, xmm1
movd xmm1, dword [esp + 0x44]
cvtdq2ps xmm1, xmm1
movss dword [ecx + 0x4c24], xmm0
movss xmm0, dword [ecx + 0x4c28]
subss xmm0, xmm1
movss dword [ecx + 0x4c28], xmm0
mov edi, dword [esp + 0x1c]
jmp 0x1003c326
mov edi, edx
mov edx, dword [0x1020f198]
movss xmm1, dword [esp + 0x30]
ucomiss xmm1, dword [0x101f5050]
movss xmm2, dword [edi + 0x18]
movss xmm4, dword [edi + 0x28]
movaps xmm3, xmm2
movss xmm6, dword [edi + 0x1c]
movaps xmm5, xmm4
movss xmm7, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x1003c380
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003c373
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x1003c380
movaps xmm3, xmm2
movss dword [edi + 0x28], xmm1
movaps xmm5, xmm1
movss dword [edi + 0x20], xmm1
movss xmm0, dword [esp + 0x18]
movaps xmm1, xmm2
ucomiss xmm0, dword [0x101f5050]
lahf
test ah, 0x44
jnp 0x1003c3ca
movss xmm0, dword [edi + 0x24]
ucomiss xmm0, dword [esp + 0x18]
lahf
test ah, 0x44
jp 0x1003c3b7
movaps xmm0, xmm7
movaps xmm1, xmm3
ucomiss xmm0, dword [esp + 0x18]
lahf
test ah, 0x44
jnp 0x1003c3ca
movss xmm0, dword [esp + 0x18]
movaps xmm1, xmm3
movss dword [edi + 0x2c], xmm0
movss dword [edi + 0x24], xmm0
movss xmm3, dword [esp + 0x24]
movss xmm0, dword [0x101f5050]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1003c405
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1003c3fd
movss dword [edi + 0x18], xmm0
movaps xmm1, xmm0
movss xmm0, dword [0x101f5050]
movss xmm3, dword [esp + 0x28]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1003c430
cvttss2si eax, xmm3
movaps xmm0, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1003c430
movss dword [edi + 0x1c], xmm3
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1003c456
ucomiss xmm6, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x1003c456
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x1003c456
ucomiss xmm7, dword [edi + 0x2c]
lahf
test ah, 0x44
jnp 0x1003c474
test dword [edi + 0xc], 0x100
jne 0x1003c474
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x5dc0]
jb 0x1003c474
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5dc0], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1003c4ab
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [esp + 0x6c]
push eax
call fcn.1003b2a0
add esp, 8
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x10]
movups xmmword [eax + 0x5cec], xmm0
mov eax, dword [esp + 0x38]
pop edi
pop esi
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.10109e3a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc4]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10109e3a
mov esp, ebp
pop ebp
ret