Function at 0x10032300
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 [0x104596c8]
mov dword [esp + 0x48], eax
push esi
push edi
test cl, 1
jne 0x10032399
or ecx, 1
mov dword [0x104596c8], ecx
mov eax, dword [0x104517b0]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10032392
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 0x10032350
xor edx, edx
test ecx, ecx
je 0x10032381
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10032360
mov eax, dword [esp + 0x10]
cmp esi, 0x8cd79213
je 0x10032737
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10032340
mov ecx, dword [0x104596c8]
xor eax, eax
mov dword [0x104596c4], eax
test cl, 2
jne 0x1003240f
or ecx, 2
mov dword [0x104596c8], ecx
mov eax, dword [0x104517b0]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10032408
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x100323d0
xor edx, edx
test ecx, ecx
je 0x100323fd
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100323e0
mov eax, dword [esp + 0x10]
cmp esi, 0x93050cfd
je 0x1003240a
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100323c0
xor eax, eax
mov dword [0x104596d0], 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 0x10032bf7
mov ecx, dword [0x104517ec]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
test eax, eax
je 0x10032bf7
mov ecx, dword [0x10459438]
add ecx, 0xffffffc5
xor ecx, 0x1f2af63
mov ecx, dword [ecx + esi]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0xb0]
lea edx, [ecx + edx*4]
add edx, eax
je 0x10032bf7
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c7440]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [edx + 8]
lea eax, [eax + ecx*4]
add eax, edx
je 0x10032bf7
mov eax, dword [0x1045942c]
lea ecx, [esp + 0x20]
vmovss xmm2, dword [0x100ec2a8]
vmovss xmm0, dword [0x102bf6f0]
add eax, 0xffffffc8
xor eax, 0x1f2af60
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, 0x102bf6f0
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 [0x100ec1fc]
fld qword [esp + 0x40]
fstp dword [esp + 0x40]
vmovss dword [esp + 0x20], xmm0
call fcn.1002e200
vmovss dword [esp + 0x10], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002e240
vmovss xmm1, dword [esi + 4]
vmovss dword [esp + 0xc], xmm0
vmulss xmm0, xmm1, dword [0x100ec1fc]
vmovss dword [esp + 0x20], xmm0
call fcn.1002e200
vmovss dword [esp + 0x1c], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002e240
vmovss xmm1, dword [esi + 8]
vmovaps xmm3, xmm0
vmulss xmm0, xmm1, dword [0x100ec1fc]
vmovss dword [esp + 0x14], xmm3
vmovss dword [esp + 0x20], xmm0
call fcn.1002e200
vmovss dword [esp + 0x24], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002e240
vmovss xmm2, dword [esp + 0xc]
vxorps xmm3, xmm2, xmmword [0x100ec600]
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 [0x100ec600]
vmovss dword [esp + 0x64], xmm1
vmulss xmm2, xmm6, xmm2
vmulss xmm0, xmm2, dword [esp + 0x1c]
vmovss dword [esp + 0x70], xmm3
vmulss xmm3, xmm7, dword [0x100ec488]
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 [0x100ec488]
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 [0x1045950c]
mov eax, dword [0x1033c92c]
add ecx, 0xffffff90
mov dword [esp + 0x4c], eax
xor ecx, 0x1f2af98
mov eax, dword [0x1033c928]
vmovss dword [esp + 0x68], xmm0
vmulss xmm0, xmm7, dword [esp + 0x10]
vmovss dword [esp + 0x3c], xmm0
vmovss xmm0, dword [ecx + eax]
mov ecx, dword [0x104596c4]
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 [0x104596d0]
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 [0x10451950]
vmovss xmm0, dword [0x100ec2a8]
mov eax, dword [0x10451958]
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 0x10032742
vmovss xmm2, dword [esp + 0x24]
vmovss xmm0, dword [0x100ec304]
vcomiss xmm0, xmm2
jbe 0x10032742
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 0x10032710
vmovss xmm2, dword [0x100ec2a8]
vsubss xmm0, xmm2, xmm1
vmovss dword [esp + 0xc], xmm0
jmp 0x1003274a
mov ecx, dword [0x104596c8]
jmp 0x10032394
vmovss xmm2, dword [0x100ec2a8]
test edi, edi
je 0x10032754
vmovss dword [esp + 0xc], xmm2
vmovss xmm0, dword [0x100ec328]
mov eax, dword [0x10451958]
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 0x10032793
vmovss xmm0, dword [0x100ec2cc]
jmp 0x10032799
vmovss xmm0, dword [esp + 0x14]
mov ecx, dword [0x1033c928]
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 [0x10451958]
sub esp, 8
vcvtsd2ss xmm0, xmm0, xmm0
vmulss xmm0, xmm0, dword [esp + 0x14]
vmovss dword [esp + 0x40], xmm0
vmovss xmm0, dword [0x100ec2a8]
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 0x10032877
vmovss xmm2, dword [esp + 0x24]
vmovss xmm0, dword [0x100ec304]
vcomiss xmm0, xmm2
jbe 0x10032877
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 0x10032850
vmovss xmm2, dword [0x100ec2a8]
vsubss xmm0, xmm2, xmm1
vmovss dword [esp + 0xc], xmm0
jmp 0x1003287f
vmovss xmm2, dword [0x100ec2a8]
test edi, edi
je 0x10032889
vmovss dword [esp + 0xc], xmm2
vmovss xmm0, dword [0x100ec328]
mov eax, dword [0x10451958]
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 0x100328c8
vmovss xmm0, dword [0x100ec2cc]
jmp 0x100328ce
vmovss xmm0, dword [esp + 0x18]
mov ecx, dword [0x1033c928]
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.1002e260
vaddss xmm2, xmm0, dword [0x100ec1e8]
mov eax, dword [0x1033c930]
vmovss xmm0, dword [esp + 0x38]
push dword [esp + 0x50]
vdivss xmm0, xmm0, xmm2
vmovss xmm1, dword [eax + 0x104]
mov ecx, dword [0x104596e0]
lea eax, [esp + 0x78]
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x1033af2c]
vmovss dword [esp + 0x78], xmm0
vmovss xmm0, dword [esp + 0x30]
vdivss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x1033af30]
vmovss dword [esp + 0x7c], xmm0
vmovss xmm0, dword [esp + 0x1c]
vdivss xmm0, xmm0, xmm2
push eax
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x1033af34]
push 0x1033af2c
lea eax, [esp + 0x8c]
push eax
vmovss dword [esp + 0x8c], xmm0
call fcn.10037df0
mov edi, dword [esp + 0x80]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vxorps xmm3, xmm3, xmm3
vcomiss xmm0, xmm3
jbe 0x10032b14
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [eax + 0x1c7440]
cmp eax, 0x13
ja case.default.0x10032a6b
movzx eax, byte [eax + 0x10032c1c]
jmp dword [eax*4 + 0x10032c04]
mov edx, 1
jmp case.default.0x10032a6b
mov edx, 4
jmp case.default.0x10032a6b
mov edx, 5
jmp case.default.0x10032a6b
mov edx, 2
jmp case.default.0x10032a6b
mov edx, 3
jmp case.default.0x10032a6b
mov edx, 0x63
mov eax, dword [esp + 0x84]
xor ecx, ecx
cmp eax, 0x13
ja case.default.0x10032aaf
movzx eax, byte [eax + 0x10032c48]
jmp dword [eax*4 + 0x10032c30]
mov ecx, 1
jmp case.default.0x10032aaf
mov ecx, 4
jmp case.default.0x10032aaf
mov ecx, 5
jmp case.default.0x10032aaf
mov ecx, 2
jmp case.default.0x10032aaf
mov ecx, 3
jmp case.default.0x10032aaf
mov ecx, 0x63
cmp edx, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
jne 0x10032b1c
mov eax, dword [esp + 0x88]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, dword [edx + 0x1c7444]
jne 0x10032b1c
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vaddss xmm4, xmm0, dword [esp + 0x1c]
vmovss dword [esp + 0x1c], xmm4
jmp 0x10032b22
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
vmovss xmm4, dword [esp + 0x1c]
vmovss xmm5, dword [0x100ec41c]
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 + 0x100ec5c0]
vcvtsd2ss xmm0, xmm0, xmm0
vcomiss xmm5, xmm0
ja 0x100326b0
vmovss xmm2, dword [0x100ec3c0]
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 + 0x1c7450], xmm1
mov eax, dword [eax]
mov dword [edx + 0x1c7454], 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