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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10274f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x103230ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [0x103c22ec]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
test al, 1
jne 0x10157815
or eax, 1
mov dword [0x103c22ec], eax
mov dword [ebp - 4], 0
mov eax, dword [0x103bf630]
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x103bf634]
je 0x1015772a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x1015771c
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101576f3
xor edx, edx
test ecx, ecx
je 0x1015771c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157700
cmp edi, 0x4e9f1122
je 0x10157740
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x103bf634]
jne 0x101576e0
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [0x103c22f0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1015781a
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
cmp dword [eax + 4], edi
jle 0x101577e8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10157794
cmp dword [ecx + 4], 0
jle 0x10157794
push 0
mov edx, 0x1c93bcf0
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10157791
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x10]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x101577a0
xor edx, edx
test ecx, ecx
je 0x101577cc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101577b0
cmp edi, 0x1c93bcf0
je 0x101577fb
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10157760
mov ecx, dword [ebp - 0x24]
mov eax, edi
mov dword [0x103c22f0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1015781a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x103c22f0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1015781a
mov eax, dword [0x103c22f0]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [0x103c3c0c]
test al, 1
jne 0x10157985
or eax, 1
mov dword [0x103c3c0c], eax
mov dword [ebp - 4], 1
mov eax, dword [0x103bf630]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x103bf634]
je 0x1015789a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1015788c
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10157863
xor edx, edx
test ecx, ecx
je 0x1015788c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157870
cmp edi, 0x72e242a1
je 0x101578b0
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x103bf634]
jne 0x10157850
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [0x103c3bcc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1015798a
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x10157958
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10157904
cmp dword [ecx + 4], 0
jle 0x10157904
push 0
mov edx, 0x84cdad2
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10157901
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x14]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10157910
xor edx, edx
test ecx, ecx
je 0x1015793c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157920
cmp edi, 0x84cdad2
je 0x1015796b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov edi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x101578d0
mov ecx, dword [ebp - 0x24]
mov eax, edi
mov dword [0x103c3bcc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1015798a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x103c3bcc], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1015798a
mov eax, dword [0x103c3bcc]
cmp dword [ebp - 0x28], 2
je 0x10157dfb
cmp dword [eax + ecx], 0
jle 0x10157dfb
mov ecx, dword [ebp + 8]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10157dfb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x103c5478]
test al, 1
jne 0x10157b0f
or eax, 1
mov dword [0x103c5478], eax
mov dword [ebp - 4], 2
mov eax, dword [0x103bf630]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x103bf634]
je 0x10157a2f
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10157a21
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101579f8
xor edx, edx
test ecx, ecx
je 0x10157a21
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157a05
cmp edi, 0x72e242a1
je 0x10157a42
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x103bf634]
jne 0x101579e5
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x103c5474], eax
jmp 0x10157b14
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x10157ae8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10157a94
cmp dword [ecx + 4], 0
jle 0x10157a94
push 0
mov edx, 0x9c15080d
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10157a91
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x14]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10157aa0
xor edx, edx
test ecx, ecx
je 0x10157acc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157ab0
cmp edi, 0x9c15080d
je 0x10157af8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10157a60
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x103c5474], eax
jmp 0x10157b14
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x103c5474], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10157b14
mov eax, dword [0x103c5474]
mov ecx, dword [ebp - 0x28]
mov al, byte [eax + ecx]
test al, al
jne 0x10157dfb
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x30]
add ecx, 8
mov eax, dword [ecx]
mov esi, dword [edi]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x1890
add esi, 0x30
add eax, esi
mov dword [ebp - 0x18], eax
je 0x10157dfb
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10157dfb
cmp eax, dword [ebp + 8]
jne 0x10157dfb
cmp byte [0x103aa678], 0
mov eax, dword [edi]
je 0x10157b72
mov eax, dword [eax + 0x65920]
jmp 0x10157b78
mov eax, dword [eax + 0x6591c]
mov ecx, dword [0x103c3c0c]
mov dword [ebp - 0x1c], eax
test cl, 1
jne 0x10157cd1
or ecx, 1
mov dword [0x103c3c0c], ecx
mov dword [ebp - 4], 3
mov eax, dword [0x103bf630]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x103bf634]
je 0x10157bfa
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x10157bec
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10157bc3
xor edx, edx
test ecx, ecx
je 0x10157bec
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157bd0
cmp edi, 0x72e242a1
je 0x10157c13
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x103bf634]
jne 0x10157bb0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x103c3c0c]
mov dword [0x103c3bcc], eax
jmp 0x10157cd6
mov eax, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], esi
cmp dword [eax + 4], esi
jle 0x10157cbf
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov dword [ebp - 0x34], edi
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10157c61
cmp dword [ecx + 4], 0
jle 0x10157c61
push 0
mov edx, 0x84cdad2
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10157c61
mov ecx, dword [edi + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov esi, dword [edi]
mov eax, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10157c70
xor edx, edx
test ecx, ecx
je 0x10157ca0
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157c80
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], 0x84cdad2
mov edi, dword [ebp - 0x34]
je 0x10157cc6
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
inc edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10157c30
mov eax, esi
jmp 0x10157bfc
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
jmp 0x10157bfc
mov eax, dword [0x103c3bcc]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov edx, dword [edx + eax]
mov dword [ebp - 0x38], edx
cmp esi, 0x63
jle 0x10157cf1
add esi, 0xffffff9c
add esi, edx
jmp 0x10157d8b
test cl, 1
jne 0x10157d82
or ecx, 1
mov dword [0x103c3c0c], ecx
mov dword [ebp - 4], 4
mov eax, dword [0x103bf630]
mov dword [ebp - 0x28], eax
cmp eax, dword [0x103bf634]
je 0x10157d6e
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10157d60
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10157d33
xor edx, edx
test ecx, ecx
je 0x10157d60
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157d40
cmp edi, 0x72e242a1
je 0x10157e0e
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x28], eax
cmp eax, dword [0x103bf634]
jne 0x10157d20
xor eax, eax
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x1c]
mov dword [0x103c3bcc], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp esi, dword [ecx + eax]
cmovg esi, edx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], esi
mov eax, dword [ecx]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x74]
push eax
call fcn.10157ed0
cmp byte [ebp - 0x74], 0
je 0x10157dfb
mov ecx, dword [ebp - 0x18]
movups xmm0, xmmword [ebp - 0x74]
mov eax, dword [ebp - 0x54]
movups xmmword [ecx + 0x1858], xmm0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ecx + 0x1868], xmm0
mov dword [ecx + 0x1878], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x1850]
mov dword [ecx + 0x1854], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1858], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], esi
cmp dword [eax + 4], esi
jle 0x10157eaf
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov edi, dword [eax]
add edi, ecx
mov dword [ebp - 0x34], edi
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10157e58
cmp dword [ecx + 4], 0
jle 0x10157e58
push 0
mov edx, 0x84cdad2
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10157e58
mov ecx, dword [edi + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov esi, dword [edi]
mov eax, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10157e61
xor edx, edx
test ecx, ecx
je 0x10157e90
mov edi, eax
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10157e70
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], 0x84cdad2
mov edi, dword [ebp - 0x34]
je 0x10157eb6
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
inc edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x10157e27
mov eax, esi
jmp 0x10157d70
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
jmp 0x10157d70