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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10230ee3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x102d5080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x138]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10373c90]
test al, 1
jne 0x10147f23
or eax, 1
mov dword [0x10373c90], eax
mov dword [ebp - 4], 0
mov eax, dword [0x10371278]
mov dword [ebp - 0x14], eax
cmp eax, dword [0x1037127c]
je 0x10147e4b
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10147e3d
mov esi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10147e14
xor edx, edx
test ecx, ecx
je 0x10147e3d
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10147e21
cmp ebx, 0xcd2ed041
je 0x10147e5e
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
cmp eax, dword [0x1037127c]
jne 0x10147e01
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10375574], eax
jmp 0x10147f28
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 4], esi
jle 0x10147eff
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10147ea5
cmp dword [ecx + 4], 0
jle 0x10147ea5
push 0
mov edx, 0xa2ccb41a
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10147ea5
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x10], esi
mov esi, dword [ebx]
mov eax, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10147eb0
xor edx, edx
test ecx, ecx
je 0x10147ee0
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10147ec0
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], 0xa2ccb41a
mov edi, dword [ebp - 0x24]
je 0x10147f0f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10147e77
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x10375574], eax
jmp 0x10147f28
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x10375574], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10147f28
mov eax, dword [0x10375574]
mov ecx, dword [ebp - 0x28]
movzx eax, word [eax + ecx]
mov ebx, eax
mov esi, eax
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov ecx, dword [eax + 0xf4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
movsx eax, si
push eax
call edx
test eax, eax
je 0x10147fb4
cmp bx, 0x1f
jne 0x10147fb4
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 3
cmp eax, dword [edi + 0x20]
je 0x10147f78
mov dword [eax], 3
add dword [edi + 0x1c], 4
jmp 0x10147f85
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10137b10
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 2
cmp eax, dword [edi + 0x20]
je 0x1014812d
mov dword [eax], 2
add dword [edi + 0x1c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0x65724], 1
je 0x10147fe5
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 0
cmp eax, dword [edi + 0x20]
je 0x10147fdb
mov dword [eax], 0
add dword [edi + 0x1c], 4
jmp 0x10147fe5
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10137b10
test byte [edi + 0x65724], 2
je 0x10148016
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 5
cmp eax, dword [edi + 0x20]
je 0x1014800c
mov dword [eax], 5
add dword [edi + 0x1c], 4
jmp 0x10148016
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10137b10
test byte [edi + 0x65724], 4
je 0x10148047
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 3
cmp eax, dword [edi + 0x20]
je 0x1014803d
mov dword [eax], 3
add dword [edi + 0x1c], 4
jmp 0x10148047
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10137b10
test byte [edi + 0x65724], 8
je 0x10148078
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x28], 2
cmp eax, dword [edi + 0x20]
je 0x1014806e
mov dword [eax], 2
add dword [edi + 0x1c], 4
jmp 0x10148078
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.10137b10
test byte [edi + 0x65724], 0x10
je 0x101480d1
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0x11
cmp eax, dword [edi + 0x20]
je 0x1014809c
mov dword [eax], 0x11
add dword [edi + 0x1c], 4
jmp 0x101480a9
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10137b10
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0xf
cmp eax, dword [edi + 0x20]
je 0x101480c4
mov dword [eax], 0xf
add dword [edi + 0x1c], 4
jmp 0x101480d1
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10137b10
test byte [edi + 0x65724], 0x20
je 0x1014813a
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0xc
cmp eax, dword [edi + 0x20]
je 0x101480f5
mov dword [eax], 0xc
add dword [edi + 0x1c], 4
jmp 0x10148102
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10137b10
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], 0xb
cmp eax, dword [edi + 0x20]
je 0x1014812d
mov dword [eax], 0xb
add dword [edi + 0x1c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10137b10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret