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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x10216634]
sub esp, 0x234
cmp byte [eax + 0x17ca], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x100ad881
mov eax, dword [0x102187c8]
cmp dword [eax], 0
je 0x100ad88b
cmp dword [0x1042355c], 0
je 0x100ad88b
mov eax, dword [0x1021663c]
cmp dword [eax + 0xc], 0
je 0x100ad88b
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call eax
mov ecx, eax
mov edx, 0x811c9dc5
mov al, byte [ecx]
test al, al
je 0x100ad88b
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x100ad851
cmp edx, 0x78a2d0fe
je 0x100addf7
cmp edx, 0x8b8fcce8
je 0x100ad892
cmp edx, 0xafcd8f60
jne 0x100ad88b
mov ecx, 0x1042354c
call fcn.100af720
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10423554]
mov eax, dword [0x10423550]
dec ecx
and ecx, dword [0x10423558]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0xc], 0
jne 0x100ad88b
mov eax, dword [ebx]
mov ecx, ebx
push 0
push str.userid
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1021663c]
mov edi, eax
mov esi, dword [ecx + 0x10]
mov ecx, dword [0x102187c8]
mov ecx, dword [ecx]
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
mov edx, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
or ecx, 0xffffffff
test al, al
cmovne ecx, dword [esp + 0x178]
cmp edi, ecx
jne 0x100ad88b
mov ecx, dword [0x10423554]
xorps xmm1, xmm1
mov edx, dword [0x10423558]
dec ecx
mov eax, dword [0x10423550]
and ecx, edx
mov ecx, dword [eax + ecx*4]
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100ad95b
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100ad95b
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100ad95b
add dword [0x1042355c], 0xffffffff
je 0x100ade79
inc edx
mov dword [0x10423558], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push ecx
mov dword [esp], 0
mov ecx, ebx
push 0x101ae324
mov eax, dword [eax + 0x20]
call eax
mov eax, dword [ebx]
push ecx
fstp dword [esp + 0x34]
movss xmm0, dword [esp + 0x34]
mov ecx, ebx
mov eax, dword [eax + 0x20]
mov dword [esp], 0
push 0x101ae320
movss dword [esp + 0x48], xmm0
call eax
mov eax, dword [ebx]
push ecx
fstp dword [esp + 0x3c]
movss xmm0, dword [esp + 0x3c]
mov ecx, ebx
mov eax, dword [eax + 0x20]
mov dword [esp], 0
push 0x101ae328
movss dword [esp + 0x4c], xmm0
call eax
mov ecx, dword [0x10423550]
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x10423554]
lea edx, [esp + 0x44]
dec eax
mov dword [esp + 0x1c], 0
and eax, dword [0x10423558]
fstp dword [esp + 0x40]
movss xmm0, dword [esp + 0x40]
movss dword [esp + 0x4c], xmm0
xorps xmm0, xmm0
mov ecx, dword [ecx + eax*4]
movq qword [esp + 0x14], xmm0
call fcn.10036dd0
movss dword [esp + 0x10], xmm0
mulss xmm0, dword [0x101ecaa0]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.10186b10
mov ecx, dword [0x10423554]
mov eax, dword [0x10423550]
dec ecx
and ecx, dword [0x10423558]
cvtsd2ss xmm0, xmm0
mov eax, dword [eax + ecx*4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x101ecaa0]
cvtps2pd xmm1, xmm0
movq xmm0, qword [eax]
movq qword [esp + 0x6c], xmm0
movaps xmm0, xmm1
mov eax, dword [eax + 8]
movsd qword [esp + 0x10], xmm1
mov dword [esp + 0x74], eax
call fcn.10186b10
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
mulss xmm1, dword [esp + 0x34]
mulss xmm1, dword [0x101ece70]
addss xmm1, dword [esp + 0x30]
movss dword [esp + 0x78], xmm1
call fcn.10187d90
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
mulss xmm1, dword [esp + 0x34]
mulss xmm1, dword [0x101ece70]
addss xmm1, dword [esp + 0x38]
movss dword [esp + 0x7c], xmm1
call fcn.10187d90
mov eax, dword [0x101b0124]
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x20], eax
mov ax, word [0x101b0128]
mov dword [esp + 0x58], 0
mov word [esp + 0x24], ax
xorps xmm0, xmmword [0x101ed400]
mulss xmm0, dword [0x101ece70]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x80], xmm0
movups xmm0, xmmword [0x101b0114]
movups xmmword [esp + 0x10], xmm0
test ah, ah
je 0x100adc91
xor ebx, ebx
cmp dword [0x10217ca4], 2
jl 0x100adc64
movaps xmm0, xmmword [str.4444444444444444]
movaps xmm4, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed430]
movaps xmm5, xmmword [0x101ed0a0]
movaps xmmword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x40]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x10], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x14]
xorps xmm1, xmm0
movd dword [esp + ebx + 0x14], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x100adb60
cmp ebx, 0x16
jge 0x100adc91
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x34
xor byte [esp + ebx + 0x10], al
inc ebx
cmp ebx, 0x16
jl 0x100adc64
movss xmm1, dword [0x101ece10]
lea eax, [esp + 0x10]
mov dword [esp + 0x88], eax
lea edx, [esp + 0x58]
mov eax, dword [0x10216634]
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0xffffffff
movss xmm0, dword [eax + 0x17b5]
mulss xmm0, xmm1
push edx
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [eax + 0x17b9]
mulss xmm0, xmm1
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [eax + 0x17bd]
mulss xmm0, xmm1
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [eax + 0x17c1]
mov eax, dword [0x10216630]
mulss xmm0, xmm1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xd0], 0xffffffff
movss dword [esp + 0xb0], xmm0
mov byte [esp + 0xcc], 1
mov dword [esp + 0xb4], 0x3e4ccccd
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xa0], 0x3f0ccccd
mov dword [esp + 0xa4], 0x3f0ccccd
mov dword [esp + 0xd4], 0x40
mov dword [esp + 0xa8], 0xbf800000
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test eax, eax
je 0x100addd7
and dword [eax + 0x34], 0xffffbfff
mov ecx, dword [0x10216630]
mov ecx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x10]
mov ecx, dword [0x10216634]
addss xmm0, dword [ecx + 0x16a8]
movss dword [eax + 0xc8], xmm0
mov ecx, dword [0x10423554]
mov eax, dword [0x10423550]
dec ecx
and ecx, dword [0x10423558]
mov eax, dword [eax + ecx*4]
mov byte [eax + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, ebx
push 0
push str.userid
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1021663c]
mov edi, eax
mov esi, dword [ecx + 0x10]
mov ecx, dword [0x102187c8]
mov ecx, dword [ecx]
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
mov edx, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
push eax
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
or ecx, 0xffffffff
test al, al
cmovne ecx, dword [esp + 0x178]
cmp edi, ecx
jne 0x100ad88b
mov ecx, dword [0x10423554]
mov edx, dword [0x10423558]
dec ecx
mov eax, dword [0x10423550]
and ecx, edx
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0xc], 0
je 0x100ad88b
add dword [0x1042355c], 0xffffffff
jne 0x100ad94d
pop edi
pop esi
mov dword [0x10423558], 0
pop ebx
mov esp, ebp
pop ebp
ret