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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100dbda9
push eax
mov dword fs:[0], esp
mov ecx, dword [0x1016322c]
push ebx
sub esp, 0x160
mov eax, dword [ecx]
push esi
push edi
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101632c4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
test esi, esi
je 0x100d1b18
mov ecx, esi
call fcn.10011140
cmp eax, 2
je 0x100d146e
cmp eax, 3
jne 0x100d1b18
mov ecx, esi
mov dword [0x1015dfe8], esi
call fcn.10018ac0
mov ecx, dword [0x1015dfe8]
mov dword [0x1015dfec], eax
call fcn.100b74e0
sub eax, 4
je 0x100d1495
sub eax, 1
jne 0x100d14b3
mov ecx, dword [0x1015dfe8]
call fcn.100b73a0
mov ecx, dword [0x101632c4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
mov dword [0x1015dff0], eax
mov ecx, dword [0x101632c4]
mov edi, 1
mov dword [ebp - 0x44], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp eax, edi
jle 0x100d1a1e
mov ecx, dword [0x101632c4]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je case.0x100d1822.90
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100d1561
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
mov dword [ebp - 0x20], eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor ecx, 0x811c9dc5
mov dword [ebp - 0x1c], eax
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x20]
shr ecx, 0x18
xor eax, ecx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.100d2450
cmp dword [eax + 4], 0
je case.0x100d1822.90
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100d1742
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100d1c80
mov ecx, dword [0x1016322c]
mov eax, dword [eax]
vmovss xmm0, dword [eax + 0x18]
mov eax, dword [ecx]
vmovss dword [ebp - 0x20], xmm0
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
fsub dword [ebp - 0x20]
vmovss xmm0, dword [0x1014e960]
fstp dword [ebp - 0x1c]
vcomiss xmm0, dword [ebp - 0x1c]
jb case.0x100d1822.90
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.100d1c80
mov ecx, edi
mov eax, dword [eax]
add eax, 0xc
push eax
call fcn.100baea0
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.100d1c80
mov ecx, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x10162de0]
add edx, 0xc
mov dword [ebp - 0x20], edx
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x101d16e0]
cmp eax, dword [ecx + 4]
jle 0x100d171e
push 0x101d16e0
call fcn.100d50bc
add esp, 4
cmp dword [0x101d16e0], 0xffffffff
jne 0x100d171b
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x3c], 0x44564073
mov dword [ebp - 0x38], 0x4c566c41
mov dword [ebp - 0x34], 0x464e41
mov byte [ebp - 0x30], 1
mov al, cl
add al, 0x1e
xor byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 0xb
jb 0x100d1675
mov dword [ebp - 0x2f], 0x637f4b5a
mov ecx, 8
mov dword [ebp - 0x2b], 0x60415043
vpmovsxbd ymm0, qword [ebp - 0x2f]
vpxor ymm0, ymm0, ymmword [0x1014fce0]
vpshufb ymm0, ymm0, ymmword [0x1014fc40]
vpermq ymm0, ymm0, 0xd8
vpshufb ymm0, ymm0, ymmword [0x10150520]
vextracti128 xmm0, ymm0, 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x27], 0x5d415348
mov word [ebp - 0x23], 0x53
mov byte [ebp - 0x21], 1
vmovq qword [ebp - 0x2f], xmm0
nop dword [eax]
mov al, cl
add al, 0x1e
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0xd
jb 0x100d16e0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x21], 0
push eax
lea eax, [ebp - 0x2f]
push eax
vzeroupper
call fcn.1000f3e0
push 0x101d16e0
mov dword [0x101d16dc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100d506b
add esp, 4
mov edx, dword [ebp - 0x20]
mov eax, dword [0x101d16dc]
vmovss xmm0, dword [edx]
vmovss xmm1, dword [edx + 4]
vmovss xmm2, dword [edx + 8]
vmovss dword [edi + eax], xmm0
vmovss dword [edi + eax + 4], xmm1
vmovss dword [edi + eax + 8], xmm2
cmp edi, dword [0x1015dfe8]
jne 0x100d175f
mov ecx, dword [0x101d1508]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
test eax, eax
je case.0x100d1822.90
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je case.0x100d1822.90
mov esi, dword [eax + 0x14]
cmp esi, 0x56
jg 0x100d180d
je case.0x100d1822.88
sub esi, 1
jne case.0x100d1822.90
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x10163228]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
mov ecx, esi
call fcn.100d30f0
test al, al
je 0x100d17eb
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 7
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x1015dff8
call fcn.100d1ea0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x100d1893
mov dword [eax], edi
add dword [ecx + 4], 4
jmp case.0x100d1822.90
mov ecx, esi
call fcn.100d3040
test al, al
je case.0x100d1822.90
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 6
push eax
lea eax, [ebp - 0x94]
jmp 0x100d17c4
lea eax, [esi - 0x58]
cmp eax, 0xbf
ja case.0x100d1822.90
movzx eax, byte [eax + 0x100d1b44]
jmp dword [eax*4 + 0x100d1b2c]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x9c]
mov ecx, 0x1015dff8
push eax
call fcn.100d1ea0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x100d185a
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x100d1864
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.10021e90
mov ecx, dword [0x1015dfe8]
call fcn.10011140
mov ecx, edi
mov esi, eax
call fcn.10011140
sub eax, esi
neg eax
sbb eax, eax
add eax, 2
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xa4]
jmp 0x100d17c4
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.10021e90
jmp case.0x100d1822.90
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
push eax
lea eax, [ebp - 0xac]
mov ecx, 0x1015dff8
push eax
call fcn.100d1ea0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x100d18d3
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x100d18dd
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.10021e90
mov ecx, dword [0x1015dfe8]
call fcn.10011140
mov ecx, edi
mov esi, eax
call fcn.10011140
sub eax, esi
neg eax
sbb eax, eax
add eax, 5
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xb4]
jmp 0x100d17c4
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 7
push eax
lea eax, [ebp - 0xbc]
jmp 0x100d17c4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 8
push eax
lea eax, [ebp - 0xc4]
mov ecx, 0x1015dff8
push eax
call fcn.100d1ea0
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x100d1953
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x100d195d
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.10021e90
cmp esi, 0xd9
jne 0x100d19a5
cmp dword [edi + 0x8fc], 1
jne case.0x100d1822.90
mov ecx, edi
call fcn.1002ede0
mov ecx, dword [0x101632c4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
cmp eax, dword [0x1015dfe8]
jne case.0x100d1822.90
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 9
push eax
lea eax, [ebp - 0xcc]
jmp 0x100d17c4
cmp esi, 0x101
jne case.0x100d1822.90
mov ecx, dword [0x1015dfe8]
push 1
call fcn.1002c9d0
test eax, eax
je case.0x100d1822.90
mov ecx, eax
call fcn.10011c70
cmp eax, 0x15f
jne case.0x100d1822.90
mov ecx, edi
call fcn.1001e0a0
mov ecx, dword [0x101632c4]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
cmp eax, dword [0x1015dfe8]
jne case.0x100d1822.90
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xa
push eax
lea eax, [ebp - 0x78]
jmp 0x100d17c4
mov dword [0x1015dff4], edi
mov ecx, dword [0x101632c4]
mov edi, dword [ebp - 0x44]
inc edi
mov dword [ebp - 0x44], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp edi, eax
jl 0x100d14d0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
mov ecx, 0x1015dff8
call fcn.100d1c60
push eax
lea ecx, [ebp - 0x7c]
call fcn.100be4e0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x78]
mov eax, ecx
mov esi, dword [ebp - 0x7c]
sub eax, esi
sar eax, 2
mov dword [0x101d5a44], eax
cmp eax, dword [0x101d5a48]
je 0x100d1b0b
cmp esi, ecx
je 0x100d1b0b
nop dword [eax]
push 0x84
lea eax, [ebp - 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
add esp, 0xc
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x1016322c]
lea edi, [ebp - 0x170]
push edi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x100d1ae1
mov edi, dword [ebp - 0x128]
test edi, edi
je 0x100d1ae1
mov ecx, dword [0x10163378]
mov byte [ebp - 0x45], 1
mov edx, dword [ebp - 0x48]
and edx, 0xff100001
mov eax, dword [ecx]
or edx, 0x100001
push 4
push edx
push edi
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x48], edx
call eax
mov byte [ebp - 0x11], al
jmp 0x100d1ae5
mov byte [ebp - 0x11], 0
mov ecx, dword [esi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov cl, byte [ebp - 0x11]
add esi, 4
mov byte [eax + 0x1015e018], cl
cmp esi, dword [ebp - 0x78]
jne 0x100d1a70
mov eax, dword [0x101d5a44]
lea ecx, [ebp - 0x7c]
mov dword [0x101d5a48], eax
call fcn.1000f220
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret