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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
xor eax, 2
or eax, dword [esi + 4]
jne 0x100825e6
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov edi, eax
xor edi, 0x70736575
lea ecx, [esp + 0x20]
mov dword [ecx], edi
mov edi, edx
xor edi, 0x736f6d65
mov dword [ecx + 4], edi
mov edi, eax
xor edi, 0x6e657261
mov dword [ecx + 8], edi
mov edi, edx
xor edi, 0x6c796765
mov dword [ecx + 0xc], edi
mov edi, dword [esi + 0x10]
mov ebx, edi
xor ebx, 0x6e646f6d
mov dword [ecx + 0x10], ebx
mov esi, dword [esi + 0x14]
mov ebx, esi
xor ebx, 0x646f7261
mov dword [ecx + 0x14], ebx
mov ebx, edi
xor ebx, 0x79746573
mov dword [ecx + 0x18], ebx
mov ebx, esi
xor ebx, 0x74656462
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], edi
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0x2c], esi
xorps xmm0, xmm0
movups xmmword [ecx + 0x30], xmm0
mov esi, dword [edi]
xor eax, eax
test esi, esi
setne al
lea edx, [esp + 0x1c]
mov dword [edx], eax
push 4
call fcn.1003524e
add esp, 4
test esi, esi
je 0x10082683
mov edx, dword [edi + 4]
lea ecx, [esp + 0x20]
push dword [edi + 8]
jmp 0x10082693
mov ebx, 0x1b3
mov ecx, dword [ecx]
xor eax, eax
mov dword [esp + 4], ecx
test ecx, ecx
setne al
mov dword [esp + 0x20], eax
mov esi, 0xcbf29ce4
mov eax, 0x84222325
xor edi, edi
movzx ecx, byte [esp + edi + 0x20]
xor ecx, eax
mov eax, ecx
mul ebx
imul esi, ebx
add esi, edx
mov edx, 0x100
imul ecx, edx
add esi, ecx
inc edi
cmp edi, 4
jne 0x10082608
cmp dword [esp + 4], 0
je 0x10082854
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
test edx, edx
je 0x10082881
mov ecx, dword [ecx + 4]
mov dword [esp + 4], ecx
xor edi, edi
mov dword [esp + 8], edx
mov ebx, 0x1b3
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + edi]
xor ecx, eax
mov eax, ecx
mov edx, 0x1b3
mul edx
imul esi, ebx
add esi, edx
mov edx, 0x100
imul ecx, edx
mov edx, dword [esp + 8]
add esi, ecx
inc edi
cmp edx, edi
jne 0x10082653
jmp 0x10082881
movzx eax, byte [edi + 4]
lea edx, [esp + 0x1c]
mov dword [edx], eax
lea ecx, [esp + 0x20]
push 4
call fcn.1003524e
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
shl edx, 0x18
or edx, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x3c]
xor ecx, edx
mov esi, dword [esp + 0x38]
xor esi, edi
mov edx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
adc ebx, edx
mov dword [esp + 4], ebx
mov edi, eax
shld edi, edx, 0xd
shld edx, eax, 0xd
xor edx, ebx
mov ebx, dword [esp + 0xc]
xor edi, ebx
mov eax, dword [esp + 0x28]
add eax, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
adc eax, ecx
mov dword [esp + 0x10], eax
mov eax, esi
shld eax, ecx, 0x10
shrd esi, ecx, 0x10
xor esi, dword [esp + 0x10]
xor eax, dword [esp + 8]
add dword [esp + 4], eax
adc ebx, esi
mov ecx, eax
shld ecx, esi, 0x15
shrd eax, esi, 0xb
xor eax, ebx
xor ecx, dword [esp + 4]
add dword [esp + 8], edi
adc dword [esp + 0x10], edx
mov esi, edi
shld esi, edx, 0x11
shrd edi, edx, 0xf
mov edx, ebx
xor edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor dword [esp + 4], ebx
mov ebx, dword [esp + 0x10]
xor edi, ebx
xor esi, dword [esp + 8]
xor ebx, 0xff
add dword [esp + 4], esi
adc edx, edi
mov dword [esp + 0xc], edx
mov edx, esi
shld edx, edi, 0xd
shrd esi, edi, 0x13
xor esi, dword [esp + 0xc]
xor edx, dword [esp + 4]
add ebx, ecx
adc dword [esp + 8], eax
mov edi, ecx
shld edi, eax, 0x10
shrd ecx, eax, 0x10
xor ecx, dword [esp + 8]
xor edi, ebx
add dword [esp + 0xc], edi
adc dword [esp + 4], ecx
mov eax, edi
shld eax, ecx, 0x15
shrd edi, ecx, 0xb
xor edi, dword [esp + 4]
xor eax, dword [esp + 0xc]
add ebx, edx
adc dword [esp + 8], esi
mov ecx, edx
shld ecx, esi, 0x11
shrd edx, esi, 0xf
xor edx, dword [esp + 8]
xor ecx, ebx
add dword [esp + 0xc], ecx
adc dword [esp + 4], edx
mov esi, ecx
shld esi, edx, 0xd
shrd ecx, edx, 0x13
xor ecx, dword [esp + 4]
xor esi, dword [esp + 0xc]
add dword [esp + 8], eax
adc ebx, edi
mov edx, eax
shld edx, edi, 0x10
shrd eax, edi, 0x10
xor eax, ebx
xor edx, dword [esp + 8]
add dword [esp + 4], edx
adc dword [esp + 0xc], eax
mov edi, edx
shld edi, eax, 0x15
shrd edx, eax, 0xb
xor edx, dword [esp + 0xc]
xor edi, dword [esp + 4]
add dword [esp + 8], esi
adc ebx, ecx
mov eax, esi
shld eax, ecx, 0x11
shrd esi, ecx, 0xf
xor esi, ebx
xor eax, dword [esp + 8]
add dword [esp + 4], eax
adc dword [esp + 0xc], esi
mov ecx, eax
shld ecx, esi, 0xd
xor ecx, dword [esp + 4]
shrd eax, esi, 0x13
xor eax, dword [esp + 0xc]
add ebx, edi
mov esi, dword [esp + 8]
adc esi, edx
shrd edi, edx, 0x10
xor edi, esi
shr edi, 0xb
add ebx, ecx
adc esi, eax
shr eax, 0xf
xor eax, edi
xor eax, esi
xor eax, ebx
jmp 0x10082881
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx + 4]
mov dword [esp + 0x20], ecx
xor edi, edi
movzx ecx, byte [esp + edi + 0x20]
xor ecx, eax
mov eax, ecx
mul ebx
imul esi, ebx
add esi, edx
mov edx, 0x100
imul ecx, edx
add esi, ecx
inc edi
cmp edi, 4
jne 0x10082861
and eax, 0x7fff
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret