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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10095890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], edi
jb 0x10002ec0
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10002ee4
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10002ed0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
and eax, edx
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
lea ecx, [eax*8]
mov dword [ebp - 0x1c], ecx
add ecx, dword [edx + 0xc]
mov eax, dword [ecx]
cmp edi, eax
je 0x10002fd8
mov edi, dword [ecx + 4]
mov edi, dword [edi]
nop dword [eax + eax]
cmp edi, eax
je 0x10002fd8
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
jb 0x10002f27
mov esi, dword [edi + 8]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x10002f31
mov ecx, dword [ebx]
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [edi + 0x18]
mov ebx, dword [ebp + 0xc]
jne 0x10002f10
mov ebx, dword [ebp - 0x18]
sub ebx, 4
jb 0x10002f55
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x10002f5a
add ecx, 4
add esi, 4
sub ebx, 4
jae 0x10002f44
cmp ebx, 0xfffffffc
je 0x10002f8e
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x10002f87
cmp ebx, 0xfffffffd
je 0x10002f8e
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x10002f87
cmp ebx, 0xfffffffe
je 0x10002f8e
mov dl, byte [ecx + 2]
cmp dl, byte [esi + 2]
jne 0x10002f87
cmp ebx, 0xffffffff
je 0x10002f8e
mov cl, byte [ecx + 3]
cmp cl, byte [esi + 3]
je 0x10002f8e
sbb ecx, ecx
or ecx, 1
jmp 0x10002f90
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
test ecx, ecx
jne 0x10002f10
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 4
push esi
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
dec dword [ecx + 4]
call fcn.10005d60
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
mov eax, dword [esi]
cmp edi, eax
je 0x10003005
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x10003022
mov dword [ecx], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], esi
jmp 0x10003044
cmp eax, edi
jne 0x1000302a
mov dword [ecx], esi
jmp 0x10003044
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x10003044
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.10005c80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc