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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x100cc380]
xor eax, esp
mov dword [esp + 0x74], eax
mov edx, dword [0x10213094]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0xffffffff
mov byte [esp + 0x64], 0
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x1d10]
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x1d30], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x1d34], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x1d38], eax
test dl, 1
jne 0x10038c6e
or edx, 1
mov dword [0x10213094], edx
mov eax, dword [0x10208874]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10038c52
nop
mov eax, dword [eax + 0xc]
mov esi, 0x811c9dc5
mov dword [esp + 0x1c], eax
xor ecx, ecx
nop
inc ecx
cmp byte [eax + ecx], 0
jne 0x10038c10
xor edx, edx
test ecx, ecx
je 0x10038c3d
nop dword [eax]
movsx eax, byte [eax + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
mov eax, dword [esp + 0x1c]
cmp edx, ecx
jb 0x10038c20
cmp esi, 0x6b8c9875
je 0x10038c5c
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10038c00
mov edx, dword [0x10213094]
xor ecx, ecx
mov dword [0x10213090], ecx
jmp 0x10038c74
mov ecx, dword [esp + 0x18]
mov edx, dword [0x10213094]
mov dword [0x10213090], ecx
jmp 0x10038c74
mov ecx, dword [0x10213090]
test dl, 2
jne 0x10038c8e
or edx, 2
mov dword [0x10213094], edx
mov eax, dword [0x10208938]
mov dword [0x1021309c], eax
jmp 0x10038c93
mov eax, dword [0x1021309c]
test ecx, ecx
je 0x10038d0a
test eax, eax
je 0x10038d0a
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 1
jne 0x10038cb9
mov ecx, dword [0x1021309c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 1
je 0x10038d0a
mov ecx, dword [0x1020ea04]
mov eax, dword [0x101dffec]
add ecx, 0xffffffd0
xor ecx, 0xc9557fb8
cmp dword [ecx + eax], 8
je 0x10038d0a
mov eax, dword [0x101e1cf0]
mov ecx, dword [eax + 0x30]
test cl, 2
je 0x10038d0a
test byte [0x101dfff4], 1
jne 0x10038d0a
cmp byte [0x101edce8], 0
je 0x10038cfd
and ecx, 0xfffffffd
mov dword [eax + 0x30], ecx
mov eax, dword [0x101e1cf0]
cmp byte [0x101edd70], 0
je 0x10038d0a
or dword [eax + 0x30], 4
call fcn.10094df0
call fcn.10095890
push ecx
call fcn.10094b20
movss xmm1, dword [edi + 0x1d34]
call fcn.100953f0
push ecx
mov ecx, 0x101f7d38
call fcn.1009aec0
mov ecx, dword [edi + 0x1d10]
lea esi, [edi + 0x1d3c]
mov eax, dword [edi + 0x1d24]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x1d28]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x1d2c]
mov dword [ecx + 0x14], eax
movss xmm0, dword [edi + 0x1d24]
mulss xmm0, dword [0x100c1b8c]
movss dword [esp + 0x14], xmm0
call fcn.10022760
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x1d28]
mulss xmm0, dword [0x100c1b8c]
movss dword [esp + 0x1c], xmm0
test esi, esi
je 0x10038dd0
call fcn.10022760
mulss xmm0, dword [esp + 0x18]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x1c]
call fcn.10022770
mulss xmm0, dword [esp + 0x18]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x14]
call fcn.10022770
xorps xmm0, xmmword [0x100c1f30]
movss dword [esi + 8], xmm0
mov esi, dword [0x101dffec]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x10038f58
mov eax, dword [0x10208a48]
mov eax, dword [eax + esi]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10038f58
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x10038f58
cmp byte [eax + 0x109], 0
xorps xmm1, xmm1
jne 0x10038e7f
mov eax, dword [0x1020ea2c]
add eax, 0xffffffc6
xor eax, 0xc9557fc2
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038e7f
mov eax, dword [0x1020eaa0]
add eax, 0xffffffa9
xor eax, 0xc9557fdf
mov eax, dword [eax + ecx]
mov ecx, dword [0x1020887c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x10038f58
xorps xmm1, xmm1
mov eax, dword [esp + 0x14]
mov ecx, dword [0x1020ea94]
add ecx, 0xffffffac
xor ecx, 0xc9557fdc
mov eax, dword [eax + 0x60]
mov eax, dword [ecx + eax]
test eax, eax
je 0x10038f58
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [esp + 0x30]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100c1cb8]
comisd xmm0, xmm3
movsd qword [esp + 0x20], xmm3
jbe 0x10038f5e
subsd xmm0, xmm3
xorps xmm4, xmm4
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100c1d0c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100c1c80]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10038f22
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 [esp + 0x38]
add esp, 8
movsd xmm3, qword [esp + 0x20]
fstp dword [esp + 0x14]
movss xmm4, dword [esp + 0x14]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100c1cf4]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm2, xmm0
jmp 0x10038f5e
movss xmm2, dword [esp + 0x30]
movss xmm0, dword [esp + 0x28]
movss dword [0x101dfff8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [0x101dfffc], xmm0
movss dword [0x101e0000], xmm2
mov eax, dword [edi + 0xc]
mov dword [edi + 0x1ba8], 0
mov dword [edi + 0x1bb0], 0
mov dword [edi + 0x1bac], 0xffffffff
mov dword [edi + 0x1bb4], 0xffffffff
mov byte [edi + 0x1bb8], 0
mov byte [edi + 0x1824], 0
mov ecx, dword [0x1020ea9c]
add ecx, 0xffffffaa
xor ecx, 0xc9557fde
mov eax, dword [ecx + eax]
mov ecx, dword [0x1020887c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
mov dword [edi + 0x1ba8], ecx
test ecx, ecx
je 0x10039542
mov eax, dword [ecx]
mov eax, dword [eax + 0x6f8]
call eax
mov esi, dword [edi + 0x1ba8]
mov dword [edi + 0x1bb0], eax
mov edx, dword [0x1020eab4]
add edx, 0xffffffa4
xor edx, 0xc9557fe4
mov edx, dword [edx + esi]
mov dword [edi + 0x1bac], edx
mov eax, dword [eax + 0xc8]
mov dword [edi + 0x1bb4], eax
cmp eax, 9
je 0x1003903a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x75c]
call eax
mov eax, dword [edi + 0x1bac]
cmp eax, 9
je 0x10039058
cmp eax, 0xb
je 0x10039058
cmp eax, 0x26
je 0x10039058
cmp eax, 0x28
je 0x10039058
xor dl, dl
jmp 0x1003905a
mov dl, 1
mov esi, dword [0x101dffec]
mov dword [0x101f7ea8], 0
cmp dword [edi + 0x1bac], 0x28
jne 0x10039092
mov eax, dword [0x1020ea00]
add eax, 0xffffffd1
xor eax, 0xc9557fb7
test byte [eax + esi], 1
jne 0x10039092
mov dword [0x101f7ea8], 0x3c0f5c29
jmp 0x100390e1
mov eax, dword [0x1020ea00]
mov ecx, dword [edi + 0x1bb0]
add eax, 0xffffffd1
xor eax, 0xc9557fb7
test byte [eax + esi], 2
je 0x100390c3
test dl, dl
je 0x100390b9
movss xmm0, dword [ecx + 0x140]
jmp 0x100390d9
movss xmm0, dword [ecx + 0x13c]
jmp 0x100390d9
test dl, dl
je 0x100390d1
movss xmm0, dword [ecx + 0x148]
jmp 0x100390d9
movss xmm0, dword [ecx + 0x144]
movss dword [0x101f7ea8], xmm0
mov eax, dword [edi + 0x1bb4]
test eax, eax
je 0x10039197
cmp eax, 7
je 0x10039197
cmp eax, 9
je 0x10039197
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x60]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
mov eax, dword [edi + 0x1bb0]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], 0
movss xmm1, dword [eax + 0x104]
movaps xmm0, xmm1
mov dword [esp + 0x48], 0x3f800000
mulss xmm0, dword [edi + 0x1d3c]
mov dword [esp + 0x4c], 0x3f800000
mov byte [esp + 0x50], 1
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x1d40]
mulss xmm1, dword [edi + 0x1d44]
addss xmm0, dword [edi + 0x1c]
addss xmm1, dword [edi + 0x20]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.100989f0
movups xmm0, xmmword [esp + 0x60]
mov ecx, dword [edi + 0xc]
movups xmmword [edi + 0x1d4c], xmm0
mov edx, dword [0x1020ea28]
mov eax, dword [0x102088d8]
add edx, 0xffffffc7
xor edx, 0xc9557fc1
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [edx + ecx]
jb 0x100391f6
mov ecx, dword [0x10208878]
mov esi, dword [0x1020890c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100391e9
mov eax, dword [esi]
test eax, eax
je 0x100391e9
mov al, byte [eax + 0x20]
test al, al
jne 0x100391f6
test byte [0x101dfff4], 0x40
jne 0x100391f6
mov cl, 1
jmp 0x100391f8
xor cl, cl
mov esi, dword [edi + 0x1bbc]
mov byte [edi + 0x1824], cl
mov byte [edi + 0x1bc4], 0
cmp esi, 0xffffffff
jne 0x1003921c
mov dword [edi + 0x1bbc], 0
xor esi, esi
cmp dword [edi + 0x1bac], 0x40
jne 0x1003930a
mov eax, dword [0x1020eab8]
mov edx, dword [edi + 0x1ba8]
add eax, 0xffffffa3
xor eax, 0xc9557fe5
cmp dword [eax + edx], 1
jl 0x1003930a
test cl, cl
je 0x1003930a
mov eax, dword [0x1020eacc]
add eax, 0xffffff9e
xor eax, 0xc9557fea
movss xmm0, dword [eax + edx]
mov eax, dword [0x102088d8]
comiss xmm0, dword [eax + 0x10]
ja 0x1003930a
movss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x100c1e34]
push ecx
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [0x100c1ed4]
add esp, 4
fstp dword [esp + 0x14]
divss xmm0, dword [esp + 0x14]
cvttss2si eax, xmm0
not eax
mov dword [edi + 0x1bc0], eax
cmp eax, esi
jne 0x100392c7
mov dword [edi + 0x1bbc], 0xffffffff
mov byte [edi + 0x1bc4], 1
jmp 0x1003931e
cmp dword [0x101f6d20], 0
jne 0x100392de
cmp eax, esi
jle 0x100392de
mov eax, dword [edi + 0x1d10]
or dword [eax + 0x30], 1
mov eax, dword [edi + 0x1d10]
test byte [eax + 0x30], 1
je 0x10039314
mov eax, dword [edi + 0x1bbc]
inc eax
mov dword [edi + 0x1bbc], eax
test eax, eax
jle 0x1003931e
mov eax, dword [edi + 0x1d10]
and dword [eax + 0x30], 0xfffff7ff
jmp 0x1003931e
mov dword [edi + 0x1bc0], 0
mov dword [edi + 0x1bbc], 0
mov esi, dword [edi + 0x1ba8]
test esi, esi
jne 0x1003932f
xor al, al
jmp 0x1003953c
mov eax, dword [edi + 0x1bb0]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x10039344
xor al, al
jmp 0x1003953c
mov eax, dword [0x1020ea00]
mov ecx, dword [edi + 0xc]
add eax, 0xffffffd1
xor eax, 0xc9557fb7
test byte [eax + ecx], 0x40
je 0x10039361
xor al, al
jmp 0x1003953c
mov eax, dword [0x1020eb98]
add eax, 0xffffff6b
xor eax, 0xc955801d
cmp dword [eax + edi], 0
je 0x1003937d
xor al, al
jmp 0x1003953c
mov eax, dword [0x1020eb94]
add eax, 0xffffff6c
xor eax, 0xc955801c
cmp byte [eax + ecx], 0
je 0x10039399
xor al, al
jmp 0x1003953c
mov edx, dword [0x101dffec]
xorps xmm1, xmm1
mov eax, dword [0x10208a34]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + edx]
movss xmm0, dword [ecx + 0x58]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10039408
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [0x102089f0]
mov dword [esp + 0x18], eax
mov eax, dword [0x10208a4c]
cmp dword [eax + edx], 0
jne 0x100393e5
mov eax, dword [0x102089cc]
mov ecx, edx
call eax
mov eax, dword [0x10208a4c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + ecx]
call dword [esp + 0x18]
cmp eax, 0x3c7
jne 0x10039402
xor al, al
jmp 0x1003953c
mov edx, dword [0x101dffec]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x1020eab8]
mov eax, dword [eax + 0xc8]
dec eax
cmp eax, 5
ja 0x10039433
lea eax, [ecx - 0x5d]
xor eax, 0xc9557fe5
cmp dword [eax + esi], 1
jge 0x10039433
xor al, al
jmp 0x1003953c
mov eax, dword [edi + 0x1bb4]
cmp eax, 9
jne 0x10039445
xor al, al
jmp 0x1003953c
test eax, eax
je 0x10039465
mov eax, dword [edi + 0x1ba8]
add ecx, 0xffffffa3
xor ecx, 0xc9557fe5
cmp dword [ecx + eax], 1
jge 0x10039465
xor al, al
jmp 0x1003953c
mov ecx, dword [0x1020ea24]
mov eax, dword [edi + 0xc]
add ecx, 0xffffffc8
xor ecx, 0xc9557fc0
movd xmm1, dword [ecx + eax]
mov eax, dword [0x102088d8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
mov eax, dword [0x1020ea28]
add eax, 0xffffffc7
xor eax, 0xc9557fc1
movss xmm0, dword [eax + edx]
comiss xmm0, xmm1
jbe 0x100394a7
xor al, al
jmp 0x1003953c
mov eax, dword [0x1020eab4]
add eax, 0xffffffa4
xor eax, 0xc9557fe4
mov ecx, dword [eax + esi]
cmp ecx, 4
je 0x100394c1
cmp ecx, 0xa
jne 0x100394eb
mov eax, dword [0x1020eac8]
add eax, 0xffffff9f
xor eax, 0xc9557fe9
cmp dword [eax + esi], 0
jle 0x100394eb
mov eax, dword [0x1020ead8]
add eax, 0xffffff9b
xor eax, 0xc9557fed
comiss xmm1, dword [eax + esi]
jb 0x100394eb
mov al, 1
jmp 0x1003953c
mov eax, dword [0x1020eacc]
add eax, 0xffffff9e
xor eax, 0xc9557fea
movss xmm0, dword [eax + esi]
comiss xmm0, xmm1
jbe 0x10039506
xor al, al
jmp 0x1003953c
cmp ecx, 0x40
je 0x1003950f
mov al, 1
jmp 0x1003953c
mov eax, dword [0x1020e9d8]
add eax, 0xffffffdb
xor eax, 0xc9557fad
cmp dword [eax + esi], 5
je 0x10039526
xor al, al
jmp 0x1003953c
mov eax, dword [0x1020eb9c]
add eax, 0xffffff6a
xor eax, 0xc955801e
comiss xmm1, dword [eax + esi]
setae al
mov byte [edi + 0x1bb8], al
mov eax, dword [0x1020ebd4]
mov dword [0x1020ebf4], 0
mov dword [0x1020ebf8], 0
mov dword [0x1020ebfc], 0
mov dword [0x1020ec0c], 0
mov dword [0x1020ec10], 0
mov dword [0x1020ec14], 0
mov dword [0x1020ec00], 0
mov dword [0x1020ec04], 0
mov dword [0x1020ec08], 0
mov dword [0x1020ebec], 0
mov dword [0x1020ebf0], 0
cmp eax, dword [0x1020ebd8]
je 0x100395c2
mov dword [0x1020ebd8], eax
mov eax, dword [0x1020ebe0]
cmp eax, dword [0x1020ebe4]
je 0x100395d4
mov dword [0x1020ebe4], eax
cmp byte [0x101ed7f4], 0
je 0x10039634
cmp byte [0x101dfff0], 0
je 0x10039634
cmp dword [0x101e1b94], 9
jne 0x10039634
mov ecx, dword [0x1020ead4]
mov eax, dword [0x101e1b8c]
add ecx, 0xffffff9c
mov dword [0x1020ebd0], eax
xor ecx, 0xc9557fec
mov eax, dword [0x101e1b88]
movss xmm0, dword [ecx + eax]
mov eax, dword [0x101e1b90]
movss dword [0x1020ebf0], xmm0
movss xmm0, dword [eax + 0x10c]
movss dword [0x1020ebec], xmm0
call fcn.10081610
call fcn.1008ac10
call fcn.10026150
mov ecx, 0x10203dc0
call fcn.10089ec0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.100ad1bc
mov esp, ebp
pop ebp
ret 4