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

Disassembly:
push 0xffffffffffffffff
push 0x4bd8b6
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 0x4df684
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::TrimLeft
push 0x4df684
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e59d8
push ecx
call esi
add esp, 8
test eax, eax
je 0x496d8d
mov dword [edi + 4], ebp
jmp 0x496d94
mov dword [edi + 4], 1
mov eax, dword [edi + 0x18]
test ah, 0xf
jne 0x496da3
mov dword [edi + 0x18], 0x100
mov eax, dword [edi + 0x18]
test al, 0xf
jne 0x496eb3
and eax, 0xf00
cmp eax, 0x100
jne 0x496eb3
push 0x4e51c8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebx, eax
cmp ebx, 0xffffffff
je 0x496e33
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffe
cmp ebx, eax
je 0x496e33
cmp dword [esp + 0x84], ebp
jne 0x496e1b
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e51c4
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 0x496e33
jmp 0x496e2b
push 0x5d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc ebx
cmp eax, ebx
jle 0x496e33
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 0x496e6d
movsx ecx, byte [eax]
push ecx
call dword [sym.imp.MSVCRT.dll__ismbcalpha]
add esp, 4
test eax, eax
je 0x496e6d
mov eax, dword [ebx]
cmp byte [eax + 1], 0x3a
jne 0x496e6d
mov al, byte [eax + 2]
cmp al, 0x5c
je 0x496e66
cmp al, 0x2f
jne 0x496e6d
mov eax, dword [edi + 0x18]
or al, 4
jmp 0x496eb0
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 2
jl 0x496eb3
cmp byte [eax], 0x2f
je 0x496eb3
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e16d8
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 0x496eb3
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 0x496f04
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.00492550
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.00416020
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 0x496ebc
lea esi, [edi + 0x14]
push 0x4e59d8
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 0x497202
cmp ecx, 0x200
jne 0x49777e
mov eax, dword [esp + 0x84]
test eax, eax
je 0x49700e
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4df1d8
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 0x496f8d
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
cmp esi, 0xffffffff
jne 0x496fb3
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 0x4977be
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 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x4df1d8
push 0x4e28b0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x49704a
push 0x4df1d8
push 0x4e28b0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x497033
push 0x4df1d4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x496f8d
cmp eax, 1
jne 0x496f8d
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 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x497198
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 0x49710c
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x497114
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 0x49713d
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 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4970dc
mov ecx, dword [esp + 0x10]
push 0x4e59d8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49777e
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 0x4971cb
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x4971d5
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 0x497772
lea edx, [esp + 0x10]
push edx
jmp 0x49776b
and eax, 0xf
dec eax
je 0x49749a
sub eax, 7
jne 0x497233
push 0x2f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
test eax, eax
je 0x497233
push 0x2f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
test eax, eax
jne 0x497222
push 0x4df984
push 0x4df1d8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
push 0x4df984
push 0x4e36dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x497274
push 0x4df984
push 0x4e36dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x49725d
push 0x4df984
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x84]
test eax, eax
je 0x497352
lea eax, [esp + 0x38]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4df984
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 0x496f8d
push 0x2f
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4972f7
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x84]
call sub.MFC42.DLL_CString::operator_1
mov dword [edi + 4], 1
jmp 0x49779a
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 0x4df984
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x4df984
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x497435
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 0x4973a9
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x4973b1
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 0x4973da
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 0x4df984
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x497379
mov edx, dword [esp + 0x10]
push 0x4e59d8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49777e
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 0x497468
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x497472
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 0x497772
jmp 0x497766
push 0x4e51cc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, ebx
jne 0x4974d0
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 0x4977be
mov eax, dword [esp + 0x84]
test eax, eax
je 0x497577
push 0x5d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jne 0x497510
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 0x4977be
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
dec ecx
cmp eax, ecx
je 0x4974ee
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 0x4e51c4
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 0x4975d0
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 0x4977be
push 0x4e51c4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
test ebp, ebp
je 0x49760c
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 0x4e16d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x49770e
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 0x497682
mov ecx, eax
test ebx, ebx
mov dword [eax], ecx
jne 0x49768a
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 0x4976b3
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 0x4e16d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x497652
mov edx, dword [esp + 0x10]
push 0x4e59d8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49777e
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 0x49773d
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x497747
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 0x497772
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 0x49779a
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