Function at 0x10035403
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 0x100fc089
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x10115364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101d9c1c]
test al, 1
jne 0x1003530b
mov eax, dword [0x101d49bc]
or dword [0x101d9c1c], 1
mov esi, dword [eax + 0x30]
jmp 0x100352ff
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x100352d0
xor edx, edx
test ecx, ecx
je 0x100352fc
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 0x100352e0
cmp edi, 0xe6a08fc9
je 0x10035303
mov esi, dword [esi + 4]
test esi, esi
jne 0x100352c0
mov dword [0x101d9c20], esi
jmp 0x10035311
mov esi, dword [0x101d9c20]
cmp byte [0x101d1910], 0
je case.default.0x1003532c
mov eax, dword [0x101d19c4]
cmp eax, 0x12
ja case.default.0x1003532c
jmp dword [eax*4 + 0x10035c28]
mov dword [ebp - 0x1c], 0x745f7363
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74656269
mov byte [ebp - 0x14], 0
jmp 0x100355a7
mov dword [ebp - 0x18], 0x61626d65
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x797373
jmp 0x100355a7
mov dword [ebp - 0x18], 0x6c617469
lea ecx, [ebp - 0x18]
mov word [ebp - 0x14], 0x79
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
mov eax, 0x10
pxor xmm0, xmmword [0x1010a3b0]
mov dword [ebp - 0x18], 0x29474602
mov dword [ebp - 0x14], 0x7604121e
movups xmmword [ebp - 0x28], xmm0
nop
xor byte [ebp + eax - 0x28], 0x76
inc eax
cmp eax, 0x18
jb 0x100353a0
lea ecx, [ebp - 0x28]
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
mov eax, 0x10
pxor xmm0, xmmword [0x1010a640]
mov word [ebp - 0x14], 0x7647
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x76
inc eax
cmp eax, 0x12
jb 0x100353d1
lea ecx, [ebp - 0x24]
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x1010a600]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
mov eax, 0x10
pxor xmm0, xmmword [0x1010a600]
mov word [ebp - 0x14], 0x7614
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x76
inc eax
cmp eax, 0x12
jb 0x10035421
lea ecx, [ebp - 0x24]
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
mov eax, 0x10
pxor xmm0, xmmword [0x1010a0f0]
mov dword [ebp - 0x14], 0x7602171a
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x76
inc eax
cmp eax, 0x14
jb 0x10035453
lea ecx, [ebp - 0x24]
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
lea ecx, [ebp - 0x24]
pxor xmm0, xmmword [0x10109f80]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
jmp 0x100355a7
mov dword [ebp - 0x20], 0x290f1d05
xor eax, eax
mov dword [ebp - 0x1c], 0x460f1712
mov dword [ebp - 0x18], 0x43462944
mov byte [ebp - 0x14], 0x76
xor byte [ebp + eax - 0x20], 0x76
inc eax
cmp eax, 0xd
jb 0x100354a0
lea ecx, [ebp - 0x20]
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
mov eax, 0x10
pxor xmm0, xmmword [0x1010a450]
mov dword [ebp - 0x14], 0x7604121a
movups xmmword [ebp - 0x24], xmm0
xor byte [ebp + eax - 0x24], 0x76
inc eax
cmp eax, 0x14
jb 0x100354d2
lea ecx, [ebp - 0x24]
jmp 0x100355a7
mov dword [ebp - 0x1c], 0x2041300
xor eax, eax
mov dword [ebp - 0x18], 0x2919111f
mov dword [ebp - 0x14], 0x7604121e
nop dword [eax]
xor byte [ebp + eax - 0x1c], 0x76
inc eax
cmp eax, 0xc
jb 0x10035500
lea ecx, [ebp - 0x1c]
jmp 0x100355a7
movaps xmm0, xmmword [0x1010aa60]
lea ecx, [ebp - 0x20]
pxor xmm0, xmmword [0x1010a960]
movups xmmword [ebp - 0x20], xmm0
jmp 0x100355a7
mov dword [ebp - 0x18], 0x74726576
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6f6769
jmp 0x100355a7
mov dword [ebp - 0x18], 0x74656976
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d616e
jmp 0x100355a7
mov dword [ebp - 0x1c], 0x5f796b73
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x74737564
mov byte [ebp - 0x14], 0
jmp 0x100355a7
mov dword [ebp - 0x18], 0x676e756a
mov word [ebp - 0x14], 0x656c
jmp 0x100355a0
mov dword [ebp - 0x1c], 0x656b756e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6e616c62
mov word [ebp - 0x14], 0x6b
jmp 0x100355a7
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 [0x101c86d0]
mulss xmm0, dword [0x10109b0c]
mov eax, dword [0x101d9c1c]
movss dword [ebp - 0x14], xmm0
test al, 2
jne 0x1003563b
mov eax, dword [0x101d49bc]
or dword [0x101d9c1c], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10035626
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100355f0
xor edx, edx
test ecx, ecx
je 0x1003561c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035600
cmp esi, 0x76c2f99f
je 0x10035630
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100355e5
xor ecx, ecx
mov dword [0x101d9c24], ecx
jmp 0x10035641
mov ecx, dword [ebp - 0x2c]
mov dword [0x101d9c24], ecx
jmp 0x10035641
mov ecx, dword [0x101d9c24]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101d9c1c]
test al, 4
jne 0x100356cb
or eax, 4
mov dword [0x101d9c1c], eax
mov eax, dword [0x101d49bc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x100356b6
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035680
xor edx, edx
test ecx, ecx
je 0x100356ac
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035690
cmp esi, 0xf2bc10d0
je 0x100356c0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10035670
xor ecx, ecx
mov dword [0x101d9c3c], ecx
jmp 0x100356d1
mov ecx, dword [ebp - 0x2c]
mov dword [0x101d9c3c], ecx
jmp 0x100356d1
mov ecx, dword [0x101d9c3c]
mov eax, dword [ecx]
movzx edx, byte [0x101c843c]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101d9c1c]
test al, 8
jne 0x1003574d
or eax, 8
mov dword [0x101d9c1c], eax
mov eax, dword [0x101d49bc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10035746
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035710
xor edx, edx
test ecx, ecx
je 0x1003573c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035720
mov eax, dword [ebp - 0x2c]
cmp esi, 0xea128137
je 0x10035748
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10035700
xor eax, eax
mov dword [0x101d9c34], eax
movzx edx, byte [0x101c84e2]
lea ecx, [ebp - 0xa4]
call fcn.10033020
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x101c84e0]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x8c]
call fcn.10033020
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
movzx edx, byte [0x101c84e0]
call fcn.10033020
push 1
push 0x101085ac
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10038500
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.100396d0
push 1
push 0x101085ac
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.10038500
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.100396d0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
mov ecx, dword [0x101d9c34]
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 0x1003588c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035882
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035a2d
push edx
push ecx
call fcn.100f8cec
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 0x100358dc
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100358d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035a2d
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x10035914
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003590a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035a2d
push edx
push ecx
call fcn.100f8cec
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 0x10035964
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003595a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035a2d
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x1003599c
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035992
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035a2d
push edx
push ecx
call fcn.100f8cec
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 0x100359e5
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100359db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035a2d
push edx
push ecx
call fcn.100f8cec
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 0x10035a3d
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035a33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035a33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov eax, dword [0x101d9c1c]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
test al, 0x10
jne 0x10035adb
or eax, 0x10
mov dword [0x101d9c1c], eax
mov eax, dword [0x101d49bc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10035ac6
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 0x10035a90
xor edx, edx
test ecx, ecx
je 0x10035abc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035aa0
cmp esi, 0xf0d13f1c
je 0x10035ad0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10035a80
xor ecx, ecx
mov dword [0x101d9c0c], ecx
jmp 0x10035ae1
mov ecx, dword [ebp - 0x2c]
mov dword [0x101d9c0c], ecx
jmp 0x10035ae1
mov ecx, dword [0x101d9c0c]
mov eax, dword [ecx]
movss xmm0, dword [0x101c8558]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101d9c1c]
test al, 0x20
jne 0x10035b6b
or eax, 0x20
mov dword [0x101d9c1c], eax
mov eax, dword [0x101d49bc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10035b56
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035b20
xor edx, edx
test ecx, ecx
je 0x10035b4c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035b30
cmp esi, 0x3af2c705
je 0x10035b60
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10035b16
xor ecx, ecx
mov dword [0x101d9c14], ecx
jmp 0x10035b71
mov ecx, dword [ebp - 0x2c]
mov dword [0x101d9c14], ecx
jmp 0x10035b71
mov ecx, dword [0x101d9c14]
mov eax, dword [ecx]
movss xmm0, dword [0x101c8614]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101d9c1c]
test al, 0x40
jne 0x10035bfb
or eax, 0x40
mov dword [0x101d9c1c], eax
mov eax, dword [0x101d49bc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10035be6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035bb0
xor edx, edx
test ecx, ecx
je 0x10035bdc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035bc0
cmp esi, 0x28cc4bea
je 0x10035bf0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x10035ba6
xor ecx, ecx
mov dword [0x101d9c08], ecx
jmp 0x10035c01
mov ecx, dword [ebp - 0x2c]
mov dword [0x101d9c08], ecx
jmp 0x10035c01
mov ecx, dword [0x101d9c08]
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