Function at 0x4967a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bd876
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x80]
xor ebp, ebp
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], ebp
call sub.MFC42.DLL_CString::CString_1
push 0x4e068c
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::TrimLeft
push 0x4e068c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e6998
push ecx
call esi
add esp, 8
test eax, eax
je 0x49681d
mov dword [edi + 4], ebp
jmp 0x496824
mov dword [edi + 4], 1
mov eax, dword [edi + 0x18]
test ah, 0xf
jne 0x496833
mov dword [edi + 0x18], 0x100
mov eax, dword [edi + 0x18]
test al, 0xf
jne 0x496943
and eax, 0xf00
cmp eax, 0x100
jne 0x496943
push 0x4e6188
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4968c3
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffe
cmp ebx, eax
je 0x4968c3
cmp dword [esp + 0x84], ebp
jne 0x4968ab
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e6184
push eax
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4968c3
jmp 0x4968bb
push 0x5d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc ebx
cmp eax, ebx
jle 0x4968c3
mov eax, dword [edi + 0x18]
or al, 1
mov dword [edi + 0x18], eax
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx]
cmp dword [eax - 8], 3
jl 0x4968fd
movsx ecx, byte [eax]
push ecx
call dword [sym.imp.MSVCRT.dll__ismbcalpha]
add esp, 4
test eax, eax
je 0x4968fd
mov eax, dword [ebx]
cmp byte [eax + 1], 0x3a
jne 0x4968fd
mov al, byte [eax + 2]
cmp al, 0x5c
je 0x4968f6
cmp al, 0x2f
jne 0x4968fd
mov eax, dword [edi + 0x18]
or al, 4
jmp 0x496940
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 2
jl 0x496943
cmp byte [eax], 0x2f
je 0x496943
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e26e0
push eax
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x496943
mov eax, dword [edi + 0x18]
or al, 8
mov dword [edi + 0x18], eax
mov ebx, dword [edi + 0xc]
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x496994
mov eax, ebp
mov ebp, dword [ebp]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x64]
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.00449cd0
mov esi, dword [eax]
push 0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
mov dword [edx + 4], eax
call fcn.004275c0
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [edi + 0x10]
add esp, 4
dec ecx
cmp ebp, ebx
mov dword [edi + 0x10], ecx
jne 0x49694c
lea esi, [edi + 0x14]
push 0x4e6998
mov ecx, esi
or ebx, 0xffffffff
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi + 0x18]
mov ecx, eax
and ecx, 0xf00
cmp ecx, 0x100
je 0x496c92
cmp ecx, 0x200
jne 0x49720e
mov eax, dword [esp + 0x84]
test eax, eax
je 0x496a9e
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e01dc
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x496a1d
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
cmp esi, 0xffffffff
jne 0x496a43
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x49724e
lea edx, [esi + 1]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
push 0x4e01dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x4e01dc
push 0x4e386c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x496ada
push 0x4e01dc
push 0x4e386c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x496ac3
push 0x4e01d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x496a1d
cmp eax, 1
jne 0x496a1d
lea edx, [esp + 0x24]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [edi + 0x14]
mov byte [esp + 0x7c], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x28]
push 3
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
push 0x4e01dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x496c28
lea ecx, [esp + 0x30]
push ebp
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 0xc]
push 0xc
mov byte [esp + 0x7c], 0x14
mov ebx, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x496b9c
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x496ba4
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
test ecx, ecx
mov byte [esp + 0x78], 0x15
je 0x496bcd
mov edx, dword [esp + 0x2c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x30]
inc eax
mov byte [esp + 0x78], 1
mov dword [edi + 0x10], eax
call sub.MFC42.DLL_CString::CString
inc ebp
lea eax, [esp + 0x34]
push ebp
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x16
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
push 0x4e01dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x496b6c
mov ecx, dword [esp + 0x10]
push 0x4e6998
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49720e
mov esi, dword [edi + 0xc]
push 0xc
mov ebx, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x496c5b
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x496c65
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
test eax, eax
mov byte [esp + 0x78], 0x17
je 0x497202
lea edx, [esp + 0x10]
push edx
jmp 0x4971fb
and eax, 0xf
dec eax
je 0x496f2a
sub eax, 7
jne 0x496cc3
push 0x2f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
test eax, eax
je 0x496cc3
push 0x2f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
test eax, eax
jne 0x496cb2
push 0x4e098c
push 0x4e01dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x4e098c
push 0x4e469c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x496d04
push 0x4e098c
push 0x4e469c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x496ced
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x84]
test eax, eax
je 0x496de2
lea eax, [esp + 0x38]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e098c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x496a1d
push 0x2f
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x496d87
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x84]
call sub.MFC42.DLL_CString::operator_1
mov dword [edi + 4], 1
jmp 0x49722a
lea edx, [ebx + 1]
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
push ebx
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x496ec5
lea edx, [esp + 0x44]
push ebp
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 0xc]
push 0xc
mov byte [esp + 0x7c], 0xc
mov ebx, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x496e39
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x496e41
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ecx
test ecx, ecx
mov byte [esp + 0x78], 0xd
je 0x496e6a
mov eax, dword [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x44]
inc eax
mov byte [esp + 0x78], 1
mov dword [edi + 0x10], eax
call sub.MFC42.DLL_CString::CString
inc ebp
lea ecx, [esp + 0x48]
push ebp
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x496e09
mov edx, dword [esp + 0x10]
push 0x4e6998
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49720e
mov esi, dword [edi + 0xc]
push 0xc
mov ebx, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x496ef8
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x496f02
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
test eax, eax
mov byte [esp + 0x78], 0xf
je 0x497202
jmp 0x4971f6
push 0x4e618c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, ebx
jne 0x496f60
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x49724e
mov eax, dword [esp + 0x84]
test eax, eax
je 0x497007
push 0x5d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jne 0x496fa0
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x49724e
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
dec ecx
cmp eax, ecx
je 0x496f7e
lea ebx, [eax + 1]
lea eax, [esp + 0x4c]
push ebx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
push ebx
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x54]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e6184
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x54]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x497060
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x49724e
push 0x4e6184
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
test ebp, ebp
je 0x49709c
lea eax, [esp + 0x58]
push ebp
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, esi
mov byte [esp + 0x7c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
inc ebp
lea ecx, [esp + 0x5c]
push ebp
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
push 0x4e26e0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x49719e
lea edx, [esp + 0x60]
push ebp
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 0xc]
push 0xc
mov byte [esp + 0x7c], 6
mov ebx, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x497112
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x49711a
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ecx
test ecx, ecx
mov byte [esp + 0x78], 7
je 0x497143
mov eax, dword [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x60]
inc eax
mov byte [esp + 0x78], 1
mov dword [edi + 0x10], eax
call sub.MFC42.DLL_CString::CString
inc ebp
lea ecx, [esp + 0x64]
push ebp
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CString::CString
push 0x4e26e0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4970e2
mov edx, dword [esp + 0x10]
push 0x4e6998
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49720e
mov esi, dword [edi + 0xc]
push 0xc
mov ebx, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x4971cd
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x4971d7
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
test eax, eax
mov byte [esp + 0x78], 9
je 0x497202
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x10]
mov byte [esp + 0x78], 1
inc eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x84]
test eax, eax
je 0x49722a
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8