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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d9bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1026b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [0x10304c84]
test al, 1
jne 0x1012ec38
or eax, 1
mov dword [0x10304c84], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x1012eb69
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1012eb5e
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012eb38
xor edx, edx
test ecx, ecx
je 0x1012eb5e
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012eb45
cmp edi, 0x4e9f1122
je 0x1012eb7c
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x1012eb25
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10304c88], eax
jmp 0x1012ec3d
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 4], esi
jle 0x1012ec14
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1012ebc6
cmp dword [ecx + 4], 0
jle 0x1012ebc6
push 0
mov edx, 0x1c93bcf0
call fcn.10115470
add esp, 4
test eax, eax
je 0x1012ebc3
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 [esi + ecx], 0
jne 0x1012ebd0
xor edx, edx
test ecx, ecx
je 0x1012ebfc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012ebe0
cmp edi, 0x1c93bcf0
je 0x1012ec24
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 0x1012eb95
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10304c88], eax
jmp 0x1012ec3d
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x10304c88], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012ec3d
mov eax, dword [0x10304c88]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + ebx]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10306544]
test al, 1
jne 0x1012ed92
or eax, 1
mov dword [0x10306544], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x1012ecb4
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1012eca9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012ec83
xor edx, edx
test ecx, ecx
je 0x1012eca9
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012ec90
cmp edi, 0x72e242a1
je 0x1012ecca
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x1012ec70
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [0x1030650c], eax
jmp 0x1012ed97
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
cmp dword [eax + 4], ebx
jle 0x1012ed68
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1012ed14
cmp dword [ecx + 4], 0
jle 0x1012ed14
push 0
mov edx, 0x84cdad2
call fcn.10115470
add esp, 4
test eax, eax
je 0x1012ed11
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
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012ed20
xor edx, edx
test ecx, ecx
je 0x1012ed4c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1012ed30
cmp ebx, 0x84cdad2
je 0x1012ed7b
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 0x1012ece3
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [0x1030650c], eax
jmp 0x1012ed97
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [0x1030650c], eax
jmp 0x1012ed97
mov eax, dword [0x1030650c]
cmp dword [ebp - 0x24], 2
je 0x1012f19d
cmp dword [eax + ebx], 0
jle 0x1012f19d
mov eax, dword [ebx + 8]
lea edi, [ebx + 8]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1012f19d
mov eax, dword [0x10307da8]
mov ecx, edi
test al, 1
jne 0x1012ef0a
or eax, 1
mov dword [0x10307da8], eax
mov dword [ebp - 4], 2
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x1012ee34
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1012ee29
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012ee03
xor edx, edx
test ecx, ecx
je 0x1012ee29
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012ee10
cmp edi, 0x72e242a1
je 0x1012ee50
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x1012edf0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov dword [0x10307da4], eax
lea edi, [ebx + 8]
lea ecx, [ebx + 8]
jmp 0x1012ef0f
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
cmp dword [eax + 4], ebx
jle 0x1012eef8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1012eea1
cmp dword [ecx + 4], 0
jle 0x1012eea1
push 0
mov edx, 0x9c15080d
call fcn.10115470
add esp, 4
test eax, eax
je 0x1012ee9e
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
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012eeb0
xor edx, edx
test ecx, ecx
je 0x1012eedc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1012eec0
cmp ebx, 0x9c15080d
je 0x1012eeff
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 0x1012ee70
mov eax, ebx
jmp 0x1012ee36
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x10]
jmp 0x1012ee36
mov eax, dword [0x10307da4]
cmp byte [eax + ebx], 0
jne 0x1012f19d
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
mov eax, dword [ecx]
mov ecx, edi
call dword [eax + 0x28]
imul eax, eax, 0x1890
lea ecx, [esi + 0x30]
add ecx, eax
mov dword [ebp - 0x2c], ecx
je 0x1012f19d
mov eax, dword [ecx + 8]
test eax, eax
je 0x1012f19d
cmp eax, ebx
jne 0x1012f19d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [eax]
cmp byte [0x102ef990], 0
mov ecx, dword [ecx + 8]
mov eax, dword [edx]
mov dword [ebp - 0x24], ecx
je 0x1012ef6d
mov eax, dword [eax + 0x6570c]
jmp 0x1012ef73
mov eax, dword [eax + 0x65708]
mov ecx, dword [0x10306544]
mov dword [ebp - 0x10], eax
test cl, 1
jne 0x1012f0ba
or ecx, 1
mov dword [0x10306544], ecx
mov dword [ebp - 4], 3
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x1012efe7
mov eax, dword [ebx]
mov dword [ebp + 8], eax
test eax, eax
je 0x1012efdc
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012efb6
xor edx, edx
test ecx, ecx
je 0x1012efdc
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012efc3
cmp edi, 0x72e242a1
je 0x1012f000
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x1012efa3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x10306544]
mov dword [0x1030650c], eax
jmp 0x1012f0bf
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
cmp dword [eax + 4], ebx
jle 0x1012f0a8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1012f051
cmp dword [ecx + 4], 0
jle 0x1012f051
push 0
mov edx, 0x84cdad2
call fcn.10115470
add esp, 4
test eax, eax
je 0x1012f04e
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012f060
xor edx, edx
test ecx, ecx
je 0x1012f08c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1012f070
cmp ebx, 0x84cdad2
je 0x1012f0af
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x1012f020
mov eax, ebx
jmp 0x1012efe9
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
jmp 0x1012efe9
mov eax, dword [0x1030650c]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
mov edx, dword [edx + eax]
mov dword [ebp - 0x28], edx
cmp ebx, 0x63
jle 0x1012f0da
add ebx, 0xffffff9c
add ebx, edx
jmp 0x1012f161
test cl, 1
jne 0x1012f158
or ecx, 1
mov dword [0x10306544], ecx
mov dword [ebp - 4], 4
mov ebx, dword [0x103030f8]
cmp ebx, dword [0x103030fc]
je 0x1012f144
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp + 8], eax
test eax, eax
je 0x1012f139
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012f113
xor edx, edx
test ecx, ecx
je 0x1012f139
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1012f120
cmp edi, 0x72e242a1
je 0x1012f1b1
add ebx, 4
cmp ebx, dword [0x103030fc]
jne 0x1012f100
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword [0x1030650c], eax
mov ecx, dword [ebp - 0x24]
cmp ebx, dword [ecx + eax]
cmovg ebx, edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
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 [0x1031abbc]
add ecx, 0xffe4a3b1
xor ecx, 0xb756cb51
call fcn.1013f7a0
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 ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
cmp dword [eax + 4], ebx
jle 0x1012f258
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
nop word [eax + eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1012f201
cmp dword [ecx + 4], 0
jle 0x1012f201
push 0
mov edx, 0x84cdad2
call fcn.10115470
add esp, 4
test eax, eax
je 0x1012f1fe
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1012f210
xor edx, edx
test ecx, ecx
je 0x1012f23c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1012f220
cmp ebx, 0x84cdad2
je 0x1012f25f
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x1012f1d0
mov eax, ebx
jmp 0x1012f146
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
jmp 0x1012f146