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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10222f61
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 dword [ebp - 0x24], ecx
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov ecx, dword [eax + 0x134]
mov dword [ebp - 0x20], ecx
mov edx, dword [ecx + 0x25c]
cmp edx, 9
je 0x10039b52
cmp edx, 8
je 0x10039b52
mov eax, dword [eax + 0x110]
mov al, byte [eax + 0x20]
test al, al
jne 0x10039b52
mov eax, dword [0x10375568]
test al, 1
jne 0x100399c2
or eax, 1
mov dword [0x10375568], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x10371278]
cmp ebx, dword [0x1037127c]
je 0x100398e4
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100398d9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100398b0
xor edx, edx
test ecx, ecx
je 0x100398d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100398c0
cmp edi, 0x72e242a1
je 0x100398fa
add ebx, 4
cmp ebx, dword [0x1037127c]
jne 0x10039896
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x10373c68], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100399c7
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x10039998
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10039944
cmp dword [ecx + 4], 0
jle 0x10039944
push 0
mov edx, 0xa4a37590
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10039941
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10039950
xor edx, edx
test ecx, ecx
je 0x1003997c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10039960
cmp ebx, 0xa4a37590
je 0x100399ab
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10039913
mov ecx, dword [ebp - 0x20]
mov eax, ebx
mov dword [0x10373c68], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100399c7
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [0x10373c68], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100399c7
mov eax, dword [0x10373c68]
test byte [eax + ecx], 0x40
jne 0x10039b52
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov eax, dword [eax + 0x134]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10376dd8]
test al, 1
jne 0x10039b2c
or eax, 1
mov dword [0x10376dd8], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x10371278]
cmp ebx, dword [0x1037127c]
je 0x10039a57
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10039a4c
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x10039a26
xor edx, edx
test eax, eax
je 0x10039a4c
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10039a33
cmp edi, 0x72e242a1
je 0x10039a6a
add ebx, 4
cmp ebx, dword [0x1037127c]
jne 0x10039a13
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10376dd4], eax
jmp 0x10039b31
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jle 0x10039b08
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10039ab4
cmp dword [ecx + 4], 0
jle 0x10039ab4
push 0
mov edx, 0x9c15080d
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10039ab1
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 [ecx + esi], 0
jne 0x10039ac0
xor edx, edx
test ecx, ecx
je 0x10039aec
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10039ad0
cmp ebx, 0x9c15080d
je 0x10039b18
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc edx
mov ebx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x10039a83
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x10376dd4], eax
jmp 0x10039b31
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x10376dd4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10039b31
mov eax, dword [0x10376dd4]
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + eax], 0
jne 0x10039b52
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.10032230
mov ecx, ebx
call fcn.1002f660
mov ecx, ebx
call fcn.1002f920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret