Function at 0x40b646
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6673c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.FurBkgImg
mov ebx, ecx
call dword [sym.imp.core3d.dll_public:_static_class_oZone3D_nsp::oZone3D____cdecl_oZone3D_nsp::oZone3D::getInstance_void_]
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3BkgImage____thiscall_oZone3D_nsp::oZone3D::createBkgImage_char__]
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x1a08], eax
push eax
mov edx, dword [ecx]
call dword [edx + 0x88]
movd xmm0, dword [ebx + 0x24]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
mov ecx, dword [ebx + 0x1a08]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebx + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3Quad::setSize_float__float_]
mov ecx, dword [ebx + 0x1a08]
push 1
push 5
mov eax, dword [ecx]
call dword [eax + 0x10]
push str.bkg_img_mat
call dword [sym.imp.core3d.dll_public:_static_class_oZone3D_nsp::o3MaterialMgr____cdecl_oZone3D_nsp::o3MaterialMgr::getInstance_void_]
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3Material____thiscall_oZone3D_nsp::o3MaterialMgr::createMaterial_char__]
mov ecx, dword [ebx + 0x1a08]
mov edi, eax
mov esi, dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3Shader____thiscall_oZone3D_nsp::o3Object::getShader_void_]
mov dword [ebp - 0x808], edi
call esi
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3Shader::clearMaterialList_void_]
mov ecx, dword [ebx + 0x1a08]
push edi
call esi
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_int___thiscall_oZone3D_nsp::o3Shader::addMaterial_class_oZone3D_nsp::o3Material__]
mov ecx, dword [ebx + 0x1a08]
xor edi, edi
push edi
sub esp, 0x10
mov eax, dword [ecx]
mov dword [esp + 0xc], 0x3f333333
mov dword [esp + 8], 0x3f333333
mov dword [esp + 4], 0x3f333333
mov dword [esp], 0x3f333333
call dword [eax + 0xc4]
mov esi, dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3Quad::setVertexTexCoordTiling_int__float__float__int_]
push edi
push ecx
push ecx
mov ecx, dword [ebx + 0x1a08]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f99999a
push edi
call esi
push edi
push ecx
push ecx
mov ecx, dword [ebx + 0x1a08]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 1
call esi
push edi
push ecx
push ecx
mov ecx, dword [ebx + 0x1a08]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 2
call esi
push edi
push ecx
push ecx
mov ecx, dword [ebx + 0x1a08]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 3
call esi
cmp byte [0x64ab98], 0
je 0x40b83b
push 0x40b7
push 0x582408
push str.fur_bkg_texture
call dword [sym.imp.core3d.dll_public:_static_class_oZone3D_nsp::o3TextureMgr____cdecl_oZone3D_nsp::o3TextureMgr::getInstance_void_]
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3Texture____thiscall_oZone3D_nsp::o3TextureMgr::createTexture2D_char___void___int_]
mov edi, eax
mov ebx, dword [ebp - 0x808]
test edi, edi
je 0x40b82a
push 2
mov ecx, edi
call dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3Texture::changePixelFormat_enum_O3_PIXEL_FORMAT_]
mov ecx, edi
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3TextureData____thiscall_oZone3D_nsp::o3Texture::getTexData_void_]
mov esi, eax
push 0
push 8
mov ecx, esi
call dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3TextureData::setState_enum_O3_TEX_DATA_STATE__enum_O3_BOOLEAN_]
push ecx
mov ecx, esi
mov dword [esp], 0x41800000
call dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3TextureData::setAnisotropy_float_]
push 1
push 8
mov ecx, ebx
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3RendererCtx____thiscall_oZone3D_nsp::o3Material::getRendererCtx_void_]
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3RendererCtx::setRenderingState_enum_O3_RENDERER_STATE__enum_O3_BOOLEAN_]
push 0xffffffffffffffff
push edi
mov ecx, ebx
call dword [sym.imp.core3d.dll_public:_int___thiscall_oZone3D_nsp::o3Material::addTexture_class_oZone3D_nsp::o3Texture___int_]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004510dc
leave
ret
cmp byte [0x64ab99], 0
je 0x40b858
push 0x2864d
push 0x5864c0
push 0x47a814
jmp 0x40b7c1
cmp byte [0x6b3f68], 0
mov esi, dword [sym.imp.core3d.dll_public:_static_class_oZone3D_nsp::o3TextureMgr____cdecl_oZone3D_nsp::o3TextureMgr::getInstance_void_]
je 0x40b95c
cmp byte [0x6b3f28], 0
je 0x40b8ea
cmp dword [0x6b3f84], edi
je 0x40b885
cmp dword [0x6b3f2c], 2
jne 0x40b8ea
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00452360
push 0x6a9f00
lea eax, [ebp - 0x404]
push 0x47a824
push eax
call fcn.0040674a
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push str.bg_texture:__s
push 4
call dword [sym.imp.core3d.dll_public:_static_class_oZone3D_nsp::o3TraceMgr____cdecl_oZone3D_nsp::o3TraceMgr::getInstance_void_]
push eax
call dword [sym.imp.core3d.dll_public:_void___cdecl_oZone3D_nsp::o3TraceMgr::logTrace_enum_O3_TRACE_LEVEL__char__]
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
call esi
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3Texture____thiscall_oZone3D_nsp::o3TextureMgr::createTexture2D_char__]
mov edi, eax
test edi, edi
jne 0x40b9d4
mov eax, dword [0x64abd0]
cmp eax, 0x2bf5
jne 0x40b90a
push 0x1d000
push 0x5aeb10
push 0x47a844
jmp 0x40b9c8
cmp eax, 0x2c39
jne 0x40b925
push 0x20000
push 0x5cbb10
push 0x47a854
jmp 0x40b9c8
cmp eax, 0x376d
jne 0x40b940
push 0x27000
push 0x5ebb10
push 0x47a864
jmp 0x40b9c8
cmp eax, 0x2fb4
jne 0x40b9d4
push 0x2c000
push 0x612b10
push 0x47a874
jmp 0x40b9c8
cmp byte [0x6b3f28], 0
je 0x40b9b9
cmp dword [0x6b3f84], edi
je 0x40b976
cmp dword [0x6b3f2c], 2
jne 0x40b9b9
push 0x400
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00452360
push 0x6a9f00
lea eax, [ebp - 0x804]
push str._sassets_bg.jpg
push eax
call fcn.0040674a
add esp, 0x18
lea eax, [ebp - 0x804]
push eax
call esi
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3Texture____thiscall_oZone3D_nsp::o3TextureMgr::createTexture2D_char__]
mov edi, eax
test edi, edi
jne 0x40b9d4
push 0x2864d
push 0x5864c0
push str.BackgroundTex
call esi
mov ecx, eax
call dword [sym.imp.core3d.dll_public:_class_oZone3D_nsp::o3Texture____thiscall_oZone3D_nsp::o3TextureMgr::createTexture2D_char___void___int_]
mov edi, eax
cmp byte [0x6b3f68], 0
je 0x40b7d1
mov ecx, ebx
call fcn.0040ba0c
mov dword [ebx + 0x1a0c], eax
test eax, eax
je 0x40b7d1
mov ebx, dword [ebp - 0x808]
mov ecx, ebx
push 0
push eax
call dword [sym.imp.core3d.dll_public:_void___thiscall_oZone3D_nsp::o3Material::setGpuShader_class_oZone3D_nsp::o3GpuShader___enum_O3_GPU_SHADER_TYPE_]
jmp 0x40b7d7