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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1039de00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x1049b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x10182a45
cmp dword [eax + 0x1c], 0xf
lea edx, [eax + 8]
mov ecx, dword [esi + 4]
mov edi, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
jbe 0x1018298d
mov edx, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x14], 0x811c9dc5
test eax, eax
je 0x101829bb
mov ebx, 0x811c9dc5
mov esi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x101829a1
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
and eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], eax
mov eax, edi
mov dword [ebp - 0x34], edi
mov edi, dword [edi]
mov dword [ebp - 0x2c], eax
add eax, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x14]
cmp ecx, 0xf
jbe 0x101829fc
push ecx
push dword [eax]
push eax
call fcn.10034640
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x24
push dword [ebp - 0x2c]
call fcn.102fe83e
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 4], 0xffffffff
dec dword [esi + 8]
cmp dword [ebp - 0x34], eax
je 0x10182a5b
cmp edi, ebx
jne 0x101829d5
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jne 0x10182a3d
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edi
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x10182a6d
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x10182a70
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], eax
cmp edi, ebx
je 0x10182a3d
nop word [eax + eax]
cmp dword [edi + 0x1c], 0xf
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x10182a8e
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10182ab1
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10182aa0
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x18]
and eax, esi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov esi, edi
mov dword [ebp - 0x30], edi
mov edi, dword [edi]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0xf
jbe 0x10182b06
mov eax, dword [esi + 8]
inc ecx
mov dword [ebp - 4], 2
cmp ecx, 0x1000
jb 0x10182afc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10182b78
mov eax, edx
push ecx
push eax
call fcn.102fe83e
add esp, 8
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
push 0x24
push esi
call fcn.102fe83e
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [ebp - 4], 0xffffffff
dec dword [ebx + 8]
cmp dword [ebp - 0x30], eax
je 0x10182b5d
mov eax, dword [ebp + 0xc]
cmp edi, eax
jne 0x10182ac8
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
mov ecx, dword [ebp - 0x10]
mov dword [ecx], edi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp + 0xc]
mov dword [ecx], esi
mov dword [ecx + 4], esi
cmp edi, ebx
jne 0x10182a80
jmp 0x10182a3d
call fcn.1034fc3d
int3