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

Disassembly:
push 0xffffffffffffffff
push 0x4bdb63
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.00496af0
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 0x498524
mov dword [esp + 0x2c], 0x100
push 0x4df684
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
push 0x4df684
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e59d8
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x498585
lea ecx, [esp + 0x14]
call fcn.004231c0
test eax, eax
jne 0x499017
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x499017
lea edx, [esp + 0x14]
mov ecx, esi
push edx
jmp 0x4995b0
mov eax, dword [esp + 0x2c]
mov ecx, eax
and ecx, 0xf00
cmp ecx, 0x100
je 0x498a74
cmp ecx, 0x200
je 0x4985c6
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x4988ec
lea eax, [esp + 0xa4]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4df1d8
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4985f9
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4985f9
mov bl, 1
jmp 0x4985fb
xor bl, bl
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49862c
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x4988ec
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 0x498668
push 0x4df1d8
push 0x4e28b0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x498651
lea ecx, [esp + 0x6c]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4df1d8
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 0x49873b
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx]
cmp edi, ebx
je 0x4986d6
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 0x4986a5
push 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0xc0]
or ebp, 0xffffffff
test eax, eax
je 0x4987f6
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
mov edi, eax
cmp edi, ebp
jne 0x498769
push 0x4e1614
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebp
jne 0x4988d4
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x18], 0
jmp 0x499286
lea ecx, [esp + 0x14]
call fcn.004231c0
test eax, eax
je 0x4986d6
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x4988ec
lea esi, [edi + 1]
lea ecx, [esp + 0x10]
push esi
push 0x4e1614
call sub.MFC42.DLL_CString::Find_3
cmp eax, ebp
jne 0x4988d4
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 0x4e1614
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 1
jne 0x498912
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx]
cmp edi, ebx
je 0x498848
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 0x498817
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 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
push 0x4e1614
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebp
je 0x498916
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.00496c60
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 0x4988d4
push 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, ebp
je 0x4989fd
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 0x498963
mov edi, eax
test ebx, ebx
mov dword [eax], edi
jne 0x49896b
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 0x498997
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 0x4df1d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x49892e
mov ecx, dword [esp + 0x10]
push 0x4e59d8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49959f
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 0x498a32
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x498a3a
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 0x498a67
lea edx, [esp + 0x10]
mov ecx, eax
push edx
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0xb4], 1
jmp 0x49959b
and eax, 0xf
dec eax
je 0x49922b
sub eax, 3
je 0x498e5a
sub eax, 4
jne 0x498ad6
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 0x4df984
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 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 0x498b17
push 0x4df984
push 0x4e36dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x498b00
mov edx, dword [esp + 0x10]
cmp byte [edx], 0x2f
jne 0x498bc8
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx]
cmp edi, ebx
je 0x498b77
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.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 [esp + 0x28]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esp + 0x24], ecx
jne 0x498b2e
mov ecx, dword [esp + 0x10]
push 0x4df984
push ecx
call ebp
add esp, 8
test eax, eax
je 0x498b98
push 0x4df984
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 0x4df984
push eax
call ebp
mov edi, dword [esp + 0xc8]
add esp, 8
test eax, eax
jne 0x498bf6
test edi, edi
je 0x498bf6
mov bl, 1
jmp 0x498bf8
lea ecx, [esp + 0x14]
call fcn.004231c0
test eax, eax
je 0x498b98
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x4988ec
xor bl, bl
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x498c26
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x4988ec
push 0x4df984
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 0x498cef
cmp esi, 0xffffffff
jne 0x498c71
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 0x4995ac
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 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 esi, eax
cmp esi, 0xffffffff
je 0x498de0
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 0x498d3d
mov edi, eax
test ebx, ebx
mov dword [eax], edi
jne 0x498d45
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 0x498d74
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 0x4df984
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x498d08
mov edx, dword [esp + 0x10]
push 0x4e59d8
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49959f
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 0x498e15
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x498e1d
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 0x498e4d
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0xb4], 1
jmp 0x49959b
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 0x498e9b
push 0x4df984
push 0x4e36dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x498e84
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
cmp ecx, 2
jl 0x498ed9
cmp byte [eax + 1], 0x3a
jne 0x498ed9
mov eax, dword [esp + 0x20]
mov edi, eax
mov esi, dword [eax]
cmp esi, eax
je 0x498faa
mov eax, esi
mov esi, dword [esi]
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.0043d8e0
cmp esi, edi
jne 0x498ebd
jmp 0x498faa
cmp byte [eax], 0x2f
jne 0x498faa
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 0x498f0b
push 0x4e51d8
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator
jmp 0x498f1e
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 0x498f45
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0043d8e0
cmp esi, edi
jne 0x498f2a
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 0x498f5d
mov esi, eax
test ebx, ebx
mov dword [eax], esi
mov ecx, ebx
jne 0x498f67
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.00415fd0
mov ecx, dword [esp + 0x2c]
add esp, 8
inc ecx
mov dword [esp + 0x24], ecx
push 0x4df984
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.004231c0
test eax, eax
je 0x498fd8
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x4988ec
lea eax, [esp + 0x74]
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4df984
push eax
call ebp
mov edi, dword [esp + 0xc8]
add esp, 8
test eax, eax
jne 0x499008
test edi, edi
je 0x499008
mov bl, 1
jmp 0x49900a
xor bl, bl
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x499038
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], 0xffffffff
jmp 0x4988ec
push 0x4df984
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 0x499101
cmp esi, 0xffffffff
jne 0x499083
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 0x4995ac
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 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 esi, eax
cmp esi, 0xffffffff
je 0x4991da
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 0x499151
mov ebp, eax
mov ecx, dword [esp + 0x34]
mov dword [eax], ebp
test ecx, ecx
jne 0x49915d
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.00415fd0
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 0x4df984
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x49911a
mov eax, dword [esp + 0x10]
push 0x4e59d8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49959f
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 0x49920f
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x499217
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 0x49958f
push 0x4e51cc
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 0x4992e8
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebp
jne 0x4988d4
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4992b1
lea ecx, [esp + 0x14]
call fcn.004231c0
test eax, eax
jne 0x4988d4
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.00497a50
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0xb4], ebp
jmp 0x4995d1
push 0x4e16d8
push 0x4e1888
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
je 0x499463
push 0x4e16d8
push 0x4e1888
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
test eax, eax
jne 0x4992cc
jmp 0x499463
call sub.MFC42.DLL_CString::ReverseFind
mov esi, eax
cmp esi, ebp
je 0x4988d4
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x499313
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
cmp esi, eax
jne 0x499323
jmp 0x4988d4
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 8]
dec eax
cmp esi, eax
jne 0x4988d4
cmp esi, edi
jle 0x4988d4
test ecx, ecx
je 0x499367
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 0x4993d1
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 0x4993df
push 0x4e59d8
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 0x499402
mov eax, esi
mov esi, dword [esi]
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.0043d8e0
cmp esi, ebx
jne 0x4993eb
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 0x4e51cc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
push 0x4e51c4
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::Find_2
cmp esi, ebp
jne 0x4988d4
cmp eax, ebp
jne 0x4988d4
push 0x4e16d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, ebp
je 0x499547
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 0x4994b5
mov ebp, eax
mov ecx, dword [esp + 0x34]
mov dword [eax], ebp
test ecx, ecx
jne 0x4994c1
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.00415fd0
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 0x4e16d8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x49947b
mov ecx, dword [esp + 0x10]
push 0x4e59d8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49959f
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 0x499578
mov esi, eax
test ebx, ebx
mov dword [eax], esi
jne 0x499580
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.00415fd0
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.00497a50
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.00496c60
mov eax, 1
jmp 0x4988f7