Function at 0x1002d2b0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101f4c8c], 0
push esi
push edi
je 0x1002dc7f
mov eax, dword [0x101f4258]
push 0x303
movss xmm0, dword [eax + 0x28]
movss dword [ebp - 0x20c], xmm0
movss xmm0, dword [eax + 0x30]
movss dword [ebp - 0x208], xmm0
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x210], xmm0
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindFirst_enum_CObject::Class_]
add esp, 4
mov dword [ebp - 0x1e8], eax
test eax, eax
je 0x1002dc7f
nop dword [eax]
mov ecx, eax
call dword [sym.imp.Common.dll_public:_unsigned_int_const____thiscall_CSimple::get_id_void_const]
mov edi, eax
movzx ecx, byte [edi]
movzx eax, byte [edi + 3]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [edi + 1]
xor edx, ecx
movzx ecx, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [0x101f4c88]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [0x101f4c9c]
and ecx, eax
mov eax, dword [0x101f4c90]
mov esi, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x1e4], esi
cmp esi, edx
je 0x1002d3ae
mov ecx, dword [eax + ecx*8]
mov eax, dword [edi]
cmp eax, dword [esi + 8]
je 0x1002d3aa
cmp esi, ecx
je 0x1002d3ae
mov esi, dword [esi + 4]
mov dword [ebp - 0x1e4], esi
cmp eax, dword [esi + 8]
jne 0x1002d398
test esi, esi
jne 0x1002d3b6
mov esi, edx
mov dword [ebp - 0x1e4], esi
cmp esi, edx
je 0x1002dc6b
mov ecx, dword [ebp - 0x1e8]
call dword [sym.imp.Common.dll_public:_class_Vector_const____thiscall_EngineObject::get_position_void_const]
mov ecx, dword [ebp - 0x1e8]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1f4], xmm0
mov dword [ebp - 0x1ec], eax
call dword [sym.imp.Common.dll_public:_class_Matrix_const____thiscall_EngineObject::get_orientation_void_const]
sub esp, 0xc
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x230], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x1a0]
movaps xmmword [ebp - 0x240], xmm0
movss xmm0, dword [ebp - 0x1f0]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x1ec]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1f4]
movss dword [esp], xmm0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTranslation]
movaps xmm1, xmmword [ebp - 0x230]
lea eax, [ebp - 0x1a0]
movaps xmm2, xmmword [ebp - 0x240]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm1
mov edi, dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
shufps xmm0, xmm1, 0x55
movss dword [ebp - 0x50], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x140]
movss dword [ebp - 0x5c], xmm0
movaps xmm0, xmm2
push eax
shufps xmm0, xmm2, 0xff
lea eax, [ebp - 0x70]
movss dword [ebp - 0x4c], xmm0
movaps xmm0, xmm2
push eax
movss dword [ebp - 0x70], xmm1
lea eax, [ebp - 0xf0]
shufps xmm1, xmm1, 0xff
shufps xmm0, xmm2, 0x55
push eax
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x48], xmm2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x34], 0x3f800000
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x3f800000
call edi
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x10]
push eax
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXVec3TransformNormal]
movss xmm0, dword [ebp - 0x20c]
subss xmm0, dword [ebp - 0x1f4]
movss xmm1, dword [ebp - 0x208]
subss xmm1, dword [ebp - 0x1ec]
mulss xmm0, dword [ebp - 0x10]
mulss xmm1, dword [ebp - 0xc]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x210]
subss xmm0, dword [ebp - 0x1f0]
mulss xmm0, dword [ebp - 8]
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002d587
push ecx
lea eax, [ebp - 0xb0]
mov dword [esp], 0x40490fdb
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationY]
jmp 0x1002d61b
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x74], 0x3f800000
mov dword [ebp - 0x88], 0x3f800000
mov dword [ebp - 0x9c], 0x3f800000
mov dword [ebp - 0xb0], 0x3f800000
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xf0]
push eax
call edi
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x130]
push eax
call edi
push 0x101f4568
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x1e0]
push eax
call edi
push 0x101f45e8
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x130]
push eax
call edi
lea eax, [ebp - 0x130]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x24], 0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Transform]
movss xmm2, dword [0x1008b888]
divss xmm2, dword [ebp - 0x1f8]
mov eax, dword [0x101f3f18]
push 0
push 0
movss xmm0, dword [ebp - 0x204]
push dword [0x101f4250]
mulss xmm0, xmm2
push 0
push dword [0x101f425c]
movss dword [ebp - 0x204], xmm0
movss xmm0, dword [ebp - 0x1fc]
mulss xmm0, xmm2
push eax
movss dword [ebp - 0x1fc], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x1f8]
mulss xmm2, dword [ebp - 0x200]
movss dword [ebp - 0x1f8], xmm0
movss xmm0, dword [0x1008b888]
subss xmm0, xmm2
movss dword [ebp - 0x200], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [0x101f3f18]
push dword [0x101f425c]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov eax, dword [0x101f3f18]
push 1
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push 0xffffffffffffffff
push 4
push 0
push 0
push eax
call dword [ecx + 0xac]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [eax]
push 0x38
push eax
call dword [ecx + 0xe8]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x1c]
push edx
push 0x35
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x18]
push edx
push 0x37
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f3f18]
lea edx, [ebp - 0x14]
push edx
push 0x39
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101f3f18]
push 1
push 0x34
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 8
push 0x38
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 2
push 0x35
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 2
push 0x37
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 1
push 0x39
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101db720]
push dword [0x101f41a0]
push str.scene_depth
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101db720]
push dword [0x101f4248]
push str.backbuffer
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101db720]
push dword [0x101db728]
push str.distort
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101db720]
push dword [0x101db724]
push str.glow
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101db720]
push dword [0x101db72c]
mov ecx, dword [eax]
push str.clouds
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101db720]
push dword [0x101db734]
push str.dust
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [0x101db720]
push 0x101f45e8
push str.g_mProjection
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101db720]
push 0x101f4668
push str.g_mProjectionInverse
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [0x101f4240]
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push str.g_fScreenSize
addsd xmm0, qword [eax*8 + 0x1008bb80]
mov eax, dword [0x101f4244]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x220], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008bb80]
mov eax, dword [0x101db720]
push eax
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x21c], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [0x101db720]
lea edx, [ebp - 0x204]
push edx
push str.g_vCenter
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [0x101db720]
movss xmm0, dword [0x101f424c]
mov ecx, dword [eax]
push ecx
movss dword [esp], xmm0
push str.g_fFarClip
push eax
call dword [ecx + 0x78]
mov eax, dword [0x101db720]
lea edx, [ebp - 0x1e0]
push edx
push str.g_mWorldView
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
movss xmm2, dword [0x101f4254]
lea edx, [esi + 0x5c]
movss xmm1, dword [esi + 0x10]
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0xc]
addss xmm0, dword [edx]
movss dword [edx], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [edx + 4]
movss dword [edx + 4], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0x24]
addss xmm0, dword [esi + 0x64]
movss dword [esi + 0x64], xmm0
movss xmm1, dword [esi + 0x18]
lea edi, [esi + 0x6c]
mov eax, dword [ebp - 0x1e4]
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0x14]
push 8
push edx
push str.g_fDistortOffset
addss xmm0, dword [edi]
movss dword [edi], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
addss xmm0, dword [edi + 4]
movss dword [edi + 4], xmm0
movaps xmm0, xmm2
movss xmm1, dword [esi + 0x20]
add esi, 0x74
mulss xmm0, dword [eax + 0x1c]
mulss xmm1, xmm2
addss xmm0, dword [esi]
addss xmm1, dword [esi + 4]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
mov eax, dword [0x101db720]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [0x101db720]
mov edx, dword [ebp - 0x1e4]
push 8
add edx, 0x64
mov ecx, dword [eax]
push edx
push str.g_fGlowOffset
push eax
call dword [ecx + 0x50]
mov eax, dword [0x101db720]
push 8
push edi
push str.g_fCloudsOffset
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [0x101db720]
push 8
push esi
push str.g_fDustOffset
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x1e4]
mov ecx, dword [0x101db720]
push 0xc
lea eax, [esi + 0x28]
mov edx, dword [ecx]
push eax
push str.g_fCloudsColor
push ecx
call dword [edx + 0x50]
mov ecx, dword [0x101db720]
lea eax, [esi + 0x34]
push 0xc
push eax
push str.g_fDustColor
mov edx, dword [ecx]
push ecx
call dword [edx + 0x50]
mov ecx, dword [0x101db720]
lea eax, [esi + 0x40]
push 0xc
push eax
push str.g_fScale
mov edx, dword [ecx]
push ecx
call dword [edx + 0x50]
mov ecx, dword [0x101db720]
lea eax, [esi + 0x4c]
push eax
push str.g_fVertexDistortScale
push ecx
mov edx, dword [ecx]
call dword [edx + 0x88]
mov eax, dword [0x101db720]
push str.RenderBlackhole
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov eax, dword [0x101db720]
push 0
push 0x101f4264
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x101db720]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [0x101db718]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [0x101db720]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f3f18]
push 1
push 0x34
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 3
push 0x38
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 1
push 0x35
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 1
push 0x37
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 0
push 0x39
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [0x101f4384]
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov eax, dword [0x101db720]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [0x101db720]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101db71c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [0x101db730]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [0x101db720]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x20]
push 0x38
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x1c]
push 0x35
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x18]
push 0x37
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push dword [ebp - 0x14]
push 0x39
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 0
push 0x34
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x101f3f18]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [0x101db720]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindNext_void_]
mov dword [ebp - 0x1e8], eax
test eax, eax
jne 0x1002d330
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004d763
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret