Function at 0x4a6250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50e9e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebp
push esi
mov ebp, ecx
push edi
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::TrimRight
push 0x2d
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
test esi, esi
jge 0x4a62d7
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
add eax, 2
mov esi, eax
jmp 0x4a6379
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.004c830a
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
inc esi
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.004c830a
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x4a635f
mov edx, dword [ecx - 8]
test edx, edx
jne 0x4a635f
mov esi, 2
jmp 0x4a6379
test eax, eax
jne 0x4a636a
mov esi, 3
jmp 0x4a6379
mov eax, dword [ecx - 8]
xor edx, edx
test eax, eax
setne dl
add edx, 4
mov esi, edx
lea eax, [esp + 0x14]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
dec esi
cmp esi, 3
ja case.default.0x4a638d
jmp dword [esi*4 + 0x4a64d0]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004c830a
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
call fcn.004c830a
jmp case.default.0x4a638d
push str.19000101
lea ecx, [esp + 0x14]
call fcn.004c8322
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x18]
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 + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea eax, [esp + 0x18]
push str._04d_02d_02d
push eax
jmp 0x4a644f
push str.19000101
lea ecx, [esp + 0x14]
call fcn.004c8322
jmp case.default.0x4a638d
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x18]
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 + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea ecx, [esp + 0x18]
push str._04d_02d_02d
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004a60b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004a60b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c