Function at 0x10039ef0
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 0x100d9116
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb0
push esi
push edi
mov eax, dword [0x101053c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101346f8]
test al, 1
jne 0x10039f9b
mov eax, dword [0x10130478]
or dword [0x101346f8], 1
mov esi, dword [eax + 0x30]
jmp 0x10039f8f
mov eax, dword [esi + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [eax + ecx], 0
jne 0x10039f60
xor edx, edx
test ecx, ecx
je 0x10039f8c
nop dword [eax]
movsx eax, byte [eax + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [esi + 0xc]
cmp edx, ecx
jb 0x10039f70
cmp edi, 0xe6a08fc9
je 0x10039f93
mov esi, dword [esi + 4]
test esi, esi
jne 0x10039f50
mov dword [0x101346fc], esi
jmp 0x10039fa1
mov esi, dword [0x101346fc]
cmp byte [0x10117740], 0
je case.default.0x10039fbc
mov eax, dword [0x101177f4]
cmp eax, 0x12
ja case.default.0x10039fbc
jmp dword [eax*4 + 0x1003a6bc]
push str.cs_tibet
jmp 0x1003a046
push str.embassy
jmp 0x1003a046
push str.italy
jmp 0x1003a046
push str.sky_cs15_daylight01_hdr
jmp 0x1003a046
push str.sky_csgo_cloudy01
jmp 0x1003a046
push str.sky_csgo_night02
jmp 0x1003a046
push str.sky_csgo_night02b
jmp 0x1003a046
push str.sky_csgo_night_flat
jmp 0x1003a046
push str.sky_day02_05_hdr
jmp 0x1003a046
push str.sky_day02_05
jmp 0x1003a046
push str.sky_l4d_rural02_ldr
jmp 0x1003a046
push str.vertigo_hdr
jmp 0x1003a046
push str.vertigoblue_hdr
jmp 0x1003a046
push str.vertigo
jmp 0x1003a046
push str.vietnam
jmp 0x1003a046
push str.sky_dust
jmp 0x1003a046
push str.jungle
jmp 0x1003a046
push str.nukeblank
jmp 0x1003a046
push str.office
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
vmovss xmm0, dword [0x1010eb38]
vmulss xmm0, xmm0, dword [0x100f410c]
mov eax, dword [0x101346f8]
vmovss dword [ebp - 0x18], xmm0
test al, 2
jne 0x1003a0db
mov eax, dword [0x10130478]
or dword [0x101346f8], 2
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a0c6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1003a090
xor edx, edx
test ecx, ecx
je 0x1003a0bc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a0a0
cmp esi, 0x76c2f99f
je 0x1003a0d0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a083
xor ecx, ecx
mov dword [0x10134700], ecx
jmp 0x1003a0e1
mov ecx, dword [ebp - 0x14]
mov dword [0x10134700], ecx
jmp 0x1003a0e1
mov ecx, dword [0x10134700]
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101346f8]
test al, 4
jne 0x1003a16b
or eax, 4
mov dword [0x101346f8], eax
mov eax, dword [0x10130478]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a156
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a120
xor edx, edx
test ecx, ecx
je 0x1003a14c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a130
cmp esi, 0xf2bc10d0
je 0x1003a160
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a110
xor ecx, ecx
mov dword [0x10134728], ecx
jmp 0x1003a171
mov ecx, dword [ebp - 0x14]
mov dword [0x10134728], ecx
jmp 0x1003a171
mov ecx, dword [0x10134728]
mov eax, dword [ecx]
movzx edx, byte [0x1010e884]
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x101346f8]
test al, 8
jne 0x1003a1ed
or eax, 8
mov dword [0x101346f8], eax
mov eax, dword [0x10130478]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a1e6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a1b0
xor edx, edx
test ecx, ecx
je 0x1003a1dc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a1c0
mov eax, dword [ebp - 0x14]
cmp esi, 0xea128137
je 0x1003a1e8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a1a0
xor eax, eax
mov dword [0x10134720], eax
movzx edx, byte [0x1010e92a]
lea ecx, [ebp - 0x90]
call fcn.10038ea0
mov edi, eax
mov dword [ebp - 4], 0
mov ecx, dword [0x1010e928]
shr ecx, 8
movzx edx, cl
lea ecx, [ebp - 0x78]
call fcn.10038ea0
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
movzx edx, byte [0x1010e928]
call fcn.10038ea0
push 1
push 0x100eec8c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1002c650
vmovdqu xmm0, xmmword [eax]
vmovdqu xmmword [ebp - 0xc0], xmm0
vmovq xmm0, qword [eax + 0x10]
vmovq 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.1003dd00
push 1
push 0x100eec8c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.1002c650
vmovdqu xmm0, xmmword [eax]
vmovdqu xmmword [ebp - 0xa8], xmm0
vmovq xmm0, qword [eax + 0x10]
vmovq 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.1003dd00
mov byte [ebp - 4], 6
lea edx, [ebp - 0x30]
mov ecx, dword [0x10134720]
cmp dword [ebp - 0x1c], 0xf
cmova 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, 0xf
jbe 0x1003a32d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b7
push ecx
push edx
call fcn.100af192
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, 0xf
jbe 0x1003a37d
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a373
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b7
push ecx
push edx
call fcn.100af192
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1003a3b5
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a3ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b7
push ecx
push edx
call fcn.100af192
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, 0xf
jbe 0x1003a405
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a3fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b7
push ecx
push edx
call fcn.100af192
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1003a43d
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a433
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b7
push ecx
push edx
call fcn.100af192
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 0x1003a487
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a47d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b7
push ecx
push edx
call fcn.100af192
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 0x1003a4d7
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a4cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a6b7
push ecx
push edx
call fcn.100af192
add esp, 8
mov eax, dword [0x101346f8]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
test al, 0x10
jne 0x1003a56b
or eax, 0x10
mov dword [0x101346f8], eax
mov eax, dword [0x10130478]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a556
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a520
xor edx, edx
test ecx, ecx
je 0x1003a54c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a530
cmp esi, 0xf0d13f1c
je 0x1003a560
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a510
xor ecx, ecx
mov dword [0x101346e8], ecx
jmp 0x1003a571
mov ecx, dword [ebp - 0x14]
mov dword [0x101346e8], ecx
jmp 0x1003a571
mov ecx, dword [0x101346e8]
mov eax, dword [ecx]
vmovss xmm0, dword [0x1010e9c0]
push ecx
vmovss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101346f8]
test al, 0x20
jne 0x1003a5fb
or eax, 0x20
mov dword [0x101346f8], eax
mov eax, dword [0x10130478]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a5e6
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a5b0
xor edx, edx
test ecx, ecx
je 0x1003a5dc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a5c0
cmp esi, 0x3af2c705
je 0x1003a5f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a5a6
xor ecx, ecx
mov dword [0x101346f4], ecx
jmp 0x1003a601
mov ecx, dword [ebp - 0x14]
mov dword [0x101346f4], ecx
jmp 0x1003a601
mov ecx, dword [0x101346f4]
mov eax, dword [ecx]
vmovss xmm0, dword [0x1010ea7c]
push ecx
vmovss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x101346f8]
test al, 0x40
jne 0x1003a68b
or eax, 0x40
mov dword [0x101346f8], eax
mov eax, dword [0x10130478]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003a676
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1003a640
xor edx, edx
test ecx, ecx
je 0x1003a66c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1003a650
cmp esi, 0x28cc4bea
je 0x1003a680
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1003a636
xor ecx, ecx
mov dword [0x101346e4], ecx
jmp 0x1003a691
mov ecx, dword [ebp - 0x14]
mov dword [0x101346e4], ecx
jmp 0x1003a691
mov ecx, dword [0x101346e4]
mov eax, dword [ecx]
vmovss xmm0, dword [ebp - 0x18]
push ecx
vmovss 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.100b5fcd
ret