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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ccce3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10203360]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
cmp byte [eax + 7], 0
je 0x1015fc2d
cmp dword [eax + 0x14c], 0
je 0x1015fc2d
mov edx, dword [0x10285258]
lea ecx, [ebp - 0x20]
test edx, edx
mov dword [ebp - 0x1c], 0x17
mov eax, 0x10285258
mov dword [ebp - 0x20], 0
setg byte [ebp - 0xd]
test edx, edx
cmovns ecx, eax
cmp edx, 0x17
lea eax, [ebp - 0x1c]
cmovle eax, ecx
mov eax, dword [eax]
mov dword [0x10285258], eax
cmp eax, 0x17
jne 0x1015fa13
mov ebx, 0x102851d8
jmp 0x1015fa27
lea ecx, [eax + eax*2]
mov eax, dword [0x102a1e08]
cmp dword [eax + ecx*8 + 0x14], 0x10
lea ebx, [eax + ecx*8]
jb 0x1015fa27
mov ebx, dword [ebx]
cmp byte [ebp - 0xd], 0
lea edi, [esi + 0x14]
je 0x1015fa74
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1015fa35
sub esi, ecx
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1015fa48
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push esi
push ebx
call fcn.10037b90
add esp, 8
test al, al
jne 0x1015fac8
mov eax, dword [0x1046dfe4]
mov ecx, ebx
call eax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015fa67
sub ecx, edx
push ecx
push ebx
jmp 0x1015fac1
mov ebx, dword [esi + 0x40]
add esi, 0x2c
mov eax, esi
cmp ebx, 0x10
jb 0x1015fa83
mov eax, dword [esi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1015fa8d
mov ecx, dword [edi]
push dword [esi + 0x10]
mov edx, dword [edi + 0x10]
push eax
call fcn.10037b90
add esp, 8
test al, al
jne 0x1015fac8
mov eax, dword [0x1046dfe4]
mov ecx, esi
cmp ebx, 0x10
jb 0x1015faae
mov ecx, dword [esi]
call eax
cmp edi, esi
je 0x1015fac8
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x1015fabf
mov esi, dword [esi]
push eax
push esi
mov ecx, edi
call fcn.1002f7a0
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x102a2414]
test al, 1
jne 0x1015fc1e
or eax, 1
mov dword [0x102a2414], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1029b360]
cmp ebx, dword [0x1029b364]
je 0x1015fb54
nop word [eax + eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1015fb49
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x1015fb23
xor edx, edx
test eax, eax
je 0x1015fb49
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x1015fb30
cmp edi, 0x72e242a1
je 0x1015fb60
add ebx, 4
cmp ebx, dword [0x1029b364]
jne 0x1015fb10
xor eax, eax
mov dword [0x102a2410], eax
jmp 0x1015fc23
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jle 0x1015fc08
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1015fbb1
cmp dword [ecx + 4], 0
jle 0x1015fbb1
push 0
mov edx, 0xbed71773
call fcn.101146e0
add esp, 4
test eax, eax
je 0x1015fbae
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1015fbc0
xor edx, edx
test ecx, ecx
je 0x1015fbec
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1015fbd0
cmp ebx, 0xbed71773
je 0x1015fc11
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov ebx, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x1015fb80
mov eax, ebx
mov dword [0x102a2410], eax
jmp 0x1015fc23
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x102a2410], eax
jmp 0x1015fc23
mov eax, dword [0x102a2410]
mov ecx, dword [ebp - 0x24]
mov dword [eax + ecx], 0xff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret