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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048d35
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10059040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test edi, edi
jne 0x1000a67a
xor eax, eax
jmp 0x1000a90b
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x1000a684
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 0
push 0x10051eb2
call fcn.100101d0
add esp, 8
test al, al
jne 0x1000a909
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1000a6a8
mov eax, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, eax
push 1
push 0x1005203c
call fcn.100101d0
add esp, 8
test al, al
jne 0x1000a909
cmp dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [ebp - 0x44], esi
jbe 0x1000a6d4
mov ecx, dword [esi]
mov dword [ebp - 0x44], ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1000a8e6
push eax
push 0x2f
push ecx
call fcn.1002b4a0
add esp, 0xc
test eax, eax
je 0x1000a8e6
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x1000a8e6
cmp dword [esi + 0x10], eax
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmovb edx, dword [esi + 0x10]
mov eax, esi
cmp dword [esi + 0x14], 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
jbe 0x1000a72a
mov eax, dword [esi]
push edx
push eax
lea ecx, [ebp - 0x28]
call fcn.10005630
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov edx, dword [ebp - 0x44]
mov eax, dword [esi + 0x10]
inc edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, edx
jb 0x1000a928
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1000a772
mov esi, dword [esi]
push ecx
lea eax, [esi + edx]
push eax
lea ecx, [ebp - 0x40]
call fcn.10005630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
mov esi, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
cmp esi, 1
jne 0x1000a804
mov edx, 0x1005203c
sub esi, 4
jb 0x1000a7b3
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1000a7b8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1000a7a2
cmp esi, 0xfffffffc
je 0x1000a7ec
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1000a7e5
cmp esi, 0xfffffffd
je 0x1000a7ec
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1000a7e5
cmp esi, 0xfffffffe
je 0x1000a7ec
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1000a7e5
cmp esi, 0xffffffff
je 0x1000a7ec
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1000a7ec
sbb eax, eax
or eax, 1
jmp 0x1000a7ee
xor eax, eax
test eax, eax
jne 0x1000a801
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.1000a640
mov esi, eax
jmp 0x1000a86a
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
lea esi, [ebp - 0x28]
mov edx, 0x811c9dc5
cmova esi, dword [ebp - 0x28]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x1000a832
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x1000a820
push edx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100100d0
mov eax, dword [eax + 4]
test eax, eax
je 0x1000a868
cmp eax, dword [edi + 4]
je 0x1000a868
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.1000bba0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [eax]
call fcn.1000a640
mov esi, eax
jmp 0x1000a86a
xor esi, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1000a89e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a894
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a92d
push ecx
push edx
call fcn.100299a5
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp eax, 0xf
jbe 0x1000a8e2
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000a8d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a92d
push ecx
push edx
call fcn.100299a5
add esp, 8
mov eax, esi
jmp 0x1000a90b
push esi
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.1000ece0
mov eax, dword [eax]
cmp eax, dword [edi + 4]
je 0x1000a673
push esi
mov ecx, edi
call fcn.1000bba0
mov eax, dword [eax]
jmp 0x1000a90b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10029593
mov esp, ebp
pop ebp
ret 4
call fcn.10004d30
call fcn.10030684
int3