Function at 0x548500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5badd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov ebx, ecx
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebx + 0x4070]
mov dword [esp + 0x30], 0
test eax, eax
mov dword [esp + 0x14], 0x62fcec
je 0x54854f
mov dword [esp + 0x14], eax
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 4]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 8]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
push 0xd
push ecx
push esi
inc eax
push ebp
push edi
push eax
lea edx, [esp + 0x30]
push str.CT:__02d_02d__02d_02d__s__c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eaa10
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x4064]
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
lea ebp, [esi + 1]
test ebp, ebp
jne 0x548600
mov eax, dword [ebx + 0x4060]
test eax, eax
je 0x5485ed
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x4060], ebp
xor eax, eax
mov dword [ebx + 0x4068], eax
mov dword [ebx + 0x4064], eax
jmp 0x54871a
mov edx, dword [ebx + 0x4060]
test edx, edx
jne 0x548647
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x4060], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x4068], ebp
mov dword [ebx + 0x4064], ebp
jmp 0x54871a
mov edi, dword [ebx + 0x4068]
cmp ebp, edi
jg 0x54866b
cmp ebp, eax
jle 0x548660
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x4064], ebp
jmp 0x54871a
mov ecx, dword [ebx + 0x406c]
test ecx, ecx
jne 0x548699
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x54868c
mov ecx, 4
jmp 0x548699
cmp ecx, 0x400
jle 0x548699
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x5486a8
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x4064]
mov esi, dword [ebx + 0x4060]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x20], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x4064]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x4060]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
add esp, 8
mov dword [ebx + 0x4060], eax
mov dword [ebx + 0x4064], ebp
mov dword [ebx + 0x4068], ecx
mov edx, dword [ebx + 0x4060]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [edx + esi*4], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret