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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042ed8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x118
mov eax, dword [0x1004e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x4c]
push 0x30
push 0
push eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
test esi, esi
je 0x10033151
cmp dword [0x1004e0b0], 0
je 0x10033151
mov eax, dword [0x10057898]
mov edi, dword [esi + 8]
test al, 1
jne 0x10032659
or eax, 1
mov dword [0x10057898], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.10018180
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1005789c
call fcn.10018640
add esp, 4
push 0x10043c20
call fcn.1003e141
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1005789c]
call eax
mov esi, eax
mov dword [ebp - 0x90], esi
test edi, edi
je 0x100326ec
test esi, esi
je 0x100326ec
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x100326ec
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100326c9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100326a0
xor edx, edx
test ecx, ecx
je 0x100326c9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100326b0
cmp edi, 0x11ab48ff
je 0x100326e4
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x100326ec
mov esi, dword [ebp - 0x90]
jmp 0x10032681
mov ecx, dword [ebp - 0x88]
jmp 0x100326ee
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100326f8.2
jmp dword [eax*4 + 0x10033174]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x10032736
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x10032736
movss xmm0, dword [ecx + 0xc]
call fcn.10017a90
cvttss2si edx, xmm0
jmp 0x10032736
xor edx, edx
jmp 0x10032736
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10053150]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x10053150]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x10033151
mov edi, dword [ebp - 0x8c]
mov eax, dword [0x10057898]
mov edi, dword [edi + 8]
test al, 1
jne 0x100327b6
or eax, 1
mov dword [0x10057898], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.10018180
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1005789c
call fcn.10018640
add esp, 4
push 0x10043c20
call fcn.1003e141
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1005789c]
call eax
mov esi, eax
mov dword [ebp - 0x90], esi
test edi, edi
je 0x1003284c
test esi, esi
je 0x1003284c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x1003284c
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10032829
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10032800
xor edx, edx
test ecx, ecx
je 0x10032829
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10032810
cmp edi, 0xfd0c5087
je 0x10032844
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x1003284c
mov esi, dword [ebp - 0x90]
jmp 0x100327e2
mov ecx, dword [ebp - 0x88]
jmp 0x1003284e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10032858.4
jmp dword [eax*4 + 0x10033190]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x100328be
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x100328be
movss xmm0, dword [ecx + 0xc]
jmp 0x100328be
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x100328be
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1003f170
cvtsd2ss xmm0, xmm0
jmp 0x100328be
xorps xmm0, xmm0
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x94], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10057898]
test al, 1
jne 0x1003291f
or eax, 1
mov dword [0x10057898], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.10018180
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1005789c
call fcn.10018640
add esp, 4
push 0x10043c20
call fcn.1003e141
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1005789c]
call eax
mov esi, eax
mov dword [ebp - 0x90], esi
test edi, edi
je 0x100329bc
test esi, esi
je 0x100329bc
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x100329bc
nop dword [eax + eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10032999
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10032970
xor edx, edx
test ecx, ecx
je 0x10032999
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10032980
cmp edi, 0xfc0c4ef4
je 0x100329b4
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x100329bc
mov esi, dword [ebp - 0x90]
jmp 0x10032950
mov ecx, dword [ebp - 0x88]
jmp 0x100329be
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100329c8.4
jmp dword [eax*4 + 0x100331ac]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x10032a2e
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x88]
add esp, 4
jmp 0x10032a2e
movss xmm0, dword [ecx + 0xc]
jmp 0x10032a2e
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x10032a2e
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1003f170
cvtsd2ss xmm0, xmm0
jmp 0x10032a2e
xorps xmm0, xmm0
mov eax, dword [ebp - 0x8c]
movss dword [ebp - 0x90], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10057898]
test al, 1
jne 0x10032a8f
or eax, 1
mov dword [0x10057898], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.10018180
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1005789c
call fcn.10018640
add esp, 4
push 0x10043c20
call fcn.1003e141
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1005789c]
call eax
mov esi, eax
mov dword [ebp - 0x88], esi
test edi, edi
je 0x10032b1c
test esi, esi
je 0x10032b1c
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x8c], ecx
test ecx, ecx
je 0x10032b1c
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10032af9
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10032ad1
xor edx, edx
test ecx, ecx
je 0x10032af9
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10032ae0
cmp edi, 0xff0c53ad
je 0x10032b14
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x8c], ecx
test ecx, ecx
je 0x10032b1c
mov esi, dword [ebp - 0x88]
jmp 0x10032ab3
mov ecx, dword [ebp - 0x8c]
jmp 0x10032b1e
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10032b28.4
jmp dword [eax*4 + 0x100331c8]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x8c]
movss xmm2, dword [ebp - 0x8c]
add esp, 4
jmp 0x10032b91
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x8c]
movss xmm2, dword [ebp - 0x8c]
add esp, 4
jmp 0x10032b91
movss xmm2, dword [ecx + 0xc]
jmp 0x10032b91
movd xmm2, dword [ecx + 0xc]
cvtdq2ps xmm2, xmm2
jmp 0x10032b91
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1003f170
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
jmp 0x10032b91
xorps xmm2, xmm2
mov eax, dword [0x10053384]
mov esi, dword [0x1004e0b0]
add eax, 0xffffffc2
movss xmm6, dword [ebp - 0x94]
xor eax, 0x60ee542d
cmp byte [0x10051a10], 0
movss xmm4, dword [ebp - 0x90]
movss xmm5, dword [0x10046590]
movd xmm0, dword [eax + esi]
mov eax, dword [0x100531ac]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x88], xmm2
mulss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x7c], xmm6
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x74], xmm2
movss dword [ebp - 0xa4], xmm0
je 0x10032e3e
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x10032d91
mov eax, dword [0x100532f8]
mov edi, dword [esi + eax]
test edi, edi
je 0x10032d91
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x10032d91
cmp byte [edi + 0x109], 0
xorps xmm1, xmm1
jne 0x10032ca7
mov eax, dword [0x1005338c]
add eax, 0xffffffc0
xor eax, 0x60ee542f
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10032ca7
mov eax, dword [0x10053400]
add eax, 0xffffffa3
xor eax, 0x60ee544c
mov eax, dword [eax + ecx]
mov ecx, dword [0x10053154]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x10032d91
xorps xmm1, xmm1
mov ecx, dword [0x100533f4]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa6
xor ecx, 0x60ee5449
mov eax, dword [ecx + eax]
test eax, eax
je 0x10032d91
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x98]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [str.333333]
comisd xmm0, xmm3
movsd qword [ebp - 0xd0], xmm3
jbe 0x10032d91
cvtps2pd xmm0, xmm2
xorps xmm4, xmm4
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100465f0]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100465a0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10032d55
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm2, dword [ebp - 0x98]
add esp, 8
movsd xmm3, qword [ebp - 0xd0]
fstp dword [ebp - 0x8c]
movss xmm4, dword [ebp - 0x8c]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100465dc]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x98], xmm0
mov eax, dword [ebp - 0x74]
mov ecx, dword [0x10053384]
movq xmm0, qword [ebp - 0x7c]
add ecx, 0xffffffc2
mov dword [ebp - 0xbc], eax
xor ecx, 0x60ee542d
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov eax, dword [0x1004e0b0]
movq qword [ebp - 0xc4], xmm0
movq xmm0, qword [ebp - 0xa0]
movq qword [ebp - 0xb8], xmm0
mov eax, dword [ecx + eax]
mov dword [ebp - 0xac], eax
mov eax, dword [0x10053c40]
mov word [ebp - 0xa8], 0
cmp dword [0x10053c44], eax
je 0x10032e14
movups xmm0, xmmword [ebp - 0xc4]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [eax + 0x10], xmm0
add dword [0x10053c40], 0x20
jmp 0x10032e26
lea ecx, [ebp - 0xc4]
push ecx
push eax
mov ecx, 0x10053c3c
call fcn.10034480
movss xmm6, dword [ebp - 0x94]
movss xmm5, dword [0x10046590]
movss xmm4, dword [ebp - 0x90]
mov eax, dword [0x10053c38]
test eax, eax
je 0x10033151
mov ecx, dword [0x10053c34]
xor edi, edi
movss xmm3, dword [0x10046648]
lea edx, [eax + ecx]
mov dword [ebp - 0x8c], edx
cmp ecx, edx
je 0x10033151
mov esi, dword [0x10053c30]
movss xmm2, dword [ebp - 0xa4]
nop word [eax + eax]
mov edx, dword [0x10053c2c]
lea eax, [esi - 1]
and eax, ecx
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x8c]
cmp byte [eax + 0x1c], 0
jne 0x10032ebf
movss xmm1, dword [eax + 8]
movaps xmm0, xmm2
addss xmm1, dword [eax + 4]
subss xmm0, xmm1
call fcn.1002e5c0
comiss xmm0, xmm5
ja 0x10032ebf
comiss xmm3, xmm0
jbe 0x10032ebf
movaps xmm3, xmm0
mov edi, eax
inc ecx
cmp ecx, edx
jne 0x10032e80
movss xmm2, dword [ebp - 0x88]
test edi, edi
je 0x10033151
mov byte [edi + 0x1c], 1
mov ecx, dword [0x10053384]
mov eax, dword [0x1004e0b0]
add ecx, 0xffffffc2
xor ecx, 0x60ee542d
mov dword [ebp - 0x84], edi
movss dword [ebp - 0x7c], xmm6
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x74], xmm2
mov eax, dword [ecx + eax]
mov ecx, dword [0x10053c50]
mov dword [ebp - 0x80], eax
mov eax, dword [0x10053c58]
inc eax
cmp ecx, eax
ja 0x10032f28
push ecx
mov ecx, 0x10053c48
call fcn.100342a0
mov ecx, dword [0x10053c50]
lea eax, [ecx - 1]
mov esi, eax
and esi, dword [0x10053c54]
mov dword [0x10053c54], esi
cmove esi, ecx
mov ecx, dword [0x10053c4c]
dec esi
and eax, esi
mov dword [ebp - 0x8c], eax
cmp dword [ecx + eax*4], 0
jne 0x10032f72
push 0x14
call fcn.1003dce2
mov ecx, dword [0x10053c4c]
add esp, 4
mov edx, dword [ebp - 0x8c]
mov dword [ecx + edx*4], eax
mov eax, edx
mov ecx, dword [0x10053c4c]
mov ecx, dword [ecx + eax*4]
movups xmm0, xmmword [ebp - 0x84]
mov eax, dword [ebp - 0x74]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov eax, dword [0x10053c58]
inc eax
mov dword [0x10053c54], esi
mov dword [0x10053c58], eax
cmp eax, 0x80
jbe 0x10032fbd
nop dword [eax]
sub eax, 1
mov ecx, 0
cmove esi, ecx
cmp eax, 0x80
ja 0x10032fa0
mov dword [0x10053c54], esi
mov dword [0x10053c58], eax
mov edx, dword [edi]
test edx, edx
je 0x10033151
mov eax, dword [0x1005335c]
add eax, 0xffffffcc
xor eax, 0x60ee5423
cmp dword [eax + edx], 0
jne 0x10033151
movss xmm4, dword [ebp - 0x94]
movss xmm3, dword [ebp - 0x90]
movss xmm5, dword [edi + 0x10]
movss xmm6, dword [edi + 0x14]
subss xmm4, xmm5
movss xmm2, dword [ebp - 0x88]
subss xmm3, xmm6
movss xmm7, dword [edi + 0x18]
subss xmm2, xmm7
movaps xmm1, xmm4
movaps xmm0, xmm3
mulss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10023c40
addss xmm0, dword [0x10046548]
movss xmm1, dword [0x10046640]
mov dword [ebp - 0x104], 0
mov byte [ebp - 0xdb], 1
divss xmm3, xmm0
divss xmm4, xmm0
divss xmm2, xmm0
mulss xmm3, xmm1
mulss xmm4, xmm1
addss xmm3, xmm6
mulss xmm2, xmm1
addss xmm4, xmm5
addss xmm2, xmm7
subss xmm3, xmm6
subss xmm4, xmm5
subss xmm2, xmm7
movss dword [ebp - 0x10c], xmm3
mulss xmm3, xmm3
movss dword [ebp - 0x110], xmm4
mulss xmm4, xmm4
movss dword [ebp - 0x108], xmm2
mulss xmm2, xmm2
addss xmm3, xmm4
addss xmm3, xmm2
ucomiss xmm3, dword [0x1004653c]
lahf
test ah, 0x44
jp 0x100330c4
mov byte [ebp - 0xdb], 0
mov ecx, dword [0x1005316c]
lea esi, [ebp - 0x70]
push esi
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xdc], 1
movss dword [ebp - 0x120], xmm5
movss dword [ebp - 0x11c], xmm6
movss dword [ebp - 0x118], xmm7
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
mov eax, dword [ecx]
push edx
push 0x4600400b
lea edx, [ebp - 0x120]
mov eax, dword [eax + 0xc]
push edx
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003dcc3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4