Function at 0x10035970
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 0x100d7e96
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
push esi
push edi
mov eax, dword [0x101033c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10130f40]
test al, 1
jne 0x10035a1b
mov eax, dword [0x1012b314]
or dword [0x10130f40], 1
mov edx, dword [eax + 0x30]
jmp 0x10035a0f
mov eax, dword [edx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x100359e0
xor esi, esi
test ecx, ecx
je 0x10035a0c
nop dword [eax]
movsx eax, byte [esi + eax]
inc esi
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [edx + 0xc]
cmp esi, ecx
jb 0x100359f0
cmp edi, 0xe6a08fc9
je 0x10035a13
mov edx, dword [edx + 4]
test edx, edx
jne 0x100359d0
mov dword [0x10130f44], edx
jmp 0x10035a21
mov edx, dword [0x10130f44]
cmp byte [0x10113580], 0
je case.default.0x10035a3c
mov eax, dword [0x10113634]
cmp eax, 0x12
ja case.default.0x10035a3c
jmp dword [eax*4 + 0x1003619c]
push str.cs_tibet
jmp 0x10035ac6
push str.embassy
jmp 0x10035ac6
push str.italy
jmp 0x10035ac6
push str.sky_cs15_daylight01_hdr
jmp 0x10035ac6
push str.sky_csgo_cloudy01
jmp 0x10035ac6
push str.sky_csgo_night02
jmp 0x10035ac6
push str.sky_csgo_night02b
jmp 0x10035ac6
push str.sky_csgo_night_flat
jmp 0x10035ac6
push str.sky_day02_05_hdr
jmp 0x10035ac6
push str.sky_day02_05
jmp 0x10035ac6
push str.sky_l4d_rural02_ldr
jmp 0x10035ac6
push str.vertigo_hdr
jmp 0x10035ac6
push str.vertigoblue_hdr
jmp 0x10035ac6
push str.vertigo
jmp 0x10035ac6
push str.vietnam
jmp 0x10035ac6
push str.sky_dust
jmp 0x10035ac6
push str.jungle
jmp 0x10035ac6
push str.nukeblank
jmp 0x10035ac6
push str.office
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x38]
call eax
movss xmm0, dword [0x1010a978]
mulss xmm0, dword [0x100f1f50]
mov eax, dword [0x10130f40]
movss dword [ebp - 0x18], xmm0
test al, 2
jne 0x10035b5b
mov eax, dword [0x1012b314]
or dword [0x10130f40], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10035b46
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10035b10
xor edx, edx
test ecx, ecx
je 0x10035b3c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035b20
cmp edi, 0x76c2f99f
je 0x10035b50
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10035b03
xor ecx, ecx
mov dword [0x10130f48], ecx
jmp 0x10035b61
mov ecx, dword [ebp - 0x14]
mov dword [0x10130f48], ecx
jmp 0x10035b61
mov ecx, dword [0x10130f48]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10130f40]
test al, 4
jne 0x10035beb
or eax, 4
mov dword [0x10130f40], eax
mov eax, dword [0x1012b314]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10035bd6
nop
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10035ba0
xor edx, edx
test ecx, ecx
je 0x10035bcc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035bb0
cmp edi, 0xf2bc10d0
je 0x10035be0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10035b90
xor ecx, ecx
mov dword [0x10130f6c], ecx
jmp 0x10035bf1
mov ecx, dword [ebp - 0x14]
mov dword [0x10130f6c], ecx
jmp 0x10035bf1
mov ecx, dword [0x10130f6c]
mov eax, dword [ecx]
movzx edx, byte [0x1010a6c4]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x10130f40]
test al, 8
jne 0x10035c6d
or eax, 8
mov dword [0x10130f40], eax
mov eax, dword [0x1012b314]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10035c66
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10035c30
xor edx, edx
test ecx, ecx
je 0x10035c5c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035c40
mov eax, dword [ebp - 0x14]
cmp edi, 0xea128137
je 0x10035c68
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10035c20
xor eax, eax
mov dword [0x10130f64], eax
movzx edx, byte [0x1010a76a]
lea ecx, [ebp - 0x94]
call fcn.10034a40
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x1010a768]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x7c]
call fcn.10034a40
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
movzx edx, byte [0x1010a768]
call fcn.10034a40
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 0x10035cde
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x10035cd6
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x10035cf5
push 1
push 0x100ebeb4
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push 1
call fcn.100286e0
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xc4], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xb4], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push edi
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.10039880
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x20]
sub eax, ecx
cmp eax, 1
jb 0x10035d62
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x30]
jmp 0x10035d7a
push 1
push 0x100ebeb4
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x14]
push 1
call fcn.100286e0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x34]
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
call fcn.10039880
mov byte [ebp - 4], 6
lea edx, [ebp - 0x4c]
mov ecx, dword [0x10130f64]
cmp dword [ebp - 0x38], 0xf
cmova edx, dword [ebp - 0x4c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10035e10
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035e06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036197
push ecx
push edx
call fcn.100ae192
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x10035e60
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035e56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036197
push ecx
push edx
call fcn.100ae192
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10035e98
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035e8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036197
push ecx
push edx
call fcn.100ae192
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x10035ee8
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035ede
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036197
push ecx
push edx
call fcn.100ae192
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x10035f20
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035f16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036197
push ecx
push edx
call fcn.100ae192
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x10035f6a
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035f60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036197
push ecx
push edx
call fcn.100ae192
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x10035fba
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035fb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036197
push ecx
push edx
call fcn.100ae192
add esp, 8
mov eax, dword [0x10130f40]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
test al, 0x10
jne 0x1003604b
or eax, 0x10
mov dword [0x10130f40], eax
mov eax, dword [0x1012b314]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10036036
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10036000
xor edx, edx
test ecx, ecx
je 0x1003602c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10036010
cmp edi, 0xf0d13f1c
je 0x10036040
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10035ff2
xor ecx, ecx
mov dword [0x10130c50], ecx
jmp 0x10036051
mov ecx, dword [ebp - 0x14]
mov dword [0x10130c50], ecx
jmp 0x10036051
mov ecx, dword [0x10130c50]
mov eax, dword [ecx]
movss xmm0, dword [0x1010a800]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x10130f40]
test al, 0x20
jne 0x100360db
or eax, 0x20
mov dword [0x10130f40], eax
mov eax, dword [0x1012b314]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100360c6
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10036090
xor edx, edx
test ecx, ecx
je 0x100360bc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100360a0
cmp edi, 0x3af2c705
je 0x100360d0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10036086
xor ecx, ecx
mov dword [0x10130f3c], ecx
jmp 0x100360e1
mov ecx, dword [ebp - 0x14]
mov dword [0x10130f3c], ecx
jmp 0x100360e1
mov ecx, dword [0x10130f3c]
mov eax, dword [ecx]
movss xmm0, dword [0x1010a8bc]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x10130f40]
test al, 0x40
jne 0x1003616b
or eax, 0x40
mov dword [0x10130f40], eax
mov eax, dword [0x1012b314]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10036156
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10036120
xor edx, edx
test ecx, ecx
je 0x1003614c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10036130
cmp edi, 0x28cc4bea
je 0x10036160
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10036116
xor ecx, ecx
mov dword [0x10130be8], ecx
jmp 0x10036171
mov ecx, dword [ebp - 0x14]
mov dword [0x10130be8], ecx
jmp 0x10036171
mov ecx, dword [0x10130be8]
mov eax, dword [ecx]
movss xmm0, dword [ebp - 0x18]
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
call fcn.100b469b
inc ebx
pop edx
add edx, dword [eax]
dec edx
pop edx
add edx, dword [eax]
push ecx
pop edx
add edx, dword [eax]
pop eax
pop edx
add edx, dword [eax]
pop edi
pop edx
add edx, dword [eax]
pop dx
add edx, dword [eax]
insd dword es:[edi], dx
pop edx
add edx, dword [eax]
je 0x10036214
add edx, dword [eax]
jnp 0x10036218
add edx, dword [eax]
sbb byte [edx + 3], 0x10
mov dword [edx + 3], ebx
adc byte [eax - 1760558246], dl
pop edx
add edx, dword [eax]
sahf
pop edx
add edx, dword [eax]
movsd dword es:[edi], dword [esi]
pop edx
add edx, dword [eax]
lodsb al, byte [esi]
pop edx
add edx, dword [eax]
mov bl, 0x5a
add edx, dword [eax]
mov edx, 0xc110035a
pop edx
add edx, dword [eax]
int3
ror byte [edi], 0x84
arpl word [ecx], ax
add byte [eax], al
add dword [eax], eax
add byte [ebx + 0x12b39c0d], cl
adc byte [ebx], dh
fisttp dword [ecx + 0x418bfc4d]
sub byte [ecx - 0x3f7a07bb], cl