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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e85b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x102d2084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [0x1036f68c]
test al, 1
jne 0x10152988
or eax, 1
mov dword [0x1036f68c], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x101528b9
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x101528ae
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152888
xor edx, edx
test ecx, ecx
je 0x101528ae
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152895
cmp edi, 0x4e9f1122
je 0x101528cc
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10152875
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1036f690], eax
jmp 0x1015298d
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 4], esi
jle 0x10152964
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10152916
cmp dword [ecx + 4], 0
jle 0x10152916
push 0
mov edx, 0x1c93bcf0
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10152913
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152920
xor edx, edx
test ecx, ecx
je 0x1015294c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152930
cmp edi, 0x1c93bcf0
je 0x10152974
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x101528e5
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x1036f690], eax
jmp 0x1015298d
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x1036f690], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1015298d
mov eax, dword [0x1036f690]
mov edi, dword [ebp + 8]
mov eax, dword [eax + edi]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10370fac]
test al, 1
jne 0x10152ae2
or eax, 1
mov dword [0x10370fac], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10152a04
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x101529f9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101529d3
xor edx, edx
test ecx, ecx
je 0x101529f9
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101529e0
cmp edi, 0x72e242a1
je 0x10152a1a
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x101529c0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
mov dword [0x10370f6c], eax
jmp 0x10152ae7
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10152ab8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10152a64
cmp dword [ecx + 4], 0
jle 0x10152a64
push 0
mov edx, 0x84cdad2
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10152a61
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152a70
xor edx, edx
test ecx, ecx
je 0x10152a9c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152a80
cmp edi, 0x84cdad2
je 0x10152acb
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10152a33
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
mov dword [0x10370f6c], eax
jmp 0x10152ae7
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
mov dword [0x10370f6c], eax
jmp 0x10152ae7
mov eax, dword [0x10370f6c]
cmp dword [ebp - 0x24], 2
je 0x10152ed1
cmp dword [eax + edi], 0
jle 0x10152ed1
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10152ed1
mov eax, dword [0x10372818]
test al, 1
jne 0x10152c46
or eax, 1
mov dword [0x10372818], eax
mov dword [ebp - 4], 2
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10152b84
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10152b79
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152b53
xor edx, edx
test ecx, ecx
je 0x10152b79
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152b60
cmp edi, 0x72e242a1
je 0x10152b9d
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10152b40
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
mov dword [0x10372814], eax
jmp 0x10152c4b
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
cmp dword [eax + 4], ebx
jle 0x10152c34
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10152be7
cmp dword [ecx + 4], 0
jle 0x10152be7
push 0
mov edx, 0x9c15080d
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10152be4
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152bf0
xor edx, edx
test ecx, ecx
je 0x10152c1c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10152c00
cmp ebx, 0x9c15080d
je 0x10152c3b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10152bb6
mov eax, ebx
jmp 0x10152b86
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x10]
jmp 0x10152b86
mov eax, dword [0x10372814]
mov al, byte [eax + edi]
test al, al
jne 0x10152ed1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov esi, dword [ecx]
mov ecx, ebx
call dword [eax + 0x28]
imul eax, eax, 0x1890
lea ecx, [esi + 0x30]
add ecx, eax
mov dword [ebp - 0x2c], ecx
je 0x10152ed1
mov eax, dword [ecx + 8]
test eax, eax
je 0x10152ed1
cmp eax, edi
jne 0x10152ed1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [eax]
cmp byte [0x1035881c], 0
mov ecx, dword [ecx + 8]
mov eax, dword [edx]
mov dword [ebp - 0x24], ecx
je 0x10152caa
mov eax, dword [eax + 0x6570c]
jmp 0x10152cb0
mov eax, dword [eax + 0x65708]
mov ecx, dword [0x10370fac]
mov dword [ebp - 0x10], eax
test cl, 1
jne 0x10152de6
or ecx, 1
mov dword [0x10370fac], ecx
mov dword [ebp - 4], 3
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10152d24
mov eax, dword [ebx]
mov dword [ebp + 8], eax
test eax, eax
je 0x10152d19
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152cf3
xor edx, edx
test ecx, ecx
je 0x10152d19
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152d00
cmp edi, 0x72e242a1
je 0x10152d3d
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10152ce0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x10370fac]
mov dword [0x10370f6c], eax
jmp 0x10152deb
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10152dd4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10152d87
cmp dword [ecx + 4], 0
jle 0x10152d87
push 0
mov edx, 0x84cdad2
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10152d84
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152d90
xor edx, edx
test ecx, ecx
je 0x10152dbc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152da0
cmp edi, 0x84cdad2
je 0x10152ddb
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10152d56
mov eax, esi
jmp 0x10152d26
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
jmp 0x10152d26
mov eax, dword [0x10370f6c]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
mov edx, dword [edx + eax]
mov dword [ebp - 0x28], edx
cmp ebx, 0x63
jle 0x10152e06
add ebx, 0xffffff9c
add ebx, edx
jmp 0x10152e95
test cl, 1
jne 0x10152e8c
or ecx, 1
mov dword [0x10370fac], ecx
mov dword [ebp - 4], 4
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10152e78
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp + 8], eax
test eax, eax
je 0x10152e6d
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152e43
xor edx, edx
test ecx, ecx
je 0x10152e6d
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152e50
cmp edi, 0x72e242a1
je 0x10152ee5
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10152e30
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword [0x10370f6c], eax
mov ecx, dword [ebp - 0x24]
cmp ebx, dword [ecx + eax]
cmovg ebx, edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
mov ecx, dword [ecx]
lea eax, [ecx + 0x24]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, dword [0x103bb304]
add ecx, 0x1051c882
xor ecx, 0x8dbfcd76
call fcn.101631a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x10152f88
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
nop
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10152f31
cmp dword [ecx + 4], 0
jle 0x10152f31
push 0
mov edx, 0x84cdad2
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10152f2e
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10152f40
xor edx, edx
test ecx, ecx
je 0x10152f6c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10152f50
cmp edi, 0x84cdad2
je 0x10152f8f
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10152f00
mov eax, esi
jmp 0x10152e7a
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
jmp 0x10152e7a