Function at 0x1002a9c0
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
push 0xffffffffffffffff
push 0x100ccdd9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x100e4364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10110dfc]
test al, 1
jne 0x1002aa6b
mov eax, dword [0x1010ba24]
or dword [0x10110dfc], 1
mov esi, dword [eax + 0x30]
jmp 0x1002aa5f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x1002aa30
xor edx, edx
test ecx, ecx
je 0x1002aa5c
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 0x1002aa40
cmp edi, 0xe6a08fc9
je 0x1002aa63
mov esi, dword [esi + 4]
test esi, esi
jne 0x1002aa20
mov dword [0x10110dd8], esi
jmp 0x1002aa71
mov esi, dword [0x10110dd8]
cmp byte [0x100f4c10], 0
je case.default.0x1002aa8c
mov eax, dword [0x100f4cc4]
cmp eax, 0x12
ja case.default.0x1002aa8c
jmp dword [eax*4 + 0x1002b388]
mov dword [ebp - 0x1c], 0x745f7363
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74656269
mov byte [ebp - 0x14], 0
jmp 0x1002ad07
mov dword [ebp - 0x18], 0x61626d65
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x797373
jmp 0x1002ad07
mov dword [ebp - 0x18], 0x6c617469
lea ecx, [ebp - 0x18]
mov word [ebp - 0x14], 0x79
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
mov eax, 0x10
pxor xmm0, xmmword [0x100da040]
mov dword [ebp - 0x18], 0x91fffeba
mov dword [ebp - 0x14], 0xcebcaaa6
movups xmmword [ebp - 0x28], xmm0
nop
xor byte [ebp + eax - 0x28], 0xce
inc eax
cmp eax, 0x18
jb 0x1002ab00
lea ecx, [ebp - 0x28]
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
mov eax, 0x10
pxor xmm0, xmmword [0x100daa00]
mov word [ebp - 0x14], 0xceff
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xce
inc eax
cmp eax, 0x12
jb 0x1002ab31
lea ecx, [ebp - 0x24]
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x100da990]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
mov eax, 0x10
pxor xmm0, xmmword [0x100da990]
mov word [ebp - 0x14], 0xceac
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xce
inc eax
cmp eax, 0x12
jb 0x1002ab81
lea ecx, [ebp - 0x24]
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
mov eax, 0x10
pxor xmm0, xmmword [0x100da090]
mov dword [ebp - 0x14], 0xcebaafa2
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xce
inc eax
cmp eax, 0x14
jb 0x1002abb3
lea ecx, [ebp - 0x24]
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x100da370]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1002ad07
mov dword [ebp - 0x20], 0x91b7a5bd
xor eax, eax
mov dword [ebp - 0x1c], 0xfeb7afaa
mov dword [ebp - 0x18], 0xfbfe91fc
mov byte [ebp - 0x14], 0xce
xor byte [ebp + eax - 0x20], 0xce
inc eax
cmp eax, 0xd
jb 0x1002ac00
lea ecx, [ebp - 0x20]
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
mov eax, 0x10
pxor xmm0, xmmword [0x100d9f30]
mov dword [ebp - 0x14], 0xcebcaaa2
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xce
inc eax
cmp eax, 0x14
jb 0x1002ac32
lea ecx, [ebp - 0x24]
jmp 0x1002ad07
mov dword [ebp - 0x1c], 0xbabcabb8
xor eax, eax
mov dword [ebp - 0x18], 0x91a1a9a7
mov dword [ebp - 0x14], 0xcebcaaa6
nop dword [eax]
xor byte [ebp + eax - 0x1c], 0xce
inc eax
cmp eax, 0xc
jb 0x1002ac60
lea ecx, [ebp - 0x1c]
jmp 0x1002ad07
movaps xmm0, xmmword [0x100da590]
lea ecx, [ebp - 0x20]
pxor xmm0, xmmword [0x100da530]
movups xmmword [ebp - 0x20], xmm0
jmp 0x1002ad07
mov dword [ebp - 0x18], 0x74726576
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6f6769
jmp 0x1002ad07
mov dword [ebp - 0x18], 0x74656976
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d616e
jmp 0x1002ad07
mov dword [ebp - 0x1c], 0x5f796b73
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74737564
mov byte [ebp - 0x14], 0
jmp 0x1002ad07
mov dword [ebp - 0x18], 0x676e756a
mov word [ebp - 0x14], 0x656c
jmp 0x1002ad00
mov dword [ebp - 0x1c], 0x656b756e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6e616c62
mov word [ebp - 0x14], 0x6b
jmp 0x1002ad07
mov dword [ebp - 0x18], 0x6966666f
mov word [ebp - 0x14], 0x6563
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x12], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
movss xmm0, dword [0x100ec180]
mulss xmm0, dword [0x100d9a88]
mov eax, dword [0x10110dfc]
movss dword [ebp - 0x14], xmm0
test al, 2
jne 0x1002ad9b
mov eax, dword [0x1010ba24]
or dword [0x10110dfc], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002ad86
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002ad50
xor edx, edx
test ecx, ecx
je 0x1002ad7c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ad60
cmp esi, 0x76c2f99f
je 0x1002ad90
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002ad45
xor ecx, ecx
mov dword [0x10110de0], ecx
jmp 0x1002ada1
mov ecx, dword [ebp - 0x2c]
mov dword [0x10110de0], ecx
jmp 0x1002ada1
mov ecx, dword [0x10110de0]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10110dfc]
test al, 4
jne 0x1002ae2b
or eax, 4
mov dword [0x10110dfc], eax
mov eax, dword [0x1010ba24]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002ae16
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002ade0
xor edx, edx
test ecx, ecx
je 0x1002ae0c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002adf0
cmp esi, 0xf2bc10d0
je 0x1002ae20
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002add0
xor ecx, ecx
mov dword [0x10110df8], ecx
jmp 0x1002ae31
mov ecx, dword [ebp - 0x2c]
mov dword [0x10110df8], ecx
jmp 0x1002ae31
mov ecx, dword [0x10110df8]
mov eax, dword [ecx]
movzx edx, byte [0x100ebeec]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10110dfc]
test al, 8
jne 0x1002aead
or eax, 8
mov dword [0x10110dfc], eax
mov eax, dword [0x1010ba24]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002aea6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002ae70
xor edx, edx
test ecx, ecx
je 0x1002ae9c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ae80
mov eax, dword [ebp - 0x2c]
cmp esi, 0xea128137
je 0x1002aea8
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002ae60
xor eax, eax
mov dword [0x10110df0], eax
movzx edx, byte [0x100ebf92]
lea ecx, [ebp - 0xa4]
call fcn.10029c60
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x100ebf90]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x8c]
call fcn.10029c60
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
movzx edx, byte [0x100ebf90]
call fcn.10029c60
push 1
push 0x100d8828
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1002dca0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.1002e690
push 1
push 0x100d8828
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.1002dca0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.1002e690
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
mov ecx, dword [0x10110df0]
cmp dword [ebp - 0x30], 0x10
cmovae edx, dword [ebp - 0x44]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x1002afec
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002afe2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b18d
push ecx
push edx
call fcn.100c9dbc
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x1002b03c
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b032
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b18d
push ecx
push edx
call fcn.100c9dbc
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1002b074
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b06a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b18d
push ecx
push edx
call fcn.100c9dbc
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0x10
jb 0x1002b0c4
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b0ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b18d
push ecx
push edx
call fcn.100c9dbc
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x1002b0fc
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b0f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b18d
push ecx
push edx
call fcn.100c9dbc
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0x10
jb 0x1002b145
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b13b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b18d
push ecx
push edx
call fcn.100c9dbc
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0x10
jb 0x1002b19d
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b193
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b193
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c9dbc
add esp, 8
mov eax, dword [0x10110dfc]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
test al, 0x10
jne 0x1002b23b
or eax, 0x10
mov dword [0x10110dfc], eax
mov eax, dword [0x1010ba24]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b226
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b1f0
xor edx, edx
test ecx, ecx
je 0x1002b21c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b200
cmp esi, 0xf0d13f1c
je 0x1002b230
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b1e0
xor ecx, ecx
mov dword [0x10110dcc], ecx
jmp 0x1002b241
mov ecx, dword [ebp - 0x2c]
mov dword [0x10110dcc], ecx
jmp 0x1002b241
mov ecx, dword [0x10110dcc]
mov eax, dword [ecx]
movss xmm0, dword [0x100ec008]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x10110dfc]
test al, 0x20
jne 0x1002b2cb
or eax, 0x20
mov dword [0x10110dfc], eax
mov eax, dword [0x1010ba24]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b2b6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b280
xor edx, edx
test ecx, ecx
je 0x1002b2ac
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b290
cmp esi, 0x3af2c705
je 0x1002b2c0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b276
xor ecx, ecx
mov dword [0x10110dd0], ecx
jmp 0x1002b2d1
mov ecx, dword [ebp - 0x2c]
mov dword [0x10110dd0], ecx
jmp 0x1002b2d1
mov ecx, dword [0x10110dd0]
mov eax, dword [ecx]
movss xmm0, dword [0x100ec0c4]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x10110dfc]
test al, 0x40
jne 0x1002b35b
or eax, 0x40
mov dword [0x10110dfc], eax
mov eax, dword [0x1010ba24]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b346
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b310
xor edx, edx
test ecx, ecx
je 0x1002b33c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b320
cmp esi, 0x28cc4bea
je 0x1002b350
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b306
xor ecx, ecx
mov dword [0x10110dc8], ecx
jmp 0x1002b361
mov ecx, dword [ebp - 0x2c]
mov dword [0x10110dc8], ecx
jmp 0x1002b361
mov ecx, dword [0x10110dc8]
mov eax, dword [ecx]
movss xmm0, dword [ebp - 0x14]
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
mov esp, ebx
pop ebx
ret