Function at 0x10032450
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 [0x104554c0]
mov dword [esp + 0x48], eax
push esi
push edi
test cl, 1
jne 0x100324e9
or ecx, 1
mov dword [0x104554c0], ecx
mov eax, dword [0x103460d0]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100324e2
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 0x100324a0
xor edx, edx
test ecx, ecx
je 0x100324d1
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100324b0
mov eax, dword [esp + 0x10]
cmp esi, 0x8cd79213
je 0x10032887
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10032490
mov ecx, dword [0x104554c0]
xor eax, eax
mov dword [0x104554b4], eax
test cl, 2
jne 0x1003255f
or ecx, 2
mov dword [0x104554c0], ecx
mov eax, dword [0x103460d0]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10032558
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 0x10032520
xor edx, edx
test ecx, ecx
je 0x1003254d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10032530
mov eax, dword [esp + 0x10]
cmp esi, 0x93050cfd
je 0x1003255a
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10032510
xor eax, eax
mov dword [0x104554bc], 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 0x10032d47
mov ecx, dword [0x1034610c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
test eax, eax
je 0x10032d47
mov ecx, dword [0x10455228]
add ecx, 0xffffffc5
xor ecx, 0x90ddbbe5
mov ecx, dword [ecx + esi]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0xb0]
lea edx, [ecx + edx*4]
add edx, eax
je 0x10032d47
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 0x10032d47
mov eax, dword [0x1045521c]
lea ecx, [esp + 0x20]
vmovss xmm2, dword [0x100e7f18]
vmovss xmm0, dword [0x102bb4f0]
add eax, 0xffffffc8
xor eax, 0x90ddbbe2
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, 0x102bb4f0
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 [0x100e7e7c]
fld qword [esp + 0x40]
fstp dword [esp + 0x40]
vmovss dword [esp + 0x20], xmm0
call fcn.1002e1b0
vmovss dword [esp + 0x10], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002e1f0
vmovss xmm1, dword [esi + 4]
vmovss dword [esp + 0xc], xmm0
vmulss xmm0, xmm1, dword [0x100e7e7c]
vmovss dword [esp + 0x20], xmm0
call fcn.1002e1b0
vmovss dword [esp + 0x1c], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002e1f0
vmovss xmm1, dword [esi + 8]
vmovaps xmm3, xmm0
vmulss xmm0, xmm1, dword [0x100e7e7c]
vmovss dword [esp + 0x14], xmm3
vmovss dword [esp + 0x20], xmm0
call fcn.1002e1b0
vmovss dword [esp + 0x24], xmm0
vmovss xmm0, dword [esp + 0x20]
call fcn.1002e1f0
vmovss xmm2, dword [esp + 0xc]
vxorps xmm3, xmm2, xmmword [0x100e8270]
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 [0x100e8270]
vmovss dword [esp + 0x64], xmm1
vmulss xmm2, xmm6, xmm2
vmulss xmm0, xmm2, dword [esp + 0x1c]
vmovss dword [esp + 0x70], xmm3
vmulss xmm3, xmm7, dword [0x100e80e8]
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 [0x100e80e8]
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 [0x104552fc]
mov eax, dword [0x1033872c]
add ecx, 0xffffff90
mov dword [esp + 0x4c], eax
xor ecx, 0x90ddbc1a
mov eax, dword [0x10338728]
vmovss dword [esp + 0x68], xmm0
vmulss xmm0, xmm7, dword [esp + 0x10]
vmovss dword [esp + 0x3c], xmm0
vmovss xmm0, dword [ecx + eax]
mov ecx, dword [0x104554b4]
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 [0x104554bc]
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 [0x10346270]
vmovss xmm0, dword [0x100e7f18]
mov eax, dword [0x10346278]
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 0x10032892
vmovss xmm2, dword [esp + 0x24]
vmovss xmm0, dword [0x100e7f74]
vcomiss xmm0, xmm2
jbe 0x10032892
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 0x10032860
vmovss xmm2, dword [0x100e7f18]
vsubss xmm0, xmm2, xmm1
vmovss dword [esp + 0xc], xmm0
jmp 0x1003289a
mov ecx, dword [0x104554c0]
jmp 0x100324e4
vmovss xmm2, dword [0x100e7f18]
test edi, edi
je 0x100328a4
vmovss dword [esp + 0xc], xmm2
vmovss xmm0, dword [0x100e7f98]
mov eax, dword [0x10346278]
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 0x100328e3
vmovss xmm0, dword [0x100e7f3c]
jmp 0x100328e9
vmovss xmm0, dword [esp + 0x14]
mov ecx, dword [0x10338728]
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 [0x10346278]
sub esp, 8
vcvtsd2ss xmm0, xmm0, xmm0
vmulss xmm0, xmm0, dword [esp + 0x14]
vmovss dword [esp + 0x40], xmm0
vmovss xmm0, dword [0x100e7f18]
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 0x100329c7
vmovss xmm2, dword [esp + 0x24]
vmovss xmm0, dword [0x100e7f74]
vcomiss xmm0, xmm2
jbe 0x100329c7
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 0x100329a0
vmovss xmm2, dword [0x100e7f18]
vsubss xmm0, xmm2, xmm1
vmovss dword [esp + 0xc], xmm0
jmp 0x100329cf
vmovss xmm2, dword [0x100e7f18]
test edi, edi
je 0x100329d9
vmovss dword [esp + 0xc], xmm2
vmovss xmm0, dword [0x100e7f98]
mov eax, dword [0x10346278]
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 0x10032a18
vmovss xmm0, dword [0x100e7f3c]
jmp 0x10032a1e
vmovss xmm0, dword [esp + 0x18]
mov ecx, dword [0x10338728]
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.1002e210
vaddss xmm2, xmm0, dword [0x100e7e68]
mov eax, dword [0x10338730]
vmovss xmm0, dword [esp + 0x38]
push dword [esp + 0x50]
vdivss xmm0, xmm0, xmm2
vmovss xmm1, dword [eax + 0x104]
mov ecx, dword [0x104554d0]
lea eax, [esp + 0x78]
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x10336d2c]
vmovss dword [esp + 0x78], xmm0
vmovss xmm0, dword [esp + 0x30]
vdivss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x10336d30]
vmovss dword [esp + 0x7c], xmm0
vmovss xmm0, dword [esp + 0x1c]
vdivss xmm0, xmm0, xmm2
push eax
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x10336d34]
push 0x10336d2c
lea eax, [esp + 0x8c]
push eax
vmovss dword [esp + 0x8c], xmm0
call fcn.10037f80
mov edi, dword [esp + 0x80]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vxorps xmm3, xmm3, xmm3
vcomiss xmm0, xmm3
jbe 0x10032c64
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [eax + 0x1c7240]
cmp eax, 0x13
ja case.default.0x10032bbb
movzx eax, byte [eax + 0x10032d6c]
jmp dword [eax*4 + 0x10032d54]
mov edx, 1
jmp case.default.0x10032bbb
mov edx, 4
jmp case.default.0x10032bbb
mov edx, 5
jmp case.default.0x10032bbb
mov edx, 2
jmp case.default.0x10032bbb
mov edx, 3
jmp case.default.0x10032bbb
mov edx, 0x63
mov eax, dword [esp + 0x84]
xor ecx, ecx
cmp eax, 0x13
ja case.default.0x10032bff
movzx eax, byte [eax + 0x10032d98]
jmp dword [eax*4 + 0x10032d80]
mov ecx, 1
jmp case.default.0x10032bff
mov ecx, 4
jmp case.default.0x10032bff
mov ecx, 5
jmp case.default.0x10032bff
mov ecx, 2
jmp case.default.0x10032bff
mov ecx, 3
jmp case.default.0x10032bff
mov ecx, 0x63
cmp edx, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
jne 0x10032c6c
mov eax, dword [esp + 0x88]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, dword [edx + 0x1c7244]
jne 0x10032c6c
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vaddss xmm4, xmm0, dword [esp + 0x1c]
vmovss dword [esp + 0x1c], xmm4
jmp 0x10032c72
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
vmovss xmm4, dword [esp + 0x1c]
vmovss xmm5, dword [0x100e8078]
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 + 0x100e8230]
vcvtsd2ss xmm0, xmm0, xmm0
vcomiss xmm5, xmm0
ja 0x10032800
vmovss xmm2, dword [0x100e8028]
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