Function at 0x1002b218
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 0x100cd289
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x100e400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1010e944]
test al, 1
jne 0x1002b1ab
mov eax, dword [0x101097f4]
or dword [0x1010e944], 1
mov esi, dword [eax + 0x30]
jmp 0x1002b19f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x1002b170
xor edx, edx
test ecx, ecx
je 0x1002b19c
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 0x1002b180
cmp edi, 0xe6a08fc9
je 0x1002b1a3
mov esi, dword [esi + 4]
test esi, esi
jne 0x1002b160
mov dword [0x1010e920], esi
jmp 0x1002b1b1
mov esi, dword [0x1010e920]
cmp byte [0x10107208], 0
je case.default.0x1002b1cc
mov eax, dword [0x101072bc]
cmp eax, 0x12
ja case.default.0x1002b1cc
jmp dword [eax*4 + 0x1002bac8]
mov dword [ebp - 0x1c], 0x745f7363
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74656269
mov byte [ebp - 0x14], 0
jmp 0x1002b447
mov dword [ebp - 0x18], 0x61626d65
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x797373
jmp 0x1002b447
mov dword [ebp - 0x18], 0x6c617469
lea ecx, [ebp - 0x18]
mov word [ebp - 0x14], 0x79
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
mov eax, 0x10
pxor xmm0, xmmword [0x100d9f10]
mov dword [ebp - 0x18], 0xed8382c6
mov dword [ebp - 0x14], 0xb2c0d6da
movups xmmword [ebp - 0x28], xmm0
nop
xor byte [ebp + eax - 0x28], 0xb2
inc eax
cmp eax, 0x18
jb 0x1002b240
lea ecx, [ebp - 0x28]
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
mov eax, 0x10
pxor xmm0, xmmword [0x100d9670]
mov word [ebp - 0x14], 0xb283
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xb2
inc eax
cmp eax, 0x12
jb 0x1002b271
lea ecx, [ebp - 0x24]
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x100d95d0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
mov eax, 0x10
pxor xmm0, xmmword [0x100d95d0]
mov word [ebp - 0x14], 0xb2d0
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xb2
inc eax
cmp eax, 0x12
jb 0x1002b2c1
lea ecx, [ebp - 0x24]
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
mov eax, 0x10
pxor xmm0, xmmword [0x100d9df0]
mov dword [ebp - 0x14], 0xb2c6d3de
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xb2
inc eax
cmp eax, 0x14
jb 0x1002b2f3
lea ecx, [ebp - 0x24]
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x100d9bc0]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1002b447
mov dword [ebp - 0x20], 0xedcbd9c1
xor eax, eax
mov dword [ebp - 0x1c], 0x82cbd3d6
mov dword [ebp - 0x18], 0x8782ed80
mov byte [ebp - 0x14], 0xb2
xor byte [ebp + eax - 0x20], 0xb2
inc eax
cmp eax, 0xd
jb 0x1002b340
lea ecx, [ebp - 0x20]
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
mov eax, 0x10
pxor xmm0, xmmword [0x100da030]
mov dword [ebp - 0x14], 0xb2c0d6de
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0xb2
inc eax
cmp eax, 0x14
jb 0x1002b372
lea ecx, [ebp - 0x24]
jmp 0x1002b447
mov dword [ebp - 0x1c], 0xc6c0d7c4
xor eax, eax
mov dword [ebp - 0x18], 0xedddd5db
mov dword [ebp - 0x14], 0xb2c0d6da
nop dword [eax]
xor byte [ebp + eax - 0x1c], 0xb2
inc eax
cmp eax, 0xc
jb 0x1002b3a0
lea ecx, [ebp - 0x1c]
jmp 0x1002b447
movaps xmm0, xmmword [0x100d9a30]
lea ecx, [ebp - 0x20]
pxor xmm0, xmmword [0x100d9a50]
movups xmmword [ebp - 0x20], xmm0
jmp 0x1002b447
mov dword [ebp - 0x18], 0x74726576
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6f6769
jmp 0x1002b447
mov dword [ebp - 0x18], 0x74656976
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d616e
jmp 0x1002b447
mov dword [ebp - 0x1c], 0x5f796b73
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74737564
mov byte [ebp - 0x14], 0
jmp 0x1002b447
mov dword [ebp - 0x18], 0x676e756a
mov word [ebp - 0x14], 0x656c
jmp 0x1002b440
mov dword [ebp - 0x1c], 0x656b756e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6e616c62
mov word [ebp - 0x14], 0x6b
jmp 0x1002b447
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 [0x100fe660]
mulss xmm0, dword [0x100d9290]
mov eax, dword [0x1010e944]
movss dword [ebp - 0x14], xmm0
test al, 2
jne 0x1002b4db
mov eax, dword [0x101097f4]
or dword [0x1010e944], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b4c6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b490
xor edx, edx
test ecx, ecx
je 0x1002b4bc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b4a0
cmp esi, 0x76c2f99f
je 0x1002b4d0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b485
xor ecx, ecx
mov dword [0x1010e928], ecx
jmp 0x1002b4e1
mov ecx, dword [ebp - 0x2c]
mov dword [0x1010e928], ecx
jmp 0x1002b4e1
mov ecx, dword [0x1010e928]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1010e944]
test al, 4
jne 0x1002b56b
or eax, 4
mov dword [0x1010e944], eax
mov eax, dword [0x101097f4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b556
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b520
xor edx, edx
test ecx, ecx
je 0x1002b54c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b530
cmp esi, 0xf2bc10d0
je 0x1002b560
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b510
xor ecx, ecx
mov dword [0x1010e940], ecx
jmp 0x1002b571
mov ecx, dword [ebp - 0x2c]
mov dword [0x1010e940], ecx
jmp 0x1002b571
mov ecx, dword [0x1010e940]
mov eax, dword [ecx]
movzx edx, byte [0x100fe3cc]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1010e944]
test al, 8
jne 0x1002b5ed
or eax, 8
mov dword [0x1010e944], eax
mov eax, dword [0x101097f4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b5e6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b5b0
xor edx, edx
test ecx, ecx
je 0x1002b5dc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b5c0
mov eax, dword [ebp - 0x2c]
cmp esi, 0xea128137
je 0x1002b5e8
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b5a0
xor eax, eax
mov dword [0x1010e938], eax
movzx edx, byte [0x100fe472]
lea ecx, [ebp - 0xa4]
call fcn.1002a6d0
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x100fe470]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x8c]
call fcn.1002a6d0
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
movzx edx, byte [0x100fe470]
call fcn.1002a6d0
push 0x100d80b0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1002dd90
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.1002ea30
push 0x100d80b0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.1002dd90
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.1002ea30
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
mov ecx, dword [0x1010e938]
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 edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1002b728
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b71e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b8c9
push edx
push ecx
call fcn.100cb8a7
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x1002b778
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b76e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b8c9
push edx
push ecx
call fcn.100cb8a7
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1002b7b0
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b7a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b8c9
push edx
push ecx
call fcn.100cb8a7
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x1002b800
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b7f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b8c9
push edx
push ecx
call fcn.100cb8a7
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x1002b838
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b82e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b8c9
push edx
push ecx
call fcn.100cb8a7
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x1002b881
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b877
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b8c9
push edx
push ecx
call fcn.100cb8a7
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x1002b8d9
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b8cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b8cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cb8a7
add esp, 8
mov eax, dword [0x1010e944]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
test al, 0x10
jne 0x1002b97b
or eax, 0x10
mov dword [0x1010e944], eax
mov eax, dword [0x101097f4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b966
nop dword [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b930
xor edx, edx
test ecx, ecx
je 0x1002b95c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b940
cmp esi, 0xf0d13f1c
je 0x1002b970
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b920
xor ecx, ecx
mov dword [0x1010e918], ecx
jmp 0x1002b981
mov ecx, dword [ebp - 0x2c]
mov dword [0x1010e918], ecx
jmp 0x1002b981
mov ecx, dword [0x1010e918]
mov eax, dword [ecx]
movss xmm0, dword [0x100fe4e8]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1010e944]
test al, 0x20
jne 0x1002ba0b
or eax, 0x20
mov dword [0x1010e944], eax
mov eax, dword [0x101097f4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002b9f6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002b9c0
xor edx, edx
test ecx, ecx
je 0x1002b9ec
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002b9d0
cmp esi, 0x3af2c705
je 0x1002ba00
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002b9b6
xor ecx, ecx
mov dword [0x1010e91c], ecx
jmp 0x1002ba11
mov ecx, dword [ebp - 0x2c]
mov dword [0x1010e91c], ecx
jmp 0x1002ba11
mov ecx, dword [0x1010e91c]
mov eax, dword [ecx]
movss xmm0, dword [0x100fe5a4]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1010e944]
test al, 0x40
jne 0x1002ba9b
or eax, 0x40
mov dword [0x1010e944], eax
mov eax, dword [0x101097f4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002ba86
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002ba50
xor edx, edx
test ecx, ecx
je 0x1002ba7c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ba60
cmp esi, 0x28cc4bea
je 0x1002ba90
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1002ba46
xor ecx, ecx
mov dword [0x1010e914], ecx
jmp 0x1002baa1
mov ecx, dword [ebp - 0x2c]
mov dword [0x1010e914], ecx
jmp 0x1002baa1
mov ecx, dword [0x1010e914]
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