Function at 0x10032e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x10459c04]
mov dword [esp + 0x48], eax
push esi
push edi
test cl, 1
jne 0x10032f19
or ecx, 1
mov dword [0x10459c04], ecx
mov eax, dword [0x10451ce0]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10032f12
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10032ed0
xor edx, edx
test ecx, ecx
je 0x10032f01
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10032ee0
mov eax, dword [esp + 0x10]
cmp esi, 0x8cd79213
je 0x100332b7
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10032ec0
mov ecx, dword [0x10459c04]
xor eax, eax
mov dword [0x10459bf8], eax
test cl, 2
jne 0x10032f8f
or ecx, 2
mov dword [0x10459c04], ecx
mov eax, dword [0x10451ce0]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10032f88
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10032f50
xor edx, edx
test ecx, ecx
je 0x10032f7d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10032f60
mov eax, dword [esp + 0x10]
cmp esi, 0x93050cfd
je 0x10032f8a
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10032f40
xor eax, eax
mov dword [0x10459c00], eax
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x10033777
mov ecx, dword [0x10451d1c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
test eax, eax
je 0x10033777
mov ecx, dword [0x10459968]
add ecx, 0xffffffc5
xor ecx, 0xf4c19fa4
mov ecx, dword [ecx + esi]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0xb0]
lea edx, [ecx + edx*4]
add edx, eax
je 0x10033777
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c7240]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [edx + 8]
lea eax, [eax + ecx*4]
add eax, edx
je 0x10033777
mov eax, dword [0x1045995c]
lea ecx, [esp + 0x20]
vmovss xmm2, dword [0x100ec120]
vmovss xmm0, dword [0x102bf4f0]
add eax, 0xffffffc8
xor eax, 0xf4c19fa1
vcomiss xmm2, xmm0
vxorps xmm1, xmm1, xmm1
vmovss dword [esp + 0x20], xmm2
vcvtsi2ss xmm1, xmm1, dword [eax + esi]
mov esi, dword [ebp + 0xc]
mov eax, 0x102bf4f0
cmovbe ecx, eax
lea eax, [esp + 0x24]
vcomiss xmm0, xmm1
vmovss dword [esp + 0x24], xmm1
cmovbe eax, ecx
vxorpd xmm0, xmm0, xmm0
fld dword [eax]
fstp qword [esp + 0x40]
vroundsd xmm0, xmm0, qword [esp + 0x40], 1
vmovsd qword [esp + 0x40], xmm0
vmovss xmm0, dword [esi]
vmulss xmm0, xmm0, dword [0x100ec07c]
fld qword [esp + 0x40]
fstp dword [esp + 0x40]
vmovss dword [esp + 0x20], xmm0
call fcn.1002ebe0
vmovss dword [esp + 0x10], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002ec20
vmovss xmm1, dword [esi + 4]
vmovss dword [esp + 0xc], xmm0
vmulss xmm0, xmm1, dword [0x100ec07c]
vmovss dword [esp + 0x20], xmm0
call fcn.1002ebe0
vmovss dword [esp + 0x1c], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002ec20
vmovss xmm1, dword [esi + 8]
vmovaps xmm3, xmm0
vmulss xmm0, xmm1, dword [0x100ec07c]
vmovss dword [esp + 0x14], xmm3
vmovss dword [esp + 0x20], xmm0
call fcn.1002ebe0
vmovss dword [esp + 0x24], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002ec20
vmovss xmm2, dword [esp + 0xc]
vxorps xmm3, xmm2, xmmword [0x100ec490]
vmovss xmm7, dword [esp + 0x24]
vmovaps xmm6, xmm0
vmovss xmm0, dword [esp + 0x1c]
vmulss xmm0, xmm0, dword [esp + 0x10]
vmovss dword [esp + 0x58], xmm0
vmovss xmm0, dword [esp + 0x14]
vmulss xmm1, xmm0, dword [esp + 0x10]
vxorps xmm5, xmm0, xmmword [0x100ec490]
vmovss dword [esp + 0x64], xmm1
vmulss xmm2, xmm6, xmm2
vmulss xmm0, xmm2, dword [esp + 0x1c]
vmovss dword [esp + 0x70], xmm3
vmulss xmm3, xmm7, dword [0x100ec318]
vmulss xmm1, xmm5, xmm3
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm3, dword [esp + 0x1c]
vmovss dword [esp + 0x54], xmm0
vmulss xmm0, xmm2, dword [esp + 0x14]
vmulss xmm2, xmm7, dword [esp + 0xc]
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm2, dword [esp + 0x1c]
vmovss dword [esp + 0x60], xmm0
vmulss xmm0, xmm6, dword [0x100ec318]
vmulss xmm0, xmm0, dword [esp + 0x10]
vmovss dword [esp + 0x6c], xmm0
vmulss xmm0, xmm5, xmm6
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm2, dword [esp + 0x14]
vmovss dword [esp + 0x5c], xmm0
vmulss xmm0, xmm6, dword [esp + 0x1c]
vsubss xmm0, xmm1, xmm0
mov ecx, dword [0x10459a3c]
mov eax, dword [0x1033ce5c]
add ecx, 0xffffff90
mov dword [esp + 0x4c], eax
xor ecx, 0xf4c19fd9
mov eax, dword [0x1033ce58]
vmovss dword [esp + 0x68], xmm0
vmulss xmm0, xmm7, dword [esp + 0x10]
vmovss dword [esp + 0x3c], xmm0
vmovss xmm0, dword [ecx + eax]
mov ecx, dword [0x10459bf8]
vmovss dword [esp + 0x24], xmm0
vxorps xmm0, xmm0, xmm0
mov dword [esp + 0x10], 0
mov eax, dword [ecx]
vmovss dword [esp + 0x1c], xmm0
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x10459c00]
mov edi, eax
mov dword [esp + 0x30], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
call edx
mov dword [esp + 0x20], eax
xor esi, esi
nop dword [eax + eax]
push esi
call dword [0x10451e80]
vmovss xmm0, dword [0x100ec120]
mov eax, dword [0x10451e88]
vmovss dword [esp], xmm0
push ecx
vxorps xmm0, xmm0, xmm0
mov dword [esp + 0x1c], eax
vmovss dword [esp], xmm0
call dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x4c], 0x1c
fstp dword [esp + 0xc]
jne 0x100332c2
vmovss xmm2, dword [esp + 0x24]
vmovss xmm0, dword [0x100ec18c]
vcomiss xmm0, xmm2
jbe 0x100332c2
vmovss xmm1, dword [esp + 0xc]
mov eax, 3
nop dword [eax + eax]
dec eax
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vcomiss xmm0, xmm2
vmulss xmm1, xmm1, xmm1
ja 0x10033290
vmovss xmm2, dword [0x100ec120]
vsubss xmm0, xmm2, xmm1
vmovss dword [esp + 0xc], xmm0
jmp 0x100332ca
mov ecx, dword [0x10459c04]
jmp 0x10032f14
vmovss xmm2, dword [0x100ec120]
test edi, edi
je 0x100332d4
vmovss dword [esp + 0xc], xmm2
vmovss xmm0, dword [0x100ec1b0]
mov eax, dword [0x10451e88]
sub esp, 8
mov dword [esp + 0x1c], eax
vmovss dword [esp + 4], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [esp], xmm0
call dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x20], 0
fstp dword [esp + 0x14]
je 0x10033313
vmovss xmm0, dword [0x100ec144]
jmp 0x10033319
vmovss xmm0, dword [esp + 0x14]
mov ecx, dword [0x1033ce58]
vmovss dword [esp + 0x14], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x754]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
fmul dword [esp + 0xc]
vmovss xmm0, dword [esp + 0x14]
vcvtss2sd xmm0, xmm0, xmm0
fstp dword [esp + 0xc]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
vcvtsd2ss xmm1, xmm0, xmm0
vmulss xmm0, xmm1, dword [esp + 0xc]
vmovss xmm1, dword [esp + 0x14]
vmovss dword [esp + 0x2c], xmm0
vcvtss2sd xmm0, xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [0x10451e88]
sub esp, 8
vcvtsd2ss xmm0, xmm0, xmm0
vmulss xmm0, xmm0, dword [esp + 0x14]
vmovss dword [esp + 0x40], xmm0
vmovss xmm0, dword [0x100ec120]
vmovss dword [esp + 4], xmm0
vxorps xmm0, xmm0, xmm0
mov dword [esp + 0x20], eax
vmovss dword [esp], xmm0
call dword [esp + 0x20]
add esp, 8
cmp dword [esp + 0x4c], 0x1c
fstp dword [esp + 0xc]
jne 0x100333f7
vmovss xmm2, dword [esp + 0x24]
vmovss xmm0, dword [0x100ec18c]
vcomiss xmm0, xmm2
jbe 0x100333f7
vmovss xmm1, dword [esp + 0xc]
mov eax, 3
nop
dec eax
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vcomiss xmm0, xmm2
vmulss xmm1, xmm1, xmm1
ja 0x100333d0
vmovss xmm2, dword [0x100ec120]
vsubss xmm0, xmm2, xmm1
vmovss dword [esp + 0xc], xmm0
jmp 0x100333ff
vmovss xmm2, dword [0x100ec120]
test edi, edi
je 0x10033409
vmovss dword [esp + 0xc], xmm2
vmovss xmm0, dword [0x100ec1b0]
mov eax, dword [0x10451e88]
sub esp, 8
mov dword [esp + 0x20], eax
vmovss dword [esp + 4], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [esp], xmm0
call dword [esp + 0x20]
add esp, 8
cmp dword [esp + 0x20], 0
fstp dword [esp + 0x18]
je 0x10033448
vmovss xmm0, dword [0x100ec144]
jmp 0x1003344e
vmovss xmm0, dword [esp + 0x18]
mov ecx, dword [0x1033ce58]
vmovss dword [esp + 0x14], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x6dc]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
fmul dword [esp + 0xc]
vmovss xmm0, dword [esp + 0x14]
vcvtss2sd xmm0, xmm0, xmm0
fstp dword [esp + 0xc]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
vcvtsd2ss xmm1, xmm0, xmm0
vmulss xmm1, xmm1, dword [esp + 0xc]
vaddss xmm0, xmm1, dword [esp + 0x2c]
vmovss xmm1, dword [esp + 0x14]
vmovss dword [esp + 0x2c], xmm0
vcvtss2sd xmm0, xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
vmovss xmm3, dword [esp + 0x2c]
vcvtsd2ss xmm0, xmm0, xmm0
vmulss xmm0, xmm0, dword [esp + 0xc]
vaddss xmm2, xmm0, dword [esp + 0x38]
vmulss xmm0, xmm3, dword [esp + 0x54]
vaddss xmm1, xmm0, dword [esp + 0x58]
vmulss xmm0, xmm2, dword [esp + 0x5c]
vaddss xmm5, xmm1, xmm0
vmulss xmm0, xmm3, dword [esp + 0x60]
vaddss xmm1, xmm0, dword [esp + 0x64]
vmulss xmm0, xmm2, dword [esp + 0x68]
vaddss xmm4, xmm1, xmm0
vmulss xmm0, xmm3, dword [esp + 0x6c]
vaddss xmm1, xmm0, dword [esp + 0x70]
vmulss xmm0, xmm2, dword [esp + 0x3c]
vaddss xmm2, xmm1, xmm0
vmulss xmm0, xmm5, xmm5
vmulss xmm1, xmm4, xmm4
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vmovss dword [esp + 0x38], xmm5
vmovss dword [esp + 0x2c], xmm4
vmovss dword [esp + 0x18], xmm2
call fcn.1002ec40
vaddss xmm2, xmm0, dword [0x100ec068]
mov eax, dword [0x1033ce60]
vmovss xmm0, dword [esp + 0x38]
push dword [esp + 0x50]
vdivss xmm0, xmm0, xmm2
vmovss xmm1, dword [eax + 0x104]
mov ecx, dword [0x10459c14]
lea eax, [esp + 0x78]
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x1033b45c]
vmovss dword [esp + 0x78], xmm0
vmovss xmm0, dword [esp + 0x30]
vdivss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x1033b460]
vmovss dword [esp + 0x7c], xmm0
vmovss xmm0, dword [esp + 0x1c]
vdivss xmm0, xmm0, xmm2
push eax
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x1033b464]
push 0x1033b45c
lea eax, [esp + 0x8c]
push eax
vmovss dword [esp + 0x8c], xmm0
call fcn.100389b0
mov edi, dword [esp + 0x80]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vxorps xmm3, xmm3, xmm3
vcomiss xmm0, xmm3
jbe 0x10033694
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [eax + 0x1c7240]
cmp eax, 0x13
ja case.default.0x100335eb
movzx eax, byte [eax + 0x1003379c]
jmp dword [eax*4 + 0x10033784]
mov edx, 1
jmp case.default.0x100335eb
mov edx, 4
jmp case.default.0x100335eb
mov edx, 5
jmp case.default.0x100335eb
mov edx, 2
jmp case.default.0x100335eb
mov edx, 3
jmp case.default.0x100335eb
mov edx, 0x63
mov eax, dword [esp + 0x84]
xor ecx, ecx
cmp eax, 0x13
ja case.default.0x1003362f
movzx eax, byte [eax + 0x100337c8]
jmp dword [eax*4 + 0x100337b0]
mov ecx, 1
jmp case.default.0x1003362f
mov ecx, 4
jmp case.default.0x1003362f
mov ecx, 5
jmp case.default.0x1003362f
mov ecx, 2
jmp case.default.0x1003362f
mov ecx, 3
jmp case.default.0x1003362f
mov ecx, 0x63
cmp edx, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
jne 0x1003369c
mov eax, dword [esp + 0x88]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, dword [edx + 0x1c7244]
jne 0x1003369c
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vaddss xmm4, xmm0, dword [esp + 0x1c]
vmovss dword [esp + 0x1c], xmm4
jmp 0x100336a2
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
vmovss xmm4, dword [esp + 0x1c]
vmovss xmm5, dword [0x100ec2a4]
mov edi, dword [esp + 0x30]
inc esi
mov eax, esi
vxorps xmm0, xmm0, xmm0
shr eax, 0x1f
vcvtsi2sd xmm0, xmm0, esi
vaddsd xmm0, xmm0, qword [eax*8 + 0x100ec450]
vcvtsd2ss xmm0, xmm0, xmm0
vcomiss xmm5, xmm0
ja 0x10033230
vmovss xmm2, dword [0x100ec24c]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vdivss xmm0, xmm0, xmm5
vmulss xmm0, xmm0, xmm2
vmovss dword [esp + 0x30], xmm0
fld dword [esp + 0x30]
lea ecx, [esp + 0x30]
fstp qword [esp + 0x30]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [esp + 0x30], 1
vmovsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
vdivss xmm0, xmm4, xmm5
vdivss xmm0, xmm0, dword [esp + 0x40]
fstp dword [esp + 0x30]
vcvttss2si eax, dword [esp + 0x30]
vmulss xmm0, xmm0, xmm2
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vcomiss xmm3, xmm0
lea eax, [esp + 0x40]
cmovbe ecx, eax
lea eax, [esp + 0x3c]
vcomiss xmm0, xmm2
vmovss dword [esp + 0x3c], xmm2
cmovbe eax, ecx
vmovss dword [esp + 0x30], xmm3
vmovss dword [esp + 0x40], xmm0
vmovss dword [edx + 0x1c7250], xmm1
mov eax, dword [eax]
mov dword [edx + 0x1c7254], eax
vcvttss2si eax, xmm1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 8