Function at 0x10104a50
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 0x101ddb40
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x1021b380]
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 [0x102ba550]
mov eax, dword [ebx + 8]
movss xmm0, dword [0x10bd8960]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 0x19b0]
mov dword [ebp - 0xac], esi
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0x90], edi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x19b0]
mov dword [ebp - 0xa8], eax
cmp byte [eax + 0x8f], 0
je 0x10104ae5
xor al, al
jmp 0x101054e4
mov eax, dword [ebx + 0x10]
mov ecx, eax
shr ecx, 1
not cl
mov dword [ebp - 0xa0], eax
and ecx, 0xffffff01
mov dword [ebp - 0xa4], ecx
call fcn.100af0f0
mov ecx, dword [ebp - 0x8c]
call fcn.100aeff0
mov ecx, dword [ebx + 0x10]
test cl, 0x20
je 0x10104b24
and ecx, 0xe7ffffff
or ecx, 0x100008
test ecx, 0x18000000
jne 0x10104b39
mov eax, dword [edi + 0x2cdc]
and eax, 0x18000000
or ecx, eax
test ecx, 0x1800000
jne 0x10104b4e
mov eax, dword [edi + 0x2cdc]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10104b63
mov eax, dword [edi + 0x2cdc]
and eax, 0x6000000
or ecx, eax
mov eax, dword [edi + 0x2cdc]
movss xmm0, dword [esi]
and eax, 0xe07fffff
movss xmm3, dword [esi + 4]
or ecx, eax
cmp byte [ebp - 0xa4], 0
movss xmm4, dword [esi + 8]
mov dword [ebx + 0x10], ecx
je 0x10104b99
movss xmm6, dword [esi + 0xc]
mulss xmm6, dword [0x1020770c]
jmp 0x10104ba1
movss xmm6, dword [0x1020785c]
xorps xmm5, xmm5
test ecx, 0x200000
je 0x10104c29
comiss xmm4, xmm3
xorps xmm7, xmm7
movaps xmm1, xmm3
movaps xmm2, xmm4
jbe 0x10104bc8
movss xmm7, dword [0x10207bc8]
movaps xmm1, xmm4
movaps xmm2, xmm3
comiss xmm1, xmm0
movaps xmm4, xmm0
jbe 0x10104be5
movaps xmm4, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x10207ba4]
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 [0x10207928]
addss xmm0, dword [0x102076c4]
divss xmm1, xmm0
addss xmm1, xmm7
movaps xmm0, xmm1
call fcn.1000d5e0
movaps xmm1, xmm4
addss xmm1, dword [0x102076c4]
divss xmm3, xmm1
comiss xmm0, xmm5
movss xmm1, dword [0x10207bac]
movss xmm7, dword [0x102077ec]
jb 0x10104c43
movaps xmm2, xmm7
jmp 0x10104c46
movaps xmm2, xmm1
comiss xmm3, xmm5
mulss xmm0, dword [0x10207ae0]
addss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0xcc], eax
jb 0x10104c66
movaps xmm0, xmm7
jmp 0x10104c69
movaps xmm0, xmm1
comiss xmm4, xmm5
movss xmm2, dword [0x10207ae0]
mulss xmm3, xmm2
addss xmm3, xmm0
cvttss2si eax, xmm3
mov dword [ebp - 0xc8], eax
jb 0x10104c8d
movaps xmm0, xmm7
jmp 0x10104c90
movaps xmm0, xmm1
comiss xmm6, xmm5
mulss xmm4, xmm2
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [ebp - 0xc4], eax
jb 0x10104caa
movaps xmm1, xmm7
mov edi, dword [0x102ba550]
mulss xmm6, xmm2
mov byte [ebp - 0x86], 0
mov byte [ebp - 0x87], 0
addss xmm6, xmm1
cvttss2si eax, xmm6
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x19b0]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x19b0]
mov edx, dword [eax + 0x284]
mov dword [ebp - 0x94], edx
or dword [edx + 0x24], 3
test cl, 0x10
jne 0x10105449
mov edi, dword [ebp - 0x90]
test cl, 0x20
jne 0x10104d17
movss xmm1, dword [edi + 0x1560]
xorps xmm0, xmm0
call fcn.100af4f0
cmp byte [ebp - 0xa4], 0
je 0x10104d27
movss xmm3, dword [esi + 0xc]
jmp 0x10104d2f
movss xmm3, dword [0x1020785c]
movss xmm2, dword [esi + 8]
lea eax, [ebp - 0x54]
movss xmm1, dword [esi + 4]
mov ecx, 0x102a9968
movss xmm0, dword [esi]
push eax
movss dword [ebp - 0xbc], xmm0
movss dword [ebp - 0xb8], xmm1
movss dword [ebp - 0xb4], xmm2
movss dword [ebp - 0xb0], xmm3
call fcn.1004bc90
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov esi, dword [ebp - 0x8c]
mov ecx, esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10104d92
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.1002b410
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x84]
call fcn.10105530
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x10104dfc
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
mov byte [ebp - 4], 4
cmp ecx, 0x1000
jb 0x10104df2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10104df2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d08a3
add esp, 8
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.10029c20
push dword [ebx + 0x10]
cmp dword [ebp - 0x70], 0xf
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0x84]
cmova eax, dword [ebp - 0x84]
push ecx
push eax
mov ecx, 0x10bd7eb0
call fcn.101042b0
mov esi, dword [0x102ba550]
or dword [esi + 0x1a34], 0x40
test al, al
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x1a80], 0
je 0x10104f3f
test al, 4
jne 0x10104f3f
movups xmm0, xmmword [ebp - 0xbc]
lea eax, [ebp - 0x3c]
mov ecx, 0x102a9950
push eax
movups xmmword [edi + 0x2cf0], xmm0
call fcn.1003f930
mov byte [ebp - 4], 6
lea esi, [ebp - 0x3c]
mov edi, dword [0x102ba550]
cmp dword [ebp - 0x28], 0xf
cmova esi, dword [ebp - 0x3c]
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.100a4260
add esp, 4
cmp dword [edi + 0x19ec], eax
jne 0x10104eb9
mov dword [edi + 0x19f0], eax
cmp dword [edi + 0x1a20], eax
jne 0x10104ec8
mov byte [edi + 0x1a24], 1
mov ecx, eax
call fcn.100afbe0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.10029c20
mov eax, dword [ebp - 0xa8]
mov esi, dword [0x102ba550]
movss xmm0, dword [eax + 0x120]
movss xmm1, dword [eax + 0x12c]
subss xmm0, dword [0x10207bf4]
subss xmm1, dword [0x102079cc]
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 0x10104fe0
xor ecx, ecx
call fcn.100a71c0
test al, al
je 0x10104fe0
movss xmm0, dword [esi + 0x3f8]
ucomiss xmm0, dword [0x102076b4]
lahf
test ah, 0x44
jp 0x10104fe0
lea eax, [ebp - 0x3c]
mov ecx, 0x102a9928
push eax
call fcn.1004bc90
mov byte [ebp - 4], 7
lea esi, [ebp - 0x3c]
mov edi, dword [0x102ba550]
cmp dword [ebp - 0x28], 0xf
cmova esi, dword [ebp - 0x3c]
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.100a4260
add esp, 4
cmp dword [edi + 0x19ec], eax
jne 0x10104fbe
mov dword [edi + 0x19f0], eax
cmp dword [edi + 0x1a20], eax
jne 0x10104fcd
mov byte [edi + 0x1a24], 1
mov ecx, eax
call fcn.100afbe0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.10029c20
mov edi, dword [ebp - 0x90]
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x102a98d0
mov edi, dword [edi + 0x19b0]
call fcn.1003f930
mov byte [ebp - 4], 8
lea esi, [ebp - 0x54]
mov ecx, dword [edi + 0xcc]
mov eax, dword [edi + 0xd4]
cmp dword [ebp - 0x40], 0xf
cmova esi, dword [ebp - 0x54]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.100a4260
mov edx, dword [0x102ba550]
mov esi, eax
add esp, 4
cmp dword [edx + 0x19ec], esi
jne 0x1010503b
mov dword [edx + 0x19f0], esi
cmp dword [edx + 0x1a20], esi
jne 0x1010504a
mov byte [edx + 0x1a24], 1
mov eax, dword [edx + 0x1acc]
cmp dword [edx + 0x1ac0], eax
jle 0x1010509a
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1ac8]
cmp dword [eax + ecx*4], esi
jne 0x1010509a
push esi
push str.Popup__08x
lea eax, [ebp - 0x38]
push 0x14
push eax
call fcn.100a4220
push 0x4000065
xor edx, edx
lea ecx, [ebp - 0x38]
call fcn.100ac530
add esp, 0x14
mov byte [ebp - 0x85], al
test al, al
jne 0x101050ac
call fcn.100b00f0
jmp 0x101050ac
xor al, al
mov dword [edx + 0x1a34], 0
mov byte [ebp - 0x85], al
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.10029c20
lea eax, [ebp - 0x54]
mov ecx, 0x102a9910
push eax
call fcn.1003f930
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov esi, dword [ebp - 0x8c]
mov ecx, esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101050f0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.1002b410
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x6c]
call fcn.10105530
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x10105157
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
mov byte [ebp - 4], 0xd
cmp ecx, 0x1000
jb 0x1010514d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010514d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101d08a3
add esp, 8
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.10029c20
cmp dword [ebp - 0x58], 0xf
lea esi, [ebp - 0x6c]
mov edi, 0x811c9dc5
cmova esi, dword [ebp - 0x6c]
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10105175
xor edx, edx
test ecx, ecx
je 0x10105193
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10105182
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], edi
push eax
mov ecx, 0x10bd8920
call fcn.10100f60
lea esi, [eax + 8]
mov eax, dword [0x102cc030]
add eax, 0x781833fb
xor eax, 0x567bbcf7
movss xmm2, dword [eax + 4]
mov al, byte [ebp - 0x85]
mulss xmm2, dword [0x10207878]
test al, al
jne 0x101051d9
mov dword [esi], 0
movss xmm0, dword [esi]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1003a1e0
movss xmm1, dword [0x1020785c]
lea ecx, [ebp - 0x8c]
mov edx, dword [0x102ba550]
lea eax, [ebp - 0x98]
xorps xmm2, xmm2
movss dword [esi], xmm0
comiss xmm0, xmm2
mov dword [ebp - 0x98], 0x3f800000
mov dword [ebp - 0x8c], 0
movss xmm3, dword [0x10207ae0]
cmovae ecx, esi
comiss xmm1, 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 - 0x98], eax
mov eax, dword [edx + 0x19b0]
mov dword [ebp - 0x9c], ecx
mov byte [eax + 0x8c], 1
mulss xmm0, dword [esi]
mov eax, dword [edx + 0x19b0]
mulss xmm0, xmm3
mov ecx, dword [eax + 0x284]
cvttss2si eax, xmm0
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1020770c]
comiss xmm2, xmm0
ja 0x10105299
movaps xmm2, xmm0
minss xmm2, xmm1
mov eax, dword [edx + 0x19b0]
mulss xmm2, xmm3
push 0xf
push ecx
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
addss xmm2, dword [0x102077ec]
addss xmm0, dword [ebp - 0x9c]
addss xmm1, dword [ebp - 0x98]
mov dword [esp], 0x41200000
cvttss2si eax, xmm2
movss dword [ebp - 0x1c], xmm0
shl eax, 0x18
or eax, 0x101010
movss dword [ebp - 0x18], xmm1
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.100bef00
cmp byte [ebp - 0x85], 0
je 0x10105421
mov eax, dword [ebp - 0xa0]
and eax, 0x7890002
mov byte [ebp - 0x87], 1
or eax, 0x18040080
mov dword [ebp - 0xa0], eax
mov eax, dword [0x102ba550]
mov dword [ebp - 0x98], 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 0x10105372
inc ecx
test edi, edi
je 0x1010535d
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10105362
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100b4840
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 - 0x6c]
mov eax, dword [ebp - 0x98]
mov ecx, 0x10bd7eb0
inc dword [esi]
mov esi, dword [ebp - 0xac]
and dword [eax + 0x1a8c], 0xfffffffe
cmp dword [ebp - 0x58], 0xf
mov eax, dword [ebp - 0x90]
cmova edx, dword [ebp - 0x6c]
add eax, 0x2cf0
push eax
mov eax, dword [ebp - 0xa0]
push eax
push esi
push edx
call fcn.10101fc0
mov edx, dword [0x102ba550]
mov byte [ebp - 0x86], 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 0x10105406
movss xmm0, dword [edx + 0x23c]
movss dword [edx + 0x180], xmm0
call fcn.100b00f0
jmp 0x10105427
mov eax, dword [edx + 0x19c]
movss xmm0, dword [eax + ecx*4 - 4]
movss dword [edx + 0x180], xmm0
call fcn.100b00f0
jmp 0x10105427
mov esi, dword [ebp - 0xac]
lea ecx, [ebp - 0x6c]
call fcn.10029c20
lea ecx, [ebp - 0x84]
call fcn.10029c20
mov edi, dword [0x102ba550]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x94]
and dword [edx + 0x24], 0xfffffffc
cmp byte [ebp - 0x87], 0
jne 0x101054cd
movups xmm0, xmmword [ebp - 0xcc]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x10207da0]
movups xmmword [ebp - 0x24], xmm0
test ecx, 0x200000
je 0x10105494
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.100a49d0
add esp, 4
cmp byte [ebp - 0x86], 0
je 0x101054cd
cmp byte [ebp - 0xa4], 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 0x101054cd
movss xmm0, dword [ebp - 0x18]
movss dword [esi + 0xc], xmm0
mov eax, dword [edi + 0x19b0]
dec dword [eax + 0xcc]
call fcn.100af220
mov al, byte [ebp - 0x86]
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.101d03f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc