Function at 0x1003ceb0
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 0x100c76d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
push esi
push edi
mov eax, dword [0x100e7380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101ab3fc]
test al, 1
jne 0x1003cf5b
mov eax, dword [0x101a5c4c]
or dword [0x101ab3fc], 1
mov esi, dword [eax + 0x30]
jmp 0x1003cf4f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x1003cf20
xor edx, edx
test ecx, ecx
je 0x1003cf4c
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 0x1003cf30
cmp edi, 0xe6a08fc9
je 0x1003cf53
mov esi, dword [esi + 4]
test esi, esi
jne 0x1003cf10
mov dword [0x101ab414], esi
jmp 0x1003cf61
mov esi, dword [0x101ab414]
cmp byte [0x101620a0], 0
je case.default.0x1003cf7c
mov eax, dword [0x10162154]
cmp eax, 0x13
ja case.default.0x1003cf7c
jmp dword [eax*4 + 0x1003d7d8]
mov eax, dword [esi]
mov ecx, esi
push str.cs_tibet
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.embassy
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.italy
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_cs15_daylight01_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_cloudy01
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night02
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night02b
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night_flat
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_day02_05_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_day02_05
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_l4d_rural02_ldr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.vertigo_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.vertigoblue_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.vertigo
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.vietnam
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.sky_dust
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.jungle
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.nukeblank
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
mov eax, dword [esi]
mov ecx, esi
push str.office
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cf7c
cmp dword [0x101621d8], 0
jne 0x1003d0e8
or eax, 0xffffffff
jmp 0x1003d0fc
push ecx
mov ecx, 0x101621c8
call fcn.1003acf0
mov esi, dword [0x101ab414]
add esp, 4
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x40]
mov ecx, esi
call edx
movss xmm0, dword [0x10157e00]
mulss xmm0, dword [0x100dad50]
mov eax, dword [0x101ab3fc]
movss dword [ebp - 0x18], xmm0
test al, 2
jne 0x1003d19b
mov eax, dword [0x101a5c4c]
or dword [0x101ab3fc], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d186
nop word [eax + eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d150
xor edx, edx
test ecx, ecx
je 0x1003d17c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d160
cmp edi, 0x76c2f99f
je 0x1003d190
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d140
xor ecx, ecx
mov dword [0x101ab418], ecx
jmp 0x1003d1a1
mov ecx, dword [ebp - 0x14]
mov dword [0x101ab418], ecx
jmp 0x1003d1a1
mov ecx, dword [0x101ab418]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101ab3fc]
test al, 4
jne 0x1003d22b
or eax, 4
mov dword [0x101ab3fc], eax
mov eax, dword [0x101a5c4c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d216
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 0x1003d1e0
xor edx, edx
test ecx, ecx
je 0x1003d20c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d1f0
cmp edi, 0xf2bc10d0
je 0x1003d220
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d1d0
xor ecx, ecx
mov dword [0x101ab43c], ecx
jmp 0x1003d231
mov ecx, dword [ebp - 0x14]
mov dword [0x101ab43c], ecx
jmp 0x1003d231
mov ecx, dword [0x101ab43c]
mov eax, dword [ecx]
movzx edx, byte [0x10157b2c]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101ab3fc]
test al, 8
jne 0x1003d2ad
or eax, 8
mov dword [0x101ab3fc], eax
mov eax, dword [0x101a5c4c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d2a6
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d270
xor edx, edx
test ecx, ecx
je 0x1003d29c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d280
mov eax, dword [ebp - 0x14]
cmp edi, 0xea128137
je 0x1003d2a8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d260
xor eax, eax
mov dword [0x101ab438], eax
movzx edx, byte [0x10157be2]
lea ecx, [ebp - 0x94]
call fcn.1003ad60
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x10157be0]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x7c]
call fcn.1003ad60
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
movzx edx, byte [0x10157be0]
call fcn.1003ad60
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 0x1003d31e
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x1003d316
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x1003d335
push 1
push 0x100d45b8
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push 1
call fcn.10041440
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.10041860
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 0x1003d3a2
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 0x1003d3ba
push 1
push 0x100d45b8
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x30]
push dword [ebp - 0x14]
push 1
call fcn.10041440
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.10041860
mov byte [ebp - 4], 6
lea edx, [ebp - 0x4c]
mov ecx, dword [0x101ab438]
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 0x1003d450
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d446
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d5e8
push ecx
push edx
call fcn.100c418a
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 0x1003d4a0
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d496
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d5e8
push ecx
push edx
call fcn.100c418a
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1003d4d8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d4ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d5e8
push ecx
push edx
call fcn.100c418a
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 0x1003d528
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d51e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d5e8
push ecx
push edx
call fcn.100c418a
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1003d560
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d5e8
push ecx
push edx
call fcn.100c418a
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 0x1003d5a6
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d59c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d5e8
push ecx
push edx
call fcn.100c418a
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 0x1003d5f8
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d5ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d5ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c418a
add esp, 8
mov eax, dword [0x101ab3fc]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
test al, 0x10
jne 0x1003d68b
or eax, 0x10
mov dword [0x101ab3fc], eax
mov eax, dword [0x101a5c4c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d676
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d640
xor edx, edx
test ecx, ecx
je 0x1003d66c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d650
cmp edi, 0xf0d13f1c
je 0x1003d680
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d630
xor ecx, ecx
mov dword [0x101ab404], ecx
jmp 0x1003d691
mov ecx, dword [ebp - 0x14]
mov dword [0x101ab404], ecx
jmp 0x1003d691
mov ecx, dword [0x101ab404]
mov eax, dword [ecx]
movss xmm0, dword [0x10157c88]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101ab3fc]
test al, 0x20
jne 0x1003d71b
or eax, 0x20
mov dword [0x101ab3fc], eax
mov eax, dword [0x101a5c4c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d706
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d6d0
xor edx, edx
test ecx, ecx
je 0x1003d6fc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d6e0
cmp edi, 0x3af2c705
je 0x1003d710
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d6c6
xor ecx, ecx
mov dword [0x101ab410], ecx
jmp 0x1003d721
mov ecx, dword [ebp - 0x14]
mov dword [0x101ab410], ecx
jmp 0x1003d721
mov ecx, dword [0x101ab410]
mov eax, dword [ecx]
movss xmm0, dword [0x10157d44]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101ab3fc]
test al, 0x40
jne 0x1003d7ab
or eax, 0x40
mov dword [0x101ab3fc], eax
mov eax, dword [0x101a5c4c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d796
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d760
xor edx, edx
test ecx, ecx
je 0x1003d78c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d770
cmp edi, 0x28cc4bea
je 0x1003d7a0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d756
xor ecx, ecx
mov dword [0x101ab400], ecx
jmp 0x1003d7b1
mov ecx, dword [ebp - 0x14]
mov dword [0x101ab400], ecx
jmp 0x1003d7b1
mov ecx, dword [0x101ab400]
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