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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022a980
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x102d2084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x10374464]
mov eax, dword [ebx + 8]
movss xmm0, dword [0x11093d90]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x19b0]
mov dword [ebp - 0xbc], esi
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0xa0], edi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x19b0]
mov dword [ebp - 0xb8], eax
cmp byte [eax + 0x8f], 0
je 0x101128c5
xor al, al
jmp 0x101132ae
mov eax, dword [ebx + 0x10]
mov ecx, eax
shr ecx, 1
not cl
mov dword [ebp - 0xb0], eax
and ecx, 0xffffff01
mov dword [ebp - 0xb4], ecx
call fcn.100bbb40
mov ecx, dword [ebp - 0x9c]
call fcn.100bba30
mov ecx, dword [ebx + 0x10]
test cl, 0x20
je 0x10112904
and ecx, 0xe7ffffff
or ecx, 0x100008
mov edx, dword [edi + 0x2cdc]
test ecx, 0x18000000
jne 0x1011291b
mov eax, edx
and eax, 0x18000000
or ecx, eax
test ecx, 0x1800000
jne 0x1011292c
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1011293d
mov eax, edx
and eax, 0x6000000
or ecx, eax
movss xmm0, dword [esi]
and edx, 0xe07fffff
movss xmm3, dword [esi + 4]
or ecx, edx
cmp byte [ebp - 0xb4], 0
movss xmm4, dword [esi + 8]
mov dword [ebx + 0x10], ecx
je 0x1011296e
movss xmm5, dword [esi + 0xc]
mulss xmm5, dword [0x102ba64c]
jmp 0x10112976
movss xmm5, dword [0x102ba7b4]
mov eax, ecx
xorps xmm6, xmm6
and eax, 0x200000
mov dword [ebp - 0xa4], eax
je 0x10112a05
comiss xmm4, xmm3
xorps xmm7, xmm7
movaps xmm1, xmm3
movaps xmm2, xmm4
jbe 0x101129a4
movss xmm7, dword [0x102bab58]
movaps xmm1, xmm4
movaps xmm2, xmm3
comiss xmm1, xmm0
movaps xmm4, xmm0
jbe 0x101129c1
movaps xmm4, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x102bab34]
subss xmm0, xmm7
movaps xmm7, xmm0
movaps xmm0, xmm1
movaps xmm3, xmm4
minss xmm0, xmm2
subss xmm1, xmm2
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x102ba88c]
addss xmm0, dword [0x102ba604]
divss xmm1, xmm0
addss xmm1, xmm7
movaps xmm0, xmm1
call fcn.1000da40
movaps xmm1, xmm4
addss xmm1, dword [0x102ba604]
divss xmm3, xmm1
comiss xmm0, xmm6
movss xmm1, dword [0x102bab3c]
movss xmm7, dword [0x102ba73c]
jb 0x10112a1f
movaps xmm2, xmm7
jmp 0x10112a22
movaps xmm2, xmm1
comiss xmm3, xmm6
mulss xmm0, dword [0x102baa58]
addss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0x34], eax
jb 0x10112a3f
movaps xmm0, xmm7
jmp 0x10112a42
movaps xmm0, xmm1
comiss xmm4, xmm6
movss xmm2, dword [0x102baa58]
mulss xmm3, xmm2
addss xmm3, xmm0
cvttss2si eax, xmm3
mov dword [ebp - 0x30], eax
jb 0x10112a63
movaps xmm0, xmm7
jmp 0x10112a66
movaps xmm0, xmm1
comiss xmm5, xmm6
mulss xmm4, xmm2
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [ebp - 0x2c], eax
jb 0x10112a7d
movaps xmm1, xmm7
mov edi, dword [0x10374464]
mulss xmm5, xmm2
mov byte [ebp - 0x96], 0
addss xmm5, xmm1
cvttss2si eax, xmm5
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x19b0]
mov edx, dword [eax + 0x284]
mov dword [ebp - 0xc0], edx
mov eax, dword [edx + 0x24]
or eax, 3
mov dword [edx + 0x24], eax
xor al, al
mov byte [ebp - 0x97], al
test cl, 0x10
jne 0x1011321a
mov edi, dword [ebp - 0xa0]
test cl, 0x20
jne 0x10112aed
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.100bbf50
cmp byte [ebp - 0xb4], 0
je 0x10112afd
movss xmm3, dword [esi + 0xc]
jmp 0x10112b05
movss xmm3, dword [0x102ba7b4]
movss xmm2, dword [esi + 8]
lea eax, [ebp - 0x64]
movss xmm1, dword [esi + 4]
mov ecx, 0x10362640
movss xmm0, dword [esi]
push eax
movss dword [ebp - 0xd0], xmm0
movss dword [ebp - 0xcc], xmm1
movss dword [ebp - 0xc8], xmm2
movss dword [ebp - 0xc4], xmm3
call fcn.10052a70
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov esi, dword [ebp - 0x9c]
mov ecx, esi
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112b68
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.1002cfa0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x94]
call fcn.10113300
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x10112bd0
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
mov byte [ebp - 4], 4
cmp ecx, 0x1000
jb 0x10112bc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101132ce
push ecx
push edx
call fcn.101f0b05
add esp, 8
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.1002b860
push dword [ebx + 0x10]
cmp dword [ebp - 0x80], 0x10
lea ecx, [ebp - 0xd0]
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push ecx
push eax
mov ecx, 0x110932e0
call fcn.10112080
mov esi, dword [0x10374464]
or dword [esi + 0x1a34], 0x40
test al, al
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1a80], 0
je 0x10112d13
test al, 4
jne 0x10112d13
movups xmm0, xmmword [ebp - 0xd0]
lea eax, [ebp - 0x4c]
mov ecx, 0x10362628
push eax
movups xmmword [edi + 0x2cf0], xmm0
call fcn.10042c20
mov byte [ebp - 4], 6
lea esi, [ebp - 0x4c]
mov edi, dword [0x10374464]
cmp dword [ebp - 0x38], 0x10
cmovae esi, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [edi + 0x19b0]
mov ecx, dword [eax + 0xcc]
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.100b0d60
add esp, 4
cmp dword [edi + 0x19ec], eax
jne 0x10112c8d
mov dword [edi + 0x19f0], eax
cmp dword [edi + 0x1a20], eax
jne 0x10112c9c
mov byte [edi + 0x1a24], 1
mov ecx, eax
call fcn.100bc660
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.1002b860
mov eax, dword [ebp - 0xb8]
mov esi, dword [0x10374464]
movss xmm0, dword [eax + 0x120]
movss xmm1, dword [eax + 0x12c]
subss xmm0, dword [0x102bab78]
subss xmm1, dword [0x102ba948]
or dword [esi + 0x1a34], 1
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1a4c], 0
movss dword [esi + 0x1a44], xmm0
movss dword [esi + 0x1a48], xmm1
mov dword [esi + 0x1a50], 0
mov dword [esi + 0x1a38], 1
test al, 8
jne 0x10112db4
xor ecx, ecx
call fcn.100b3da0
test al, al
je 0x10112db4
movss xmm0, dword [esi + 0x3f8]
ucomiss xmm0, dword [0x102ba5ec]
lahf
test ah, 0x44
jp 0x10112db4
lea eax, [ebp - 0x4c]
mov ecx, 0x10362600
push eax
call fcn.10052a70
mov byte [ebp - 4], 7
lea esi, [ebp - 0x4c]
mov edi, dword [0x10374464]
cmp dword [ebp - 0x38], 0x10
cmovae esi, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [edi + 0x19b0]
mov ecx, dword [eax + 0xcc]
mov eax, dword [eax + 0xd4]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.100b0d60
add esp, 4
cmp dword [edi + 0x19ec], eax
jne 0x10112d92
mov dword [edi + 0x19f0], eax
cmp dword [edi + 0x1a20], eax
jne 0x10112da1
mov byte [edi + 0x1a24], 1
mov ecx, eax
call fcn.100bc660
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.1002b860
mov edi, dword [ebp - 0xa0]
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x103625a8
mov edi, dword [edi + 0x19b0]
call fcn.10042c20
mov byte [ebp - 4], 8
lea esi, [ebp - 0x64]
mov ecx, dword [edi + 0xcc]
mov eax, dword [edi + 0xd4]
cmp dword [ebp - 0x50], 0x10
cmovae esi, dword [ebp - 0x64]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.100b0d60
mov edx, dword [0x10374464]
mov esi, eax
add esp, 4
cmp dword [edx + 0x19ec], esi
jne 0x10112e0f
mov dword [edx + 0x19f0], esi
cmp dword [edx + 0x1a20], esi
jne 0x10112e1e
mov byte [edx + 0x1a24], 1
mov eax, dword [edx + 0x1acc]
cmp dword [edx + 0x1ac0], eax
jle 0x10112e6e
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1ac8]
cmp dword [eax + ecx*4], esi
jne 0x10112e6e
push esi
push str.Popup__08x
lea eax, [ebp - 0x48]
push 0x14
push eax
call fcn.100b0d20
push 0x4000065
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.100b8f40
add esp, 0x14
mov byte [ebp - 0x95], al
test al, al
jne 0x10112e80
call fcn.100bcb60
jmp 0x10112e80
xor al, al
mov dword [edx + 0x1a34], 0
mov byte [ebp - 0x95], al
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.1002b860
lea eax, [ebp - 0x64]
mov ecx, 0x103625d8
push eax
call fcn.10042c20
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov esi, dword [ebp - 0x9c]
mov ecx, esi
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112ec0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.1002cfa0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x7c]
call fcn.10113300
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x10112f25
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
mov byte [ebp - 4], 0xd
cmp ecx, 0x1000
jb 0x10112f1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101132d3
push ecx
push edx
call fcn.101f0b05
add esp, 8
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.1002b860
cmp dword [ebp - 0x68], 0x10
lea esi, [ebp - 0x7c]
mov edi, 0x811c9dc5
cmovae esi, dword [ebp - 0x7c]
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10112f43
xor edx, edx
test ecx, ecx
je 0x10112f61
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10112f50
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], edi
push eax
mov ecx, 0x11093d50
call fcn.1010ec20
lea esi, [eax + 8]
mov eax, dword [0x103bb7e4]
add eax, 0x5f05664a
xor eax, 0xc1d56fa6
movss xmm2, dword [eax + 4]
mov al, byte [ebp - 0x95]
mulss xmm2, dword [0x102ba7d0]
test al, al
jne 0x10112fa7
mov dword [esi], 0
movss xmm0, dword [esi]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003c8d0
movss xmm3, dword [0x102ba7b4]
lea ecx, [ebp - 0x9c]
mov edx, dword [0x10374464]
lea eax, [ebp - 0xa8]
xorps xmm1, xmm1
movss dword [esi], xmm0
comiss xmm0, xmm1
mov dword [ebp - 0xa8], 0x3f800000
mov dword [ebp - 0x9c], 0
movss xmm2, dword [0x102baa58]
cmovae ecx, esi
comiss xmm3, xmm0
movss xmm0, dword [ebp - 0x18]
cmovae eax, ecx
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [edx + 0x19b0]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xa8], eax
mov eax, dword [edx + 0x19b0]
mov dword [ebp - 0xac], ecx
mov byte [eax + 0x8c], 1
mulss xmm0, dword [esi]
mov eax, dword [edx + 0x19b0]
mulss xmm0, xmm2
mov ecx, dword [eax + 0x284]
cvttss2si eax, xmm0
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x102ba64c]
comiss xmm1, xmm0
ja 0x10113067
minss xmm0, xmm3
movaps xmm1, xmm0
mov eax, dword [edx + 0x19b0]
movss xmm0, dword [ebp - 0xac]
mulss xmm1, xmm2
push 0xf
addss xmm0, dword [eax + 0x14]
push ecx
addss xmm1, dword [0x102ba73c]
mov dword [esp], 0x41200000
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0xa8]
addss xmm0, dword [eax + 0x18]
cvttss2si eax, xmm1
movss dword [ebp - 0x18], xmm0
shl eax, 0x18
or eax, 0x101010
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.100cb8f0
cmp byte [ebp - 0x95], 0
je 0x101131ef
mov eax, dword [ebp - 0xb0]
and eax, 0x7890002
mov byte [ebp - 0x97], 1
or eax, 0x18040080
mov dword [ebp - 0xb0], eax
mov eax, dword [0x10374464]
mov dword [ebp - 0xa8], eax
mov eax, dword [eax + 0x19b0]
lea esi, [eax + 0x194]
mov dword [ebp - 0x18], eax
mov dword [eax + 0x180], 0x43300000
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10113140
inc ecx
test edi, edi
je 0x1011312b
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10113130
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100c1300
mov eax, dword [ebp - 0x18]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0x180]
mov dword [ecx + edx*4], eax
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xa8]
mov ecx, 0x110932e0
inc dword [esi]
mov esi, dword [ebp - 0xbc]
and dword [eax + 0x1a8c], 0xfffffffe
cmp dword [ebp - 0x68], 0x10
mov eax, dword [ebp - 0xa0]
cmovae edx, dword [ebp - 0x7c]
add eax, 0x2cf0
push eax
mov eax, dword [ebp - 0xb0]
push eax
push esi
push edx
call fcn.1010fc80
mov edx, dword [0x10374464]
mov byte [ebp - 0x96], al
mov ecx, dword [edx + 0x19b0]
mov byte [ecx + 0x8c], 1
mov edx, dword [edx + 0x19b0]
mov ecx, dword [edx + 0x194]
add ecx, 0xffffffff
mov dword [edx + 0x194], ecx
jne 0x101131d4
movss xmm0, dword [edx + 0x23c]
movss dword [edx + 0x180], xmm0
call fcn.100bcb60
jmp 0x101131f5
mov eax, dword [edx + 0x19c]
movss xmm0, dword [eax + ecx*4 - 4]
movss dword [edx + 0x180], xmm0
call fcn.100bcb60
jmp 0x101131f5
mov esi, dword [ebp - 0xbc]
lea ecx, [ebp - 0x7c]
call fcn.1002b860
lea ecx, [ebp - 0x94]
call fcn.1002b860
mov edi, dword [0x10374464]
mov edx, dword [ebp - 0xc0]
mov al, byte [ebp - 0x97]
and dword [edx + 0x24], 0xfffffffc
test al, al
jne 0x10113297
cmp dword [ebp - 0xa4], 0
movups xmm0, xmmword [ebp - 0x34]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x102bad20]
movups xmmword [ebp - 0x24], xmm0
je 0x1011325e
movss xmm2, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
movss xmm1, dword [ebp - 0x20]
lea edx, [ebp - 0x20]
movss xmm0, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push eax
call fcn.100b14c0
add esp, 4
cmp byte [ebp - 0x96], 0
je 0x10113297
cmp byte [ebp - 0xb4], 0
movss xmm0, dword [ebp - 0x24]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esi + 8], xmm0
je 0x10113297
movss xmm0, dword [ebp - 0x18]
movss dword [esi + 0xc], xmm0
mov eax, dword [edi + 0x19b0]
dec dword [eax + 0xcc]
call fcn.100bbc70
mov al, byte [ebp - 0x96]
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.101f065f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.101f6163
call fcn.101f6163
int3