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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100de364]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10141fc8], 0
push ebx
push esi
push edi
je 0x100ad8bb
push 4
push dword [0x1014b9ac]
push dword [0x1014b9a8]
call fcn.100bc360
cmp eax, dword [0x1014b9ac]
je 0x100ad628
mov eax, dword [0x10196eac]
mov ecx, dword [0x10141fc8]
add eax, 0xffffffcc
xor eax, 0x39528c43
cmp dword [eax + ecx], 0
jne 0x100ad628
mov eax, dword [0x10196f4c]
add eax, 0xffffffa4
xor eax, 0x39528c6b
mov eax, dword [eax + ecx]
mov ecx, dword [0x10196c74]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x100ad628
mov ecx, dword [0x10196f4c]
mov eax, dword [0x10141fc8]
add ecx, 0xffffffa4
xor ecx, 0x39528c6b
mov eax, dword [ecx + eax]
mov ecx, dword [0x10196c74]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
cmp dword [eax + 0xc8], 5
jne 0x100ad628
mov ecx, dword [0x10196efc]
mov eax, dword [0x10141fc8]
add ecx, 0xffffffb8
xor ecx, 0x39528c57
cmp byte [ecx + eax], 0
je 0x100ad628
mov eax, dword [0x1014268c]
mov ecx, dword [0x10142690]
mov dword [ebp - 8], eax
cdq
sub eax, edx
mov dword [ebp - 0xc], ecx
mov esi, eax
mov eax, ecx
mov ecx, dword [0x10196d78]
cdq
sub eax, edx
sar esi, 1
mov edi, eax
mov edx, dword [ecx]
sar edi, 1
mov edx, dword [edx + 0x34]
call edx
mov ebx, eax
cmp ebx, 1
jle 0x100ad5d4
cdq
sub eax, edx
sar eax, 1
sub esi, eax
sub edi, eax
mov ecx, dword [0x10196c7c]
push dword [0x100cd708]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10196c7c]
lea eax, [ebx + edi]
push eax
push dword [ebp - 8]
mov edx, dword [ecx]
push edi
push 0
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x10196c7c]
push dword [0x100cd708]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10196c7c]
lea eax, [ebx + esi]
push dword [ebp - 0xc]
push eax
mov edx, dword [ecx]
push 0
push esi
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x10196c74]
mov edi, 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp eax, edi
jl 0x100ad6eb
mov ecx, dword [0x10196c74]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100ad6d5
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x100ad691
mov eax, dword [0x10196eac]
add eax, 0xffffffcc
xor eax, 0x39528c43
cmp dword [eax + esi], 0
jne 0x100ad6d5
mov eax, dword [0x10196e24]
cmp byte [eax + esi], 0
jne 0x100ad6d5
push esi
mov ecx, 0x10199f58
call fcn.100b2f40
jmp 0x100ad6d5
cmp byte [0x1014a474], 0
je 0x100ad6c1
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100ad6c1
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100ad6c1
push esi
call fcn.100b1ea0
jmp 0x100ad6d5
cmp byte [0x1014a6fc], 0
je 0x100ad6d5
push esi
mov ecx, 0x10199f58
call fcn.100b1490
mov ecx, dword [0x10196c74]
inc edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp edi, eax
jle 0x100ad642
call fcn.100b27c0
call fcn.100aff30
mov ecx, 0x10199f58
call fcn.100ae630
call fcn.100ad8d0
call fcn.100adca0
call fcn.100b1310
mov ecx, 0x10199f58
call fcn.100b0130
call fcn.100ac6f0
call fcn.100acfc0
call fcn.100acca0
mov eax, dword [0x1019c9d0]
test al, 1
jne 0x100ad788
or eax, 1
mov dword [0x1019c9d0], eax
mov eax, dword [0x10196c6c]
mov ebx, dword [eax + 0x30]
jmp 0x100ad77c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100ad750
xor edx, edx
test ecx, ecx
je 0x100ad779
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100ad760
cmp esi, 0xcc254ccd
je 0x100ad780
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100ad742
mov dword [0x1019c9c8], ebx
jmp 0x100ad78e
mov ebx, dword [0x1019c9c8]
mov eax, dword [ebx]
movss xmm0, dword [0x10155274]
push ecx
mov ecx, ebx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
call fcn.100b6660
cmp byte [0x10141fcc], 0
je 0x100ad8bb
cmp byte [0x10154fb4], 0
je 0x100ad8bb
movss xmm0, dword [0x101551b8]
mov ebx, dword [0x10141fc8]
mov eax, dword [0x10155058]
mov edx, eax
mov ecx, dword [0x1019c5dc]
cvtps2pd xmm0, xmm0
mov esi, dword [ebx + 0xba90]
shr edx, 8
mulsd xmm0, qword [0x100d2ae8]
cmp esi, ecx
jle 0x100ad8ac
cvttsd2si ecx, xmm0
movzx eax, al
lea edi, [esi + esi*4]
mov dword [ebp - 0x10], eax
shl edi, 2
movzx ecx, cl
mov dword [ebp - 0xc], ecx
movzx ecx, byte [0x1015505a]
mov dword [ebp - 8], ecx
movzx ecx, dl
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x10196cb0]
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0xc]
mov dword [ebp - 0x20], 0
push dword [ebp - 8]
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x3fa00000
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x3fa00000
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 0x3fa00000
push eax
mov eax, dword [ebx + 0xba84]
mov dword [ebp - 0x38], 0xbfa00000
add eax, 0xffffffec
mov dword [ebp - 0x34], 0xbfa00000
add eax, edi
mov dword [ebp - 0x30], 0xbfa00000
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x1019c5dc]
dec esi
mov eax, dword [ebp - 0x10]
add edi, 0xffffffec
cmp esi, ecx
jg 0x100ad821
mov eax, dword [ebx + 0xba90]
cmp eax, ecx
je 0x100ad8bb
mov dword [0x1019c5dc], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bc566
mov esp, ebp
pop ebp
ret