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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e48d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x100940d4], 0
je 0x10036da6
mov eax, dword [0x101f3f18]
push 0
push 0x101f4210
push 0
mov ecx, dword [eax]
push 0x70
push 1
push 1
push dword [0x101f4244]
push dword [0x101f4240]
push eax
call dword [ecx + 0x5c]
sub esp, 0x18
mov ecx, esp
push 0xd
push str.texDistortion
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10004a90
mov ecx, dword [0x101f4210]
call fcn.10046500
mov eax, dword [0x101f4210]
add esp, 0x18
mov ecx, dword [eax]
push 0x101f41ec
push 0
push eax
call dword [ecx + 0x48]
sub esp, 0x18
mov ecx, esp
push 0xe
push str.surfDistortion
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10004a90
mov ecx, dword [0x101f41ec]
call fcn.10046500
add esp, 0x18
cmp dword [0x100940d4], 0
je 0x10036da6
sub esp, 0x18
mov ecx, esp
push 0xe
push str.distortion.fxo
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10004a90
mov edx, 0x101f41fc
mov ecx, 0x100465f0
call fcn.10046640
add esp, 0x18
sub esp, 0x18
mov ecx, esp
push 0xb
push str.godrays.fxo
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10004a90
mov edx, 0x101f4204
mov ecx, 0x100465f0
call fcn.10046640
mov eax, dword [0x101f3f18]
add esp, 0x18
mov ecx, dword [eax]
push 0
push 0x101f41f4
push 0
push 0
push 8
push 0x50
push eax
call dword [ecx + 0x68]
sub esp, 0x18
mov ecx, esp
push 0xb
push str.pBeamBuffer
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10004a90
mov ecx, dword [0x101f41f4]
call fcn.10046500
mov eax, dword [0x101f41f4]
lea edx, [ebp - 0x44]
add esp, 0x18
mov ecx, dword [eax]
push 0
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x10036f1b
mov eax, dword [ebp - 0x44]
mov dword [eax], 0xbf000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], 0x3f000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x14], 0x3f000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x18], 0x3f000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x20], 0x3f800000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x28], 0xbf000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x2c], 0xbf000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x38], 0x3f800000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x3c], 0x3f000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x40], 0xbf000000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x48], 0x3f800000
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x4c], 0x3f800000
mov eax, dword [0x101f41f4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x10036f1d
int 2
mov eax, dword [0x101f3f18]
push 0x101f41f8
push 0x100874a8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x158]
sub esp, 0x18
mov ecx, esp
push 0xd
push str.pVertDeclBeam
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10004a90
mov ecx, dword [0x101f41f8]
call fcn.10046500
push 0x24
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.1004d771
add esp, 0x1c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push eax
push 0x10
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x70], 0x3f800000
call fcn.10007d90
mov dword [ebp - 4], 2
mov eax, dword [0x101f4ae4]
mov esi, dword [eax]
cmp esi, eax
je 0x100371a5
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x28]
add eax, 0xc
push eax
call fcn.10007ae0
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x18]
cmovae ebx, dword [ebp - 0x28]
xor ecx, ecx
test edi, edi
je 0x10037021
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10037010
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x70]
call fcn.10012800
mov eax, dword [eax + 4]
test eax, eax
je 0x1003704c
cmp eax, dword [ebp - 0x6c]
je 0x1003704c
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 0x20]
mov dword [ecx + 0x24], eax
jmp 0x10037163
mov eax, 0x7fffffff
sub eax, edi
cmp eax, 0x17
jb 0x10037227
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
push 0x17
push str..._data_textures_beams_
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.10008d20
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push eax
push dword [0x101f3f18]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileExA]
mov edx, dword [ebp - 0x2c]
test eax, eax
setns bl
cmp edx, 0x10
jb 0x100370e7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100370dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100371ca
push edx
push ecx
call fcn.1004d7a1
add esp, 8
test bl, bl
je 0x10037159
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.100398b0
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 0x24], eax
cmp dword [0x101f4524], 0x15555555
mov edi, dword [0x101f4520]
je 0x1003721d
mov dword [ebp - 0x4c], 0x101f4520
mov byte [ebp - 4], 4
push 0xc
mov dword [ebp - 0x48], 0
call fcn.1004d771
mov ecx, dword [ebp - 0x50]
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [eax + 8], ecx
inc dword [0x101f4524]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
jmp 0x10037163
mov eax, dword [esi + 0xc]
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10037197
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003718d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100371ca
push edx
push ecx
call fcn.1004d7a1
add esp, 8
mov esi, dword [esi]
cmp esi, dword [0x101f4ae4]
jne 0x10036fe2
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x100371d0
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100371d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1004d7a1
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.1001fab0
push 0x24
push dword [ebp - 0x6c]
call fcn.1004d7a1
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d763
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.1007a7df
call fcn.10002c90
int3