Function at 0x4998a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59237a
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 0x499a89
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 0x499a59
mov ecx, ebp
call fcn.00465d60
lea esi, [ebp + 0x258]
mov byte [esp + 0x20], 3
mov ecx, esi
mov dword [ebp + method.boost::detail::sp_counted_base.virtual_4], 0x5b9658
mov dword [esp + 0x14], esi
call fcn.004631b0
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.0040141a
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.00401f5f
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.00401d48
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x10c]
mov dword [esi], 0x59efdc
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], 0x5b9658
call fcn.0049a180
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x20], 0xd
call fcn.0049a510
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x20], 0xe
call fcn.0049a710
mov dword [esi], 0x5b9620
mov dword [esi + 0x190], 0x5b9610
mov dword [ebp], 0x5b95d4
mov dword [ebp + 0x254], 0x5b95c4
jmp 0x499a5b
xor ebp, ebp
test ebp, ebp
mov byte [esp + 0x20], 1
je 0x499a6c
lea edi, [ebp + 0x254]
jmp 0x499a6e
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_2
mov edx, dword [ebp]
mov ecx, ebp
jmp 0x499bcc
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 0x499ba2
mov ecx, esi
call fcn.004631b0
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.0040141a
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.00401f5f
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.00401d48
mov ecx, 0x10
xor eax, eax
lea edi, [esi + 0x10c]
mov dword [esi], 0x59efdc
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], 0x5b9658
call fcn.0049a180
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x20], 0x19
call fcn.0049a510
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x20], 0x1a
call fcn.0049a710
mov dword [esi], 0x5b9620
mov dword [esi + 0x190], 0x5b9610
jmp 0x499ba4
xor esi, esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x499bb5
lea edi, [esi + 0x190]
jmp 0x499bb7
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_2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test eax, eax
jne 0x499c0d
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