Function at 0x1003cf10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5416
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
push edi
mov eax, dword [0x100e5040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1012acd0]
test al, 1
jne 0x1003cf9b
mov eax, dword [0x101236f8]
or dword [0x1012acd0], 1
mov edx, dword [eax + 0x30]
jmp 0x1003cf8f
mov eax, dword [edx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [eax + ecx], 0
jne 0x1003cf60
xor esi, esi
test ecx, ecx
je 0x1003cf8c
nop dword [eax]
movsx eax, byte [eax + esi]
inc esi
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [edx + 0xc]
cmp esi, ecx
jb 0x1003cf70
cmp edi, 0xe6a08fc9
je 0x1003cf93
mov edx, dword [edx + 4]
test edx, edx
jne 0x1003cf54
mov dword [0x1012acdc], edx
jmp 0x1003cfa1
mov edx, dword [0x1012acdc]
cmp byte [0x100fa5f4], 0
je case.default.0x1003cfbc
mov eax, dword [0x100fa6a8]
cmp eax, 0x12
ja case.default.0x1003cfbc
jmp dword [eax*4 + 0x1003d724]
push str.cs_tibet
jmp 0x1003d046
push str.embassy
jmp 0x1003d046
push str.italy
jmp 0x1003d046
push str.sky_cs15_daylight01_hdr
jmp 0x1003d046
push str.sky_csgo_cloudy01
jmp 0x1003d046
push str.sky_csgo_night02
jmp 0x1003d046
push str.sky_csgo_night02b
jmp 0x1003d046
push str.sky_csgo_night_flat
jmp 0x1003d046
push str.sky_day02_05_hdr
jmp 0x1003d046
push str.sky_day02_05
jmp 0x1003d046
push str.sky_l4d_rural02_ldr
jmp 0x1003d046
push str.vertigo_hdr
jmp 0x1003d046
push str.vertigoblue_hdr
jmp 0x1003d046
push str.vertigo
jmp 0x1003d046
push str.vietnam
jmp 0x1003d046
push str.sky_dust
jmp 0x1003d046
push str.jungle
jmp 0x1003d046
push str.nukeblank
jmp 0x1003d046
push str.office
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x38]
call eax
movss xmm0, dword [0x100f1bdc]
mulss xmm0, dword [0x100d90a8]
mov eax, dword [0x1012acd0]
movss dword [ebp - 0x14], xmm0
test al, 2
jne 0x1003d0db
mov eax, dword [0x101236f8]
or dword [0x1012acd0], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003d0c6
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d090
xor edx, edx
test ecx, ecx
je 0x1003d0bc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d0a0
cmp edi, 0x76c2f99f
je 0x1003d0d0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1003d083
xor ecx, ecx
mov dword [0x1012ace0], ecx
jmp 0x1003d0e1
mov ecx, dword [ebp - 0x10]
mov dword [0x1012ace0], ecx
jmp 0x1003d0e1
mov ecx, dword [0x1012ace0]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1012acd0]
test al, 4
jne 0x1003d16b
or eax, 4
mov dword [0x1012acd0], eax
mov eax, dword [0x101236f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003d156
nop
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d120
xor edx, edx
test ecx, ecx
je 0x1003d14c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d130
cmp edi, 0xf2bc10d0
je 0x1003d160
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1003d110
xor ecx, ecx
mov dword [0x1012acf4], ecx
jmp 0x1003d171
mov ecx, dword [ebp - 0x10]
mov dword [0x1012acf4], ecx
jmp 0x1003d171
mov ecx, dword [0x1012acf4]
mov eax, dword [ecx]
movzx edx, byte [0x100f18d4]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1012acd0]
test al, 8
jne 0x1003d1ed
or eax, 8
mov dword [0x1012acd0], eax
mov eax, dword [0x101236f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003d1e6
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d1b0
xor edx, edx
test ecx, ecx
je 0x1003d1dc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d1c0
mov eax, dword [ebp - 0x10]
cmp edi, 0xea128137
je 0x1003d1e8
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1003d1a0
xor eax, eax
mov dword [0x1012acf0], eax
movzx edx, byte [0x100f197a]
lea ecx, [ebp - 0x90]
call fcn.10026ce0
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x100f1978]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x78]
call fcn.10026ce0
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
movzx edx, byte [0x100f1978]
call fcn.10026ce0
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 0x1003d25e
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x1003d256
mov eax, dword [ecx]
mov word [eax + edx], 0x20
jmp 0x1003d275
push 1
push 0x100d300c
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push 1
call fcn.10031ff0
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push edi
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.10041b10
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 1
jb 0x1003d2e2
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov word [eax + ecx], 0x20
lea eax, [ebp - 0x2c]
jmp 0x1003d2fa
push 1
push 0x100d300c
mov byte [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x10]
push 1
call fcn.10031ff0
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 dword [ebp - 0x30]
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.10041b10
mov byte [ebp - 4], 6
lea edx, [ebp - 0x48]
mov ecx, dword [0x1012acf0]
cmp dword [ebp - 0x34], 0xf
cmova edx, dword [ebp - 0x48]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003d390
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d386
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d528
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x1003d3e0
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d3d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d528
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1003d418
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d40e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d528
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x1003d468
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d45e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d528
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1003d4a0
mov edx, dword [ebp - 0x60]
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 0x1003d528
push ecx
push edx
call fcn.100c2b66
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, 0xf
jbe 0x1003d4e6
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d4dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d528
push ecx
push edx
call fcn.100c2b66
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, 0xf
jbe 0x1003d538
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d52e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003d52e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c2b66
add esp, 8
mov eax, dword [0x1012acd0]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
test al, 0x10
jne 0x1003d5cb
or eax, 0x10
mov dword [0x1012acd0], eax
mov eax, dword [0x101236f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003d5b6
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d580
xor edx, edx
test ecx, ecx
je 0x1003d5ac
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d590
cmp edi, 0xf0d13f1c
je 0x1003d5c0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1003d571
xor ecx, ecx
mov dword [0x1012acc8], ecx
jmp 0x1003d5d1
mov ecx, dword [ebp - 0x10]
mov dword [0x1012acc8], ecx
jmp 0x1003d5d1
mov ecx, dword [0x1012acc8]
mov eax, dword [ecx]
movss xmm0, dword [0x100f1a34]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1012acd0]
test al, 0x20
jne 0x1003d66b
or eax, 0x20
mov dword [0x1012acd0], eax
mov eax, dword [0x101236f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003d656
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 0x1003d620
xor edx, edx
test ecx, ecx
je 0x1003d64c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d630
cmp edi, 0x3af2c705
je 0x1003d660
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1003d610
xor ecx, ecx
mov dword [0x1012accc], ecx
jmp 0x1003d671
mov ecx, dword [ebp - 0x10]
mov dword [0x1012accc], ecx
jmp 0x1003d671
mov ecx, dword [0x1012accc]
mov eax, dword [ecx]
movss xmm0, dword [0x100f1b08]
push ecx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x1012acd0]
test al, 0x40
jne 0x1003d6fb
or eax, 0x40
mov dword [0x1012acd0], eax
mov eax, dword [0x101236f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003d6e6
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d6b0
xor edx, edx
test ecx, ecx
je 0x1003d6dc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d6c0
cmp edi, 0x28cc4bea
je 0x1003d6f0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1003d6a6
xor ecx, ecx
mov dword [0x1012a9ec], ecx
jmp 0x1003d701
mov ecx, dword [ebp - 0x10]
mov dword [0x1012a9ec], ecx
jmp 0x1003d701
mov ecx, dword [0x1012a9ec]
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
ret