Function at 0x416c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call sub.framework.dll_public:_void___thiscall_Framework::constructor_void_
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov dword [ebp], 0x4564a0
xor ebx, ebx
mov edi, str.Jewel_Quest__Copyright__c__2004_iWin__Inc.
mov byte [edx], al
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], esp
push ecx
push str.Jewel_Quest__Copyright__c__2004_iWin__Inc.
mov ecx, edx
mov dword [esp + 0x40], ebx
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov ecx, ebp
call sub.framework.dll_public:_void___thiscall_Debug::DebugRaw_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, str.Jewel_Quest
xor eax, eax
mov dword [esp + 0x28], esp
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Jewel_Quest
mov ecx, edx
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov ecx, ebp
call sub.framework.dll_public:_void___thiscall_Debug::SetName_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
push str.images_jewel.gif
push str.Jewel_Quest
mov ecx, ebp
call sub.framework.dll_public_virtual:_void___thiscall_Framework::SetTitle_char_const___char_const__
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov dword [ebp + 0xec], ebx
mov dword [ebp + 0xf0], ebx
mov dword [ebp + 0xe8], ebx
mov byte [ebp + 0xf8], bl
mov byte [edx], al
mov edi, str.1.215
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], esp
push ecx
push str.1.215
mov ecx, edx
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov ecx, ebp
call sub.framework.dll_public_virtual:_void___thiscall_Debug::SetProductVersion_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
sub esp, 0x10
mov dword [esp + 0x28], esp
mov cl, byte [esp + 0x23]
mov esi, esp
push ebx
mov dword [esp + 0x28], esi
mov byte [esi], cl
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, str.Jewel_Quest
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x416d88
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, ecx
mov esi, str.Jewel_Quest
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
mov byte [eax + ecx], bl
mov ecx, ebp
call sub.framework.dll_public_virtual:_void___thiscall_Debug::SetProductName_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x28], esp
push ebx
mov dword [esp + 0x2c], esi
mov byte [esi], cl
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x46c1a4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x416df6
mov eax, dword [esp + 0x28]
mov ecx, edi
mov edx, ecx
mov esi, 0x46c1a4
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
mov byte [eax + ecx], bl
mov ecx, ebp
call sub.framework.dll_public_virtual:_void___thiscall_Debug::SetProductNameShort_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
mov ecx, dword [esp + 0x20]
pop edi
mov dword [ebp + 0x114], ebx
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret