Function at 0x491320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5adeea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [esp + 0x28]
push 0x2e
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
mov esi, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea ecx, [esp + 0xc]
push esi
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp + 0xc]
push str..QML
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x491509
push 0x430
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov byte [esp + 0x20], 2
je 0x4914d9
mov ecx, ebp
call fcn.00466f30
lea esi, [ebp + 0x258]
mov byte [esp + 0x20], 3
mov ecx, esi
mov dword [ebp + method.boost::detail::sp_counted_base.virtual_4], 0x5d3ce4
mov dword [esp + 0x14], esi
call fcn.00464230
lea ecx, [esi + 0xc4]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc8]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xcc]
mov byte [esp + 0x20], 6
call fcn.00401582
lea ecx, [esi + 0xe4]
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0xf8]
mov byte [esp + 0x20], 8
call fcn.004022b6
lea ecx, [esi + 0x14c]
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x160]
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x174]
mov byte [esp + 0x20], 0xb
call fcn.00401fcd
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x10c]
mov dword [esi], 0x5bed4c
mov dword [esi + 0xc0], 0
mov dword [esi + 0x14], 1
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x194]
mov byte [esp + 0x20], 0xc
mov dword [esi + method.boost::detail::sp_counted_base.virtual_4], 0x5d3ce4
call fcn.00491c00
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x20], 0xd
call fcn.00491f90
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x20], 0xe
call fcn.00492190
mov dword [esi], 0x5d3cac
mov dword [esi + 0x190], 0x5d3c9c
mov dword [ebp], 0x5d3c60
mov dword [ebp + 0x254], 0x5d3c50
jmp 0x4914db
xor ebp, ebp
test ebp, ebp
mov byte [esp + 0x20], 1
je 0x4914ec
lea edi, [ebp + 0x254]
jmp 0x4914ee
xor edi, edi
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [ebp]
mov ecx, ebp
jmp 0x49164c
push 0x1d8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20], 0xf
je 0x491622
mov ecx, esi
call fcn.00464230
lea ecx, [esi + 0xc4]
mov byte [esp + 0x20], 0x10
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc8]
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xcc]
mov byte [esp + 0x20], 0x12
call fcn.00401582
lea ecx, [esi + 0xe4]
mov byte [esp + 0x20], 0x13
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0xf8]
mov byte [esp + 0x20], 0x14
call fcn.004022b6
lea ecx, [esi + 0x14c]
mov byte [esp + 0x20], 0x15
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x160]
mov byte [esp + 0x20], 0x16
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x174]
mov byte [esp + 0x20], 0x17
call fcn.00401fcd
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x10c]
mov dword [esi], 0x5bed4c
mov dword [esi + 0xc0], 0
mov dword [esi + 0x14], 1
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x194]
mov byte [esp + 0x20], 0x18
mov dword [esi + method.boost::detail::sp_counted_base.virtual_4], 0x5d3ce4
call fcn.00491c00
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x20], 0x19
call fcn.00491f90
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x20], 0x1a
call fcn.00492190
mov dword [esi], 0x5d3cac
mov dword [esi + 0x190], 0x5d3c9c
jmp 0x491624
xor esi, esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x491635
lea edi, [esi + 0x190]
jmp 0x491637
xor edi, edi
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
jne 0x49168d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret