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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10115e14]
sub esp, 0x38
push ebx
push esi
push edi
test al, 1
jne 0x100a5318
or eax, 1
mov dword [0x10115e14], eax
mov eax, dword [0x1010c3e4]
mov ebx, dword [eax + 0x30]
jmp 0x100a530c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100a52e0
xor edx, edx
test ecx, ecx
je 0x100a5309
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a52f0
cmp esi, 0x90f473ab
je 0x100a5310
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100a52d4
mov dword [0x10115e28], ebx
jmp 0x100a531e
mov ebx, dword [0x10115e28]
cmp byte [0x100f54cc], 0
je 0x100a5348
mov ecx, dword [0x1010c668]
mov eax, dword [0x101136b8]
add ecx, 0xffffffb4
xor ecx, 0x358f70e
cmp byte [ecx + eax], 0
jne 0x100a5348
mov ecx, 3
jmp 0x100a534a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x100fd8e4]
mov ecx, dword [0x100fd8e8]
cmp eax, ecx
je 0x100a5860
cmp dword [eax], 0
je 0x100a537a
add eax, 4
cmp eax, ecx
jne 0x100a5367
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ecx
je 0x100a5860
mov eax, dword [0x1010c444]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x101135ec]
ja 0x100a5860
movss xmm2, dword [0x101135f0]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x100a5860
subss xmm1, dword [0x101135e8]
movss xmm0, dword [0x100c9040]
mov ecx, dword [0x1010c3f4]
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x100c9284]
cvttss2si eax, xmm0
mov byte [0x101135f7], al
mov eax, dword [0x10115594]
push dword [0x101135f4]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x10115590]
cdq
sub eax, edx
sar edi, 1
mov edx, dword [ecx]
mov ebx, eax
sar ebx, 1
mov dword [ebp - 8], edi
lea esi, [edi + 6]
mov dword [ebp - 4], ebx
mov edx, dword [edx + 0x38]
lea eax, [ebx + 6]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], eax
call edx
mov ecx, dword [0x1010c3f4]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 7]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 6]
push esi
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
lea eax, [ebx + 7]
push dword [0x101135f4]
mov dword [ebp - 0x2c], eax
mov esi, edi
add esi, 7
mov eax, dword [ecx]
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 8]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 7]
push esi
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
lea eax, [ebx + 8]
push dword [0x101135f4]
mov dword [ebp - 0x30], eax
mov esi, edi
add esi, 8
mov eax, dword [ecx]
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 9]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 8]
push esi
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
lea eax, [ebx + 9]
push dword [0x101135f4]
mov dword [ebp - 0x34], eax
mov esi, edi
add esi, 9
mov eax, dword [ecx]
mov dword [ebp - 0x20], esi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 0xa]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 9]
push esi
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
lea eax, [ebx + 0xa]
push dword [0x101135f4]
mov dword [ebp - 0x38], eax
mov esi, edi
add esi, 0xa
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 0xb]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 0xa]
push esi
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
add edi, 0xfffffffa
push dword [0x101135f4]
add ebx, 0xfffffffa
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea esi, [edi + 1]
push esi
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
push edi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
add edi, 0xfffffff9
push dword [0x101135f4]
mov eax, dword [ecx]
add ebx, 0xfffffff9
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea esi, [edi + 1]
push esi
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
push edi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
add edi, 0xfffffff8
add esi, 0xfffffff8
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea edx, [edi + 1]
push edx
lea ebx, [esi + 1]
push ebx
mov eax, dword [ecx]
push edi
push esi
mov dword [ebp - 0x24], ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
mov esi, dword [ebp - 4]
push dword [0x101135f4]
mov ebx, dword [ebp - 8]
add esi, 0xfffffff7
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea edx, [ebx - 8]
push edx
lea edi, [esi + 1]
push edi
mov eax, dword [ecx]
lea edx, [ebx - 9]
push edx
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
lea eax, [ebx - 0xa]
mov esi, dword [ebp - 4]
push dword [0x101135f4]
mov dword [ebp - 0xc], eax
add esi, 0xfffffff7
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
inc edx
push edx
mov eax, dword [ecx]
push esi
push dword [ebp - 0xc]
lea edx, [ebx - 0xa]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
lea edx, [ebx - 5]
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ecx]
push edx
push dword [ebp - 0x14]
mov edx, ebx
mov eax, dword [eax + 0x40]
add edx, 0xfffffffa
push edx
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
mov eax, dword [ebp - 0x18]
inc eax
mov edx, ebx
push eax
mov eax, dword [ecx]
add edx, 0xfffffffa
push edx
push dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [eax + 0x40]
add edx, 0xfffffff9
push edx
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
inc edx
push edx
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
push ebx
push dword [ebp - 0x1c]
mov eax, dword [eax + 0x40]
add edx, 0xfffffff8
push edx
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1010c3f4]
mov edx, dword [ebp - 0x20]
inc edx
push edx
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
push edi
push dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
add edx, 0xfffffff7
push edx
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov edi, dword [ebp - 8]
mov ecx, dword [0x1010c3f4]
add edi, 0xa
mov eax, dword [ecx]
lea edx, [edi + 1]
push edx
mov edx, dword [ebp - 4]
push esi
mov eax, dword [eax + 0x40]
add edx, 0xfffffff6
push edi
push edx
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [0x1010c3f4]
lea esi, [edi - 6]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
lea edx, [ebx + 1]
push edx
push esi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ebx, dword [ebp - 0x2c]
lea esi, [edi - 7]
mov ecx, dword [0x1010c3f4]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 1]
mov eax, dword [ecx]
push edx
push esi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ebx, dword [ebp - 0x30]
lea esi, [edi - 8]
mov ecx, dword [0x1010c3f4]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 1]
mov eax, dword [ecx]
push edx
push esi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov esi, dword [ebp - 0x34]
lea ebx, [edi - 9]
mov ecx, dword [0x1010c3f4]
lea edx, [ebx + 1]
push edx
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push ebx
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1010c3f4]
push dword [0x101135f4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x38]
mov ecx, dword [0x1010c3f4]
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
lea edx, [esi + 1]
push edx
push ebx
push esi
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1010c444]
mov esi, 1
cmp dword [eax + 0x18], esi
jl 0x100a5860
mov ecx, dword [0x1010c3ec]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, 0x10100204
mov ecx, 0x101001ec
call fcn.1009fb20
test al, al
je 0x100a5855
mov edx, 0x1010020c
mov ecx, 0x101001f8
call fcn.1009fb20
mov eax, dword [0x1010c444]
inc esi
cmp esi, dword [eax + 0x18]
jle 0x100a5825
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret