Function at 0x1003ce9a
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 0x100c60a6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb0
push esi
push edi
mov eax, dword [0x100e5364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101a93a4]
test al, 1
jne 0x1003cd1b
mov eax, dword [0x101a3bec]
or dword [0x101a93a4], 1
mov esi, dword [eax + 0x30]
jmp 0x1003cd0f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x1003cce0
xor edx, edx
test ecx, ecx
je 0x1003cd0c
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 0x1003ccf0
cmp edi, 0xe6a08fc9
je 0x1003cd13
mov esi, dword [esi + 4]
test esi, esi
jne 0x1003ccd0
mov dword [0x101a93bc], esi
jmp 0x1003cd21
mov esi, dword [0x101a93bc]
cmp byte [0x10160040], 0
je case.default.0x1003cd3c
mov eax, dword [0x101600f4]
cmp eax, 0x13
ja case.default.0x1003cd3c
jmp dword [eax*4 + 0x1003d528]
mov eax, dword [esi]
mov ecx, esi
push str.cs_tibet
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.embassy
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.italy
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_cs15_daylight01_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_cloudy01
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night02
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night02b
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night_flat
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_day02_05_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_day02_05
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_l4d_rural02_ldr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.vertigo_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.vertigoblue_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.vertigo
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.vietnam
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.sky_dust
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.jungle
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.nukeblank
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
mov eax, dword [esi]
mov ecx, esi
push str.office
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003cd3c
cmp dword [0x10160178], 0
jne 0x1003cea8
or eax, 0xffffffff
jmp 0x1003cebc
push ecx
mov ecx, 0x10160168
call fcn.1003aae0
mov esi, dword [0x101a93bc]
add esp, 4
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x40]
mov ecx, esi
call edx
movss xmm0, dword [0x10155da0]
mulss xmm0, dword [0x100d8d58]
mov eax, dword [0x101a93a4]
movss dword [ebp - 0x18], xmm0
test al, 2
jne 0x1003cf5b
mov eax, dword [0x101a3bec]
or dword [0x101a93a4], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003cf46
nop word [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 0x1003cf10
xor edx, edx
test ecx, ecx
je 0x1003cf3c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003cf20
cmp esi, 0x76c2f99f
je 0x1003cf50
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003cf00
xor ecx, ecx
mov dword [0x101a93c0], ecx
jmp 0x1003cf61
mov ecx, dword [ebp - 0x14]
mov dword [0x101a93c0], ecx
jmp 0x1003cf61
mov ecx, dword [0x101a93c0]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101a93a4]
test al, 4
jne 0x1003cfeb
or eax, 4
mov dword [0x101a93a4], eax
mov eax, dword [0x101a3bec]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003cfd6
nop word [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 0x1003cfa0
xor edx, edx
test ecx, ecx
je 0x1003cfcc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003cfb0
cmp esi, 0xf2bc10d0
je 0x1003cfe0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003cf90
xor ecx, ecx
mov dword [0x101a93e4], ecx
jmp 0x1003cff1
mov ecx, dword [ebp - 0x14]
mov dword [0x101a93e4], ecx
jmp 0x1003cff1
mov ecx, dword [0x101a93e4]
mov eax, dword [ecx]
movzx edx, byte [0x10155acc]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101a93a4]
test al, 8
jne 0x1003d06d
or eax, 8
mov dword [0x101a93a4], eax
mov eax, dword [0x101a3bec]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d066
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003d030
xor edx, edx
test ecx, ecx
je 0x1003d05c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d040
mov eax, dword [ebp - 0x14]
cmp esi, 0xea128137
je 0x1003d068
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d020
xor eax, eax
mov dword [0x101a93e0], eax
movzx edx, byte [0x10155b82]
lea ecx, [ebp - 0x90]
call fcn.1003ab50
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x10155b80]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x78]
call fcn.1003ab50
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
movzx edx, byte [0x10155b80]
call fcn.1003ab50
push 1
push 0x100d25d8
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10040850
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.10041500
push 1
push 0x100d25d8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.10040850
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push edi
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.10041500
mov byte [ebp - 4], 6
lea edx, [ebp - 0x30]
mov ecx, dword [0x101a93e0]
cmp dword [ebp - 0x1c], 0x10
cmovae edx, dword [ebp - 0x30]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x1003d1a9
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d19f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d341
push ecx
push edx
call fcn.100c2b54
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0x10
jb 0x1003d1f9
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d1ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d341
push ecx
push edx
call fcn.100c2b54
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1003d231
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d227
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d341
push ecx
push edx
call fcn.100c2b54
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0x10
jb 0x1003d281
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d277
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d341
push ecx
push edx
call fcn.100c2b54
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1003d2b9
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d2af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d341
push ecx
push edx
call fcn.100c2b54
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0x10
jb 0x1003d2ff
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d2f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d341
push ecx
push edx
call fcn.100c2b54
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp ecx, 0x10
jb 0x1003d351
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d347
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d347
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c2b54
add esp, 8
mov eax, dword [0x101a93a4]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
test al, 0x10
jne 0x1003d3db
or eax, 0x10
mov dword [0x101a93a4], eax
mov eax, dword [0x101a3bec]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d3c6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003d390
xor edx, edx
test ecx, ecx
je 0x1003d3bc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d3a0
cmp esi, 0xf0d13f1c
je 0x1003d3d0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d386
xor ecx, ecx
mov dword [0x101a93ac], ecx
jmp 0x1003d3e1
mov ecx, dword [ebp - 0x14]
mov dword [0x101a93ac], ecx
jmp 0x1003d3e1
mov ecx, dword [0x101a93ac]
mov eax, dword [ecx]
movss xmm0, dword [0x10155c28]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101a93a4]
test al, 0x20
jne 0x1003d46b
or eax, 0x20
mov dword [0x101a93a4], eax
mov eax, dword [0x101a3bec]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d456
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003d420
xor edx, edx
test ecx, ecx
je 0x1003d44c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d430
cmp esi, 0x3af2c705
je 0x1003d460
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d416
xor ecx, ecx
mov dword [0x101a93b8], ecx
jmp 0x1003d471
mov ecx, dword [ebp - 0x14]
mov dword [0x101a93b8], ecx
jmp 0x1003d471
mov ecx, dword [0x101a93b8]
mov eax, dword [ecx]
movss xmm0, dword [0x10155ce4]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101a93a4]
test al, 0x40
jne 0x1003d4fb
or eax, 0x40
mov dword [0x101a93a4], eax
mov eax, dword [0x101a3bec]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003d4e6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003d4b0
xor edx, edx
test ecx, ecx
je 0x1003d4dc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d4c0
cmp esi, 0x28cc4bea
je 0x1003d4f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003d4a6
xor ecx, ecx
mov dword [0x101a93a8], ecx
jmp 0x1003d501
mov ecx, dword [ebp - 0x14]
mov dword [0x101a93a8], ecx
jmp 0x1003d501
mov ecx, dword [0x101a93a8]
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