Function at 0x10001000
Capabilities:
Encode data using xor
Resolve function by fnv-1a hash

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3c], eax
call fcn.10001240
cmp dword [0x10017fac], 0xa
jl 0x1000106d
mov ecx, dword [0x10017fa8]
lea edx, [ecx - 1]
imul edx, ecx
and edx, 1
je 0x1000106d
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov byte [ecx], 0x8b
mov ecx, dword [esp + 0x10]
mov dword [ecx + 1], 0x818d9084
mov byte [ecx + 5], 0x89
add ecx, 6
mov dword [esp], ecx
mov ecx, dword [esp]
mov byte [ecx], 0xd5
mov ecx, dword [esp]
mov dword [ecx + 1], 0x868dc6d5
mov byte [ecx + 5], 0x87
mov ecx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
mov byte [edx], 0x8b
mov edx, dword [esp + 0xc]
mov dword [edx + 1], 0x818d9084
mov byte [edx + 5], 0x89
add edx, 6
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov byte [edx], 0xd5
mov edx, dword [esp + 0x1c]
mov dword [edx + 1], 0x868dc6d5
mov byte [edx + 5], 0x87
add edx, 6
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xc]
add edx, 0xd
cmp dword [0x10017fac], 0xa
mov dword [esp + 0x28], edx
jl 0x100010d8
mov edx, dword [0x10017fa8]
lea esi, [edx - 1]
imul esi, edx
and esi, 1
jne 0x10001031
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
nop word cs:[eax + eax]
nop
mov byte [edx], 0
inc edx
mov dword [esp + 8], edx
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0x28]
mov edx, dword [esp + 8]
jne 0x100010f0
mov ebp, dword [0x10017fa8]
mov edx, dword [0x10017fac]
lea ebx, [ebp - 1]
mov dword [esp + 0x20], edx
imul ebx, ebp
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
nop dword [eax + eax]
mov dword [esp + 0x14], edx
mov dword [esp + 4], ebx
test byte [esp + 4], 1
mov ebp, dword [esp + 0x14]
je 0x10001148
cmp ebp, 9
jg 0x10001130
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x28]
cmp edx, 0xb
ja 0x1000119b
nop dword [eax]
mov edx, dword [esp + 0x28]
add edx, ecx
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
movsx edx, byte [edx]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x28]
add edx, 0xffffffe0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 8]
xor edx, dword [esp + 0x18]
mov ebx, dword [esp + 4]
mov byte [ebx], dl
inc dword [esp + 0x28]
mov edx, dword [esp + 0x28]
cmp edx, 0xc
jb 0x10001160
mov dword [esp], ecx
mov ecx, dword [esp]
add ecx, 0xc
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
push dword [esp]
call eax
call fcn.100013e0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call eax
cmp eax, 0xffffffff
je 0x1000121f
lea ebx, [esp + 0x2c]
mov edi, eax
mov ecx, ebx
call fcn.10002b40
lea eax, [esp + 0x28]
mov ecx, edi
mov edx, esi
push eax
push dword [esp + 0x30]
push ebx
push dword [esp + 0x68]
call fcn.10002c00
add esp, 0x10
mov ecx, dword [0x10017134]
movzx esi, byte [esp + 0x28]
test ecx, ecx
jne 0x1000121a
mov ecx, 0xfaba0065
call fcn.100026d0
mov ecx, eax
mov dword [0x10017134], eax
push edi
call ecx
jmp 0x10001221
xor esi, esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10005190
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret