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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e4be1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [0x10b33e88]
add eax, 0x2d392ac8
xor eax, 0xbd782915
cmp byte [eax + 0x1c], 0
jne 0x100397ba
cmp byte [eax + 0x1d], 0
je 0x100397ba
cmp dword [eax + 0x20], 0
jg 0x100397ba
cmp dword [eax + 4], 0
jne 0x100397ba
cmp byte [eax + 0x34], 0
je 0x10039484
cmp byte [eax + 0x35], 0
jne 0x100397ba
cmp byte [0x1032025c], 0
jne 0x100397ba
mov eax, dword [0x10b33e60]
mov ebx, dword [0x1031e92c]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x24], eax
test bl, 1
jne 0x100395fa
or ebx, 1
mov dword [0x1031e92c], ebx
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x10039524
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10039519
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x100394f0
xor edx, edx
test ecx, ecx
je 0x10039519
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039500
cmp edi, 0x4e9f1122
je 0x10039544
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x100394d6
xor edx, edx
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [0x1031e92c]
mov dword [0x1031e954], edx
jmp 0x10039600
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x100395e8
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 0x10039591
cmp dword [ecx + 4], 0
jle 0x10039591
push 0
mov edx, 0x9a8c76d
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1003958e
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 word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x100395a0
xor edx, edx
test ecx, ecx
je 0x100395cc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x100395b0
cmp ebx, 0x9a8c76d
je 0x100395ef
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 0x10039560
mov edx, ebx
jmp 0x10039526
mov edx, dword [edi + 0x2c]
add edx, dword [ebp - 0x14]
jmp 0x10039526
mov edx, dword [0x1031e954]
mov ecx, dword [edx + eax]
mov eax, dword [0x10305658]
sub ecx, dword [0x10321a80]
sub eax, 0
je 0x10039659
sub eax, 1
jne 0x10039664
mov eax, dword [0x10b33e88]
add eax, 0x2d392ac8
xor eax, 0xbd782915
mov eax, dword [eax + 0x44]
cmp eax, 0x64
je 0x10039655
test eax, eax
jle 0x10039655
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0xc0]
cmp dword [eax + 0x4d30], 0
je 0x10039655
mov cl, 1
jmp 0x1003965f
xor cl, cl
jmp 0x1003965f
cmp ecx, 1
seta cl
mov eax, dword [esi]
mov byte [eax + 1], cl
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x24], eax
test bl, 1
jne 0x100396ef
or ebx, 1
mov dword [0x1031e92c], ebx
mov dword [ebp - 4], 1
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x100396e4
nop
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100396d9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x100396b3
xor edx, edx
test eax, eax
je 0x100396d9
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x100396c0
cmp edi, 0x4e9f1122
je 0x10039709
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x100396a0
xor edx, edx
mov eax, dword [ebp - 0x24]
mov dword [0x1031e954], edx
mov eax, dword [eax + edx]
mov dword [0x10321a80], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 4], esi
jle 0x100397a8
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10039753
cmp dword [ecx + 4], 0
jle 0x10039753
push 0
mov edx, 0x9a8c76d
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10039750
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 [esi + ecx], 0
jne 0x10039760
xor edx, edx
test ecx, ecx
je 0x1003978c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10039770
cmp edi, 0x9a8c76d
je 0x100397af
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc edx
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x10039722
mov edx, esi
jmp 0x100396e6
mov edx, dword [ebx + 0x2c]
add edx, dword [ebp - 0x10]
jmp 0x100396e6
mov eax, dword [esi]
mov dword [0x10321a80], 0
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret