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

Disassembly:
push 0xffffffffffffffff
push 0x5aa16f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], 0
mov al, byte [esp + 0x74]
mov edi, 1
test al, al
mov dword [esp + 0x68], edi
jne 0x461ec4
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], edi
jmp 0x462217
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x461ee4
lea edx, [esp + 0x78]
push edx
jmp 0x462208
mov eax, dword [esi + 0x34]
add esi, 0x34
mov eax, dword [eax - 8]
cmp eax, 5
jne 0x462203
push 0x2d
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jle 0x461f0f
lea edx, [esp + 0x78]
push edx
jmp 0x462208
mov eax, dword [esp + 0x78]
cmp dword [eax - 8], 5
jl 0x462203
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x462203
cmp ebp, 0x1f
jg 0x462203
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::Right
mov al, byte [0x63546c]
mov edx, dword [0x607638]
xor ecx, ecx
mov byte [esp + 0x2c], al
mov eax, dword [0x607634]
mov word [esp + 0x2d], cx
mov byte [esp + 0x2f], cl
mov ecx, dword [0x607630]
mov dword [esp + 0x30], edx
mov edx, dword [0x607628]
mov dword [esp + 0x34], eax
mov eax, dword [0x60762c]
mov dword [esp + 0x38], ecx
mov ecx, dword [0x607624]
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
mov dword [esp + 0x3c], edx
mov edx, dword [0x60761c]
mov dword [esp + 0x40], eax
mov eax, dword [0x607620]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x607618]
mov dword [esp + 0x48], edx
mov edx, dword [0x607610]
mov dword [esp + 0x4c], eax
mov eax, dword [0x607614]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x60760c]
mov esi, edi
mov byte [esp + 0x68], 2
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x30]
mov edx, dword [esp + 0x18]
push edi
push edx
call ebx
add esp, 8
test eax, eax
je 0x461ffd
inc esi
add edi, 4
cmp esi, 0xd
jl 0x461fe3
jmp 0x462001
test esi, esi
jne 0x46201e
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], 1
jmp 0x4621f3
lea ecx, [esp + 0x20]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push 0
push 0
push 0
push 0
add eax, 0x76c
push ebp
push esi
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CTime::CTime_1
push ecx
lea ecx, [esp + 0x18]
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], 0x15180
call fcn.0041f190
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 3
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x18]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
lea edx, [esp + esi*4 + 0x2c]
push edx
push eax
lea eax, [esp + 0x7c]
push str._02d_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x78]
xor esi, esi
mov edi, eax
mov ecx, dword [eax - 8]
add ecx, 0xfffffffc
test ecx, ecx
jle 0x462151
cmp byte [esi + edi], 0x2f
jne 0x462115
mov cl, byte [esi + edi + 1]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x462111
mov dl, byte [esi + edi + 2]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x462111
mov al, byte [esi + edi + 3]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x462111
mov cl, byte [esi + edi + 4]
push ecx
call fcn.004edd40
add esp, 4
test al, al
jne 0x462122
mov eax, dword [esp + 0x78]
mov ecx, dword [eax - 8]
inc esi
add ecx, 0xfffffffc
cmp esi, ecx
jl 0x4620c7
jmp 0x462151
add esi, edi
xor edx, edx
mov dword [esp + 0x25], edx
push 0x63546c
mov eax, dword [esi]
mov byte [esp + 0x2d], dl
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov cl, byte [esi + 4]
push edx
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Replace
push 0x2b
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x462175
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
push eax
push 0x613edc
call sub.MFC42.DLL_CString::Replace
jmp 0x4621bc
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x34]
lea esi, [ecx + 0x34]
push eax
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jle 0x4621a3
mov edx, dword [esp + 0x74]
mov eax, dword [esi]
push edx
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::Replace
jmp 0x4621bc
push 0x2f
lea ecx, [esp + 0x7c]
call fcn.00596ca0
lea eax, [esp + 0x74]
lea ecx, [esp + 0x78]
push eax
call fcn.00596f3a
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
push ecx
lea ecx, [edx + 0x2c]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x74]
mov dword [esp + 0x10], 1
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
jmp 0x462217
lea ecx, [esp + 0x78]
push ecx
mov esi, dword [esp + 0x74]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0xc