Function at 0x1002e682
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 0x100c8d19
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x100e1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1010bbe4]
test al, 1
jne 0x1002e50b
mov eax, dword [0x1010641c]
or dword [0x1010bbe4], 1
mov edx, dword [eax + 0x30]
jmp 0x1002e4ff
mov eax, dword [edx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [eax + ecx], 0
jne 0x1002e4d0
xor esi, esi
test ecx, ecx
je 0x1002e4fc
nop dword [eax]
movsx eax, byte [eax + esi]
inc esi
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [edx + 0xc]
cmp esi, ecx
jb 0x1002e4e0
cmp edi, 0xe6a08fc9
je 0x1002e503
mov edx, dword [edx + 4]
test edx, edx
jne 0x1002e4c0
mov dword [0x1010bbe8], edx
jmp 0x1002e511
mov edx, dword [0x1010bbe8]
cmp byte [0x100ef1a0], 0
je case.default.0x1002e52c
mov eax, dword [0x100ef254]
cmp eax, 0x12
ja case.default.0x1002e52c
jmp dword [eax*4 + 0x1002ee98]
mov dword [ebp - 0x1c], 0x745f7363
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74656269
mov byte [ebp - 0x14], 0
jmp 0x1002e7a6
mov dword [ebp - 0x18], 0x61626d65
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x797373
jmp 0x1002e7a6
mov dword [ebp - 0x18], 0x6c617469
lea ecx, [ebp - 0x18]
mov word [ebp - 0x14], 0x79
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
mov eax, 0x10
xorps xmm0, xmmword [0x100d5dd0]
mov dword [ebp - 0x30], 0x204e4f0b
mov dword [ebp - 0x2c], 0x7f0d1b17
movups xmmword [ebp - 0x40], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x40], 0x7f
inc eax
cmp eax, 0x18
jb 0x1002e5a0
lea ecx, [ebp - 0x40]
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
mov eax, 0x10
xorps xmm0, xmmword [0x100d6430]
mov word [ebp - 0x14], 0x7f4e
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x7f
inc eax
cmp eax, 0x12
jb 0x1002e5d0
lea ecx, [ebp - 0x24]
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
lea ecx, [ebp - 0x24]
xorps xmm0, xmmword [0x100d6400]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
mov eax, 0x10
xorps xmm0, xmmword [0x100d6400]
mov word [ebp - 0x14], 0x7f1d
movups xmmword [ebp - 0x24], xmm0
nop
xor byte [ebp + eax - 0x24], 0x7f
inc eax
cmp eax, 0x12
jb 0x1002e620
lea ecx, [ebp - 0x24]
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
mov eax, 0x10
xorps xmm0, xmmword [0x100d5e50]
mov dword [ebp - 0x14], 0x7f0b1e13
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x7f
inc eax
cmp eax, 0x14
jb 0x1002e651
lea ecx, [ebp - 0x24]
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
lea ecx, [ebp - 0x24]
xorps xmm0, xmmword [0x100d5c20]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x1002e7a6
mov dword [ebp - 0x20], 0x2006140c
xor eax, eax
mov dword [ebp - 0x1c], 0x4f061e1b
mov dword [ebp - 0x18], 0x4a4f204d
mov byte [ebp - 0x14], 0x7f
nop dword [eax]
xor byte [ebp + eax - 0x20], 0x7f
inc eax
cmp eax, 0xd
jb 0x1002e6a0
lea ecx, [ebp - 0x20]
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
mov eax, 0x10
xorps xmm0, xmmword [0x100d60a0]
mov dword [ebp - 0x14], 0x7f0d1b13
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x7f
inc eax
cmp eax, 0x14
jb 0x1002e6d1
lea ecx, [ebp - 0x24]
jmp 0x1002e7a6
mov dword [ebp - 0x1c], 0xb0d1a09
xor eax, eax
mov dword [ebp - 0x18], 0x20101816
mov dword [ebp - 0x14], 0x7f0d1b17
nop dword [eax + eax]
xor byte [ebp + eax - 0x1c], 0x7f
inc eax
cmp eax, 0xc
jb 0x1002e700
lea ecx, [ebp - 0x1c]
jmp 0x1002e7a6
movaps xmm0, xmmword [0x100d6840]
lea ecx, [ebp - 0x20]
xorps xmm0, xmmword [0x100d6740]
movups xmmword [ebp - 0x20], xmm0
jmp 0x1002e7a6
mov dword [ebp - 0x18], 0x74726576
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6f6769
jmp 0x1002e7a6
mov dword [ebp - 0x18], 0x74656976
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d616e
jmp 0x1002e7a6
mov dword [ebp - 0x1c], 0x5f796b73
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74737564
mov byte [ebp - 0x14], 0
jmp 0x1002e7a6
mov dword [ebp - 0x18], 0x676e756a
mov word [ebp - 0x14], 0x656c
jmp 0x1002e79f
mov dword [ebp - 0x1c], 0x656b756e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6e616c62
mov word [ebp - 0x14], 0x6b
jmp 0x1002e7a6
mov dword [ebp - 0x18], 0x6966666f
mov word [ebp - 0x14], 0x6563
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x12], 0
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x38]
call eax
movss xmm0, dword [0x100e6808]
mulss xmm0, dword [0x100d5678]
mov eax, dword [0x1010bbe4]
movss dword [ebp - 0x14], xmm0
test al, 2
jne 0x1002e83b
mov eax, dword [0x1010641c]
or dword [0x1010bbe4], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002e826
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002e7f0
xor edx, edx
test ecx, ecx
je 0x1002e81c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002e800
cmp edi, 0x76c2f99f
je 0x1002e830
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002e7e4
xor ecx, ecx
mov dword [0x1010bbf0], ecx
jmp 0x1002e841
mov ecx, dword [ebp - 0x28]
mov dword [0x1010bbf0], ecx
jmp 0x1002e841
mov ecx, dword [0x1010bbf0]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1010bbe4]
test al, 4
jne 0x1002e8cb
or eax, 4
mov dword [0x1010bbe4], eax
mov eax, dword [0x1010641c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002e8b6
nop
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002e880
xor edx, edx
test ecx, ecx
je 0x1002e8ac
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002e890
cmp edi, 0xf2bc10d0
je 0x1002e8c0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002e870
xor ecx, ecx
mov dword [0x1010bc08], ecx
jmp 0x1002e8d1
mov ecx, dword [ebp - 0x28]
mov dword [0x1010bc08], ecx
jmp 0x1002e8d1
mov ecx, dword [0x1010bc08]
mov eax, dword [ecx]
movzx edx, byte [0x100e6574]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1010bbe4]
test al, 8
jne 0x1002e94d
or eax, 8
mov dword [0x1010bbe4], eax
mov eax, dword [0x1010641c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002e946
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002e910
xor edx, edx
test ecx, ecx
je 0x1002e93c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002e920
mov eax, dword [ebp - 0x28]
cmp edi, 0xea128137
je 0x1002e948
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002e900
xor eax, eax
mov dword [0x1010bc00], eax
movzx edx, byte [0x100e661a]
lea ecx, [ebp - 0xa4]
call fcn.1002d7e0
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x100e6618]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x8c]
call fcn.1002d7e0
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
movzx edx, byte [0x100e6618]
call fcn.1002d7e0
mov ecx, eax
mov byte [ebp - 4], 2
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x1002e9c1
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x1002e9b9
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x1002e9d8
push 1
push 0x100d4148
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push 1
call fcn.10032420
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push edi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
call fcn.10032a40
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jb 0x1002ea45
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x40]
jmp 0x1002ea5d
push 1
push 0x100d4148
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x28]
push 1
call fcn.10032420
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 dword [ebp - 0x44]
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10032a40
mov byte [ebp - 4], 6
lea edx, [ebp - 0x5c]
mov ecx, dword [0x1010bc00]
cmp dword [ebp - 0x48], 0xf
cmova edx, dword [ebp - 0x5c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1002eaf3
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002eae9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ec94
push ecx
push edx
call fcn.100c65b7
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1002eb43
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002eb39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ec94
push ecx
push edx
call fcn.100c65b7
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1002eb7b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002eb71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ec94
push ecx
push edx
call fcn.100c65b7
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x1002ebcb
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ebc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ec94
push ecx
push edx
call fcn.100c65b7
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x1002ec03
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ebf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ec94
push ecx
push edx
call fcn.100c65b7
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, 0xf
jbe 0x1002ec4c
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ec42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ec94
push ecx
push edx
call fcn.100c65b7
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, 0xf
jbe 0x1002eca4
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ec9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002ec9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c65b7
add esp, 8
mov eax, dword [0x1010bbe4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
test al, 0x10
jne 0x1002ed3b
or eax, 0x10
mov dword [0x1010bbe4], eax
mov eax, dword [0x1010641c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002ed26
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002ecf0
xor edx, edx
test ecx, ecx
je 0x1002ed1c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ed00
cmp edi, 0xf0d13f1c
je 0x1002ed30
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002ece3
xor ecx, ecx
mov dword [0x1010b900], ecx
jmp 0x1002ed41
mov ecx, dword [ebp - 0x28]
mov dword [0x1010b900], ecx
jmp 0x1002ed41
mov ecx, dword [0x1010b900]
mov eax, dword [ecx]
movss xmm0, dword [0x100e6690]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1010bbe4]
test al, 0x20
jne 0x1002eddb
or eax, 0x20
mov dword [0x1010bbe4], eax
mov eax, dword [0x1010641c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002edc6
nop word [eax + eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002ed90
xor edx, edx
test ecx, ecx
je 0x1002edbc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002eda0
cmp edi, 0x3af2c705
je 0x1002edd0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002ed80
xor ecx, ecx
mov dword [0x1010bbe0], ecx
jmp 0x1002ede1
mov ecx, dword [ebp - 0x28]
mov dword [0x1010bbe0], ecx
jmp 0x1002ede1
mov ecx, dword [0x1010bbe0]
mov eax, dword [ecx]
movss xmm0, dword [0x100e674c]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1010bbe4]
test al, 0x40
jne 0x1002ee6b
or eax, 0x40
mov dword [0x1010bbe4], eax
mov eax, dword [0x1010641c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1002ee56
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002ee20
xor edx, edx
test ecx, ecx
je 0x1002ee4c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ee30
cmp edi, 0x28cc4bea
je 0x1002ee60
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1002ee16
xor ecx, ecx
mov dword [0x1010b894], ecx
jmp 0x1002ee71
mov ecx, dword [ebp - 0x28]
mov dword [0x1010b894], ecx
jmp 0x1002ee71
mov ecx, dword [0x1010b894]
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