Function at 0x497270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd8c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4972be
mov esi, dword [esp + 0x30]
push 0x4e6998
mov ecx, esi
call fcn.004ac198
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push ebx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x18]
mov ebx, 1
mov eax, ecx
mov dword [esp + 0x30], ebx
and eax, 0xf00
cmp eax, 0x100
je 0x49735a
cmp eax, 0x200
jne 0x49749e
lea eax, [esi + 0x14]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x497310
push 0x4e01dc
lea ecx, [esp + 0x10]
call fcn.004ac20a
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x49749e
lea ecx, [edi + 8]
push 0x4e01dc
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x49731d
jmp 0x49749e
mov eax, ecx
and eax, 0xf
dec eax
je 0x497412
sub eax, 7
je 0x4973c8
test cl, 4
jne 0x49737e
push 0x4e098c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x49749e
lea eax, [edi + 8]
push 0x4e098c
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x49738b
jmp 0x49749e
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x49749e
lea edx, [edi + 8]
push 0x4e26e0
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x4973d5
jmp 0x49749e
lea ecx, [esi + 0x14]
push 0x4e618c
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x497482
lea eax, [edi + 8]
push 0x4e26e0
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x49744a
push 0x4e26e0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
push 0x4e6184
lea ecx, [esp + 0x10]
call fcn.004ac20a
mov esi, dword [esp + 0x38]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4