Function at 0x10039fe0
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 0x100bfc66
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb0
push esi
push edi
mov eax, dword [0x100de364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1019c600]
test al, 1
jne 0x1003a08b
mov eax, dword [0x10196c6c]
or dword [0x1019c600], 1
mov esi, dword [eax + 0x30]
jmp 0x1003a07f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + eax], 0
jne 0x1003a050
xor edx, edx
test ecx, ecx
je 0x1003a07c
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 0x1003a060
cmp edi, 0xe6a08fc9
je 0x1003a083
mov esi, dword [esi + 4]
test esi, esi
jne 0x1003a040
mov dword [0x1019c618], esi
jmp 0x1003a091
mov esi, dword [0x1019c618]
cmp byte [0x101549a0], 0
je case.default.0x1003a0ac
mov eax, dword [0x10154a54]
cmp eax, 0x13
ja case.default.0x1003a0ac
jmp dword [eax*4 + 0x1003a898]
mov eax, dword [esi]
mov ecx, esi
push str.cs_tibet
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.embassy
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.italy
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_cs15_daylight01_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_cloudy01
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night02
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night02b
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_csgo_night_flat
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_day02_05_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_day02_05
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_l4d_rural02_ldr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.vertigo_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.vertigoblue_hdr
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.vertigo
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.vietnam
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.sky_dust
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.jungle
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.nukeblank
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
mov eax, dword [esi]
mov ecx, esi
push str.office
mov eax, dword [eax + 0x38]
call eax
jmp case.default.0x1003a0ac
cmp dword [0x10154ad8], 0
jne 0x1003a218
or eax, 0xffffffff
jmp 0x1003a22c
push ecx
mov ecx, 0x10154ac8
call fcn.100385e0
mov esi, dword [0x1019c618]
add esp, 4
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x40]
mov ecx, esi
call edx
movss xmm0, dword [0x1014b8c4]
mulss xmm0, dword [0x100d2990]
mov eax, dword [0x1019c600]
movss dword [ebp - 0x18], xmm0
test al, 2
jne 0x1003a2cb
mov eax, dword [0x10196c6c]
or dword [0x1019c600], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a2b6
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 0x1003a280
xor edx, edx
test ecx, ecx
je 0x1003a2ac
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a290
cmp esi, 0x76c2f99f
je 0x1003a2c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a270
xor ecx, ecx
mov dword [0x1019c61c], ecx
jmp 0x1003a2d1
mov ecx, dword [ebp - 0x14]
mov dword [0x1019c61c], ecx
jmp 0x1003a2d1
mov ecx, dword [0x1019c61c]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1019c600]
test al, 4
jne 0x1003a35b
or eax, 4
mov dword [0x1019c600], eax
mov eax, dword [0x10196c6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a346
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 0x1003a310
xor edx, edx
test ecx, ecx
je 0x1003a33c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a320
cmp esi, 0xf2bc10d0
je 0x1003a350
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a300
xor ecx, ecx
mov dword [0x1019c640], ecx
jmp 0x1003a361
mov ecx, dword [ebp - 0x14]
mov dword [0x1019c640], ecx
jmp 0x1003a361
mov ecx, dword [0x1019c640]
mov eax, dword [ecx]
movzx edx, byte [0x1014b604]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1019c600]
test al, 8
jne 0x1003a3dd
or eax, 8
mov dword [0x1019c600], eax
mov eax, dword [0x10196c6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a3d6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003a3a0
xor edx, edx
test ecx, ecx
je 0x1003a3cc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a3b0
mov eax, dword [ebp - 0x14]
cmp esi, 0xea128137
je 0x1003a3d8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a390
xor eax, eax
mov dword [0x1019c63c], eax
movzx edx, byte [0x1014b6aa]
lea ecx, [ebp - 0x90]
call fcn.10038650
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x1014b6a8]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x78]
call fcn.10038650
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
movzx edx, byte [0x1014b6a8]
call fcn.10038650
push 1
push 0x100cc4b8
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1003dbb0
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.1003ea00
push 1
push 0x100cc4b8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.1003dbb0
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.1003ea00
mov byte [ebp - 4], 6
lea edx, [ebp - 0x30]
mov ecx, dword [0x1019c63c]
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 0x1003a519
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a50f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b1
push ecx
push edx
call fcn.100bc9e1
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 0x1003a569
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a55f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b1
push ecx
push edx
call fcn.100bc9e1
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1003a5a1
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a597
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b1
push ecx
push edx
call fcn.100bc9e1
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 0x1003a5f1
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a5e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b1
push ecx
push edx
call fcn.100bc9e1
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1003a629
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a61f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b1
push ecx
push edx
call fcn.100bc9e1
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 0x1003a66f
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a665
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b1
push ecx
push edx
call fcn.100bc9e1
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 0x1003a6c1
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a6b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003a6b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100bc9e1
add esp, 8
mov eax, dword [0x1019c600]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
test al, 0x10
jne 0x1003a74b
or eax, 0x10
mov dword [0x1019c600], eax
mov eax, dword [0x10196c6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a736
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003a700
xor edx, edx
test ecx, ecx
je 0x1003a72c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a710
cmp esi, 0xf0d13f1c
je 0x1003a740
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a6f6
xor ecx, ecx
mov dword [0x1019c608], ecx
jmp 0x1003a751
mov ecx, dword [ebp - 0x14]
mov dword [0x1019c608], ecx
jmp 0x1003a751
mov ecx, dword [0x1019c608]
mov eax, dword [ecx]
movss xmm0, dword [0x1014b74c]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1019c600]
test al, 0x20
jne 0x1003a7db
or eax, 0x20
mov dword [0x1019c600], eax
mov eax, dword [0x10196c6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a7c6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003a790
xor edx, edx
test ecx, ecx
je 0x1003a7bc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a7a0
cmp esi, 0x3af2c705
je 0x1003a7d0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a786
xor ecx, ecx
mov dword [0x1019c614], ecx
jmp 0x1003a7e1
mov ecx, dword [ebp - 0x14]
mov dword [0x1019c614], ecx
jmp 0x1003a7e1
mov ecx, dword [0x1019c614]
mov eax, dword [ecx]
movss xmm0, dword [0x1014b808]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1019c600]
test al, 0x40
jne 0x1003a86b
or eax, 0x40
mov dword [0x1019c600], eax
mov eax, dword [0x10196c6c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a856
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003a820
xor edx, edx
test ecx, ecx
je 0x1003a84c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a830
cmp esi, 0x28cc4bea
je 0x1003a860
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a816
xor ecx, ecx
mov dword [0x1019c604], ecx
jmp 0x1003a871
mov ecx, dword [ebp - 0x14]
mov dword [0x1019c604], ecx
jmp 0x1003a871
mov ecx, dword [0x1019c604]
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