Function at 0x4a8a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50ed57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x1c]
mov byte [esp + 0x30], 3
mov eax, dword [eax - 8]
cmp eax, edi
jne 0x4a8ab2
mov ecx, dword [esi + 0x20]
cmp dword [ecx - 8], edi
je 0x4a8b22
cmp dword [0x54b1f8], edi
je 0x4a8ae3
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push edx
push eax
lea ecx, [esp + 0x18]
push str.WL_Date:__s__WL_Time:__s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, 0x54b128
push edx
call fcn.004965f0
mov edx, dword [esi + 8]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov edx, dword [edx + ebx*4]
push eax
push ecx
lea eax, [esp + 0x24]
mov edx, dword [edx + 0xc]
mov ecx, esi
push edx
push eax
call fcn.004a66f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.004c830a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, edi
je 0x4a8b57
push 0x547d4c
lea ecx, [esp + 0x10]
call fcn.004c8322
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x5436ac
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
push 0x547c54
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
push 0x547c48
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x18], edi
jle 0x4a8ca3
mov ebx, dword [sym.imp.MSVCRT.dll_strtol]
push ebp
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x18]
lea eax, [edx + edi*4]
push eax
call fcn.004c830a
lea ecx, [esp + 0x20]
push 8
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x10
push 0
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x20]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x24]
push 8
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 6
call fcn.004c830a
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x2c]
xor ecx, ecx
test eax, eax
jle 0x4a8c8e
mov edx, dword [esi + 0x28]
cmp ebp, dword [edx]
je 0x4a8c14
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4a8c06
jmp 0x4a8c8e
mov eax, dword [esi + 0x3c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
mov edx, dword [ecx - 8]
test edx, edx
je 0x4a8c8e
push eax
lea ecx, [esp + 0x18]
call fcn.004c830a
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4a8c80
push str._AND__
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x5436ac
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
jmp 0x4a8c8e
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.004c830a
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x40]
inc edi
mov eax, dword [ecx + edx*4]
cmp edi, dword [eax + 0x18]
jl 0x4a8b92
pop ebp
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8