Function at 0x10035e10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e3b5
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
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
mov dword [ebp - 4], 0
cmp byte [0x101f3f2e], 0
jne 0x10035e5c
mov eax, dword [0x101f3f18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x174]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x178]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov eax, dword [0x101f3f18]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x9c]
xor esi, esi
nop word [eax + eax]
mov eax, dword [0x101f3f18]
push esi
push 0xb
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
inc esi
cmp esi, 6
jl 0x10035ea0
cmp dword [0x101f41d8], 0
jne 0x10035ee0
push 0x101f41d8
push 0
push 0x14
push 1
push 1
push dword [0x10094100]
push dword [0x101f3f18]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateCubeTexture]
mov edx, dword [0x101f4218]
movzx eax, dl
xor eax, 0x811c9dc5
mov edi, dword [0x101f4bc4]
imul ecx, eax, 0x1000193
movzx eax, dh
mov dword [ebp - 0x16c], 0
xor ecx, eax
movzx eax, byte [0x101f421a]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [0x101f421b]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x101f4bcc]
and eax, dword [0x101f4bd8]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, edi
je 0x1003609a
mov eax, dword [ecx + eax*8]
cmp edx, dword [esi + 8]
je 0x10035f60
nop dword [eax]
cmp esi, eax
je 0x1003609a
mov esi, dword [esi + 4]
cmp edx, dword [esi + 8]
jne 0x10035f50
test esi, esi
je 0x1003609a
cmp esi, edi
je 0x1003609a
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0xc]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, 8
jb 0x10036505
cmp dword [ecx + 0x14], 0x10
jb 0x10035f8e
mov ecx, dword [ecx]
push edx
push ecx
push 8
push str...data_
push ecx
push dword [ebp - 0x178]
lea ecx, [ebp - 0x68]
call fcn.10008d20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.1002e470
movss xmm1, dword [0x1008b9c0]
lea eax, [ebp - 0xa8]
movss xmm0, dword [esi + 0x2c]
divss xmm0, xmm1
movss xmm2, dword [0x1008b92c]
mulss xmm0, xmm2
movss dword [esp], xmm0
sub esp, 8
movss xmm0, dword [esi + 0x28]
divss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x24]
divss xmm0, xmm1
mulss xmm0, xmm2
movss dword [esp], xmm0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationYawPitchRoll]
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x16c]
push ecx
push 0
push 0
push 0
push 1
push 1
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push 0xffffffffffffffff
push eax
push dword [0x101f3f18]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateCubeTextureFromFileExA]
mov ecx, dword [ebp - 0x16c]
xor edx, edx
test eax, eax
mov byte [ebp - 4], dl
cmovs ecx, edx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x16c], ecx
cmp edx, 0x10
jb 0x10036128
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003608b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003608b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
jmp 0x10036128
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x6c], 0x3f800000
mov dword [ebp - 0x80], 0x3f800000
mov dword [ebp - 0x94], 0x3f800000
mov dword [ebp - 0xa8], 0x3f800000
mov eax, dword [0x101f41a8]
push str.BackgroundGenerate
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f41a8]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101f41a8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
sub esp, 0x10
mov dword [0x100fdbf4], 6
lea eax, [ebp - 0x128]
mov dword [esp + 0xc], 0x42c80000
mov dword [esp + 8], 0x3dcccccd
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3fc90fdb
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixPerspectiveFovLH]
lea eax, [ebp - 0x128]
push eax
push 0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixInverse]
mov eax, dword [0x101f41a8]
lea edx, [ebp - 0x128]
push edx
push str.g_mProjectionInverse
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f3f18]
push dword [0x101f4260]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x15c]
mov eax, dword [0x101f3f18]
push 0x20
push 0
push dword [0x101f4268]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x16c]
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x104]
mov ebx, dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationX]
xor esi, esi
mov edi, dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
nop word [eax + eax]
mov eax, dword [0x101f41d8]
lea edx, [ebp - 0x170]
push edx
push 0
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
jmp dword [esi*4 + 0x1003650c]
push ecx
mov dword [esp], 0x3fc90fdb
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationY]
push ecx
lea eax, [ebp - 0xe8]
mov dword [esp], 0x40490fdb
push eax
call ebx
jmp 0x1003632d
push ecx
mov dword [esp], 0xbfc90fdb
jmp 0x10036244
push ecx
lea eax, [ebp - 0x50]
mov dword [esp], 0x3fc90fdb
push eax
call ebx
jmp 0x1003633b
push ecx
lea eax, [ebp - 0x50]
mov dword [esp], 0xbfc90fdb
push eax
call ebx
jmp 0x1003633b
push ecx
lea eax, [ebp - 0x50]
mov dword [esp], 0x40490fdb
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationY]
jmp 0x10036318
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x14], 0x3f800000
mov dword [ebp - 0x28], 0x3f800000
mov dword [ebp - 0x3c], 0x3f800000
mov dword [ebp - 0x50], 0x3f800000
push ecx
lea eax, [ebp - 0xe8]
mov dword [esp], 0x40490fdb
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationZ]
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x50]
push eax
push eax
call edi
mov eax, dword [0x101f3f18]
push dword [ebp - 0x170]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x94]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x168]
push eax
call edi
mov eax, dword [0x101f41a8]
lea edx, [ebp - 0x168]
push edx
push str.g_mCorrectEnvMap
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f41a8]
push esi
push str.g_iCubeFace
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [0x101f3f18]
push 2
push 0
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x144]
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc esi
cmp esi, 6
jb 0x10036220
mov eax, dword [0x101f3f18]
push 0
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x174]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [0x100fdbf4], 7
je 0x10036455
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f41a8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov dword [0x100fdbf4], 7
mov eax, dword [0x101f41a8]
push 0x101f4668
push str.g_mProjectionInverse
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f41d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x10036488
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x178]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x9c]
cmp byte [0x101f3f2e], 0
jne 0x100364b3
mov eax, dword [0x101f3f18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100364e9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100364df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100364df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004d7a1
add esp, 8
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
call fcn.10002c90
nop
cmp al, 0x62
add edx, dword [eax]
bound eax, qword fs:[ebx]
adc byte [esi + 98], ch
add edx, dword [eax]
and dword [edx + 3], 0x3629410
adc byte [eax - 871365790], ch
int3