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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2659
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push esi
push edi
mov eax, dword [0x100ea00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10165030]
test al, 1
jne 0x1002eb3b
mov eax, dword [0x1015fe94]
or dword [0x10165030], 1
mov esi, dword [eax + 0x30]
jmp 0x1002eb2f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + eax], 0
jne 0x1002eb00
xor edx, edx
test ecx, ecx
je 0x1002eb2c
nop dword [eax]
movsx eax, byte [edx + eax]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [esi + 0xc]
cmp edx, ecx
jb 0x1002eb10
cmp edi, 0xe6a08fc9
je 0x1002eb33
mov esi, dword [esi + 4]
test esi, esi
jne 0x1002eaf4
mov dword [0x10165010], esi
jmp 0x1002eb41
mov esi, dword [0x10165010]
cmp byte [0x1015660c], 0
je 0x1002edfe
mov edx, dword [0x101566c4]
mov ecx, dword [0x101566c0]
cmp ecx, edx
je 0x1002eb6c
nop
cmp dword [ecx], 1
je 0x1002eb6c
add ecx, 4
cmp ecx, edx
jne 0x1002eb60
xor eax, eax
cmp ecx, edx
setne al
jmp dword [eax*4 + 0x1002f464]
mov dword [ebp - 0x18], 0x745f7363
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x74656269
mov byte [ebp - 0x10], 0
jmp 0x1002edf4
mov dword [ebp - 0x14], 0x61626d65
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x797373
jmp 0x1002edf4
mov dword [ebp - 0x14], 0x6c617469
lea ecx, [ebp - 0x14]
mov word [ebp - 0x10], 0x79
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
mov eax, 0x10
pxor xmm0, xmmword [0x100df260]
mov dword [ebp - 0x14], 0x1678793d
mov dword [ebp - 0x10], 0x493b2d21
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x49
inc eax
cmp eax, 0x18
jb 0x1002ebe5
lea ecx, [ebp - 0x24]
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
mov eax, 0x10
pxor xmm0, xmmword [0x100dfb30]
mov word [ebp - 0x10], 0x4978
movups xmmword [ebp - 0x20], xmm0
xor byte [ebp + eax - 0x20], 0x49
inc eax
cmp eax, 0x12
jb 0x1002ec16
lea ecx, [ebp - 0x20]
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
lea ecx, [ebp - 0x20]
pxor xmm0, xmmword [0x100dfbc0]
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10], 0
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
mov eax, 0x10
pxor xmm0, xmmword [0x100dfbc0]
mov word [ebp - 0x10], 0x492b
movups xmmword [ebp - 0x20], xmm0
xor byte [ebp + eax - 0x20], 0x49
inc eax
cmp eax, 0x12
jb 0x1002ec66
lea ecx, [ebp - 0x20]
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
mov eax, 0x10
pxor xmm0, xmmword [0x100df4e0]
mov dword [ebp - 0x10], 0x493d2825
movups xmmword [ebp - 0x20], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x20], 0x49
inc eax
cmp eax, 0x14
jb 0x1002eca0
lea ecx, [ebp - 0x20]
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
lea ecx, [ebp - 0x20]
pxor xmm0, xmmword [0x100df590]
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10], 0
jmp 0x1002edf4
mov dword [ebp - 0x1c], 0x1630223a
xor eax, eax
mov dword [ebp - 0x18], 0x7930282d
mov dword [ebp - 0x14], 0x7c79167b
mov byte [ebp - 0x10], 0x49
nop dword [eax]
xor byte [ebp + eax - 0x1c], 0x49
inc eax
cmp eax, 0xd
jb 0x1002ecf0
lea ecx, [ebp - 0x1c]
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
mov eax, 0x10
pxor xmm0, xmmword [0x100df210]
mov dword [ebp - 0x10], 0x493b2d25
movups xmmword [ebp - 0x20], xmm0
xor byte [ebp + eax - 0x20], 0x49
inc eax
cmp eax, 0x14
jb 0x1002ed22
lea ecx, [ebp - 0x20]
jmp 0x1002edf4
mov dword [ebp - 0x18], 0x3d3b2c3f
xor eax, eax
mov dword [ebp - 0x14], 0x16262e20
mov dword [ebp - 0x10], 0x493b2d21
nop dword [eax]
xor byte [ebp + eax - 0x18], 0x49
inc eax
cmp eax, 0xc
jb 0x1002ed50
lea ecx, [ebp - 0x18]
jmp 0x1002edf4
movaps xmm0, xmmword [0x100df800]
lea ecx, [ebp - 0x1c]
pxor xmm0, xmmword [0x100df7c0]
movups xmmword [ebp - 0x1c], xmm0
jmp 0x1002edf4
mov dword [ebp - 0x14], 0x74726576
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x6f6769
jmp 0x1002edf4
mov dword [ebp - 0x14], 0x74656976
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x6d616e
jmp 0x1002edf4
mov dword [ebp - 0x18], 0x5f796b73
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x74737564
mov byte [ebp - 0x10], 0
jmp 0x1002edf4
mov dword [ebp - 0x14], 0x676e756a
mov word [ebp - 0x10], 0x656c
jmp 0x1002eded
mov dword [ebp - 0x18], 0x656b756e
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6e616c62
mov word [ebp - 0x10], 0x6b
jmp 0x1002edf4
mov dword [ebp - 0x14], 0x6966666f
mov word [ebp - 0x10], 0x6563
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xe], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
movss xmm0, dword [0x10154648]
mulss xmm0, dword [0x100dee1c]
mov eax, dword [0x10165030]
movss dword [ebp - 0x10], xmm0
test al, 2
jne 0x1002ee8b
mov eax, dword [0x1015fe94]
or dword [0x10165030], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002ee76
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002ee40
xor edx, edx
test ecx, ecx
je 0x1002ee6c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ee50
cmp esi, 0x76c2f99f
je 0x1002ee80
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002ee32
xor ecx, ecx
mov dword [0x10165018], ecx
jmp 0x1002ee91
mov ecx, dword [ebp - 0x28]
mov dword [0x10165018], ecx
jmp 0x1002ee91
mov ecx, dword [0x10165018]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10165030]
test al, 4
jne 0x1002ef1b
or eax, 4
mov dword [0x10165030], eax
mov eax, dword [0x1015fe94]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002ef06
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002eed0
xor edx, edx
test ecx, ecx
je 0x1002eefc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002eee0
cmp esi, 0xf2bc10d0
je 0x1002ef10
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002eec0
xor ecx, ecx
mov dword [0x1016502c], ecx
jmp 0x1002ef21
mov ecx, dword [ebp - 0x28]
mov dword [0x1016502c], ecx
jmp 0x1002ef21
mov ecx, dword [0x1016502c]
mov eax, dword [ecx]
movzx edx, byte [0x101543b4]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10165030]
test al, 8
jne 0x1002ef9d
or eax, 8
mov dword [0x10165030], eax
mov eax, dword [0x1015fe94]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002ef96
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002ef60
xor edx, edx
test ecx, ecx
je 0x1002ef8c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ef70
mov eax, dword [ebp - 0x28]
cmp esi, 0xea128137
je 0x1002ef98
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002ef50
xor eax, eax
mov dword [0x10165028], eax
movzx edx, byte [0x1015445a]
lea ecx, [ebp - 0xa0]
call fcn.1002d770
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x10154458]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x88]
call fcn.1002d770
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
movzx edx, byte [0x10154458]
call fcn.1002d770
push 0x100ddb08
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100312f0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.10031f00
push 0x100ddb08
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.100312f0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.10031f00
mov byte [ebp - 4], 6
lea edx, [ebp - 0x40]
mov ecx, dword [0x10165028]
cmp dword [ebp - 0x2c], 0x10
cmovae edx, dword [ebp - 0x40]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1002f0d8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f0ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f279
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x1002f128
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f11e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f279
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x1002f160
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f156
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f279
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x1002f1b0
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f1a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f279
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1002f1e8
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f1de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f279
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x1002f231
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f227
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f279
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 0x10
jb 0x1002f289
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f27f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f27f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov eax, dword [0x10165030]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
test al, 0x10
jne 0x1002f31b
or eax, 0x10
mov dword [0x10165030], eax
mov eax, dword [0x1015fe94]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002f306
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002f2d0
xor edx, edx
test ecx, ecx
je 0x1002f2fc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002f2e0
cmp esi, 0xf0d13f1c
je 0x1002f310
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002f2c4
xor ecx, ecx
mov dword [0x10165000], ecx
jmp 0x1002f321
mov ecx, dword [ebp - 0x28]
mov dword [0x10165000], ecx
jmp 0x1002f321
mov ecx, dword [0x10165000]
mov eax, dword [ecx]
movss xmm0, dword [0x101544d0]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x10165030]
test al, 0x20
jne 0x1002f3ab
or eax, 0x20
mov dword [0x10165030], eax
mov eax, dword [0x1015fe94]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002f396
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002f360
xor edx, edx
test ecx, ecx
je 0x1002f38c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002f370
cmp esi, 0x3af2c705
je 0x1002f3a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002f356
xor ecx, ecx
mov dword [0x10165004], ecx
jmp 0x1002f3b1
mov ecx, dword [ebp - 0x28]
mov dword [0x10165004], ecx
jmp 0x1002f3b1
mov ecx, dword [0x10165004]
mov eax, dword [ecx]
movss xmm0, dword [0x1015458c]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x10165030]
test al, 0x40
jne 0x1002f43b
or eax, 0x40
mov dword [0x10165030], eax
mov eax, dword [0x1015fe94]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002f426
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002f3f0
xor edx, edx
test ecx, ecx
je 0x1002f41c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002f400
cmp esi, 0x28cc4bea
je 0x1002f430
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002f3e6
xor ecx, ecx
mov dword [0x10164ffc], ecx
jmp 0x1002f441
mov ecx, dword [ebp - 0x28]
mov dword [0x10164ffc], ecx
jmp 0x1002f441
mov ecx, dword [0x10164ffc]
mov eax, dword [ecx]
movss xmm0, dword [ebp - 0x10]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret