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

Disassembly:
push 0xffffffffffffffff
push 0x4bccd6
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 0x4df68c
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::TrimLeft
push 0x4df68c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e58d8
push ecx
call esi
add esp, 8
test eax, eax
je 0x49648d
mov dword [edi + 4], ebp
jmp 0x496494
mov dword [edi + 4], 1
mov eax, dword [edi + 0x18]
test ah, 0xf
jne 0x4964a3
mov dword [edi + 0x18], 0x100
mov eax, dword [edi + 0x18]
test al, 0xf
jne 0x4965b3
and eax, 0xf00
cmp eax, 0x100
jne 0x4965b3
push 0x4e5158
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebx, eax
cmp ebx, 0xffffffff
je 0x496533
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffe
cmp ebx, eax
je 0x496533
cmp dword [esp + 0x84], ebp
jne 0x49651b
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e5154
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 0x496533
jmp 0x49652b
push 0x5d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc ebx
cmp eax, ebx
jle 0x496533
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 0x49656d
movsx ecx, byte [eax]
push ecx
call dword [sym.imp.MSVCRT.dll__ismbcalpha]
add esp, 4
test eax, eax
je 0x49656d
mov eax, dword [ebx]
cmp byte [eax + 1], 0x3a
jne 0x49656d
mov al, byte [eax + 2]
cmp al, 0x5c
je 0x496566
cmp al, 0x2f
jne 0x49656d
mov eax, dword [edi + 0x18]
or al, 4
jmp 0x4965b0
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 2
jl 0x4965b3
cmp byte [eax], 0x2f
je 0x4965b3
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e16e0
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 0x4965b3
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 0x496604
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.00426e60
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.00416090
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 0x4965bc
lea esi, [edi + 0x14]
push 0x4e58d8
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 0x496902
cmp ecx, 0x200
jne 0x496e7e
mov eax, dword [esp + 0x84]
test eax, eax
je 0x49670e
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4df1dc
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 0x49668d
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
cmp esi, 0xffffffff
jne 0x4966b3
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 0x496ebe
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 0x4df1dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x4df1dc
push 0x4e2838
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x49674a
push 0x4df1dc
push 0x4e2838
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x496733
push 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x49668d
cmp eax, 1
jne 0x49668d
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 0x4df1dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x496898
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 0x49680c
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x496814
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 0x49683d
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 0x4df1dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4967dc
mov ecx, dword [esp + 0x10]
push 0x4e58d8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x496e7e
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 0x4968cb
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x4968d5
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 0x496e72
lea edx, [esp + 0x10]
push edx
jmp 0x496e6b
and eax, 0xf
dec eax
je 0x496b9a
sub eax, 7
jne 0x496933
push 0x2f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
test eax, eax
je 0x496933
push 0x2f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
test eax, eax
jne 0x496922
push 0x4df98c
push 0x4df1dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x4df98c
push 0x4e366c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x496974
push 0x4df98c
push 0x4e366c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x49695d
push 0x4df98c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x84]
test eax, eax
je 0x496a52
lea eax, [esp + 0x38]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4df98c
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 0x49668d
push 0x2f
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4969f7
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x84]
call sub.MFC42.DLL_CString::operator_1
mov dword [edi + 4], 1
jmp 0x496e9a
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 0x4df98c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x4df98c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x496b35
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 0x496aa9
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x496ab1
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 0x496ada
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 0x4df98c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x496a79
mov edx, dword [esp + 0x10]
push 0x4e58d8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x496e7e
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 0x496b68
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x496b72
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 0x496e72
jmp 0x496e66
push 0x4e515c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, ebx
jne 0x496bd0
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 0x496ebe
mov eax, dword [esp + 0x84]
test eax, eax
je 0x496c77
push 0x5d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jne 0x496c10
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 0x496ebe
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
dec ecx
cmp eax, ecx
je 0x496bee
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 0x4e5154
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 0x496cd0
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 0x496ebe
push 0x4e5154
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
test ebp, ebp
je 0x496d0c
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 0x4e16e0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x496e0e
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 0x496d82
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x496d8a
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 0x496db3
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 0x4e16e0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x496d52
mov edx, dword [esp + 0x10]
push 0x4e58d8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x496e7e
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 0x496e3d
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x496e47
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 0x496e72
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 0x496e9a
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