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

Disassembly:
push 0xffffffffffffffff
push 0x4bdb23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], esi
call fcn.004965a0
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0xb8], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb4], 1
test ah, 0xf
jne 0x497fd4
mov dword [esp + 0x2c], 0x100
push 0x4e068c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
push 0x4e068c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e6998
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x498035
lea ecx, [esp + 0x14]
call fcn.00423650
test eax, eax
jne 0x498ac7
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x498ac7
lea edx, [esp + 0x14]
mov ecx, esi
push edx
jmp 0x499060
mov eax, dword [esp + 0x2c]
mov ecx, eax
and ecx, 0xf00
cmp ecx, 0x100
je 0x498524
cmp ecx, 0x200
je 0x498076
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x49839c
lea eax, [esp + 0xa4]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e01dc
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4980a9
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4980a9
mov bl, 1
jmp 0x4980ab
xor bl, bl
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4980dc
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x49839c
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 0x498118
push 0x4e01dc
push 0x4e386c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x498101
lea ecx, [esp + 0x6c]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4e01dc
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4981eb
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx]
cmp edi, ebx
je 0x498186
mov esi, edi
mov edi, dword [edi]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x28]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esp + 0x24], ecx
jne 0x498155
push 0x4e01dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0xc0]
or ebp, 0xffffffff
test eax, eax
je 0x4982a6
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov edi, eax
cmp edi, ebp
jne 0x498219
push 0x4e261c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebp
jne 0x498384
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x18], 0
jmp 0x498d36
lea ecx, [esp + 0x14]
call fcn.00423650
test eax, eax
je 0x498186
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x49839c
lea esi, [edi + 1]
lea ecx, [esp + 0x10]
push esi
push 0x4e261c
call sub.MFC42.DLL_CString::Find_3
cmp eax, ebp
jne 0x498384
lea ecx, [esp + 0x90]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0xbc]
push eax
mov byte [esp + 0xb8], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x90]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xa0]
push edi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xa0]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
push 0x4e261c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 1
jne 0x4983c2
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx]
cmp edi, ebx
je 0x4982f8
mov esi, edi
mov edi, dword [edi]
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 sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x28]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esp + 0x24], ecx
jne 0x4982c7
lea ecx, [esp + 0xa8]
push 2
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x4c]
push 2
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x17
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
push 0x4e01dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
push 0x4e261c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebp
je 0x4983c6
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], ebp
lea ecx, [esp + 0x14]
call fcn.004966f0
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 8
cmp eax, ebp
jne 0x498384
push 0x4e01dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, ebp
je 0x4984ad
lea eax, [esp + 0x7c]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x20]
push 0xc
mov byte [esp + 0xb8], 0x18
mov ebx, dword [edi + 4]
lea ebp, [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
test edi, edi
jne 0x498413
mov edi, eax
test ebx, ebx
mov dword [eax], edi
jne 0x49841b
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [ebp], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ecx
test ecx, ecx
mov byte [esp + 0xb4], 0x19
je 0x498447
mov edx, dword [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
inc ebx
mov byte [esp + 0xb4], 1
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString
inc esi
lea eax, [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x1a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x54]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
push 0x4e01dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x4983de
mov ecx, dword [esp + 0x10]
push 0x4e6998
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49904f
mov esi, dword [esp + 0x20]
push 0xc
mov ebx, dword [esi + 4]
lea edi, [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
test esi, esi
jne 0x4984e2
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x4984ea
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [edi], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0xb4], 0x1b
je 0x498517
lea edx, [esp + 0x10]
mov ecx, eax
push edx
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0xb4], 1
jmp 0x49904b
and eax, 0xf
dec eax
je 0x498cdb
sub eax, 3
je 0x49890a
sub eax, 4
jne 0x498586
push 0x2f
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x94]
push eax
push 0x4e098c
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x94]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
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 0x4985c7
push 0x4e098c
push 0x4e469c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x4985b0
mov edx, dword [esp + 0x10]
cmp byte [edx], 0x2f
jne 0x498678
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx]
cmp edi, ebx
je 0x498627
mov eax, edi
mov edi, dword [edi]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x40]
push 0
push eax
lea ecx, [esp + 0x38]
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 [esp + 0x28]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esp + 0x24], ecx
jne 0x4985de
mov ecx, dword [esp + 0x10]
push 0x4e098c
push ecx
call ebp
add esp, 8
test eax, eax
je 0x498648
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea edx, [esp + 0x5c]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e098c
push eax
call ebp
mov edi, dword [esp + 0xc8]
add esp, 8
test eax, eax
jne 0x4986a6
test edi, edi
je 0x4986a6
mov bl, 1
jmp 0x4986a8
lea ecx, [esp + 0x14]
call fcn.00423650
test eax, eax
je 0x498648
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x49839c
xor bl, bl
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4986d6
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x49839c
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x2f
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
test edi, edi
mov esi, eax
je 0x49879f
cmp esi, 0xffffffff
jne 0x498721
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
push ecx
jmp 0x49905c
lea edx, [esi + 1]
lea eax, [esp + 0x84]
push edx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0xbc]
push eax
mov byte [esp + 0xb8], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0xb4], 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 esi, eax
cmp esi, 0xffffffff
je 0x498890
lea edx, [esp + 0x44]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x20]
push 0xc
mov byte [esp + 0xb8], 0x10
mov ebx, dword [edi + 4]
lea ebp, [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
test edi, edi
jne 0x4987ed
mov edi, eax
test ebx, ebx
mov dword [eax], edi
jne 0x4987f5
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [ebp], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x3c], ecx
test ecx, ecx
mov byte [esp + 0xb4], 0x11
je 0x498824
mov eax, dword [esp + 0x34]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x44]
inc ebx
mov byte [esp + 0xb4], 1
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString
inc esi
lea ecx, [esp + 0x8c]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x4987b8
mov edx, dword [esp + 0x10]
push 0x4e6998
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49904f
mov esi, dword [esp + 0x20]
push 0xc
mov ebx, dword [esi + 4]
lea edi, [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
test esi, esi
jne 0x4988c5
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x4988cd
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [edi], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x98], eax
test eax, eax
mov byte [esp + 0xb4], 0x13
je 0x4988fd
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0xb4], 1
jmp 0x49904b
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 0x49894b
push 0x4e098c
push 0x4e469c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x498934
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
cmp ecx, 2
jl 0x498989
cmp byte [eax + 1], 0x3a
jne 0x498989
mov eax, dword [esp + 0x20]
mov edi, eax
mov esi, dword [eax]
cmp esi, eax
je 0x498a5a
mov eax, esi
mov esi, dword [esi]
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.0043dbc0
cmp esi, edi
jne 0x49896d
jmp 0x498a5a
cmp byte [eax], 0x2f
jne 0x498a5a
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x24]
mov byte [esp + 0xb4], 8
test eax, eax
jne 0x4989bb
push 0x4e6198
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator
jmp 0x4989ce
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
mov eax, dword [eax]
add eax, 8
push eax
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x20]
mov edi, eax
mov esi, dword [eax]
cmp esi, eax
je 0x4989f5
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0043dbc0
cmp esi, edi
jne 0x4989da
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 4]
lea edi, [eax + 4]
push 0xc
mov esi, eax
call sub.MFC42.DLL_operatornew
add esp, 4
test esi, esi
jne 0x498a0d
mov esi, eax
test ebx, ebx
mov dword [eax], esi
mov ecx, ebx
jne 0x498a17
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [edi], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x30]
push edx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.00416480
mov ecx, dword [esp + 0x2c]
add esp, 8
inc ecx
mov dword [esp + 0x24], ecx
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call fcn.00423650
test eax, eax
je 0x498a88
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x49839c
lea eax, [esp + 0x74]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4e098c
push eax
call ebp
mov edi, dword [esp + 0xc8]
add esp, 8
test eax, eax
jne 0x498ab8
test edi, edi
je 0x498ab8
mov bl, 1
jmp 0x498aba
xor bl, bl
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498ae8
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x49839c
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
push 0x2f
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
test edi, edi
mov esi, eax
je 0x498bb1
cmp esi, 0xffffffff
jne 0x498b33
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc0]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x14]
mov dword [esp + 0x18], 0
push edx
jmp 0x49905c
lea eax, [esi + 1]
lea ecx, [esp + 0x9c]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0xbc]
push eax
mov byte [esp + 0xb8], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x48]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 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 esi, eax
cmp esi, 0xffffffff
je 0x498c8a
lea eax, [esp + 0x50]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov ebx, eax
mov ebp, dword [esp + 0x20]
push 0xc
mov byte [esp + 0xb8], 0xb
mov ecx, dword [ebp + 4]
lea edi, [ebp + 4]
mov dword [esp + 0x38], ecx
call sub.MFC42.DLL_operatornew
add esp, 4
test ebp, ebp
jne 0x498c01
mov ebp, eax
mov ecx, dword [esp + 0x34]
mov dword [eax], ebp
test ecx, ecx
jne 0x498c0d
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [edi], eax
mov ecx, dword [eax + 4]
push ebx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.00416480
mov ebx, dword [esp + 0x2c]
add esp, 8
inc ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
inc esi
lea edx, [esp + 0x58]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x58]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
push 0x4e098c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x498bca
mov eax, dword [esp + 0x10]
push 0x4e6998
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49904f
mov esi, dword [esp + 0x20]
push 0xc
mov ebx, dword [esi + 4]
lea edi, [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
test esi, esi
jne 0x498cbf
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x498cc7
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [edi], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [esp + 0x10]
push ecx
jmp 0x49903f
push 0x4e618c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
or ebp, 0xffffffff
cmp edi, ebp
push 0x5d
lea ecx, [esp + 0x14]
jne 0x498d98
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebp
jne 0x498384
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x498d61
lea ecx, [esp + 0x14]
call fcn.00423650
test eax, eax
jne 0x498384
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
call fcn.004974e0
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], ebp
jmp 0x499081
push 0x4e26e0
push 0x4e2890
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x498f13
push 0x4e26e0
push 0x4e2890
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x498d7c
jmp 0x498f13
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
cmp esi, ebp
je 0x498384
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x498dc3
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
jne 0x498dd3
jmp 0x498384
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
jne 0x498384
cmp esi, edi
jle 0x498384
test ecx, ecx
je 0x498e17
lea ecx, [esi + 2]
lea edx, [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0xbc]
push eax
mov byte [esp + 0xb8], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x68]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x68]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x498e81
lea ecx, [esp + 0x70]
push edi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x498e8f
push 0x4e6998
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x20]
mov ebx, eax
mov esi, dword [eax]
cmp esi, eax
je 0x498eb2
mov eax, esi
mov esi, dword [esi]
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.0043dbc0
cmp esi, ebx
jne 0x498e9b
inc edi
lea eax, [esp + 0x78]
push edi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
push 0x4e618c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
push 0x4e6184
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::Find_2
cmp esi, ebp
jne 0x498384
cmp eax, ebp
jne 0x498384
push 0x4e26e0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, ebp
je 0x498ff7
lea ecx, [esp + 0x80]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov ebx, eax
mov ebp, dword [esp + 0x20]
push 0xc
mov byte [esp + 0xb8], 6
mov edx, dword [ebp + 4]
lea edi, [ebp + 4]
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_operatornew
add esp, 4
test ebp, ebp
jne 0x498f65
mov ebp, eax
mov ecx, dword [esp + 0x34]
mov dword [eax], ebp
test ecx, ecx
jne 0x498f71
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [edi], eax
mov ecx, dword [eax + 4]
push ebx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.00416480
mov ebx, dword [esp + 0x2c]
add esp, 8
inc ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
inc esi
lea eax, [esp + 0x88]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
push 0x4e26e0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x498f2b
mov ecx, dword [esp + 0x10]
push 0x4e6998
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49904f
mov esi, dword [esp + 0x20]
push 0xc
mov ebx, dword [esi + 4]
lea edi, [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
test esi, esi
jne 0x499028
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x499030
mov ebx, eax
mov dword [eax + 4], ebx
mov dword [edi], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x10]
push edx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.00416480
add esp, 8
inc dword [esp + 0x24]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
mov ecx, dword [esp + 0x3c]
call fcn.004974e0
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004966f0
mov eax, 1
jmp 0x4983a7