joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10072bb0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100de7c9
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
push str.Enviroment
call dword [eax + 0x2c]
mov ebx, dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push eax
call ebx
add esp, 8
test al, al
jne 0x10072d19
mov ecx, dword [esi]
mov edx, dword [ecx]
push str.Light
call dword [edx + 0x2c]
push eax
call ebx
add esp, 8
test al, al
jne 0x10072d19
mov ecx, dword [esi]
mov eax, dword [ecx]
push str.TerrainLiquid
call dword [eax + 0x28]
push eax
call ebx
add esp, 8
test al, al
jne 0x10072d19
push str.position
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esi]
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x4c], 0
call dword [edx + 0x18]
mov bl, 2
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x10072d19
mov al, byte [edi + 0xd]
test al, al
je 0x10072c97
mov edx, dword [ecx]
mov bl, byte [edi + 0xc]
push 1
mov dword [esp + 0x48], 0xffffffff
call dword [edx]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov al, byte [edi + 0xc]
test al, al
jne 0x10072cf1
push esi
lea ecx, [esp + 0x10]
call fcn.10060c70
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x4c], 3
call fcn.10071c40
add esp, 8
lea edx, [esp + 0xc]
push edx
lea ecx, [edi + 0x10]
call fcn.10072ab0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xc]
mov dword [eax + 4], edx
mov byte [esp + 0x44], bl
call fcn.10060bb0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov dword [esp + 0x44], 0xffffffff
je 0x10072d03
mov edx, dword [ecx]
push 1
call dword [edx]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x10072d60
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x100de7f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
xor ebx, ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x100f2b20
mov dword [esi + 4], eax
mov dword [esi + 8], 0x40
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
mov byte [esi + 0xe], bl
mov byte [esi + 0xf], bl
call fcn.10057ac0
mov dword [edi + 4], eax
mov cl, 1
mov byte [eax + 0x21], cl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push str.Fairy_Hack
mov byte [esp + 0x1c], cl
call dword [sym.imp.MSVCR71.dll_getenv]
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10072e1c
mov ebx, dword [sym.imp.MSVCR71.dll_strstr]
push str.DisableCreateObjects
push edi
call ebx
test eax, eax
setne cl
push str.ImmediatelyCreateObjects
push edi
mov byte [esi + 0xc], cl
call ebx
test eax, eax
setne dl
push str.EnableStaticGeometry
push edi
mov byte [esi + 0xd], dl
call ebx
add esp, 0x18
test eax, eax
setne al
mov byte [esi + 0xe], al
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x1c]
push esi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Root::addFrameListener_class_Ogre::FrameListener__]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x10094360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e1b43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x38]
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp dword [esi], 0
mov dword [esp + 0x30], 1
je 0x100943ce
nop
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100943b7
push 0x100f5230
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x100943a0
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x10094ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e1c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
mov esi, ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.100b2ee0
lea edi, [esi + 0xec]
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esi], 0x100f6e60
mov dword [esi + 4], 0x100f6e50
call fcn.10029c80
mov ecx, dword [esp + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], 0
mov byte [esi + 0xf8], 1
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x10097a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e200a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x50]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edi, dword [esp + 0x5c]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x58], 1
call fcn.1000af40
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [esp + 0xc]
test al, al
jne 0x10097ae5
mov ecx, dword [esp + 8]
push edi
add ecx, 0x28
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
Function at 0x10099770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e23b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor edx, edx
push edi
mov dword [esp + 8], esi
mov dword [esi + 4], edx
mov dword [esi], 0x100f7708
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov eax, dword [sym.imp.OgreMain.dll_class_Ogre::Vector3_const_Ogre::Vector3::ZERO]
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x14], ecx
mov eax, dword [eax + 8]
mov dword [esi + 0x18], eax
mov eax, 0x3f800000
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov ecx, dword [sym.imp.OgreMain.dll_class_Ogre::Vector3_const_Ogre::Vector3::ZERO]
mov edi, dword [ecx]
mov dword [esi + 0x28], edi
mov edi, dword [ecx + 4]
mov dword [esi + 0x2c], edi
mov ecx, dword [ecx + 8]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
push str.LinearDecrease
lea ecx, [esi + 0x48]
mov dword [esp + 0x18], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.10098d00
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1009fbb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100e2bd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x100a0d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e2d62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x100f81b4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
call fcn.10029c80
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.10029c80
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x28]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.10029c80
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x34]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.10029c80
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov eax, 0xbf000000
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov eax, 0x3f000000
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x24]
mov byte [esi + 0x58], 1
mov byte [esi + 0x5c], bl
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov ecx, dword [ebp + 0x198]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
mov dword [esi + 4], ecx
push eax
mov ecx, esi
mov byte [esp + 0x24], 5
call fcn.100a0bc0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x100a5640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100e35b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x100f8540
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [sym.imp.OgreMain.dll_class_Ogre::Quaternion_const_Ogre::Quaternion::IDENTITY]
mov ecx, dword [eax]
mov dword [esi + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x28], edx
push 0x100e94aa
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 1
mov dword [esi + 0x50], 0x3f800000
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::MaterialPtr::constructor_void_]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x6c], bl
mov byte [esi + 0x6d], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x100a5f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100e3679
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ebx
push esi
push 1
push eax
mov eax, dword [esp + 0x24]
mov esi, ecx
mov ecx, dword [esp + 0x30]
push ecx
xor ebx, ebx
push ebx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x20], esi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::BillboardChain::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__bool__bool__bool_]
mov eax, 0x3f800000
push ebx
mov ecx, esi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x100f8620
mov dword [esi + 4], 0x100f8610
mov dword [esi + 0xb8], 0x100f85c8
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov byte [esi + 0x160], 1
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
mov byte [esi + 0x170], bl
mov dword [esi + 0x174], eax
mov dword [esi + 0x178], eax
mov byte [esi + 0x17c], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::BillboardChain::setTextureCoordDirection_enum_Ogre::BillboardChain::TexCoordDirection_]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x100a7510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e3786
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x30
mov ebx, ecx
call fcn.100d56bc
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x40], esi
je 0x100a7550
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::VertexData::constructor_void_]
jmp 0x100a7552
xor eax, eax
mov ebp, dword [esp + 0x48]
push 0
mov dword [ebx + 0x170], eax
mov edi, dword [eax + 4]
push 1
push 2
mov dword [eax + 8], esi
mov esi, dword [eax]
push 0
mov dword [eax + 0xc], ebp
mov eax, dword [esi]
push 0
mov ecx, esi
mov dword [esp + 0x54], 0xffffffff
call dword [eax + 4]
mov edx, dword [esi]
push 0
push 4
push 2
push 0
push 1
mov ecx, esi
call dword [edx + 4]
mov esi, dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::HardwareBufferManager____cdecl_Ogre::HardwareBufferManager::getSingleton_void_]
call esi
mov edx, dword [eax]
push 0
push 6
push ebp
push 0xc
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov edx, dword [edi]
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, edi
mov dword [esp + 0x48], 1
call dword [edx + 4]
call esi
mov edx, dword [eax]
push 0
push 6
push ebp
push 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
push 1
mov ecx, edi
mov byte [esp + 0x48], 2
call dword [edx + 4]
call esi
mov ecx, dword [esp + 0x4c]
mov edx, dword [eax]
push 1
push 1
lea ecx, [ecx + ecx*2]
push ecx
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call dword [edx + 0x20]
push eax
lea ecx, [ebx + 0x174]
mov byte [esp + 0x44], 3
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::HardwareIndexBufferSharedPtr____thiscall_Ogre::HardwareIndexBufferSharedPtr::operator_class_Ogre::HardwareIndexBufferSharedPtr_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 2
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareIndexBufferSharedPtr::destructor_void_]
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareVertexBufferSharedPtr::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareVertexBufferSharedPtr::destructor_void_]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x100abc10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100e3a61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
lea eax, [esi + 0x64]
mov dword [esp + 4], eax
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov al, byte [esp + 0x34]
test al, al
je 0x100abd4a
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::MaterialManager____cdecl_Ogre::MaterialManager::getSingleton_void_]
mov edx, dword [eax]
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x44]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::MaterialPtr::constructor_class_Ogre::SharedPtr_class_Ogre::Resource__const__]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x28], 2
mov dword [esp + 8], 0x100ec508
je 0x100abcac
dec dword [eax]
mov edx, dword [esp + 0x10]
cmp dword [edx], 0
jne 0x100abcac
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100abd38
push 0
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Technique____thiscall_Ogre::Material::getTechnique_unsigned_short_int_]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x78]
test eax, eax
je 0x100abd2c
mov esi, dword [esi + 0x7c]
sub esi, eax
mov eax, 0x66666667
imul esi
push edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x100abd2b
xor esi, esi
test edi, edi
jbe 0x100abd2b
push ebx
mov ebx, dword [sym.imp.OgreMain.dll_public:_class_Ogre::Pass____thiscall_Ogre::Technique::getPass_unsigned_short_int_]
push ebp
mov ebp, dword [sym.imp.OgreMain.dll_public:_class_Ogre::TextureUnitState____thiscall_Ogre::Pass::getTextureUnitState_unsigned_short_int_]
mov ecx, dword [esp + 0x40]
push esi
call ebx
push 1
mov ecx, eax
call ebp
mov ecx, dword [esp + 0x10]
mov edx, dword [sym.imp.OgreMain.dll_class_Ogre::ColourValue_const_Ogre::ColourValue::White]
push 0x3f800000
push ecx
push edx
push 4
push 0
push 2
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::TextureUnitState::setColourOperationEx_enum_Ogre::LayerBlendOperationEx__enum_Ogre::LayerBlendSource__enum_Ogre::LayerBlendSource__class_Ogre::ColourValue_const___class_Ogre::ColourValue_const___float_]
inc esi
cmp esi, edi
jb 0x100abcf8
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x18]
push 1
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Material::compile_bool_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::MaterialPtr::destructor_void_]
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x100ad6e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100e3cca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x40]
lea edi, [esi + 4]
mov ebx, 1
push eax
mov ecx, edi
mov dword [esp + 0x3c], ebx
mov dword [esi], 0x100f8c3c
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ebp, [esi + 0x20]
mov ecx, ebp
mov byte [esp + 0x38], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x4c]
mov dword [esi + 0x3c], ecx
push eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x3c], 3
mov dword [esi + 0x40], edx
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::MeshPtr::constructor_class_Ogre::MeshPtr_const__]
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x50], ecx
xor eax, eax
mov dword [esi + 0x54], eax
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], al
mov byte [esi + 0x5a], bl
mov dword [esi + 0x5c], 5
mov dword [esi + 0x60], eax
mov ecx, dword [sym.imp.OgreMain.dll_class_Ogre::ColourValue_const_Ogre::ColourValue::White]
mov ebx, dword [ecx]
lea edx, [esi + 0x64]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
push edi
lea edx, [esp + 0x18]
push str.SkySphere_
mov ebx, 5
push edx
mov byte [esp + 0x44], bl
call fcn.10001480
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x3c], 6
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x98]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push esi
call dword [edx + 0xc4]
mov ecx, esi
call fcn.100abd60
lea ecx, [esp + 0x4c]
mov byte [esi + 0x59], al
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::MeshPtr::destructor_void_]
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x1c