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

Disassembly:
push 0xffffffffffffffff
push 0x5ac52f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x68], 2
mov eax, dword [eax - 8]
cmp eax, 5
jl 0x4a5cb4
mov cl, byte [0x62fc5c]
mov eax, dword [0x602620]
xor edx, edx
mov byte [esp + 0x2c], cl
mov ecx, dword [0x60261c]
mov word [esp + 0x2d], dx
mov dword [esp + 0x30], eax
mov eax, dword [0x602610]
mov byte [esp + 0x2f], dl
mov edx, dword [0x602618]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x602614]
mov dword [esp + 0x3c], eax
mov eax, dword [0x602604]
mov dword [esp + 0x38], edx
mov edx, dword [0x60260c]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x602608]
mov dword [esp + 0x48], eax
mov eax, dword [0x6025f8]
mov dword [esp + 0x44], edx
mov edx, dword [0x602600]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x6025fc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov edx, dword [0x6025f4]
push 3
lea eax, [esp + 0x18]
mov dword [esp + 0x5c], ecx
push 2
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x68], edx
call sub.MFC42.DLL_CString::Mid_1
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov byte [esp + 0x68], 3
mov edi, 1
lea esi, [esp + 0x30]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4a5cff
inc edi
add esi, 4
cmp edi, 0xd
jl 0x4a5c8e
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
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
test edi, edi
jle 0x4a5ca6
lea edx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x24]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0x14]
add ebp, 0x76c
cmp edi, esi
jge 0x4a5d35
inc ebp
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x4a5ca6
cmp ebx, 0x1f
jg 0x4a5ca6
mov eax, dword [esp + 0x78]
mov ecx, dword [eax - 8]
cmp ecx, 5
jne 0x4a5e06
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
push 2
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CString::Right
mov esi, eax
lea edx, [esp + 0x18]
push 2
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
push ebx
push edi
push ebp
lea eax, [esp + 0x24]
push str._04d__02d__02d__s:_s
push eax
mov byte [esp + 0x84], 6
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
mov byte [esp + 0x68], 3
lea ecx, [esp + 0x10]
jmp 0x4a5f22
cmp ecx, 7
jne 0x4a5ca6
cmp byte [eax + 5], 0x2b
jne 0x4a5ca6
movsx esi, byte [eax + 6]
push 0xffffffffffffffff
push 0
push 0
push 0
push ebx
push edi
push ebp
lea ecx, [esp + 0x2c]
sub esi, 0x30
call sub.MFC42.DLL_CTime::CTime_1
lea eax, [esi + esi*2]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
shl edx, 7
mov dword [ecx], edx
lea ecx, [esp + 0x14]
call fcn.0041f100
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
push 2
lea eax, [esp + 0x2c]
push 3
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x74], 7
call sub.MFC42.DLL_CString::Mid_1
mov edi, eax
lea ecx, [esp + 0x24]
push 2
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x70], 8
call sub.MFC42.DLL_CString::Left
mov ebp, eax
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 9
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x14]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [edi]
mov ecx, dword [ebp]
mov eax, dword [eax + 0x14]
push edx
push ecx
add eax, 0x76c
push ebx
push esi
push eax
lea edx, [esp + 0x2c]
push str._04d__02d__02d__s:_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 7
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
mov byte [esp + 0x68], 3
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4a5ccc